Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66222 - [linux26-headers] gpm-1.20.1 fails to compile
Summary: [linux26-headers] gpm-1.20.1 fails to compile
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: High enhancement (vote)
Assignee: ppc64 architecture team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-03 09:31 UTC by Markus Rothe (RETIRED)
Modified: 2004-10-31 09:30 UTC (History)
0 users

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 Markus Rothe (RETIRED) gentoo-dev 2004-10-03 09:31:45 UTC
Hi,

gpm-1.20.1 is just another programm which fails with linux26-headers. Here is the output:

# create dependencies
for DEPS in `echo *.c */*.c`; do \
gcc -I. -I /var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -M -I/var/tmp/portage/gpm-1.20.1/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/work/gpm-1.20.1/src'
make[1]: Entering directory `/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src'
gcc -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o main.o main.c
gcc -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o gpm.o gpm.c
gpm.c: In function `processConn':
gpm.c:780: warning: passing arg 3 of `accept' from incompatible pointer type
gpm.c: In function `open_console':
gpm.c:172: warning: control reaches end of non-void function
gcc -I/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\""  -O2 -O2 -c -o gpn.o gpn.c
make[1]: *** No rule to make target `/usr/include/asm/a.o', needed by `mice.o'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1/work/gpm-1.20.1/src'
make: *** [do-all] Error 1

!!! ERROR: sys-libs/gpm-1.20.1 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)

I'm using gcc-3.4.1 and linux26-headers-2.6.8.1-r1.

Markus
Comment 1 Tom Gall (RETIRED) gentoo-dev 2004-10-31 08:16:19 UTC
this is caused by the Makefile in the src directory doing a SED which ends up in building a dependancy chain which is complete garbage as it miss indetifies a file in /usr/include/asm!

usr/include/asm/a.o!!!
Comment 2 Tom Gall (RETIRED) gentoo-dev 2004-10-31 09:30:28 UTC
ah-ha!  have a fix for it .... ! 
Comment 3 Tom Gall (RETIRED) gentoo-dev 2004-10-31 09:30:44 UTC
commited to portage,  stick a fork in it!