Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152549 - net-analyzer/tptest-3.1.2 fails to compile w/ gcc-4.x
Summary: net-analyzer/tptest-3.1.2 fails to compile w/ gcc-4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-10-23 06:01 UTC by Evil Compile Person
Modified: 2006-12-01 16:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Diff between current 3.1.2 ebuild and potential 3.1.7 ebuild (tptest-3.1.7.ebuild.diff,1.07 KB, patch)
2006-10-29 02:08 UTC, Anders Hellgren
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2006-10-23 06:01:04 UTC
>>> Compiling source in /var/tmp/portage/tptest-3.1.2/work/tptest3.1.2 ...
cp -f ../../../os-dep/unix/tpio_unix.c .
gcc -g -DUNIX -DLINUX -I ../../../os-dep/unix -I ../../../engine -Wall -O2 -march=i686 -pipe    -c -o tpio_unix.o tpio_unix.c
tpio_unix.c: In function 'ConsumeUDPData':
tpio_unix.c:228: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
tpio_unix.c:320: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness
tpio_unix.c: In function 'AcceptClient':
tpio_unix.c:497: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
tpio_unix.c: In function 'InitUDP':
tpio_unix.c:957: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
tpio_unix.c:979: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
tpio_unix.c: In function 'InitTCPSock':
tpio_unix.c:1071: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
tpio_unix.c:1135: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
tpio_unix.c:1182: warning: pointer targets in passing argument 3 of 'getsockname' differ in signedness
tpio_unix.c: In function 'InitSessComm':
tpio_unix.c:1227: error: invalid lvalue in assignment
make: *** [tpio_unix.o] Error 1

!!! ERROR: net-analyzer/tptest-3.1.2 failed.

Gentoo Base System version 1.12.5
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16.16 i686)
=================================================================
System uname: 2.6.16.16 i686 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Sat, 21 Oct 2006 17:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://212.219.56.134/sites/www.ibiblio.org/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 berkdb bitmap-fonts cli cracklib crypt cups dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 07:42:47 UTC
Last release 4+ years ago, no maintainer -> treecleaners, enjoy :)
Comment 2 Anders Hellgren gentoo-dev 2006-10-29 02:08:41 UTC
Created attachment 100696 [details, diff]
Diff between current 3.1.2 ebuild and potential 3.1.7 ebuild

While still producing lots of warnings, tptest-3.1.7 compiles with gcc-4.1.1.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2006-10-29 21:53:45 UTC
3.1.7 was released 20040524.  CVS has activity.
Comment 4 Christian Heim (RETIRED) gentoo-dev 2006-11-04 12:38:23 UTC
Guess Alec really needs to follow his guidelines
Comment 5 Redeeman 2006-11-08 08:16:05 UTC
i suggest applying patch, and perhaps masking the package, since its snapshot based, perhaps rename the version to presomething..

i know a guy that uses this.
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-12-01 16:05:51 UTC
Bumped