Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246653 - app-mobilephone/gnokii-0.6.22-r2 - libtool: link: `pcsc.lo' is not a valid libtool object
Summary: app-mobilephone/gnokii-0.6.22-r2 - libtool: link: `pcsc.lo' is not a valid li...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Mobile Phone Developers (INACTIVE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-14 01:55 UTC by Halim Can ALBASAN
Modified: 2009-02-19 15:48 UTC (History)
2 users (show)

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


Attachments
"/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/config.log" in case it's necessary... (config.log,178.90 KB, text/plain)
2008-11-14 01:56 UTC, Halim Can ALBASAN
Details
/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/build.log (build.log,59.64 KB, text/plain)
2008-11-18 18:13 UTC, Halim Can ALBASAN
Details
/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/environment (environment,127.17 KB, text/plain)
2008-11-18 18:14 UTC, Halim Can ALBASAN
Details
build.log (build.log,93.62 KB, text/plain)
2009-02-19 15:41 UTC, nixnut (RETIRED)
Details
emerge --info (emerge.info,3.48 KB, text/plain)
2009-02-19 15:41 UTC, nixnut (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Halim Can ALBASAN 2008-11-14 01:55:40 UTC
the error starts right here.

gmake[2]: *** [libPHONES.la] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/common/phones'
gmake[1]: *** [phones] Error 2
gmake[1]: *** Waiting for unfinished jobs....
ar cru .libs/libPHONES.a .libs/generic.o .libs/nokia.o .libs/nk7110.o .libs/nk6510.o .libs/nk6160.o .libs/nk6100.o .libs/nk3110.o .libs/atgen.o .libs/atbosch.o .libs/ateric.o .libs/atmot.o .libs/atnok.o .libs/atsie.o .libs/atsoer.o .libs/atsam.o .libs/gnapplet.o .libs/fake.o .libs/pcsc.o
i686-pc-linux-gnu-ranlib .libs/libPHONES.a
creating libPHONES.la
(cd .libs && rm -f libPHONES.la && ln -s ../libPHONES.la libPHONES.la)
gmake[2]: Leaving directory `/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/common/phones'
gmake[1]: Leaving directory `/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/common'
make: *** [common] Error 2
 * 
 * ERROR: app-mobilephone/gnokii-0.6.22-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3276:  Called die
 * The specific snippet of code:
 *       emake || die "make failed";
 *  The die message:
 *   make failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/environment'.
 * 


 # emerge --info
Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-15-generic i686)
=================================================================
System uname: 2.6.20-15-generic i686 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Tue, 11 Nov 2008 19:30:13 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.linux.org.tr/pub/mirrors/gentoo http://ftp.uoi.gr/mirror/OS/gentoo/  http://distro.ibiblio.org/pub/linux/distributions/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en_GB tr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X Xaw3d aac accessibility acl acpi akode alisp alsa amarok ao aoss arts audiofile automount bash-completion berkdb bindist branding bzip2 caps cjk cli cracklib crypt cups custom-cflags dbus directfb djvu dmx dri dvd dvdr dvdread emacs emovix encode examples exif ffmpeg fftw flac fortran ftp gdbm gif glep glitz gnokii gnutls gphoto2 gpm gstreamer gzip hal hardened iconv id3tag idn imlib immqt-bc injection ipv6 isdnlog java java6 javascript jbig jingle jpeg jpeg2k kde kdehiddenvisibility kig-scripting krb4 lcms libnotify live livecd lm_sensors lyrics lzo madwifi md5sum midi mp3 mp3rtp mpd mplayer mudflap musepack musicbrainz mysql nano-syntax ncurses network-cron networking nls nptl nptlonly nsplugin ogg openexr opengl openmp oss overlays pam paste64 pcre pcsc-lite pda pdf perl php png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sametime sasl session slp smartcard smbkrb5passwd sndfile snmp solver sound speex spell spl spoof-source sqlite sqlite3 srt ssl startup-notification svg sysfs syslog taglib tcl tcpd theora tiff timidity tk toolbar truetype unicode utempter v4l v4l2 vcd vorbis wavpack wifi win32codecs wma x86 xattr xcb xcomposite xine xml xorg xprint xv xvid zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en_GB tr" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Halim Can ALBASAN 2008-11-14 01:56:55 UTC
Created attachment 171683 [details]
"/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/work/gnokii-0.6.22/config.log" in case it's necessary...
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-14 03:47:29 UTC
Please post the build log.
Comment 3 Halim Can ALBASAN 2008-11-14 04:21:03 UTC
which file exactly are you asking, may i ask? can you give me a possible directory, or/and a name, please?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-17 06:19:09 UTC
(In reply to comment #3)
> which file exactly are you asking, may i ask? can you give me a possible
> directory, or/and a name, please?

You posted it yourself in the Description:

 * A complete build log is located at
'/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/build.log'.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-18 16:44:37 UTC
Please reopen this bug when you have attached the build log.
Comment 6 Halim Can ALBASAN 2008-11-18 18:13:27 UTC
Created attachment 172273 [details]
/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/build.log

here it is..
Comment 7 Halim Can ALBASAN 2008-11-18 18:14:12 UTC
Created attachment 172274 [details]
/var/tmp/portage/app-mobilephone/gnokii-0.6.22-r2/temp/environment

and this as a bonus :)
Comment 8 Halim Can ALBASAN 2008-11-18 18:15:32 UTC
Reopening as requested..
Comment 9 Rafał Mużyło 2008-11-20 13:46:02 UTC
Looks like a parallel make problem.

May (or may not) be related to these lines in Makefile.global.in:

MAKE           = @MAKE@


%.lo: %.c
	$(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $<

%.a %.la:
	$(MAKE) -C $(@D) $(@F)

(flameeyes's blog suggests it may).
Comment 10 Halim Can ALBASAN 2008-11-20 14:52:26 UTC
is there anything i can do to verify it?
Comment 11 Rafał Mużyło 2008-11-20 17:48:42 UTC
You may try adding -j1 to the ebuild in src_compile

(or you could temporarily set your MAKEOPTS to -j5).
Comment 12 Halim Can ALBASAN 2008-11-20 18:13:00 UTC
(In reply to comment #11)
> You may try adding -j1 to the ebuild in src_compile
> 
> (or you could temporarily set your MAKEOPTS to -j5).
> 

it is already -j5, since i am using a Q6600 - quadcore.
Comment 13 Rafał Mużyło 2008-11-20 21:44:27 UTC
The point is - reducing.
Comment 14 Rafał Mużyło 2008-11-20 22:22:42 UTC
OK, comment 11 had a typo, but a rather obvious one.
The second was meant to j1 too.
Comment 15 Halim Can ALBASAN 2008-11-21 21:49:37 UTC
interestingly enough, i can not reproduce the error now.. i just did "emerge gnokii" and it is installed without error... i did not change MAKEOPTS variable, did not change anything,.. may be a few USE flags (such as bindist, custom-cflags, ..) but none of them are regarding gnokii package. didn't understand. though.. 

i think i must resolve this bug as invalid?? what do you say?
Comment 16 Rafał Mużyło 2008-11-22 02:37:48 UTC
Not quite.The problem with parallel make bugs is
that sometimes they are not reproducible, as they happen cause of
a race condition. As such timing may be important and ccache may throw it off
(something got left there after first attempts).
Comment 17 Alin Năstac (RETIRED) gentoo-dev 2008-12-13 12:03:36 UTC
According to Diego, there are no make parallelism problems in gnokii (see bug 235999), therefore I will close this as WORKSFORME.

Reopen the bug if you manage to reproduce it with a frequency bigger than one out of 20 tries. Of course, you need to test that on a multi-core box.
Comment 18 nixnut (RETIRED) gentoo-dev 2009-02-18 19:59:13 UTC
I can reproduce this quite reliably (10 out of 10 tries) on a 6-core machine with MAKEOPTS="-j". I guess Diego got lucky once, but didn't look too closely at the build system. With -j1 every build succeeds. If you have trouble reproducing it you could try with MAKEOPTS="-j" too. 

Diego, could you have another look?
Comment 19 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-18 20:04:10 UTC
It hasn't failed on the tinderbox either, but I'll check this out tonight and provide a patch.
Comment 20 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-18 20:24:06 UTC
Hm, I cannot reproduce on my 8-core with make -j. Can you attach your build log? Because fromt he one for 0.6.22 I can't see anything similar, and I need to see the actual failure to be able to find the problem :/
Comment 21 nixnut (RETIRED) gentoo-dev 2009-02-19 15:41:34 UTC
Created attachment 182553 [details]
build.log
Comment 22 nixnut (RETIRED) gentoo-dev 2009-02-19 15:41:52 UTC
Created attachment 182554 [details]
emerge --info
Comment 23 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-19 15:48:16 UTC
AAAh okay I see where this comes from, my mistake for not providing version numbers there.

I always talk about ~arch when I file an unversioned bug. 0.6.26+ has parallel make fixed, 0.6.22 doesn't.

I've restored -j1 on the stable ebuild.