I have run into a problem compiling gpm-1.20.1-r6: gpm.c: In function 'getMouseData':gpn.c: In function 'loadlut': 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': 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 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 * * ERROR: sys-libs/gpm-1.20.1-r6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2112: Called die * The specific snippet of code: * emake CC=$(tc-getCC) AR=$(tc-getAR) RANLIB=$(tc-getRANLIB) EMACS=: || die "emake failed" * The die message: * emake failed Quite possibly something I did. Is there a way to instruct the compiler to continue despite the warning? Thanks for your help. emerge --info gives: Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r7 x86_64) ================================================================= System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5 Timestamp of tree: Fri, 10 Oct 2008 16:35:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://trumpetti.atm.tut.fi/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl alsa amd64 arts berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups divx dri dvd fftw fortran gcj gdbm gif gimp glitz gmp gpm gtk iconv imagemagick ipv6 isdnlog java joystick jpeg lame lapack lcms mad mbrola midi mmx mp3 mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg openexr opengl openmp oss pam pcre pdf perl png ppds pppd python qt3support quicktime readline realmedia reflection session spl sse sse2 ssl svg sysfs tcpd threads tiff truetype-fonts type1-fonts unicode usb v4l v4l2 xinerama xorg zlib" ALSA_CARDS="atiixp intel8x0 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa nv vmware fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
There were errors: gpm.c:859: error: storage size of 'sucred' isn't known gpm.c:860: error: invalid application of 'sizeof' to incomplete type 'struct ucred' This bug is a duplicate of bug #225375.
This is basically the same problem that Arfrever pointed out in bug #225375, with one exception -- the other bug was reported against gpm-1.20.4 which has been fixed. One solution is to stabilize gpm-1.20.4, since it fixes this problem and has no open bugs. Assigning to maintainers, who will decide whether to request stabilization or apply the fix to current stable ebuild
it isnt different because you're talking about mixing unstable and stable. that is the only time this error shows up currently.
I'm hitting this as well. I installed glibc 2.8 to get the latest fixes and performance for xen. I guess the logical question to ask is why NOT stabilize newer gpm versions regardless of this bug alone (~x86 works fine here in above use case). Just saying trivial bumps don't hurt, especially when the remove blockers for updates that will eventually need to push stable (glibc 2.8). Anyways, thanks for providing resolution with the newer ~arch versions!
we'll need a newer version stable for gcc-4.3/glibc-2.8 stabilization.
*** Bug 252370 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 225375 ***