Summary: | net-ftp/proftpd-1.3.1_rc3 fails to compile with USE=mysql | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Heiko Baums <heiko.baums> |
Component: | Current packages | Assignee: | Luca Longinotti (RETIRED) <chtekk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Dessa, fkrogh, joakim, nbensa, net-ftp, patrizio.bassi, spam, zach |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Ebuild that includes the patch from upstream
The actual patch Build log from failed emerge after patch from comment #6 |
Description
Heiko Baums
2007-08-26 16:41:07 UTC
same issue here in amd64 profile Yes. It will bomb every arch since it's a typo in the source (a missing ") *** Bug 190417 has been marked as a duplicate of this bug. *** This bug has appearently been fixed (patch) upstreams 3 weeks ago, http://bugs.proftpd.org/show_bug.cgi?id=2944 So it should be fairly easy to include the patch in the ebuild. Created attachment 129671 [details]
Ebuild that includes the patch from upstream
I created a fixed ebuild for my local overlay - enjoy!
Created attachment 129672 [details, diff]
The actual patch
I applied the patch in comment #6 in a portage overlay, but the build bombs. Here is the relevant error: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -march=i686 -O2 -pipe -ggdb -Wall -c mod_ldap.c mod_ldap.c: In function 'pr_ldap_connect': mod_ldap.c:248: warning: implicit declaration of function 'ldap_init' mod_ldap.c:248: warning: assignment makes pointer from integer without a cast mod_ldap.c: In function 'handle_ldap_check': mod_ldap.c:1393: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness mod_ldap.c:1397: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -march=i686 -O2 -pipe -ggdb -Wall -c mod_sql.c mod_sql.c: In function 'check_auth_openssl': mod_sql.c:672: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal' differ in signedness mod_sql.c:675: warning: pointer targets in passing argument 1 of 'EVP_EncodeBlock' differ in signedness i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I/usr/include/mysql -march=i686 -O2 -pipe -ggdb -Wall -c mod_sql_mysql.c mod_sql_mysql.c:598:32: warning: missing terminating " character mod_sql_mysql.c: In function 'cmd_defineconnection': mod_sql_mysql.c:598: error: missing terminating " character make[1]: *** [mod_sql_mysql.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-ftp/proftpd-1.3.1_rc3/work/proftpd-1.3.1rc3/modules' make: *** [modules] Error 2 * * ERROR: net-ftp/proftpd-1.3.1_rc3 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * proftpd-1.3.1_rc3.ebuild, line 166: Called die * * 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.1_rc3/temp/build.log'. * This ebuild is from an overlay: '/usr/local/portage/' * * Messages for package net-ftp/proftpd-1.3.1_rc3: * * ERROR: net-ftp/proftpd-1.3.1_rc3 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * proftpd-1.3.1_rc3.ebuild, line 166: Called die * * 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.1_rc3/temp/build.log'. * This ebuild is from an overlay: '/usr/local/portage/' Created attachment 130074 [details] Build log from failed emerge after patch from comment #6 Sorry, please disregard comments #7-8. It seems I patched the wrong version... the patch works as expected in my local portage overlay. can we fix this issue please? i mean, this is a release candidate and should not have gone in portage like this, but now it is, so, please apply the patch to portage as it's working thanks *** Bug 192020 has been marked as a duplicate of this bug. *** The assignee for this bug is on "Military service from 02.07.2007 to 04.04.2008. I'll sometimes be around on saturday evenings CET". This is the most obvious patch I've ever seen, so it'd be silly for me not to fix this. Fixed in net-ftp/proftpd-1.3.1_rc3, no new revision necessary. |