Opened 13 years ago

Closed 13 years ago

#30121 closed defect (duplicate)

xorg-xcb-util: build fails on Lion

Reported by: mojca (Mojca Miklavec) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: lion Cc:
Port: xorg-xcb-util

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: xorg-xcb-util added
Summary: xorg-xcb-utilxorg-xcb-util: build fails on Lion

comment:2 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: newclosed

No, do this:

sudo port -v sync sudo port -v clean xorg-xcb-util

This is a dupe of #30022

Note: See TracTickets for help on using tickets.