Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 229457

Summary: net-proxy/dante-1.1.19-r2 fails [interposition.lo] Error 1
Product: Gentoo Linux Reporter: Dan Coats <admin>
Component: Current packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: net-proxy:dante-1.1.19-r2:20080625-214436.log

Description Dan Coats 2008-06-25 21:55:27 UTC
net-proxy/dante-1.1.19-r2 fails  
interposition.c:578: error: argument 'addr' doesn't match prototype
[interposition.lo] Error 1


Reproducible: Always

Steps to Reproduce:
1.emerge =net-proxy/dante-1.1.19-r2
2.
3.

Actual Results:  
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../libscompat -DDEBUG -DSOCKS_CLIENT=1 -DSOCKS_SERVER=0 -DSOCKSLIBRARY_DYNAMIC=1 -march=prescott -O2 -pipe -fomit-frame-pointer -g -pipe -MT interposition.lo -MD -MP -MF .deps/interposition.Tpo -c interposition.c  -fPIC -DPIC -o .libs/interposition.o
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../libscompat -DDEBUG -DSOCKS_CLIENT=1 -DSOCKS_SERVER=0 -DSOCKSLIBRARY_DYNAMIC=1 -march=prescott -O2 -pipe -fomit-frame-pointer -g -pipe -MT int_osf2.lo -MD -MP -MF .deps/int_osf2.Tpo -c int_osf2.c -o int_osf2.o >/dev/null 2>&1
interposition.c: In function 'accept':
interposition.c:578: error: argument 'addr' doesn't match prototype
/usr/include/sys/socket.h:210: error: prototype declaration
interposition.c: In function 'bind':
interposition.c:591: error: argument 'name' doesn't match prototype
/usr/include/sys/socket.h:111: error: prototype declaration
libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I../libscompat -DDEBUG -DSOCKS_CLIENT=1 -DSOCKS_SERVER=0 -DSOCKSLIBRARY_DYNAMIC=1 -march=prescott -O2 -pipe -fomit-frame-pointer -g -pipe -MT int_osf1.lo -MD -MP -MF .deps/int_osf1.Tpo -c int_osf1.c -o int_osf1.o >/dev/null 2>&1
interposition.c: In function 'connect':
interposition.c:614: error: argument 'name' doesn't match prototype
/usr/include/sys/socket.h:125: error: prototype declaration
interposition.c: In function 'getpeername':
interposition.c:628: error: argument 'name' doesn't match prototype
/usr/include/sys/socket.h:129: error: prototype declaration
interposition.c: In function 'getsockname':
interposition.c:641: error: argument 'name' doesn't match prototype
/usr/include/sys/socket.h:115: error: prototype declaration
interposition.c: In function 'recvfrom':
interposition.c:693: error: argument 'from' doesn't match prototype
/usr/include/sys/socket.h:162: error: prototype declaration
interposition.c: In function 'sendto':
interposition.c:778: error: argument 'to' doesn't match prototype
/usr/include/sys/socket.h:151: error: prototype declaration
make[1]: *** [interposition.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/int_osf2.Tpo .deps/int_osf2.Plo
mv -f .deps/int_osf1.Tpo .deps/int_osf1.Plo
make[1]: Leaving directory `/var/tmp/portage/net-proxy/dante-1.1.19-r2/work/dante-1.1.19/dlib'
make: *** [all-recursive] Error 1
 * 
 * ERROR: net-proxy/dante-1.1.19-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2494:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/net-proxy:dante-1.1.19-r2:20080625-214436.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-proxy/dante-1.1.19-r2/temp/environment'.
 * 


Expected Results:  
build successfully.

Portage 2.2_rc1 (default/linux/x86/2008.0/server, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r4-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0
Timestamp of tree: Wed, 25 Jun 2008 17:35:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r9, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm geoip gpm hardened iconv ipv6 isdnlog ldap mailwrapper midi mudflap mysql ncurses nls nptl nptlonly openldap openmp pam pcre perl pic png pppd python readline reflection sasl2 session snmp spl ssh ssl tcpd truetype unicode vhosts x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa "
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dan Coats 2008-06-25 21:58:06 UTC
Created attachment 158451 [details]
net-proxy:dante-1.1.19-r2:20080625-214436.log
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2008-06-25 23:28:21 UTC

*** This bug has been marked as a duplicate of bug 229337 ***