Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448352 - dev-libs/cyrus-sasl-2.1.25-r3 fails to crosscompile: ./makemd5: ./makemd5: cannot execute binary file
Summary: dev-libs/cyrus-sasl-2.1.25-r3 fails to crosscompile: ./makemd5: ./makemd5: ca...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
: 674316 (view as bug list)
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2012-12-24 00:30 UTC by Dennis Schridde
Modified: 2022-02-23 02:29 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2012-12-24 00:30:40 UTC
>>> Compiling source in /var/tmp/cross-powerpc64-unknown-linux-gnu/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25 ...
make -j3
make  all-recursive
make[1]: Entering directory `/var/tmp/cross-powerpc64-unknown-linux-gnu/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
Making all in include
make[2]: Entering directory `/var/tmp/cross-powerpc64-unknown-linux-gnu/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
/mnt/ppc64/etc/crossdev-target/gcc -DHAVE_CONFIG_H -I. -I..   -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED -DOBSOLETE_CRAM_ATTR=1  -Wall -W -pipe -O2 -mcpu=cell -mabi=altivec -mgen-cell-microcode -fno-strict-al$
/bin/sh ../libtool --tag=CC   --mode=link /mnt/ppc64/etc/crossdev-target/gcc  -Wall -W -pipe -O2 -mcpu=cell -mabi=altivec -mgen-cell-microcode -fno-strict-aliasing  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o makemd5 makemd5.o  -lreso$
libtool: link: /mnt/ppc64/etc/crossdev-target/gcc -Wall -W -pipe -O2 -mcpu=cell -mabi=altivec -mgen-cell-microcode -fno-strict-aliasing -Wl,-O1 -Wl,--hash-style=gnu -o makemd5 makemd5.o  -Wl,--as-needed -lresolv
rm -f md5global.h
./makemd5 md5global.h
./makemd5: ./makemd5: cannot execute binary file
make[2]: *** [md5global.h] Error 126 
make[2]: Leaving directory `/var/tmp/cross-powerpc64-unknown-linux-gnu/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25/include'
make[1]: *** [all-recursive] Error 1  
make[1]: Leaving directory `/var/tmp/cross-powerpc64-unknown-linux-gnu/portage/dev-libs/cyrus-sasl-2.1.25-r3/work/cyrus-sasl-2.1.25'
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: dev-libs/cyrus-sasl-2.1.25-r3 failed (compile phase): 

Reproducible: Always
Comment 1 Chris Reffett (RETIRED) gentoo-dev Security 2012-12-25 03:47:32 UTC
Looks like the same issue as in bug 448348: since it's cross-compiling, it won't be able to execute the binary file.
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2012-12-25 03:50:40 UTC
Also, please attach full build.log and emerge --info. (Assigning back to bug-wranglers until we have all the info, sorry about that)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-12-25 18:07:35 UTC
(In reply to comment #2)
> Also, please attach full build.log and emerge --info.

No need. The bug is obvious.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-02-10 11:39:46 UTC
*** Bug 674316 has been marked as a duplicate of this bug. ***