[MacPorts] #19147: Error building xorg-libice
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Environment: macport 1.710, OSX 10.5.6, on a macbook i386 32bit (Intel Core Duo) During the compilation of xorg-libice I get the following error: {{{ /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I../include -I/opt/local/include -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/opt/local/include -DICE_t -DTRANS_CLIENT -DTRANS_SERVER -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing- prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -O2 -MT register.lo -MD -MP -MF .deps/register.Tpo -c register.c -fno- common -DPIC -o .libs/register.o register.c:48: error: conflicting types for 'IceRegisterForProtocolSetup' /opt/local/include/X11/ICE/ICElib.h:220: error: previous declaration of 'IceRegisterForProtocolSetup' was here register.c:148: error: conflicting types for 'IceRegisterForProtocolReply' /opt/local/include/X11/ICE/ICElib.h:235: error: previous declaration of 'IceRegisterForProtocolReply' was here make[2]: *** [register.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 }}} Thanks for your support. M. -- Ticket URL: <http://trac.macports.org/ticket/19147> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Changes (by macsforever2000@…): * cc: maggesi@… (removed) * cc: mvfranz@… (added) Comment: What version of Xcode are you running? Please update to version 3.1.2 if you are below that. -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: mvfranz@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Changes (by jmr@…): * cc: mvfranz@… (removed) * owner: macports-tickets@… => mvfranz@… -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: mvfranz@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Comment(by mvfranz@…): I was able to upgrade to version 1.0.5 (I had 1.0.4 installed) using OS X 10.4.11 and Xcode 2.5 using MacPorts 1.710. I was also able to install version 1.0.5 using OS X 10.5.6 and Xcode 3.1.2 using both MacPorts 1.700 and 1.710. -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: mvfranz@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Comment(by maggesi@…): Replying to [comment:2 macsforever2000@…]:
What version of Xcode are you running? Please update to version 3.1.2 if you are below that.
I upgraded Xcode to 3.1.2. But I get the same error. Is there a way to reinstall the ports that xorg-libice depends on? -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: mvfranz@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Comment(by macsforever2000@…): You would have to manually reinstall any dependents. If you haven't already, try this first: {{{ sudo port clean xorg-libice sudo port install xorg-libice }}} -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: mvfranz@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Comment(by selecter@…): I get this too with both xcode 3.0 and 3.1.2. I even tried building it with gcc-4.2. -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: mvfranz@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Comment(by frstan@…): I get the same error os 10.5.6 on mac mini intel core duo, current xcode. -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice ----------------------------------+----------------------------------------- Reporter: maggesi@… | Owner: mvfranz@… Type: defect | Status: new Priority: Normal | Component: ports Version: 1.7.1 | Keywords: Port: xorg-libice | ----------------------------------+----------------------------------------- Comment(by kthenriksson@…): I got the same error too. What I needed to do was deactivate the old xorg- libice, and then I could install the new one. In other words, running {{{ sudo port deactivate xorg-libice sudo port upgrade xorg-libice }}} should clear this up for anyone. As far as technical details, the problem is that the old version of xorg- libice and the new one have differing prototypes for the two functions IceRegisterForProtocolSetup and IceRegisterForProtocolReply. One thinks authNames should be a char** and the other thinks it should be a const char**. As long as the old version is active, the compiler will read in both definitions and then will be uncertain which is correct. So just deactivate the old and all will be well. -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice when previous version is active -----------------------------------+---------------------------------------- Reporter: maggesi@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: xorg-libice -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * owner: mvfranz@… => jeremyhu@… Comment: Jeremy H took over this port in r56677. -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19147: Error building xorg-libice when previous version is active ------------------------------------+--------------------------------------- Reporter: maggesi@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: worksforme | Keywords: Port: xorg-libice | ------------------------------------+--------------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => worksforme Comment: This is probably fixed. Please reopen if you still have issues. -- Ticket URL: <http://trac.macports.org/ticket/19147#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts