Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130032 - ncurses-5.5-r2 fails to build using linux-headers-2.6.16
Summary: ncurses-5.5-r2 fails to build using linux-headers-2.6.16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
: 127732 130029 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-15 01:08 UTC by Nathan Sullivan
Modified: 2006-04-18 08: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 Nathan Sullivan 2006-04-15 01:08:23 UTC
subject says it all, i wont submit anymore for now :) just incase their all related (which seems possible)...

powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses -I/var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fPIC -c /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/base/lib_mouse.c -o ../obj_s/lib_mouse.o
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses -I/var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fPIC -c /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/base/lib_move.c -o ../obj_s/lib_move.o
powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I../ncurses -I/var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses -I/var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/../include -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -fPIC -c /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/tty/lib_mvcur.c -o ../obj_s/lib_mvcur.o
In file included from /usr/include/linux/bitops.h:77,
                 from /usr/include/linux/thread_info.h:20,
                 from /usr/include/linux/preempt.h:10,
                 from /usr/include/linux/spinlock.h:50,
                 from /usr/include/linux/wait.h:23,
                 from /usr/include/linux/keyboard.h:20,
                 from /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/base/lib_mouse.c:91:
/usr/include/asm/bitops.h: In function 'set_bit':
/usr/include/asm/bitops.h:63: error: expected ':' or ')' before 'PPC405_ERR77'
/usr/include/asm/bitops.h: In function 'clear_bit':
/usr/include/asm/bitops.h:80: error: expected ':' or ')' before 'PPC405_ERR77'
/usr/include/asm/bitops.h: In function 'change_bit':
/usr/include/asm/bitops.h:97: error: expected ':' or ')' before 'PPC405_ERR77'
/usr/include/asm/bitops.h: In function 'test_and_set_bit':
/usr/include/asm/bitops.h:113: error: expected string literal before 'LWSYNC_ON_SMP'
/usr/include/asm/bitops.h: In function 'test_and_clear_bit':
/usr/include/asm/bitops.h:135: error: expected string literal before 'LWSYNC_ON_SMP'
/usr/include/asm/bitops.h: In function 'test_and_change_bit':
/usr/include/asm/bitops.h:157: error: expected string literal before 'LWSYNC_ON_SMP'
In file included from /usr/include/asm/thread_info.h:25,
                 from /usr/include/linux/thread_info.h:21,
                 from /usr/include/linux/preempt.h:10,
                 from /usr/include/linux/spinlock.h:50,
                 from /usr/include/linux/wait.h:23,
                 from /usr/include/linux/keyboard.h:20,
                 from /var/tmp/portage/ncurses-5.5-r2/work/ncurses-5.5/ncurses/base/lib_mouse.c:91:
/usr/include/asm/page.h: At top level:
/usr/include/asm/page.h:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pte_t'
make[1]: *** [../obj_s/lib_mouse.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/ncurses-5.5-r2/work/narrowc/ncurses'
make: *** [all] Error 2

!!! ERROR: sys-libs/ncurses-5.5-r2 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  ncurses-5.5-r2.ebuild, line 48:   Called do_compile
  ncurses-5.5-r2.ebuild, line 90:   Called die

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

emerge info again:

ns-pbook-gt / # emerge --info
Portage 2.1_pre7-r5 (default-linux/ppc/2005.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-ck3 ppc)
=================================================================
System uname: 2.6.16-ck3 ppc 7447A, altivec supported
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://mirror.gentoo.gr.jp ftp://gg3.net/pub/linux/gentoo http://ftp-mirror.internap.com/pub/gentoo ftp://gentoo.agsn.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.100.10.1/gentoo-portage"
USE="X aim alsa altivec apache2 berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdr cli crypt ctype cups curl dba divx4linux dri dvd dvdr emboss ethereal exif extraengine fam flac fortran gd gdbm gif gpm gps graphviz gstreamer gtk gtk2 icq imap imlib innodb ipv6 isdnlog jabber java jpeg kerberos ldap libwww mad mhash motif mozsvg mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pci pcmcia pcntl pcre pdflib pear perl png posix ppc pppd python readline ruby samba session simplexml snmp soap softmmu spell sqlite ssl svg tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vhosts vnc vorbis wddx xine xml xml2 xmms xv xvid yahoo zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-04-17 17:54:45 UTC
*** Bug 130029 has been marked as a duplicate of this bug. ***
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2006-04-18 08:26:04 UTC
*** Bug 127732 has been marked as a duplicate of this bug. ***
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-04-18 08:40:23 UTC
Fixed in CVS, thanks.