Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247198 - net-ftp/proftpd-1.3.2_rc2-r{0,1,2} fails to build with USE deflate
Summary: net-ftp/proftpd-1.3.2_rc2-r{0,1,2} fails to build with USE deflate
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Longinotti (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-17 13:56 UTC by Norberto Bensa
Modified: 2009-02-17 22:05 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norberto Bensa 2008-11-17 13:56:10 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include -I/usr/include/mysql -march=k8 -O2 -fomit-frame-pointer -pipe -DUSE_LDAP_TLS -DHAVE_OPENSSL -Wall -c mod_deflate.c
mod_deflate.c:69: error: ‘PR_TUNABLE_XFER_BUFFER_SIZE’ undeclared here (not in a function)
mod_deflate.c: In function ‘deflate_netio_read_cb’:
mod_deflate.c:245: warning: pointer targets in assignment differ in signedness
mod_deflate.c: In function ‘deflate_sess_init’:
mod_deflate.c:701: warning: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘size_t’
make[1]: *** [mod_deflate.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-ftp/proftpd-1.3.2_rc2-r2/work/proftpd-1.3.2rc2/modules'
make: *** [modules] Error 2
 * 
 * ERROR: net-ftp/proftpd-1.3.2_rc2-r2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2983:  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/tmp/portage/net-ftp/proftpd-1.3.2_rc2-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-ftp/proftpd-1.3.2_rc2-r2/temp/environment'.
 * 



Reproducible: Always

Steps to Reproduce:
Comment 1 GunsNRose 2009-01-11 13:57:40 UTC
(In reply to comment #0)
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H  -DLINUX  -I.. -I../include
> -I/usr/include/mysql -march=k8 -O2 -fomit-frame-pointer -pipe -DUSE_LDAP_TLS
> -DHAVE_OPENSSL -Wall -c mod_deflate.c
> mod_deflate.c:69: error: ‘PR_TUNABLE_XFER_BUFFER_SIZE’ undeclared here (not
> in a function)
> mod_deflate.c: In function ‘deflate_netio_read_cb’:
> mod_deflate.c:245: warning: pointer targets in assignment differ in signedness
> mod_deflate.c: In function ‘deflate_sess_init’:
> mod_deflate.c:701: warning: format ‘%u’ expects type ‘unsigned int’,
> but argument 4 has type ‘size_t’
> make[1]: *** [mod_deflate.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/net-ftp/proftpd-1.3.2_rc2-r2/work/proftpd-1.3.2rc2/modules'
> make: *** [modules] Error 2
>  * 
>  * ERROR: net-ftp/proftpd-1.3.2_rc2-r2 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called src_compile
>  *             environment, line 2983:  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/tmp/portage/net-ftp/proftpd-1.3.2_rc2-r2/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/net-ftp/proftpd-1.3.2_rc2-r2/temp/environment'.
>  * 
> 
> 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 

src_unpack() {
 sed -e "461a #define PR_TUNABLE_XFER_BUFFER_SIZE 8192" -i include/conf.h 
 echo "line: 107 sed -e "461a #define PR_TUNABLE_XFER_BUFFER_SIZE 8192" -i include/conf.h "

add -->> sed -e "461a #define PR_TUNABLE_XFER_BUFFER_SIZE 8192" -i include/conf.h  <<--
to src_unpack() function , after eautoreconf
Comment 2 Bernard Cafarelli gentoo-dev 2009-02-17 22:05:51 UTC
Works with 1.3.2, reopen if you still have problems with this new version