All pastes #1221964 Raw Edit

Compilation gpm

public text v1 · immutable
#1221964 ·published 2008-10-07 19:14 UTC
rendered paste body
>>> Unpacking source...
>>> Unpacking gpm-1.20.1.tar.bz2 to /var/tmp/portage/sys-libs/gpm-1.20.1-r6/work
>>> Unpacking gpm-1.20.1-patches-1.5.tar.bz2 to /var/tmp/portage/sys-libs/gpm-1.20.1-r6/work
 [32;01m*[0m Applying various patches (bugfixes/updates) ...
 [32;01m*[0m   01_all_info.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   03_all_DESTDIR.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   04_all_root.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   05_all_serialconsole.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   08_all_nodebug.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   09_all_logfillup.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   10_all_link.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   11_all_lib_segv.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   12_all_linux26-dependcache.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   20_all_gpm-1.20.1-subscript.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   21_all_synps2-four-way-button.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   25_all_gpm-mousewheel-support.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   28_all_gpm-OPEN_MAX.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   30_all_gpm-1.20.1-weak-wgetch.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   40_all_gpm-daemon.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m   60_all_parallel-build.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
 [32;01m*[0m Done with patching
 [32;01m*[0m Applying gpm-configure-LANG.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1 ...
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib64 --sysconfdir=/etc/gpm --build=x86_64-pc-linux-gnu
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc -march=core2 -mtune=core2 -O2 -pipe -Wl,-O1) works... yes
checking whether the C compiler (gcc -march=core2 -mtune=core2 -O2 -pipe -Wl,-O1) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... bison -y
checking whether ln -s works... yes
checking for dvips... no
checking for texi2html... no
checking for tex... no
checking for texindex... /usr/bin/texindex
checking for makeinfo... /usr/bin/makeinfo
checking for diff... /usr/bin/diff
checking for sed... /bin/sed
checking for emacs... no
checking how to run the C preprocessor... gcc -E
checking for syslog.h... yes
checking for linux/input.h... yes
checking for linux/joystick.h... yes
checking for ncurses.h... yes
checking for ncurses/curses.h... no
checking for curses.h... yes
checking for sys/sysmacros.h... yes
checking for linux/major.h... yes
checking for linux/tty.h... yes
checking for __u32... yes
checking whether system is ELF... yes
checking for vsyslog... yes
checking for syslog... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for tputs in -ltinfo... no
checking for tputs in -lncurses... yes
checking for wgetch in -lncurses... yes
updating cache ./config.cache
creating ./config.status
creating Makefile.include
creating Makefile
creating doc/Makefile
creating src/Makefile
creating contrib/Makefile
creating doc/doc.gpm
creating src/headers/config.h
touch src/.depend # to prevent unecessary warnings
make -C src dep
make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
bison -y  /var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src/prog/gpm-root.y && mv y.tab.c prog/gpm-root.c
# make links in srcdir
make[1]: [dep] Error 1 (ignored)
# create dependencies
for DEPS in `echo *.c */*.c`; do \
	x86_64-pc-linux-gnu-gcc -I. -I /var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -M -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/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/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src'
make[1]: Entering directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src'
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\""  -march=core2 -mtune=core2 -O2 -pipe -march=core2 -mtune=core2 -O2 -pipe -c -o main.o main.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\""  -march=core2 -mtune=core2 -O2 -pipe -march=core2 -mtune=core2 -O2 -pipe -c -o gpm.o gpm.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\""  -march=core2 -mtune=core2 -O2 -pipe -march=core2 -mtune=core2 -O2 -pipe -c -o gpn.o gpn.c
x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\""  -march=core2 -mtune=core2 -O2 -pipe -march=core2 -mtune=core2 -O2 -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
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
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 'processConn':
gpm.c:812: warning: passing argument 3 of 'accept' from incompatible pointer type
gpm.c:859: error: storage size of 'sucred' isn't known
gpm.c:860: error: invalid application of 'sizeof' to incomplete type 'struct ucred' 
gpm.c:859: warning: unused variable 'sucred'
gpm.c: In function 'old_main':
gpm.c:1123: warning: value computed is not used
make[1]: *** [gpm.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-libs/gpm-1.20.1-r6/work/gpm-1.20.1/src'
make: *** [do-all] Error 1
 [31;01m*[0m 
 [31;01m*[0m ERROR: sys-libs/gpm-1.20.1-r6 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   49:  Called src_compile
 [31;01m*[0m             environment, line 2099:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake CC=$(tc-getCC) AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) EMACS=: || die "emake failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/sys-libs/gpm-1.20.1-r6/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-libs/gpm-1.20.1-r6/temp/environment'.
 [31;01m*[0m