[MacPorts] #31167: gettext: pre-release Xcode 4.2's clang 3.0 compiles a flawed xgettext, complains of gettext:1:pass-c-format
MacPorts
noreply at macports.org
Sat Nov 12 12:33:10 PST 2011
#31167: gettext: pre-release Xcode 4.2's clang 3.0 compiles a flawed xgettext,
complains of gettext:1:pass-c-format
---------------------------------+------------------------------------------
Reporter: dossy@… | Owner: ryandesign@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: wontfix | Keywords: clang
Port: gettext |
---------------------------------+------------------------------------------
Comment(by dossy@…):
The Xcode that I previously built with:
{{{
$ xcodebuild -version
Xcode 4.2
Build version 4D58
$ clang --version
Apple clang version 3.0 (tags/Apple/clang-209.9.2) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.2.0
Thread model: posix
}}}
Here is Xcode 4.2 installed fresh from the Mac App Store just now:
{{{
$ xcodebuild -version
Xcode 4.2
Build version 4D199
$ clang --version
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.2.0
Thread model: posix
}}}
Here's rebuilding MacPorts gettext using clang:
{{{
$ sudo port selfupdate
---> Updating MacPorts base sources using rsync
MacPorts base version 2.0.3 installed,
MacPorts base version 2.0.3 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you
should run
port upgrade outdated
$ sudo port -n upgrade --force gettext
---> Computing dependencies for gettext
---> Cleaning gettext
---> Unable to uninstall gettext @0.18.1.1_2+universal, the following
ports depend on it:
...
Warning: Uninstall forced. Proceeding despite dependencies.
---> Deactivating gettext @0.18.1.1_2+universal
...
Warning: Deactivate forced. Proceeding despite dependencies.
---> Cleaning gettext
---> Uninstalling gettext @0.18.1.1_2+universal
---> Cleaning gettext
---> Computing dependencies for gettext
---> Fetching archive for gettext
---> Attempting to fetch
gettext-0.18.1.1_2+universal.darwin_11.i386-x86_64.tgz from
http://packages.macports.org/gettext
---> Fetching gettext
---> Verifying checksum(s) for gettext
---> Extracting gettext
---> Applying patches to gettext
---> Configuring gettext
---> Building gettext
---> Staging gettext into destroot
---> Installing gettext @0.18.1.1_2+universal
---> Activating gettext @0.18.1.1_2+universal
---> Cleaning gettext
$ xgettext
xgettext: no input file given
Try `xgettext --help' for more information.
$ xgettext --version
xgettext (GNU gettext-tools) 0.18.1
Copyright (C) 1995-1998, 2000-2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Ulrich Drepper.
}}}
Looks like you're right, it's fixed in the Xcode 4.2 final. Thanks for
the update.
--
Ticket URL: <https://trac.macports.org/ticket/31167#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list