--- motif-2.3.4-r2.ebuild 13 Aug 2014 09:23:32 -0000 1.11 +++ motif-2.3.4-r2.ebuild 27 Dec 2014 12:38:30 -0000 @@ -86,7 +86,7 @@ multilib_src_compile() { if ! multilib_is_native_abi; then # The wmluiltok build tool is linked with libfl.a, therefore compile # it for the build platform's ABI - emake -C tools/wml CC="$(tc-getBUILD_CC)" LIBS="-lfl" wmluiltok + emake -C tools/wml CC="$(tc-getBUILD_CC)" LIBS="-L/usr/$(get_libdir) -lfl" wmluiltok fi emake }
Please attach build.log and emerge --info output. (In reply to Jeroen Roovers from comment #0) > + emake -C tools/wml CC="$(tc-getBUILD_CC)" > LIBS="-L/usr/$(get_libdir) -lfl" wmluiltok Hm, we need the native libfl.a here, so -L/usr/$(get_libdir) is not the correct location.
(In reply to Ulrich Müller from comment #1) > Hm, we need the native libfl.a here, so -L/usr/$(get_libdir) is not the > correct location. Does LIBS="-L/usr/$(get_abi_LIBDIR ${DEFAULT_ABI}) -lfl" work for you?
(In reply to Ulrich Müller from comment #2) > (In reply to Ulrich Müller from comment #1) > > Hm, we need the native libfl.a here, so -L/usr/$(get_libdir) is not the > > correct location. But it works because it's called for each ABI. > Does LIBS="-L/usr/$(get_abi_LIBDIR ${DEFAULT_ABI}) -lfl" work for you? No, that seems to pick lib64 when lib32 is required: libtool: link: i686-pc-linux-gnu-gcc -frecord-gcc-switches -g -pipe -O2 -Wall -Wformat=2 -march=core2 -mcx16 -msahf -mno-movbe -mno-aes -mno-pclmul -mno-popcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-sse4.2 -msse4.1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=core2 -Wno-comment -fno-strict-aliasing -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -I//usr/include/freetype2 -I/usr/include/freetype2 -Wl,-O1 -Wl,--hash-style=gnu -o wmluiltok wmluiltok.o -Wl,--as-needed -L/usr/lib64 -lfl /usr/libexec/gcc/i686-pc-linux-gnu/ld: skipping incompatible /usr/lib64/libfl.a when searching for -lfl /usr/libexec/gcc/i686-pc-linux-gnu/ld: cannot find -lfl /usr/libexec/gcc/i686-pc-linux-gnu/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc /usr/libexec/gcc/i686-pc-linux-gnu/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
Created attachment 393504 [details] x11-libs:motif-2.3.4-r2:20150108-232932.log
Created attachment 393580 [details, diff] Patch for motif-2.3.4-r2.ebuild Do attached changes to the ebuild fix the issue for you?
(In reply to Ulrich Müller from comment #5) > Created attachment 393580 [details, diff] [details, diff] > Patch for motif-2.3.4-r2.ebuild > > Do attached changes to the ebuild fix the issue for you? This is -r3 now. Please test and report back.