#26874 closed defect (fixed)
build failure of x11_xorg-libice
Reported by: | lkcl@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | ||
Port: | xorg-libice |
Description (last modified by raimue (Rainer Müller))
:info:build CC icetrans.lo :info:build iceauth.c:105: warning: no previous prototype for '_IcePoMagicCookie1Proc' :info:build iceauth.c:180: warning: no previous prototype for '_IcePaMagicCookie1Proc' :info:build In file included from /opt/local/include/X11/Xtrans/transport.c:67, :info:build from icetrans.c:31: :info:build /opt/local/include/X11/Xtrans/Xtranssock.c: In function '_IceTransSocketINETConnect': :info:build /opt/local/include/X11/Xtrans/Xtranssock.c:1425: warning: unused variable 'tmpport' :info:build /opt/local/include/X11/Xtrans/Xtranssock.c:1420: warning: unused variable 'tmpaddr' :info:build /opt/local/include/X11/Xtrans/Xtranssock.c:1419: warning: unused variable 'servp' :info:build /opt/local/include/X11/Xtrans/Xtranssock.c:1418: warning: unused variable 'hostp' :info:build /opt/local/include/X11/Xtrans/Xtranssock.c:1413: warning: unused variable 'sockname' :info:build CC listen.lo :info:build CC listenwk.lo :info:build CC locking.lo :info:build CC misc.lo :info:build CC ping.lo :info:build CC process.lo :info:build CC protosetup.lo :info:build CC register.lo :info:build register.c:48: error: conflicting types for 'IceRegisterForProtocolSetup' :info:build /opt/local/include/X11/ICE/ICElib.h:220: error: previous declaration of 'IceRegisterForProtocolSetup' was here :info:build register.c:148: error: conflicting types for 'IceRegisterForProtocolReply' :info:build /opt/local/include/X11/ICE/ICElib.h:235: error: previous declaration of 'IceRegisterForProtocolReply' was here :info:build make[2]: *** [register.lo] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[1]: *** [all-recursive] Error 1 :info:build make: *** [all] Error 2 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.darwinports.org_release_ports_x11_xorg-libice/work/libICE-1.0.6" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for xorg-libice): org.macports.destroot org.macports.build :notice:build Log for xorg-libice is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.darwinports.org_release_ports_x11_xorg-libice/main.log
Change History (9)
comment:1 Changed 14 years ago by lkcl@…
comment:2 Changed 14 years ago by raimue (Rainer Müller)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to jeremyhu@… |
Port: | xorg-libice added |
comment:3 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Please attach the whole build log referenced in the last line of the output you pasted.
comment:4 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Actually, that's not the problem... silly automake obscures the command line...
I'm curious why it's including /opt/local/include/X11/ICE/ICElib.h rather than the one in the package itself...
comment:5 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Ah..
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I../include ...
comment:6 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 Changed 14 years ago by lkcl@…
bizarrely i'm finding that other packages are also prioritising includes installed in /opt/local/include. in compiling pyobjc for example.
comment:9 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)
They probably have similar issues. Please open separate tickets for those packages.
Note: See
TracTickets for help on using
tickets.
apologies - a) not used macports very much b) _really_ not used to - and rather unimpressed by - the default of wikiformatting in a bugreporting system which fucks up simple cut/paste of plain text.