Summary: | net-ftp/vsftpd-3.0.3 : ssl.c:124:7: error: unknown type name ‘EC_KEY’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugs, hasufell, joakim.tjernlund, sam, wired |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-history.txt
net-ftp:vsftpd-3.0.3:20151006-190551.log |
Description
Toralf Förster
2015-10-06 19:16:21 UTC
Created attachment 413928 [details]
emerge-history.txt
Created attachment 413930 [details] net-ftp:vsftpd-3.0.3:20151006-190551.log wrong dependencies, it needs dev-libs/openssl:0[-bindist] for ssl (In reply to Julian Ospald from comment #3) > wrong dependencies, it needs > dev-libs/openssl:0[-bindist] > for ssl Just hit the same error. Requiring -bindist seems wrong to me,vsftpd did build with openssl bindist before. I think vsftpd should be patched to build with bindist again. How about now with 3.0.4? 3.0.4 seem to build fine with USE=ssl, just one tweak: --- vsftpd-3.0.3-r3.ebuild 2021-05-02 21:29:57.323147366 +0200 +++ vsftpd-3.0.4.ebuild 2021-06-08 11:35:03.163827565 +0200 @@ -60,7 +60,7 @@ # Ensure that we don't link against libcap unless asked if ! use caps ; then sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c || die - eapply "${FILESDIR}"/${PN}-2.2.0-dont-link-caps.patch + eapply "${FILESDIR}"/${PN}-3.0.4-dont-link-caps.patch fi # Let portage control stripping Adjusted no CAPS patch: cat files/vsftpd-3.0.4-dont-link-caps.patch --- vsftpd-3.0.4/vsf_findlibs.sh.org 2021-06-08 11:32:30.402122847 +0200 +++ vsftpd-3.0.4/vsf_findlibs.sh 2021-06-08 11:33:01.180451692 +0200 @@ -47,14 +47,6 @@ # For older HP-UX... locate_library /usr/lib/libsec.sl && echo "-lsec"; -# Look for libcap (capabilities) -# Note that link may fail with: -# /usr/bin/ld: cannot find -lcap -# If the libcap-devel package isn't installed. -locate_library /usr/lib/libcap.so && echo "-lcap"; -locate_library /lib/libcap.so && echo "-lcap"; -locate_library /lib64/libcap.so && echo "-lcap"; - # Solaris needs this for nanosleep().. locate_library /lib/libposix4.so && echo "-lposix4"; locate_library /usr/lib/libposix4.so && echo "-lposix4"; (In reply to Joakim Tjernlund from comment #6) > 3.0.4 seem to build fine with USE=ssl, just one tweak: Thank you! > --- vsftpd-3.0.3-r3.ebuild 2021-05-02 21:29:57.323147366 +0200 > +++ vsftpd-3.0.4.ebuild 2021-06-08 11:35:03.163827565 +0200 > @@ -60,7 +60,7 @@ > # Ensure that we don't link against libcap unless asked > if ! use caps ; then > sed -i '/^#define VSF_SYSDEP_HAVE_LIBCAP$/ d' sysdeputil.c || die > - eapply "${FILESDIR}"/${PN}-2.2.0-dont-link-caps.patch > + eapply "${FILESDIR}"/${PN}-3.0.4-dont-link-caps.patch > fi > > # Let portage control stripping > > > Adjusted no CAPS patch: > > cat files/vsftpd-3.0.4-dont-link-caps.patch > --- vsftpd-3.0.4/vsf_findlibs.sh.org 2021-06-08 11:32:30.402122847 +0200 > +++ vsftpd-3.0.4/vsf_findlibs.sh 2021-06-08 11:33:01.180451692 +0200 > @@ -47,14 +47,6 @@ > # For older HP-UX... > locate_library /usr/lib/libsec.sl && echo "-lsec"; > > -# Look for libcap (capabilities) > -# Note that link may fail with: > -# /usr/bin/ld: cannot find -lcap > -# If the libcap-devel package isn't installed. > -locate_library /usr/lib/libcap.so && echo "-lcap"; > -locate_library /lib/libcap.so && echo "-lcap"; > -locate_library /lib64/libcap.so && echo "-lcap"; > - > # Solaris needs this for nanosleep().. > locate_library /lib/libposix4.so && echo "-lposix4"; > locate_library /usr/lib/libposix4.so && echo "-lposix4"; The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c84c1e2372d5f92e3794de46af966942a53620 commit b1c84c1e2372d5f92e3794de46af966942a53620 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-08 09:42:37 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-08 09:42:37 +0000 net-ftp/vsftpd: refresh USE=-caps patch Closes: https://bugs.gentoo.org/562426 Thanks-to: Joakim Tjernlund <joakim.tjernlund@infinera.com> Signed-off-by: Sam James <sam@gentoo.org> net-ftp/vsftpd/files/vsftpd-3.0.4-dont-link-caps.patch | 17 +++++++++++++++++ net-ftp/vsftpd/vsftpd-3.0.4.ebuild | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) Maybe change to EAPI=7 too? Builds with 7 atleast (In reply to Joakim Tjernlund from comment #9) > Maybe change to EAPI=7 too? Builds with 7 atleast Oh, you did already :) |