Summary: | net-ftp/proftpd-1.2.10-r7 fails to compile after openssl 0.9.8c is installed. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Buell <alex.buell> |
Component: | Current packages | Assignee: | Luca Longinotti (RETIRED) <chtekk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ganguin, humpback, jakub, net-ftp |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 146538 | ||
Bug Blocks: |
Description
Alex Buell
2006-09-06 03:58:02 UTC
i686-pc-linux-gnu-gcc -DLINUX -I.. -I../include -O2 -march=pentium3 -fomit-frame-pointer -Wall -c mod_tls.c mod_tls.c: In function tls_check_client_cert: mod_tls.c:448: warning: pointer targets in initialization differ in signedness mod_tls.c:470: warning: pointer targets in initialization differ in signedness mod_tls.c: In function tls_passphrase_cb: mod_tls.c:570: error: PEM_F_DEF_CALLBACK undeclared (first use in this function) mod_tls.c:570: error: (Each undeclared identifier is reported only once mod_tls.c:570: error: for each function it appears in.) mod_tls.c: In function tls_init_ctxt: mod_tls.c:908: warning: pointer targets in passing argument 2 of SSL_CTX_set_session_id_context differ in signedness mod_tls.c: In function tls_setup_cert_dn_environ: mod_tls.c:1792: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1798: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1804: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1810: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1816: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1822: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1828: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1834: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1840: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1846: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1852: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1862: warning: pointer targets in passing argument 2 of pstrndup differ in signedness mod_tls.c:1868: warning: pointer targets in passing argument 2 of pstrndup differ in signedness make[1]: *** [mod_tls.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/proftpd-1.2.10-r7/work/proftpd-1.2.10/modules' make: *** [modules] Error 2 !!! ERROR: net-ftp/proftpd-1.2.10-r7 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile proftpd-1.2.10-r7.ebuild, line 134: Called die !!! compile problem !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info as below: Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU 1133MHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LINGUAS="en_GB" 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="/root/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa apache2 apm asf avi berkdb bitmap-fonts bluetooth cli crypt cups dhcp dlloader dri dvd dvdread emboss encode exif foomaticdb fortran fuse gcj gdbm gif gimpprint glut glx gpg2-experimental gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad mbox mikmod milter mmx mmxext motif mp3 mpeg mppe-mppc ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline real reflection sasl sdk sdl session spell spl sse sse2 ssl tcpd tiff timidity truetype truetype-fonts type1-fonts udev unicode usb utf8 vorbis win32codecs xface xinerama xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS Fails for me too. patch found on proftpd forum. It works for me! Index: contrib/mod_tls.c =================================================================== RCS file: /cvsroot/proftp/proftpd/contrib/mod_tls.c,v retrieving revision 1.77 retrieving revision 1.78 diff -u -r1.77 -r1.78 --- contrib/mod_tls.c 14 Jun 2005 01:23:44 -0000 1.77 +++ contrib/mod_tls.c 18 Jun 2005 21:05:34 -0000 1.78 @@ -568,7 +568,12 @@ } } +#if OPENSSL_VERSION_NUMBER < 0x00908001 PEMerr(PEM_F_DEF_CALLBACK, PEM_R_PROBLEMS_GETTING_PASSWORD); +#else + PEMerr(PEM_F_PEM_DEF_CALLBACK, PEM_R_PROBLEMS_GETTING_PASSWORD); +#endif + pr_memscrub(buf, buflen); return -1; } As no info is available from upstream, I'm asking the arches to mark 1.3 stable. That should fix the issue with openssl 0.9.8 Will commit this (In reply to comment #1) > Fails for me too. > > patch found on proftpd forum. It works for me! I'm adding this patch to the tree, but will not close this bug because I really want 1.3 to be marked as stable and will consider that as THE reason to solve this issue. proftpd-1.3.0-r1 stable now, closing. |