eroen/glc-overlay

dev-libs/packetstream-0.1.3 fails to build

Opened this issue · 0 comments

I don't think I caused it.

$ MAKEOPTS="-j1" FEATURES="stricter strict test" emerge --ignore-default-opts -av =packetstream-0.1.3

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] dev-libs/packetstream-0.1.3::glc [0.1.4::glc] USE="-examples" 15 kB

Total: 1 package (1 downgrade), Size of downloads: 15 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-libs/packetstream-0.1.3 from glc
>>> Downloading 'http://nullkey.kapsi.fi/packetstream/archive/packetstream-0.1.3.tar.gz'
--2012-07-08 18:56:48--  http://nullkey.kapsi.fi/packetstream/archive/packetstream-0.1.3.tar.gz
Resolving nullkey.kapsi.fi (nullkey.kapsi.fi)... 217.30.184.173
Connecting to nullkey.kapsi.fi (nullkey.kapsi.fi)|217.30.184.173|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14633 (14K) [application/x-gzip]
Saving to: `/var/distfiles/packetstream-0.1.3.tar.gz'

100%[======================================>] 14,633      --.-K/s   in 0.04s   

2012-07-08 18:56:48 (373 KB/s) - `/var/distfiles/packetstream-0.1.3.tar.gz' saved [14633/14633]

 * packetstream-0.1.3.tar.gz RMD160 SHA1 SHA256 SHA512 WHIRLPOOL size ;-) ...    [ ok ]
>>> Unpacking source...
>>> Unpacking packetstream-0.1.3.tar.gz to /tmp/portage/dev-libs/packetstream-0.1.3/work
>>> Source unpacked in /tmp/portage/dev-libs/packetstream-0.1.3/work
>>> Compiling source in /tmp/portage/dev-libs/packetstream-0.1.3/work ...
make -j1 CC=x86_64-pc-linux-gnu-gcc LD=x86_64-pc-linux-gnu-gcc BUILD=build-x86 CFLAGS=-m32 'LDFLAGS=-m elf_i386' 
mkdir build-x86
x86_64-pc-linux-gnu-gcc -m32 -fvisibility=hidden -fPIC -o build-x86/packetstream.o -c src/packetstream.c
x86_64-pc-linux-gnu-gcc -m elf_i386 -Wl,-soname,libpacketstream.so.0 -shared -lpthread build-x86/packetstream.o -o build-x86/libpacketstream.so.0.1.3
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-m'
x86_64-pc-linux-gnu-gcc: error: elf_i386: No such file or directory
make: *** [build-x86/libpacketstream.so.0.1.3] Error 1
emake failed
 * ERROR: dev-libs/packetstream-0.1.3 failed (compile phase):
 *   emake (x86) failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2030:  Called src_compile_abi 'x86'
 *   environment, line 2037:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" LD="$(tc-getCC)" BUILD="build-${ABI}" CFLAGS="$(get_abi_CFLAGS ${ABI})" LDFLAGS="$(get_abi_LDFLAGS ${ABI})" || die "emake (${ABI}) failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/packetstream-0.1.3'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/packetstream-0.1.3'`.
 * This ebuild is from an overlay named 'glc': '/var/lib/layman/glc/'
 * The complete build log is located at '/tmp/portage/dev-libs/packetstream-0.1.3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-libs/packetstream-0.1.3/temp/environment'.
 * Working directory: '/tmp/portage/dev-libs/packetstream-0.1.3/work/packetstream'
 * S: '/tmp/portage/dev-libs/packetstream-0.1.3/work/packetstream-0.1.3'

>>> Failed to emerge dev-libs/packetstream-0.1.3, Log file:

>>>  '/tmp/portage/dev-libs/packetstream-0.1.3/temp/build.log'

 * Messages for package dev-libs/packetstream-0.1.3:

 * ERROR: dev-libs/packetstream-0.1.3 failed (compile phase):
 *   emake (x86) failed
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2030:  Called src_compile_abi 'x86'
 *   environment, line 2037:  Called die
 * The specific snippet of code:
 *       emake CC="$(tc-getCC)" LD="$(tc-getCC)" BUILD="build-${ABI}" CFLAGS="$(get_abi_CFLAGS ${ABI})" LDFLAGS="$(get_abi_LDFLAGS ${ABI})" || die "emake (${ABI}) failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/packetstream-0.1.3'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/packetstream-0.1.3'`.
 * This ebuild is from an overlay named 'glc': '/var/lib/layman/glc/'
 * The complete build log is located at '/tmp/portage/dev-libs/packetstream-0.1.3/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/dev-libs/packetstream-0.1.3/temp/environment'.
 * Working directory: '/tmp/portage/dev-libs/packetstream-0.1.3/work/packetstream'
 * S: '/tmp/portage/dev-libs/packetstream-0.1.3/work/packetstream-0.1.3'