Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87081 - ncurses-5.4-r6 doesn't compile with linux-headers-2.6.8.1-r4
Summary: ncurses-5.4-r6 doesn't compile with linux-headers-2.6.8.1-r4
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-29 01:44 UTC by Marco
Modified: 2005-05-14 11:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2005-03-29 01:44:35 UTC
I've tried to update my system to the latest portage-20050328. Since the linux-headers were switched from 2.4.22-r1 to 2.6.8.1-r4, I can't compile ncurses anymore. Switching back to 2.4.22-r1 => ncurses compiles fine again:

Here's what I got (the $LANG is set to "de", hope you can cope with this ;-) :

cd ../obj_s;  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tty/lib_mvcur.c
In file included from /usr/include/asm/processor.h:20,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/base/lib_mouse.c:88:
/usr/include/asm/system.h: In function `__cmpxchg':
/usr/include/asm/system.h:253: Fehler: 
Comment 1 Marco 2005-03-29 01:44:35 UTC
I've tried to update my system to the latest portage-20050328. Since the linux-headers were switched from 2.4.22-r1 to 2.6.8.1-r4, I can't compile ncurses anymore. Switching back to 2.4.22-r1 => ncurses compiles fine again:

Here's what I got (the $LANG is set to "de", hope you can cope with this ;-) :

cd ../obj_s;  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tty/lib_mvcur.c
In file included from /usr/include/asm/processor.h:20,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/base/lib_mouse.c:88:
/usr/include/asm/system.h: In function `__cmpxchg':
/usr/include/asm/system.h:253: Fehler: »LOCK_PREFIX« nicht deklariert (erste Benutzung in dieser Funktion)
/usr/include/asm/system.h:253: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
/usr/include/asm/system.h:2cd ../obj_s;  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tty/lib_mvcur.c
In file included from /usr/include/asm/processor.h:20,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/base/lib_mouse.c:88:
/usr/include/asm/system.h: In function `__cmpxchg':
/usr/include/asm/system.h:253: Fehler: »LOCK_PREFIX« nicht deklariert (erste Benutzung in dieser Funktion)
/usr/include/asm/system.h:253: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
/usr/include/asm/system.h:253: Fehler: für jede Funktion in der er auftritt.)
/usr/include/asm/system.h:253: Fehler: Fehler beim Parsen vor Zeichenkettenkonstante
/usr/include/asm/system.h:259: Fehler: Fehler beim Parsen vor Zeichenkettenkonstante
/usr/include/asm/system.h:265: Fehler: Fehler beim Parsen vor Zeichenkettenkonstante
make[1]: *** [../obj_s/lib_mouse.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/ncurses'
make: *** [all] Fehler 2

!!! ERROR: sys-libs/ncurses-5.4-r6 failed.
!!! Function do_compile, Line 85, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

Reproducible: Always
Steps to Reproduce:
1. emerge linux-headers-2.6.8.1-r4
2. emerge ncurses-5.4-r6
3. See what happens...


Expected Results:  
Should compile fine... 

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110, 
glibc-2.3.4.20050125-r1, 2.6.11.5 i686) 
================================================================= 
System uname: 2.6.11.5 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.6.10 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 11 2005, 11:13:34)] 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.9.5, 1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.14 
virtual/os-headers:  2.4.22-r1 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse 
-mfpmath=sse" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /opt/kde-3.2.3/share/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse 
-mfpmath=sse" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://gentoo.inode.at 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
LANG="de_DE@euro" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X a52 aalib apm arts avi berkdb bitmap-fonts cdda cdparanoia cdr 
crypt cups curl de divx4linux dvd dvdr dvdread emboss encode esd ethereal fam 
fbcon flac font-server foomaticdb fortran gdbm gif gphoto2 gpm gstreamer gtk 
gtk2 imagemagick imap imlib ipv6 java jpeg junit kde ldap libg++ libwww live 
lzo mad matroska mikmod mjpeg mmx mmx2 motif mozilla mp3 mpeg ncurses network 
nls noamazon oggvorbis opengl oss pam pdflib perl png pnp python qt quicktime 
readline rtc samba scanner sdl slang spell sse sse2 ssl svga tcltk tcpd theora 
tiff truetype truetype-fonts type1-fonts usb v4l v4l2 xine xml2 xmms 
xscreensaver xv xvid zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-04-23 04:54:21 UTC
Can you try 2.6.11 headers and see if that solves the issue?
Comment 3 Marco 2005-04-25 06:45:43 UTC
Sorry, no success... :-(     

cd ../obj_s;  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses
-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -march=pentium3 -fomit-frame-pointer
-pipe -mmmx -msse -mfpmath=sse -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tty/lib_mvcur.c
In file included from /usr/include/asm/processor.h:20,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:4,
                 from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/base/lib_mouse.c:88:
/usr/include/asm/system.h: In function `__cmpxchg':
/usr/include/asm/system.h:253: Fehler: 
Comment 4 Marco 2005-04-25 06:45:43 UTC
Sorry, no success... :-(     

cd ../obj_s;  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses
-I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -march=pentium3 -fomit-frame-pointer
-pipe -mmmx -msse -mfpmath=sse -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/tty/lib_mvcur.c
In file included from /usr/include/asm/processor.h:20,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:21,
                 from /usr/include/linux/keyboard.h:4,
                 from /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/ncurses/base/lib_mouse.c:88:
/usr/include/asm/system.h: In function `__cmpxchg':
/usr/include/asm/system.h:253: Fehler: »LOCK_PREFIX« nicht deklariert (erste Benutzung in dieser Funktion)
/usr/include/asm/system.h:253: Fehler: (Jeder nicht deklarierte Bezeichner wird nur einmal aufgeführt
/usr/include/asm/system.h:253: Fehler: für jede Funktion in der er auftritt.)
/usr/include/asm/system.h:253: Fehler: Fehler beim Parsen vor Zeichenkettenkonstante
/usr/include/asm/system.h:259: Fehler: Fehler beim Parsen vor Zeichenkettenkonstante
/usr/include/asm/system.h:265: Fehler: Fehler beim Parsen vor Zeichenkettenkonstante
make[1]: *** [../obj_s/lib_mouse.o] Fehler 1
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.4-r6/work/narrowc/ncurses'
make: *** [all] Fehler 2

!!! ERROR: sys-libs/ncurses-5.4-r6 failed.
!!! Function do_compile, Line 85, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
_________________________________________________________________________

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11.7 i686)
=================================================================
System uname: 2.6.11.7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.11
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 11 2005, 11:13:34)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.5, 1.6.3, 1.8.5-r3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/kde-3.2.3/share/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe -mmmx -msse -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aalib apm arts avi berkdb bitmap-fonts cdda cdparanoia cdr crypt cups curl de divx4linux dts dv dvd dvdr dvdread emboss encode esd ethereal fam fbcon flac foomaticdb fortran gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 imagemagick imap imlib ipv6 jack java jpeg junit kde ldap libg++ libwww live lzo mad matroska mikmod mjpeg mmx mmx2 motif mozilla mp3 mpeg ncurses network nls noamazon nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png pnp python qt quicktime readline rtc samba scanner sdl slang spell sse ssl svga tcltk tcpd theora tiff toolame truetype truetype-fonts type1-fonts usb v4l v4l2 vorbis xine xml2 xmms xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Regards,

Marco
Comment 5 Tim Yamin (RETIRED) gentoo-dev 2005-04-29 10:37:13 UTC
Ok, can you attach /usr/include/linux/autoconf.h please?
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2005-05-14 11:40:23 UTC
Please attach /usr/include/linux/autoconf.h and reopen bug.