#30121: xorg-xcb-util: build fails on Lion --------------------------------------------+------------------------------- Reporter: mojca.miklavec.lists@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: lion | Port: xorg-xcb-util --------------------------------------------+------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jeremyhu@… * port: => xorg-xcb-util Old description:
Building the port fails on 10.7 with
{{{ /usr/bin/make -j4 all 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 }}}
I don't understand details about the failure, but the same change as this one https://trac.macports.org/changeset/80371 (changing llvm-gcc into clang) fixed the problem for me.
I would like to ask for the patch if possible.
New description: Building the port fails on 10.7 with {{{ /usr/bin/make -j4 all 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 }}} I don't understand details about the failure, but the same change as this one r80371 (changing llvm-gcc into clang) fixed the problem for me. I would like to ask for the patch if possible. -- -- Ticket URL: <https://trac.macports.org/ticket/30121#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS