[MacPorts] #33119: unrtf @0.21.2 fetch error - tbz2 file missing
MacPorts
noreply at macports.org
Thu Feb 2 11:29:34 PST 2012
#33119: unrtf @0.21.2 fetch error - tbz2 file missing
--------------------------------------+-------------------------------------
Reporter: marcoanttonnio@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: unrft
--------------------------------------+-------------------------------------
Comment(by marcoanttonnio@…):
The build fase fails with the following error (full log attached for
reference):
{{{
:info:build output.c:389:9: warning: assigning to 'unsigned char *' from
'char *' converts between pointers to integer types with different sign
[-Wpointer-sign]
:info:build inbuf = (char *) my_malloc(inbytes + 1);
:info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build output.c:417:65: warning: conversion specifies type 'int' but
the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
:info:build fprintf(stderr, "unrtf: Error
in executing iconv - inbytes=%d inbuf[0]=%o inbuf[1]=%o\n", inbytes,
inbuf[0], inbuf[1]);
:info:build
~^ ~~~~~~~
:info:build
%lu
:info:build attr.c:353:3: error: non-void function 'attr_get_param' should
return a value [-Wreturn-type]
:info:build return;
:info:build ^
:info:build attr.c:690:10: warning: format string is empty [-Wformat-zero-
length]
:info:build printf("");
:info:build ^~
:info:build mv -f .deps/error.Tpo .deps/error.Po
:info:build mv -f .deps/malloc.Tpo .deps/malloc.Po
:info:build 1 warning and 1 error generated.
:info:build make[2]: *** [attr.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build convert.c:1897:7: warning: if statement has empty body
[-Wempty-body]
:info:build ;
:info:build ^
:info:build mv -f .deps/hash.Tpo .deps/hash.Po
:info:build mv -f .deps/my_iconv.Tpo .deps/my_iconv.Po
:info:build mv -f .deps/main.Tpo .deps/main.Po
:info:build 2 warnings generated.
:info:build mv -f .deps/output.Tpo .deps/output.Po
:info:build 1 warning generated.
:info:build mv -f .deps/convert.Tpo .deps/convert.Po
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_unrtf/unrtf/work/unrtf-0.21.2/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_unrtf/unrtf/work/unrtf-0.21.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_unrtf/unrtf/work/unrtf-0.21.2'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_unrtf/unrtf/work/unrtf-0.21.2"
&& /usr/bin/make -j8 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/33119#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list