Xcode 4.2 users: does your xgettext work?

Ryan Schmidt ryandesign at macports.org
Wed Nov 9 10:21:40 PST 2011


If you have Xcode 4.2 final, and compiled the gettext port using that version, can you test if it works? Just run "xgettext" with no arguments and let me know what happens. If it's working you should see:

xgettext: no input file given
Try `xgettext --help' for more information.

If it's broken you should see:

xgettext: A --flag argument doesn't have the <keyword>:<argnum>:[pass-]<flag> syntax: gettext:1:pass-c-format

Also let me know if you're on Snow Leopard or Lion and show me the output of "/Developer/usr/bin/clang --version".

I have a report that xgettext doesn't work when compiled with clang:

https://trac.macports.org/ticket/31167

But the upstream bug report about this problem was resolved in May:

http://llvm.org/bugs/show_bug.cgi?id=9892

So I'm not sure if the clang in Xcode 4.2 final is affected, or if it only affects the clang in pre-release versions of Xcode 4.2.

I'm trying to decide whether or not to make gettext use llvm-gcc-4.2 instead of clang and increase the revision.

https://trac.macports.org/wiki/PortfileRecipes#compiler




More information about the macports-dev mailing list