Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 41188
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 39576
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Colin Macdonald <cbm@m.fsf.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libapm.la libapm.la text/plain Colin Macdonald 2004-02-10 19:18 0000 765 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 41188 depends on: Show dependency tree
Bug 41188 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-10 18:38 0000
emerging gnome-applets-2.4.2 fails after compiling lots of stuff at battstat.

I'm running ~x86 and my system is "emerge -vu world" up-to-date.  I'm running the 2.4.24 Linux kernel (vanilla).

I think this is not a duplicate of #40537.  I do have -acpi as a use flag but I said yes to a lot of ACPI modules in my kernel (not loading them but ACPI definitly does IRQ related things at boot time according to dmesg).

Here's the last of the output:

Found cached translation database
Merging translations into battstat.schemas.
sed -e "s|\@LIBEXECDIR\@|/usr/libexec|" GNOME_BattstatApplet.server.in.in > GNOME_BattstatApplet.server.in
LC_ALL=C ../intltool-merge ../po GNOME_BattstatApplet.server.in GNOME_BattstatApplet.server -o -u -c ../po/.intltool-merge-cache
/bin/sh ../libtool --mode=link gcc  -march=athlon-xp -O3 -pipe  -o battstat-applet-2  properties.o battstat_applet.o acpi-linux.o -Wl,--export-dynamic -pthread -L/usr/X11R6/lib -lpanel-applet-2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgobject-2.0 -lgthread-2.0 -lm -lgmodule-2.0 -ldl -lglib-2.0   -Wl,--export-dynamic -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   ../screen-exec/libscreen-exec.la -lapm
Found cached translation database
mkdir .libs
Merging translations into GNOME_BattstatApplet.server.
libtool: link: `/usr/lib/libapm.la' is not a valid libtool archive
make[3]: *** [battstat-applet-2] Error 1
make[3]: Leaving directory `/var/tmp/portage/gnome-applets-2.4.2/work/gnome-applets-2.4.2/battstat'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-applets-2.4.2/work/gnome-applets-2.4.2/battstat'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-applets-2.4.2/work/gnome-applets-2.4.2'
make: *** [all-recursive-am] Error 2
 
!!! ERROR: gnome-base/gnome-applets-2.4.2 failed.
!!! Function gnome2_src_compile, Line 39, Exitcode 2
!!! compile failure

 
Here is the relevant part of my make.conf:

USE="-avi -svga -gstreamer sdk gatos wxwindows v4l faad xosd xvid flac sse mmx dvdr matroska xml ppds -foomaticdb ginac qhull moznomail moznocompose mozsvg moznoirc -kde usb Xaw3d tiff radeon alsa jack mozilla mpeg cdr cjk dga directfb dvd esd fbcon gnome gtk2 leim mule plotutils scanner tetex zlib emacs xinerama"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~x86"
ALSA_CARDS="emu10k1 via82xx"
VIDEO_CARDS="radeon mach64"
PORTDIR_OVERLAY=/usr/local/portage

(there is nothing of any significance in the overlay -- just a non-working ebuild for gcvs)

------- Comment #1 From Spider (RETIRED) 2004-02-10 19:08:38 0000 -------
please attach `/usr/lib/libapm.la'

------- Comment #2 From Colin Macdonald 2004-02-10 19:18:16 0000 -------
Created an attachment (id=25374) [details]
libapm.la

------- Comment #3 From Colin Macdonald 2004-02-10 19:20:23 0000 -------
BTW, apmd is 3.2.0 and I've tried re-emerging that.

------- Comment #4 From Colin Macdonald 2004-02-10 22:11:32 0000 -------
Some more information:   I re-emerged apmd and kept an eye on the output. 
There are some funny looking warnings re libtool in there (see output below). 
Anyway, after I rebuilt apmd, I emerged gnome-applets and it built ok this
time!!  (I know I rebuilt apmd before because libapm.la was dated 2004-02-06). 
However, there was some funny stuff about libtool (i think) when gnome 2.4.2
was first in portage (libtool was first upgraded then downgraded later that
day).

Here is a diff of the new libapm.la and the old:

diff libapm.la /home/nilok/libapm.la_old
2c2
< # Generated by ltmain.sh - GNU libtool 1.5.2 (1.1220.2.60 2004/01/25
12:25:08)
---
> # Generated by ltmain.sh - GNU   (1.1220.2.60 2004/01/25 12:25:08)

So nothing different there!  I guess you can close this bug if no one else
experiences any problems.

Here's the output from emerging apmd:
emerge -v apmd
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/apmd-3.2.0 to /
>>> md5 src_uri ;-) apmd_3.2.0.orig.tar.gz
>>> Unpacking source...
>>> Unpacking apmd_3.2.0.orig.tar.gz to /var/tmp/portage/apmd-3.2.0/work
 * Applying apmsleep.c.diff.3.2.0...                                          [
ok ] * Applying apmd-3.2.0.kernel26x.patch...                                  
  [ ok ]>>> Source unpacked.
libtool --quiet gcc -c  -O -g -Wall -pipe -I. -I/usr/src/linux/include
-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.0\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmlib.c
gcc -c  -O -g -Wall -pipe -I. -I/usr/src/linux/include
-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.0\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apm.c
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
apm.c: In function `change_state':
apm.c:46: warning: implicit declaration of function `exit'
gcc -c  -O -g -Wall -pipe -I. -I/usr/src/linux/include
-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.0\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmd.c
apmd.c: In function `call_proxy':
apmd.c:204: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:217: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:292: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:297: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:335: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:355: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:375: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c: In function `handle_event':
apmd.c:514: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c: In function `main':
apmd.c:1149: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:1169: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:1181: warning: concatenation of string literals with __FUNCTION__ is
deprecated
apmd.c:1188: warning: concatenation of string literals with __FUNCTION__ is
deprecated
gcc -c  -O -g -Wall -pipe -I. -I/usr/src/linux/include
-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.0\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" -DNARROWPROTO xapm.c
gcc -c  -O -g -Wall -pipe -I. -I/usr/src/linux/include
-I/usr/src/linux-2.2/include -I /usr/src/linux-2.0/include -DVERSION=\"3.2.0\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
xapm.c: In function `quit':
xapm.c:300: warning: implicit declaration of function `exit'
apmsleep.c: In function `main':
apmsleep.c:122: warning: implicit declaration of function `exit'
libtool --quiet gcc -o libapm.la apmlib.lo -rpath /usr/lib -version-info 1:0
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
apmsleep.c: At top level:
apmsleep.c:68: warning: `rcsid' defined but not used
libtool --quiet gcc -o apm apm.o  libapm.la
libtool --quiet gcc -o apmd apmd.o  libapm.la
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
libtool --quiet gcc -o xapm xapm.o  libapm.la -L/usr/X11R6/lib -lXaw -lXmu -lXt
-lXext -lSM -lICE -lX11
libtool --quiet gcc -o apmsleep apmsleep.o  libapm.la
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
rm apm.o

>>> Install apmd-3.2.0 into /var/tmp/portage/apmd-3.2.0/image/ category sys-apps
[ -d /var/tmp/portage/apmd-3.2.0/image//usr/bin    ] || install -d
/var/tmp/portage/apmd-3.2.0/image//usr/bin
[ -d /var/tmp/portage/apmd-3.2.0/image//usr/lib    ] || install -d
/var/tmp/portage/apmd-3.2.0/image//usr/lib
[ -d /var/tmp/portage/apmd-3.2.0/image//usr/include    ] || install -d
/var/tmp/portage/apmd-3.2.0/image//usr/include
libtool --quiet install -m 644 libapm.la      
/var/tmp/portage/apmd-3.2.0/image//usr/lib
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
libtool: install: warning: remember to run `libtool --finish /usr/lib'
libtool --quiet install        apm            
/var/tmp/portage/apmd-3.2.0/image//usr/bin
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
libtool --quiet install        apmd           
/var/tmp/portage/apmd-3.2.0/image//usr/sbin
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
libtool --quiet install        xapm           
/var/tmp/portage/apmd-3.2.0/image//usr/bin
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
libtool --quiet install        apmsleep  
/var/tmp/portage/apmd-3.2.0/image//usr/bin*** Warning: inferring the mode of
operation is deprecated.
*** Future versions of Libtool will require -mode=MODE be specified.
install        on_ac_power     /var/tmp/portage/apmd-3.2.0/image//usr/bin
install -m 644 apm.h           /var/tmp/portage/apmd-3.2.0/image//usr/include
install: cannot stat `debian/apmd_proxy': No such file or directory
install xapm    /var/tmp/portage/apmd-3.2.0/image//usr/bin
man:
prepallstrip:
strip:
strip:
   usr/bin/apm
   usr/bin/apmsleep
   usr/sbin
making executable: /usr/lib/libapm.so.1.0.0
>>> Completed installing into /var/tmp/portage/apmd-3.2.0/image/

------- Comment #5 From foser (RETIRED) 2004-02-11 03:58:21 0000 -------
the libtool problem (see dup) is likely the cause

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug