[MacPorts] #30022: Building xorg-xcb-util crashes
#30022: Building xorg-xcb-util crashes -----------------------------------------+---------------------------------- Reporter: henne@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: -----------------------------------------+---------------------------------- Trying to install py27-gtk the dependency xorg-xcb-util causes error. Console: {{{ ---> Building xorg-xcb-util Making all in src /usr/bin/make all-am CC atoms.lo atoms.gperf:36: error: duplicate 'static' atoms.gperf:38: warning: function declaration isn't a prototype atoms.gperf: In function 'hash': atoms.gperf:40: warning: old-style function definition atoms.gperf: At top level: atoms.gperf:243: warning: function declaration isn't a prototype atoms.gperf: In function 'in_word_set': atoms.gperf:245: warning: old-style function definition make[2]: *** [atoms.lo] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_xorg-xcb-util/work/xcb-util-0.3.8" && /usr/bin/make -j2 all " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) Warning: the following items did not execute (for xorg-xcb-util): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for xorg-xcb-util is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_xorg-xcb-util/main.log Error: Status 1 encountered during processing. }}} Log: {{{ :msg:main ---> Building xorg-xcb-util :debug:build build phase started at Mon Jul 4 15:02:18 CEST 2011 :debug:build Executing org.macports.build (xorg-xcb-util) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_xorg-xcb-util/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_xorg-xcb-util/work/xcb-util-0.3.8" && /usr/bin/make -j2 all' :info:build Making all in src :info:build /usr/bin/make all-am :info:build CC atoms.lo :info:build atoms.gperf:36: error: duplicate 'static' :info:build atoms.gperf:38: warning: function declaration isn't a prototype :info:build atoms.gperf: In function 'hash': :info:build atoms.gperf:40: warning: old-style function definition :info:build atoms.gperf: At top level: :info:build atoms.gperf:243: warning: function declaration isn't a prototype :info:build atoms.gperf: In function 'in_word_set': :info:build atoms.gperf:245: warning: old-style function definition :info:build make[2]: *** [atoms.lo] Error 1 :info:build make[1]: *** [all] Error 2 :info:build make: *** [all-recursive] Error 1 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_xorg-xcb-util/work/xcb-util-0.3.8" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) 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-xcb- util): org.macports.activate org.macports.build org.macports.destroot org.macports.install }}} -- Ticket URL: <https://trac.macports.org/ticket/30022> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util crashes -----------------------------------------+---------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: xorg-xcb-util -----------------------------------------+---------------------------------- Changes (by jmr@…): * cc: henne@… (removed) * owner: macports-tickets@… => jeremyhu@… * port: => xorg-xcb-util Comment: Please remember to fill in the Port field and cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util crashes -----------------------------------------+---------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: xorg-xcb-util -----------------------------------------+---------------------------------- Comment(by jeremyhu@…): Please attach the full log. -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed -----------------------------------------+---------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gperf xorg-xcb-util -----------------------------------------+---------------------------------- Changes (by jmr@…): * cc: mcalhoun@… (added) * port: xorg-xcb-util => gperf xorg-xcb-util Comment: Happens iff gperf is installed with the latest changes. -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed -----------------------------------------+---------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gperf xorg-xcb-util -----------------------------------------+---------------------------------- Comment(by jeremyhu@…): Thanks, I can reproduce it now... hrm... -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r80132 -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Comment(by allanjos@…): Hi. How can I use this change? I am trying "upgrade outdated", but still getting this error. I've upgraded from Tiger (10.4) to Leopard (10.5). Thank you. Best. -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): You need to selfupdate first. {{{ sudo port selfupdate }}} When you upgraded the OS, did you follow the [wiki:Migration migration] instructions? -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Comment(by larrynator@…): I'm new to OSX and to MacPorts. I had this problem. I've done selfupdate and upgrade outdated, but still get the same error when trying to install xorg-xcb-util. I'm on Snow Leopard. Are there any other steps I need to do? -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Comment(by keith@…): Replying to [comment:12 larrynator@…]:
I'm new to OSX and to MacPorts. I had this problem. I've done selfupdate and upgrade outdated, but still get the same error when trying to install xorg-xcb-util. I'm on Snow Leopard. Are there any other steps I need to do?
Hi, I had the same issu. I managed to solve it by going to the xorg-xcb- util dir and getting it to rebuild atom.c from the gperf souyrce ( touch atom.gperf ) It looks like although the patch fixes the double static, the datestamps of the files on the port seem to mean it doesnt rebuild this intermediate product. I had deleted the port then reinstalled it before I did this. -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Comment(by jeremyhu@…): sudo port -v clean xorg-xcb-util -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Comment(by allanjos@…): Hi. The step that I didn't was the Migration (https://trac.macports.org/wiki/Migration). I've reinstalled MacPorts for Leopard. Now all the things are working again. Thank you very much. Best. -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30022: Building xorg-xcb-util fails when gperf is installed ------------------------------------------+--------------------------------- Reporter: henne@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gperf xorg-xcb-util | ------------------------------------------+--------------------------------- Comment(by larrynator@…): Clean did the trick. Thanks, Jeremy, slowly learning my way through it all. -- Ticket URL: <https://trac.macports.org/ticket/30022#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts