proxychains version 3.1-3 FTBFS on i386 in precise
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
proxychains (Ubuntu) |
Fix Released
|
High
|
Adam Conrad | ||
Precise |
Won't Fix
|
High
|
Unassigned |
Bug Description
This is a semi-automatic report based on the latest archive rebuild results [1].
Apologies if it reaches you in error.
Excerpt from the buildlog:
make[5]: Nothing to be done for `all'.
make[5]: Leaving directory `/build/
make[5]: Entering directory `/build/
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/build/
make[4]: Leaving directory `/build/
make[4]: Entering directory `/build/
/bin/bash ../libtool --mode=compile i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=
mkdir .libs
i686-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=
libproxychains.
/usr/include/
make[4]: *** [libproxychains.lo] Error 1
make[4]: Leaving directory `/build/
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/build/
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
*******
Build finished at 20120209-1807
FAILED [dpkg-buildpackage died]
The full buidlog can be found at https:/
[1] http://
Related branches
Changed in proxychains (Ubuntu): | |
importance: | Undecided → High |
I had the same issue and i think i resolved it.
Linux ... 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
in proxychains/ libproxychains. c
i changed the function to look like this and it compiled without problems. The same function is declared in /usr/include/ netdb.h. Hope someone can use this info. Cheers
//int getnameinfo (const struct sockaddr * sa,
// socklen_t salen, char * host,
// socklen_t hostlen, char * serv,
// socklen_t servlen, unsigned int flags)
// size_t hostlen, char * serv,
// size_t servlen, int flags)
int getnameinfo (__const struct sockaddr *__restrict __sa,
socklen_ t __salen, char *__restrict __host,
socklen_ t __hostlen, char *__restrict __serv,
socklen_ t __servlen, int __flags)
{
init_ lib();
if(!proxychain s_resolver) { o(__sa, __salen, __host, __hostlen,
__serv, __servlen, __flags) ;
if(__ hostlen)
strncpy( __host, inet_ntoa( SOCKADDR_ 2(*__sa) ),__hostlen) ;
if(__ servlen)
snprintf( __serv, __servlen, "%d",ntohs( SOCKPORT( *__sa)) );
PDEBUG( "getnameinfo: %s %s\n", __host, __serv);
int ret = 0;
if(!init_l)
ret = true_getnameinf
} else {
}
return ret;
}