Summary: | =app-arch/libarchive-3.3.3 fails bootstrap, ./libtool prints "can't find: dsymutil" and $EPREFIX/tmp/usr/x86_64-apple-darwin18/binutils-bin/8.2.1/ranlib prints "(libarchive_fe_la-err.o) malformed object" | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Espen <espen> |
Component: | Prefix Support | Assignee: | Michał Górny <mgorny> |
Status: | UNCONFIRMED --- | ||
Severity: | major | CC: | jlj.babydragon, salmonleapwine, sgatis, vincentlu |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | app-arch/libarchive-3.3.3-build.log |
Description
Espen
2019-01-18 19:16:20 UTC
Hi. I can confirm this here. Mac OS Mojave 10.14.12, MacBookPro15,1. If relevant, under Mac OS the very same libarchive-3.3.3 vanilla fails (./configure && make V=1 -j 3 > make.log. In https://bitbucket.org/ashtophet/misc/src I've uploaded the following files: 1.- environment.txt, environment file. 2.- config.log, configure log. 3.- build.log, build log. 4.- macos/env.txt, 'env' output outside PREFIX, if relevant. 5.- macos/config.log, configure log outside PREFIX, if relevant. 6.- macos/make.log, make output outside PREFIX, if relevant. ^10.14.12^10.14.2 It seems the problem is related to binutils-apple. If I replace $EPREFIX/tmp/usr/x86_64-apple-darwin18/binutils-bin/8.2.1./ar and ranlib with Mac OS system's ones the compilation succeeds. Aha. Do you have $EPREFIX/usr/bin/dsymutil? Nope (we are on stage2). I do have $EPREFIX/tmp/usr/bin/dsmyutil which is a symlink to $EPREFIX/tmp/usr/bin/x86_64-apple-darwin18-dsymutil which is a symlink to $EPREFIX/tmp/usr/x86_64-apple-darwin18/bin/dsymutil I'm wondering if this is related to any of the other problems where tools weren't exactly found from ROOT/tmp. I think it's a good idea to wait for https://dev.azure.com/12719821/12719821/_build?definitionId=4 to get fixed. Created attachment 571126 [details]
app-arch/libarchive-3.3.3-build.log
libtool: link: x86_64-apple-darwin18-ar cru .libs/libarchive_fe.a libarchive_fe/.libs/libarchive_fe_la-err.o libarchive_fe/.libs/libarchive_fe_la-line_reader.o libarchive_fe/.libs/libarchive_fe_la-passphrase.o
/Users/owen/Gentoo/tmp/usr/x86_64-apple-darwin18/binutils-bin/8.2.1/ranlib: object: .libs/libarchive_fe.a(libarchive_fe_la-err.o) malformed object (unknown load command 1)
x86_64-apple-darwin18-ar: internal ranlib command failed
make[1]: *** [Makefile:3443: libarchive_fe.la] Error 1
make[1]: Leaving directory '/Users/owen/Gentoo/tmp/var/tmp/portage/app-arch/libarchive-3.3.3/work/libarchive-3.3.3-abi_x86_64.amd64'
make: *** [Makefile:3007: all] Error 2
* ERROR: app-arch/libarchive-3.3.3::gentoo_prefix failed (compile phase):
Not sure why this isn't a Prefix bug, but this is likely fixed with binutils-apple-11.*, and not an issue with current bootstraps on macOS which use GCC and host provided cctools. |