| Summary: | gpm-1.20.1-r5 fails to build using linux-headers-2.6.16 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Nathan Sullivan <nathan> |
| Component: | New packages | Assignee: | Tim Yamin (RETIRED) <plasmaroo> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
possible duplicate of bug#127732 ? i see references to the same file/s and function/s in there... |
subject explains it, output below: make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. bison -y /var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c # make links in srcdir make[1]: [.depend] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ powerpc-unknown-linux-gnu-gcc -I. -I /var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -M -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" $DEPS | \ /bin/sed 's/\(\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src' make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src' make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. # make links in srcdir make[1]: [dep] Error 1 (ignored) # create dependencies for DEPS in `echo *.c */*.c`; do \ powerpc-unknown-linux-gnu-gcc -I. -I /var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -M -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" $DEPS | \ /bin/sed 's/\(\)\.o\([ :]+\)/\1.o \1.lo\2/g' >> .depend ; done make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src' make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src' powerpc-unknown-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c -o main.o main.c powerpc-unknown-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c -o gpm.o gpm.c powerpc-unknown-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c -o gpn.o gpn.c gpm.c: In function 'getMouseData': gpm.c:380: warning: pointer targets in initialization differ in signedness gpm.c:399: warning: pointer targets in return differ in signedness gpm.c:430: warning: pointer targets in return differ in signedness gpm.c: In function 'processMouse': gpm.c:482: warning: pointer targets in passing argument 2 of 'which_mouse->m_type->fun' differ in signedness gpm.c: In function 'old_main': gpm.c:1123: warning: value computed is not used gpm.c: In function 'open_console': gpm.c:172: warning: control reaches end of non-void function gpm.c:165: warning: 'si.line' is used uninitialized in this function gpm.c: In function 'get_console_size': gpm.c:165: warning: 'si.line' is used uninitialized in this function gpm.c: In function 'processMouse': gpm.c:165: warning: 'si.line' is used uninitialized in this function gpm.c: In function 'old_main': gpm.c:165: warning: 'si.line' is used uninitialized in this function powerpc-unknown-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c -o mice.o mice.c gpn.c: In function 'loadlut': gpn.c:108: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness gpn.c:110: warning: pointer targets in passing argument 1 of 'getsym' differ in signedness powerpc-unknown-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c -o special.o special.c powerpc-unknown-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -c -o twiddler.o twiddler.c 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 mice.c:60: /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 mice.c:60: /usr/include/asm/page.h: At top level: /usr/include/asm/page.h:165: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pte_t' mice.c:170: warning: type qualifiers ignored on function return type mice.c: In function 'option_modem_lines': mice.c:185: warning: pointer targets in initialization differ in signedness mice.c:186: warning: pointer targets in initialization differ in signedness mice.c:187: warning: pointer targets in initialization differ in signedness mice.c: In function 'M_gunze': mice.c:1323: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness mice.c: In function 'I_summa': mice.c:1997: warning: comparison is always false due to limited range of data type mice.c:2007: warning: comparison is always false due to limited range of data type mice.c:2025: warning: comparison is always false due to limited range of data type mice.c:2039: warning: comparison is always false due to limited range of data type make[1]: *** [mice.o] Error 1 make[1]: *** Waiting for unfinished jobs.... twiddler.c: In function 'twiddler_mod_to_table': twiddler.c:334: warning: operation on 'ptr' may be undefined make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r5/work/gpm-1.20.1/src' make: *** [do-all] Error 1 !!! ERROR: sys-libs/gpm-1.20.1-r5 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile gpm-1.20.1-r5.ebuild, line 43: Called die !!! emake failed --------------------------- emerge info below: 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