Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417645 - app-misc/lirc-0.9.0 - ld: unrecognised emulation mode: -Wl,-soname
Summary: app-misc/lirc-0.9.0 - ld: unrecognised emulation mode: -Wl,-soname
Status: RESOLVED DUPLICATE of bug 160134
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-26 14:01 UTC by László Szalma
Modified: 2012-05-28 00:51 UTC (History)
2 users (show)

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


Attachments
build log (lirc-build.log,19.44 KB, text/plain)
2012-05-27 20:41 UTC, Greg Dziegielewski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description László Szalma 2012-05-26 14:01:38 UTC
fresh Gentoo install, everything compiled and works till this.


emerge lirc


--------- CUT --------------
mv -f .deps/receive.Tpo .deps/receive.Po
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe  -m elf_x86_64 -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o libhw_module.a             receive.o 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -m elf_x86_64 -o irrecord irrecord.o config_file.o dump_config.o input_map.o transmit.o receive.o  libhw_module.a
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..    -O2 -pipe -MT lircd.o -MD -MP -MF .deps/lircd.Tpo -c -o lircd.o lircd.c
lircd.c: In function ‘daemonize’:
lircd.c:1091:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result
lircd.c: In function ‘start_server’:
lircd.c:885:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result
mv -f .deps/lircd.Tpo .deps/lircd.Po
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe  -m elf_x86_64 -o lircd lircd.o config_file.o input_map.o transmit.o libhw_module.a             
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -m elf_x86_64 -o lircd lircd.o config_file.o input_map.o transmit.o  libhw_module.a
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..    -O2 -pipe -MT lircmd.o -MD -MP -MF .deps/lircmd.Tpo -c -o lircmd.o lircmd.c
lircmd.c: In function ‘loop’:
lircmd.c:750:3: warning: use of assignment suppression and length modifier together in gnu_scanf format
lircmd.c: In function ‘msend’:
lircmd.c:332:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
lircmd.c:346:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
lircmd.c:362:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
mv -f .deps/lircmd.Tpo .deps/lircmd.Po
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe  -m elf_x86_64 -o lircmd lircmd.o  
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -m elf_x86_64 -o lircmd lircmd.o 
make[3]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/daemons'
make[2]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/daemons'
Making all in tools
make[2]: Entering directory `/var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/tools'
/bin/sh ../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I..    -O2 -pipe -MT lirc_client.lo -MD -MP -MF .deps/lirc_client.Tpo -c -o lirc_client.lo lirc_client.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -MT lirc_client.lo -MD -MP -MF .deps/lirc_client.Tpo -c lirc_client.c  -fPIC -DPIC -o .libs/lirc_client.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -O2 -pipe -MT lirc_client.lo -MD -MP -MF .deps/lirc_client.Tpo -c lirc_client.c -o lirc_client.o >/dev/null 2>&1
mv -f .deps/lirc_client.Tpo .deps/lirc_client.Plo
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -version-info 2:1:2 -m elf_x86_64 -o liblirc_client.la -rpath /usr/lib64 lirc_client.lo  
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/lirc_client.o    -O2 -m   -Wl,-soname -Wl,liblirc_client.so.0 -o .libs/liblirc_client.so.0.2.1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: unrecognised emulation mode: -Wl,-soname
Supported emulations: elf_x86_64 elf_i386 i386linux elf_l1om
collect2: ld returned 1 exit status
make[2]: *** [liblirc_client.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0'
make: *** [all] Error 2
emake failed
 * ERROR: app-misc/lirc-0.9.0 failed (compile phase):
 *   Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64   all
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 4139:  Called linux-mod_src_compile
 *   environment, line 3190:  Called die
 * The specific snippet of code:
 *               eval "emake HOSTCC=\"$(tc-getBUILD_CC)\"                                               CROSS_COMPILE=${CHOST}-                                                LDFLAGS=\"$(get_abi_LDFLAGS)\"                                          ${BUILD_FIXES}                                                 ${BUILD_PARAMS}                                                 ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}";
 * 
 * If you need support, post the output of 'emerge --info =app-misc/lirc-0.9.0',
 * the complete build log and the output of 'emerge -pqv =app-misc/lirc-0.9.0'.
 * The complete build log is located at '/var/tmp/portage/app-misc/lirc-0.9.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/lirc-0.9.0/temp/environment'.
 * S: '/var/tmp/portage/app-misc/lirc-0.9.0/work/lirc-0.9.0'

>>> Failed to emerge app-misc/lirc-0.9.0, Log file:

>>>  '/var/tmp/portage/app-misc/lirc-0.9.0/temp/build.log'



emerge --info
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.4.0-gentoo x86_64)
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_D525_@_1.80GHz-with-gentoo-2.1
Timestamp of tree: Fri, 25 May 2012 16:30:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="hu_HU.UTF-8"
LC_ALL="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="hu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri flac fortran gdbm gpm iconv ipv6 lame mmx modules mudflap multilib ncurses nls nptl openmp pam pcre png pppd readline session sse sse2 ssl tcpd threads unicode x264 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="nfs" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="hu" LIRC_DEVICES="pctv" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

------------------

the system is amd64, but I used ~amd64 for package lirc.

The build fails on the target machine, and in chroot (the target machine boots from nfs, but i don't think this has connection the problem)

Reproducible: Always

Steps to Reproduce:
1. emerge -av app-misc/lirc

Actual Results:  
package doesn't build

Expected Results:  
package builds.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-27 20:37:17 UTC
Please attach the entire build log to this bug report.
Comment 2 Greg Dziegielewski 2012-05-27 20:41:10 UTC
Created attachment 313323 [details]
build log
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-28 00:49:15 UTC
*** Bug 417893 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-05-28 00:51:06 UTC

*** This bug has been marked as a duplicate of bug 160134 ***