First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 124841
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Steev Klimaszewski <steev@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Patrizio Bassi <hetfield666@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
apmd-3.2.2_p5.diff apmd-3.2.2_p5.diff patch Ed Catmur 2006-03-24 06:00 0000 380 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 124841 depends on: Show dependency tree
Bug 124841 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: 2006-03-03 11:33 0000
probably gcc4 and linux 2.6.16-rc5 problem.


libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.
-I/usr/src/linux/include -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I
/usr/src/linux-2.0/include -DVERSION=\"3.2.1\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" -DNARROWPROTO xapm.c
xapm.c: In function 'main':
xapm.c:344: warning: pointer targets in passing argument 4 of 'XParseGeometry'
differ in signedness
xapm.c:344: warning: pointer targets in passing argument 5 of 'XParseGeometry'
differ in signedness
libtool --quiet --mode=link gcc -o xapm xapm.o  libapm.la -L/usr/X11R6/lib
-lXaw -lXmu -lXt -lXext -lSM -lICE -lX11
libtool --quiet --mode=compile gcc -c  -O -g -Wall -pipe -I.
-I/usr/src/linux/include -I/usr/X11R6/include -I/usr/src/linux-2.2/include -I
/usr/src/linux-2.0/include -DVERSION=\"3.2.1\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
In file included from /usr/src/linux/include/linux/interrupt.h:8,
                 from /usr/src/linux/include/linux/rtc.h:14,
                 from apmsleep.c:47:
/usr/src/linux/include/linux/bitops.h: In function 'generic_fls64':
/usr/src/linux/include/linux/bitops.h:84: warning: implicit declaration of
function 'fls'
In file included from /usr/src/linux/include/linux/cpumask.h:86,
                 from /usr/src/linux/include/linux/interrupt.h:10,
                 from /usr/src/linux/include/linux/rtc.h:14,
                 from apmsleep.c:47:
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_zero':
/usr/src/linux/include/linux/bitmap.h:125: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h:125: error: (Each undeclared identifier
is reported only once
/usr/src/linux/include/linux/bitmap.h:125: error: for each function it appears
in.)
/usr/src/linux/include/linux/bitmap.h:128: warning: implicit declaration of
function 'BITS_TO_LONGS'
/usr/src/linux/include/linux/bitmap.h:129: warning: implicit declaration of
function 'memset'
/usr/src/linux/include/linux/bitmap.h:129: warning: incompatible implicit
declaration of built-in function 'memset'
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_fill':
/usr/src/linux/include/linux/bitmap.h:138: warning: incompatible implicit
declaration of built-in function 'memset'
/usr/src/linux/include/linux/bitmap.h:140: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_copy':
/usr/src/linux/include/linux/bitmap.h:146: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h:150: warning: implicit declaration of
function 'memcpy'
/usr/src/linux/include/linux/bitmap.h:150: warning: incompatible implicit
declaration of built-in function 'memcpy'
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_and':
/usr/src/linux/include/linux/bitmap.h:157: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_or':
/usr/src/linux/include/linux/bitmap.h:166: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_xor':
/usr/src/linux/include/linux/bitmap.h:175: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_andnot':
/usr/src/linux/include/linux/bitmap.h:184: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_complement':
/usr/src/linux/include/linux/bitmap.h:193: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_equal':
/usr/src/linux/include/linux/bitmap.h:202: error: 'BITS_PER_LONG' undeclared
(first use in this function)
/usr/src/linux/include/linux/bitmap.h: In function 'bitmap_intersects':



[MAAANY MORE]

------- Comment #1 From Steev Klimaszewski 2006-03-03 17:05:39 0000 -------
This is mine so I will take it.  Could I get the output of emerge info please?

------- Comment #2 From Patrizio Bassi 2006-03-04 01:26:15 0000 -------
System uname: 2.6.16-rc2-git1 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.5-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx
-msse -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config
/usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control
/var/run/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx
-msse -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://gentoo.ngi.it"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect
-Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns
alsa apache2 apm arts asf audiofile avi bash-completion berkdb bidi
bitmap-fonts bootsplash browserplugin bzip2 cairo caps cdda cddb cdio
cdparanoia cdr cgi chroot clamav cli client codecs crypt css cups curl dba dbus
dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif expat
extraengine faac faad fam fbcon ffmpeg fftw firefox flac flash foomaticdb
foreign-package fortran gcj gd gdbm geometry ggi gif gimp gimpprint glut glx
gnokii gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile
h264 hal iconv idea idn imagemagick imap imlib innodb ipod irda irmc jack java
javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal
kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb libwww
lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mikmod mime
mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm
mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras mysql mysqli mythtv
nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp
no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc ogg
oggvorbis openal opengl openssl operanom2 oss pam pcre pda pdf pdflib pdo pear
perl php png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime
quotas readline real rrdtool rtc ruby samba scanner sdl server session
sftplogging sguil slang slp snortsam soap sockets socks5 softmmu softquota
spamassassin speex spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd
tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts
unicode usb userlocales vidix vorbis win32codecs wmf wsconvert wxwindows x264
xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xmms
xosd xpm xprint xsl xv xvid xvm xvmc zlib elibc_glibc kernel_linux linguas_it
userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS

------- Comment #3 From Linux Blues 2006-03-04 11:03:59 0000 -------
Similar issue here, is trying to use gcc-3.4.4 while gcc-3.4.5 has removed it


emerge apmd
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/apmd-3.2.1_p4 to /
>>> md5 files   ;-) apmd-3.2.1_p4.ebuild
>>> md5 files   ;-) apmd-3.0.2-r3.ebuild
>>> md5 files   ;-) apmd-3.2.2_p5.ebuild
>>> md5 files   ;-) apmd-3.2.0.ebuild
>>> md5 files   ;-) files/digest-apmd-3.0.2-r3
>>> md5 files   ;-) files/digest-apmd-3.2.1_p4
>>> md5 files   ;-) files/digest-apmd-3.2.2_p5
>>> md5 files   ;-) files/apmsleep.c.diff
>>> md5 files   ;-) files/apmd.rc6
>>> md5 files   ;-) files/apmd-no-on_ac_power_script.patch
>>> md5 files   ;-) files/apmd.kernel26x.patch
>>> md5 files   ;-) files/apmsleep.c.diff.3.2.0
>>> md5 files   ;-) files/apmd-3.2.0.kernel26x.patch
>>> md5 files   ;-) files/digest-apmd-3.2.0
>>> md5 files   ;-) files/apmd.confd
>>> md5 src_uri ;-) apmd_3.2.1.orig.tar.gz
>>> md5 src_uri ;-) apmd_3.2.1-4.diff.gz
>>> Unpacking source...
>>> Unpacking apmd_3.2.1.orig.tar.gz to /var/tmp/portage/apmd-3.2.1_p4/work
>>> Unpacking apmd_3.2.1-4.diff.gz to /var/tmp/portage/apmd-3.2.1_p4/work
 * Applying apmd_3.2.1-4.diff ...                                              
                                       [ ok ]>>> Source unpacked.
libtool --quiet --mode=compile 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.1\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmlib.c
libtool --quiet --mode=compile 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.1\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apm.c
libtool --quiet --mode=compile 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.1\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmd.c
libtool --quiet --mode=compile 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.1\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" -DNARROWPROTO xapm.c
libtool --quiet --mode=compile 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.1\"
-DDEFAULT_PROXY_NAME=\"/etc/apmd_proxy\" apmsleep.c
libtool --quiet --mode=link gcc -o libapm.la apmlib.lo -rpath /usr/lib
-version-info 1:0
apmsleep.c:60: warning: 'rcsid' defined but not used
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crti.o: No
such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o: No
such file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o: No such
file or directory
i686-pc-linux-gnu-g++: /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/../../../crtn.o: No
such file or directory
make: *** [libapm.la] Error 1
rm apm.o

!!! ERROR: sys-apps/apmd-3.2.1_p4 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.






emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2,
2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU     
1000MHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3m -Os -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -fforce-addr -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/openoffice/share/dict/ooo /usr/share/applications
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3m -Os -pipe -fomit-frame-pointer
-momit-leaf-frame-pointer -fforce-addr -msse -mfpmath=sse
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://147.156.17.151/mirror/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://193.190.198.20/gentoo-portage"
USE="x86 X acpi alsa audiofile avi berkdb bitmap-fonts bonobo bzip2 crypt cups
curl dbus dga dts dvd dvdread emboss encode esd exif expat ffmpeg firefox flac
foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal
imagemagick imlib java jpeg lcms libcaca libg++ libwww mad matroska mikmod mmap
mmx mng motif mp3 mpeg nas ncurses nls nptl nptlonly ogg oggvorbis opengl pam
pcre pdf perl pic png posix python quicktime readline sdl slang spell sse ssl
svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode usb vcd
vorbis wxwindows xml xml2 xmms xpm xv xvid zlib video_cards_radeon
input_devices_keyboard input_devices_mouse input_devices_synaptics linguas_es
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET



_____

well, I don't have apm USE flag, it was for testing purposes only, as acpid
works fine, neither USE="apm" emerge apmd nor emerge apmd worked, same results.

------- Comment #4 From Linux Blues 2006-03-05 14:42:27 0000 -------
Someone read my report and suggested me to reemerge libtool. It has solved the
problem.

It should be ewarned on gcc-3.4.5, it isn't an apmd issue.

------- Comment #5 From Patrizio Bassi 2006-03-05 23:39:12 0000 -------
your problem is completly different from mine.

------- Comment #6 From Andy Botting 2006-03-06 12:28:03 0000 -------
I am having the same problem as you Patrizio. Mine is a fresh install, and a
dependancy on Gnome. Using stage3-2006.0-ppc on a G4 powerbook.

let me know if you need any more info

------- Comment #7 From Linux Blues 2006-03-07 06:36:07 0000 -------
(In reply to comment #5)
> your problem is completly different from mine.
> 

bugzie's Murphy Law: No matter the time you spend searching for existing bugs,
if you submit a new one, it will be marked as "duplicated". If you append your
report to another bug, reporter will complain about it has nothing to do with
his bug.

I'm awfully sorry... anyway, appending it to your bug-report, has solved *my*
issue thanks to an anonymous user.

Good luck with gcc-4 and have a look at the new ANSI standard, if the code
isn't compatible with it, it will fail with gcc-4 (not a Murphy Law now, simply
the truth).

Cheers.


BTW, sorry for my bad english, ewarnt sounds bad here, but ewarned sounds
worse.

------- Comment #8 From Steev Klimaszewski 2006-03-09 12:58:15 0000 -------
I am unable to reproduce this - _p5 and gcc 4.0.2 - could you please run
"emerge --info" without the quotes and post the entirety of the output?

------- Comment #9 From Patrizio Bassi 2006-03-09 13:56:45 0000 -------
are you using 2.6.16-rc* kernel?
Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r6,
2.6.16-rc2-git1 i686)
=================================================================
System uname: 2.6.16-rc2-git1 i686 Pentium III (Katmai)
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.6-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx
-msse -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config
/usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control
/var/run/dspam"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx
-msse -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://gentoo.ngi.it"
LANG="it_IT.utf8"
LC_ALL="it_IT.utf8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect
-Wl,--as-needed -Wl,-hashvals -Wl,-zdynsort"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/myportage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X X509 Xaw3d a52 aac aalib accessibility acl acpi activefilter adns
alsa apache2 apm arts asf audiofile avi bash-completion berkdb bidi
bitmap-fonts bootsplash browserplugin bzip2 cairo caps cdda cddb cdio
cdparanoia cdr cgi chroot clamav cli client codecs crypt css cups curl dba dbus
dga dhcp directfb djbfft dri edl eds emboss encode ethereal exif expat
extraengine faac faad fam fbcon ffmpeg fftw firefox flac flash foomaticdb
foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glut
glx gnokii gnome gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml
guile h264 hal iconv idea idn imagemagick imap imlib innodb ipod irda irmc jack
java javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal
kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb libwww
lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash mikmod
mime mmx mmx2 mmxext mng mono motif mozcalendar mozdevelop mozilla mozsvg
mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras mysql mysqli
mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui
nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin oav odbc
ogg openal opengl openssl operanom2 oss pam pcre pda pdf pdflib pdo pear perl
php png pnp postgres ppds pthreads python qemu-fast qhull qt quicktime quotas
readline real rrdtool rtc ruby samba scanner sdl server session sftplogging
sguil slang slp snortsam soap sockets socks5 softmmu softquota spamassassin
speex spell sqlite3 sse ssl subject-rewrite svg svga tcltk tcpd tetex tga
theora tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode
usb userlocales vidix vorbis win32codecs wmf wsconvert wxwindows x264 xanim
xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xmms xosd xpm
xprint xsl xv xvid xvm xvmc zlib elibc_glibc kernel_linux linguas_it
userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, MAKEOPTS

------- Comment #10 From Steev Klimaszewski 2006-03-09 14:58:01 0000 -------
this is with vanilla-sources-2.6.16-rc5 - I don't have gcc 4.1.0 though, I am
using gcc 4.0.2.

------- Comment #11 From Jakub Moc (RETIRED) 2006-03-14 11:36:31 0000 -------
*** Bug 126165 has been marked as a duplicate of this bug. ***

------- Comment #12 From Benjamin Hodgetts 2006-03-15 03:06:33 0000 -------
My error seems completely different, but my bugreport got moved here
regardless, so here is the failure output of mine. Regressing to a previous
version doesn't fix apmd and I was using kernel 2.6.16 with the previous
versions too, so I don't think this is a .16 issue, it must be something else
otherwise going back to the previous version of apmd would have fixed it as it
worked on .16 before.

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

/usr/include/gentoo-multilib/amd64/bits/siginfo.h:197: error: syntax error
before '(' token
/usr/include/gentoo-multilib/amd64/bits/siginfo.h:206: error: syntax error
before '(' token
/usr/include/gentoo-multilib/amd64/bits/siginfo.h:217: error: syntax error
before '(' token
/usr/include/gentoo-multilib/amd64/bits/siginfo.h:226: error: syntax error
before '(' token
/usr/include/gentoo-multilib/amd64/bits/siginfo.h:243: error: syntax error
before '(' token
/usr/include/gentoo-multilib/amd64/bits/siginfo.h:274: error: redefinition of
`struct sigevent'
/usr/include/gentoo-multilib/amd64/bits/siginfo.h:302: error: syntax error
before numeric constant
In file included from /usr/include/bits/sigaction.h:8,
                 from /usr/include/gentoo-multilib/amd64/signal.h:246,
                 from /usr/include/signal.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/wait.h:31,
                 from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/bits/sigaction.h:26: error: redefinition of
`struct sigaction'
/usr/include/gentoo-multilib/amd64/bits/sigaction.h:34: error: syntax error
before "siginfo_t"
In file included from /usr/include/signal.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/wait.h:31,
                 from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/signal.h:280: error: syntax error before
"siginfo_t"
/usr/include/gentoo-multilib/amd64/signal.h:288: error: syntax error before
"siginfo_t"
In file included from /usr/include/bits/sigcontext.h:8,
                 from /usr/include/gentoo-multilib/amd64/signal.h:333,
                 from /usr/include/signal.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/wait.h:31,
                 from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/bits/sigcontext.h:110: error: redefinition
of `struct _fpstate'
/usr/include/gentoo-multilib/amd64/bits/sigcontext.h:126: error: redefinition
of `struct sigcontext'
In file included from /usr/include/bits/sigstack.h:8,
                 from /usr/include/gentoo-multilib/amd64/signal.h:348,
                 from /usr/include/signal.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/wait.h:31,
                 from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/bits/sigstack.h:36: error: syntax error
before numeric constant
/usr/include/gentoo-multilib/amd64/bits/sigstack.h:51: error: redefinition of
`struct sigaltstack'
In file included from /usr/include/bits/resource.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/resource.h:25,
                 from /usr/include/sys/resource.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/wait.h:32,
                 from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/bits/resource.h:36: error: syntax error
before numeric constant
/usr/include/gentoo-multilib/amd64/bits/resource.h:63: error: syntax error
before numeric constant
/usr/include/gentoo-multilib/amd64/bits/resource.h:69: error: syntax error
before numeric constant
/usr/include/gentoo-multilib/amd64/bits/resource.h:136: error: redefinition of
`struct rlimit'
/usr/include/gentoo-multilib/amd64/bits/resource.h:157: error: syntax error
before numeric constant
In file included from /usr/include/bits/resource.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/resource.h:25,
                 from /usr/include/sys/resource.h:8,
                 from /usr/include/gentoo-multilib/amd64/sys/wait.h:32,
                 from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/bits/resource.h:170: error: redefinition of
`struct rusage'
/usr/include/gentoo-multilib/amd64/bits/resource.h:219: error: syntax error
before numeric constant
In file included from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/sys/wait.h:104: error: syntax error before
numeric constant
In file included from /usr/include/sys/wait.h:8,
                 from apmsleep.c:56:
/usr/include/gentoo-multilib/amd64/sys/wait.h:155: error: syntax error before
"siginfo_t"
In file included from /usr/include/time.h:8,
                 from apmsleep.c:57:
/usr/include/gentoo-multilib/amd64/time.h:163: error: redefinition of `struct
itimerspec'
/usr/src/linux/include/asm/smp.h:101: warning: array 'bios_cpu_apicid' assumed
to have one element
/usr/src/linux/include/asm/topology.h:16: warning: array 'node_to_cpumask'
assumed to have one element
apmsleep.c:60: warning: 'rcsid' defined but not used
{standard input}: Assembler messages:
{standard input}:173: Warning: size of "_sigfault" is already 8; not changing
to 4
{standard input}:174: Warning: size of "_sigpoll" is already 16; not changing
to 4
make: *** [apmsleep.o] Error 1
make: *** Waiting for unfinished jobs....
rm apm.

------- Comment #13 From Matt Wheeler 2006-03-15 06:41:27 0000 -------
also fails with 2.6.15-r1 and gcc 3.4.5

http://pastebin.com/601273

------- Comment #14 From Linux Blues 2006-03-15 07:13:51 0000 -------
(In reply to comment #13)
> also fails with 2.6.15-r1 and gcc 3.4.5
> 
> http://pastebin.com/601273
> 

pastebin has removed your paste, read #3 and #4, please.

------- Comment #15 From floyd73@quantentunnel.de 2006-03-23 16:42:18 0000 -------
I had the same problem and after searching the forums and trying to solve it I
think there are two completely unrelated problems: for some people it's
something gcc upgrade related and re-emergin lbtool seems to solve it and for
others - my case and also the from whom originaly opened this bug report - is
something with the 2.6.16 kernel, some change in the header files so that the
symbol BITS_PER_LONG is not defined (or defined somewhere else) and other
things;
Well, for me downgrading to kernel 2.6.15 solved the problem...

------- Comment #16 From Patrizio Bassi 2006-03-24 00:45:17 0000 -------
this should block at least the 2.6.16 tracker...or the gcc4 tracker too

------- Comment #17 From Ed Catmur 2006-03-24 05:43:06 0000 -------
Confirmed on vanilla ~ppc (gcc 3.4.5, kernel 2.6.16).

Problem is that kernel 2.6.16 provides asm/bitops.h which overrides system
(linux-headers) asm/bitops.h; however kernel asm/bitops.h is wrapped in #ifdef
__KERNEL__ so nothing gets included.

Solution as I see it would be to def __KERNEL__ (evil) or make
/usr/src/linux/include an -idirafter so it comes after /usr/include on include
path. Or, see if removing /usr/src/linux/include from include path works;
there's no reason apmd can't use system linux-headers.

------- Comment #18 From Ed Catmur 2006-03-24 06:00:44 0000 -------
Created an attachment (id=83004) [edit]
apmd-3.2.2_p5.diff

ebuild diff: sed the Makefile to remove /usr/src/linux/include from include
path, so that it compiles against system linux-headers.

This gets apmd to compile and install OK, and appears to work fine.

Fixed ebuild is in my overlay, http://catmur.co.uk/svn/repos/gentoo/tree

------- Comment #19 From Henrik Brix Andersen 2006-03-28 12:44:46 0000 -------
*** Bug 127620 has been marked as a duplicate of this bug. ***

------- Comment #20 From Steev Klimaszewski 2006-03-28 13:20:50 0000 -------
Thanks for your work on this Ed, I have added the change to the p5 ebuild, not
revbumped, as if it is installed and working already, there is no need to
recompile.  

------- Comment #21 From Patrizio Bassi 2006-03-29 00:36:30 0000 -------
i confirmi it's fixed, thanks.

First Last Prev Next    No search results available      Search page      Enter new bug