GNU bug report logs -
#17694
coreutils build is broken on Maverics (MacOSX v10.9)
Previous Next
Reported by: Robin Mills <robin <at> clanmills.com>
Date: Wed, 4 Jun 2014 19:08:02 UTC
Severity: normal
Done: Paul Eggert <eggert <at> cs.ucla.edu>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17694 in the body.
You can then email your comments to 17694 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#17694
; Package
coreutils
.
(Wed, 04 Jun 2014 19:08:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robin Mills <robin <at> clanmills.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 04 Jun 2014 19:08:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Coreutils is not building on Mavericks. He complains about the architecture while linking libver.a to chroot (and every utility).
Workaround:
$ cd ~/gnu/coreutils/coreutils-8.22
$ arch="-arch x86_64"
$ ./configure CFLAGS="$arch" LDFLAGS="$arch" CXXFLAGS="$arch"
$ make CFLAGS="$arch" LDFLAGS="$arch" CXXFLAGS="$arch"
… fails after compiling when linking chroot. Complains about libver.a
$ cp src/version.a src/libver.a # nice little tweak
$ make CFLAGS="$arch" LDFLAGS="$arch" CXXFLAGS="$arch"
$ sudo make install
Fix:
I haven’t investigate the “proper” fix. The work around is sufficient for my purposes.
My setup:
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.9.3
BuildVersion: 13D65
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix
$ ld -v
@(#)PROGRAM:ld PROJECT:ld64-236.4
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 armv6m armv7m armv7em
LTO support using: LLVM version 3.4svn
Robin Mills
http://clanmills.com
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#17694
; Package
coreutils
.
(Wed, 04 Jun 2014 20:01:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 17694 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I’ve successfully built coreutils on Mavericks on a “clean” machine.
So, I think the issue/workaround are local to something I’ve done locally on my MBP13R. However the workaround I have described may be helpful to another user.
Let's close this as “Not a bug: unable to reproduce”.
Robin
http://clanmills.com
[Message part 2 (text/html, inline)]
[scotland.png (image/png, inline)]
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Wed, 04 Jun 2014 20:50:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Robin Mills <robin <at> clanmills.com>
:
bug acknowledged by developer.
(Wed, 04 Jun 2014 20:50:04 GMT)
Full text and
rfc822 format available.
Message #13 received at 17694-done <at> debbugs.gnu.org (full text, mbox):
On 06/04/2014 01:00 PM, Robin Mills wrote:
> Let's close this as “Not a bug: unable to reproduce”.
Thanks, closed.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 03 Jul 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.