Opened 20 years ago

Closed 20 years ago

#3046 closed defect (invalid)

BUG: dia-0.93

Reported by: ndchan@… Owned by: olegb@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

Dia-0.93

Error log can be found inline.

Description: Trying to install dia port. 'sudo port -d install dia'. In 'work/dia-0.93/objects/custom', declaration of parse_path() in shape_info.h is 'void'. On line 122 in shape_info.c, parse_path() is declared 'static void'.

Changing declaration in shape_info.c to 'void' allows build to continue. Is this the right thing to do?

================INLINE CONTENT================

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../intl -I../../lib -DXTHREADS -I/opt/local/include/gtk-2.0 -I/

opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/pango-1.0 -I/opt/ local/include -I/opt/local/include/freetype2 -I/usr/X11R6/include -I/opt/local/include/glib-2.0 -I/ opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2 -I/opt/local/include/pango-1.0 -I/opt/ local/include -I/opt/local/include/freetype2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ include -I/opt/local/include/libxml2 -I/opt/local/include -DDIA_SHAPEDIR=\"/opt/local/share/dia/ shapes\" -L/opt/local/lib -I/opt/local/include -I/opt/local/include/libxml2 -I/opt/local/include -I/ opt/local/include/freetype2 -I/opt/local/include -no-cpp-precomp -L/opt/local/lib -Wall -Wunused - Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -MT shape_info.lo - MD -MP -MF .deps/shape_info.Tpo -c shape_info.c -fno-common -DPIC -o .libs/shape_info.o shape_info.c: In function 'shape_info_get': shape_info.c:66: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:66: warning: pointer targets in assignment differ in signedness shape_info.c: At top level: shape_info.c:123: error: static declaration of 'parse_path' follows non-static declaration shape_info.h:169: error: previous declaration of 'parse_path' was here shape_info.c: In function 'parse_svg_node': shape_info.c:439: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:444: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:447: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:451: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:454: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:458: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:461: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:465: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:468: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:472: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:479: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:479: warning: pointer targets in assignment differ in signedness shape_info.c:504: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:511: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:511: warning: pointer targets in assignment differ in signedness shape_info.c:536: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:541: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:544: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:548: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:551: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:555: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:558: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:562: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:565: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:569: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:575: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:578: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:582: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:585: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:592: warning: pointer targets in passing argument 1 of 'g_strdup' differ in signedness shape_info.c:595: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:600: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:603: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:607: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:610: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:614: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:617: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:621: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:626: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:629: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:633: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:636: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:640: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:643: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:647: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:650: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:654: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:655: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:657: warning: pointer targets in passing argument 2 of 'parse_path' differ in signedness shape_info.c:660: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:665: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:668: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:672: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:675: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:679: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:682: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:686: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:689: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:693: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:695: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:697: warning: pointer targets in passing argument 1 of 'g_filename_from_uri' differ in signedness shape_info.c:701: warning: pointer targets in passing argument 2 of 'custom_get_relative_filename' differ in signedness shape_info.c:712: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c: In function 'load_shape_info': shape_info.c:818: warning: pointer targets in passing argument 3 of 'xmlSearchNsByHref' differ in signedness shape_info.c:823: warning: pointer targets in passing argument 3 of 'xmlSearchNsByHref' differ in signedness shape_info.c:828: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:844: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:845: warning: pointer targets in assignment differ in signedness shape_info.c:849: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:850: warning: pointer targets in assignment differ in signedness shape_info.c:854: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:863: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:867: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:870: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:874: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:877: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:887: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:890: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:893: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:897: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:900: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:904: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:907: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:911: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:914: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:919: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:922: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:927: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:929: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:931: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:936: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:937: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:937: warning: pointer targets in assignment differ in signedness shape_info.c:949: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:949: warning: pointer targets in assignment differ in signedness shape_info.c:956: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:956: warning: pointer targets in assignment differ in signedness shape_info.c:971: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:981: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:805: warning: unused variable 'ext_size' make[3]: * [shape_info.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_dia/work/ dia-0.93" && make all" returned error 2 Command output: shape_info.c:874: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:877: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:887: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:890: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:893: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:897: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:900: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:904: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:907: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:911: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:914: warning: pointer targets in passing argument 1 of 'strtod' differ in signedness shape_info.c:919: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:922: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:927: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:929: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:931: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:936: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:937: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:937: warning: pointer targets in assignment differ in signedness shape_info.c:949: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:949: warning: pointer targets in assignment differ in signedness shape_info.c:956: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness shape_info.c:956: warning: pointer targets in assignment differ in signedness shape_info.c:971: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:981: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness shape_info.c:805: warning: unused variable 'ext_size' make[3]: * [shape_info.lo] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for dia): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install [nchan@anahata nchan]$

Change History (3)

comment:1 Changed 20 years ago by ndchan@…

blocked: 3047

comment:2 Changed 20 years ago by jmpp@…

Owner: changed from darwinports-bugs@… to olegb@…

Assignign bug to maintainer of port.

-jmpp

comment:3 Changed 20 years ago by olegb@…

Resolution: invalid
Status: newclosed

please, when changing the source / port - don't report the bug, it is not fair to ask us to support not only the port but also your local chages.

Dia i s on my todo, and will be fixored.

Note: See TracTickets for help on using tickets.