Summary: | net-ftp/vsftpd - sysdeputil.o: In function `vsf_sysdep_check_auth': sysdeputil.c:(.text+0xe8): undefined reference to `crypt' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ivan S. Titov <iohann.s.titov> |
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 TEST-REQUEST | ||
Severity: | normal | CC: | bugs, CasperVector, gentoo_bugs, hwoarang, idarktemplar, mail, net-ftp, reot+gentoo, sam, wired |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info output emerge-info.txt emerge-history.txt environment net-ftp:vsftpd-3.0.3:20160807-082724.log Build log Output from emerge --info Proposed patch build.log emerge-info.txt |
Description
Ivan S. Titov
2015-09-09 14:26:00 UTC
Created attachment 411450 [details]
build.log
Created attachment 411452 [details]
emerge --info output
It comes from the solution of bug #508192: # Override LIBS variable. Bug #508192 LIBS= use caps && LIBS+=" -lcap" use pam && LIBS+=" -lpam" use tcpd && LIBS+=" -lwrap" use ssl && LIBS+=" -lssl -lcrypto" This work for me on amd64 --- /usr/portage/net-ftp/vsftpd/vsftpd-3.0.3.ebuild 2015-08-29 12:31:02.0000 00000 +0200 +++ vsftpd-3.0.3.ebuild 2015-12-20 20:31:12.518972984 +0100 @@ -67,6 +67,7 @@ use pam && LIBS+=" -lpam" use tcpd && LIBS+=" -lwrap" use ssl && LIBS+=" -lssl -lcrypto" + LIBS+=" -lcrypt" CFLAGS="${CFLAGS}" \ CC="$(tc-getCC)" \ This works for me on both arm v6 and 7... happened at tinderbox image amd64-13.0-systemd-unstable_20160731-161603 too Created attachment 442706 [details]
emerge-info.txt
same at a tinderbox image
Created attachment 442708 [details]
emerge-history.txt
Created attachment 442710 [details]
environment
Created attachment 442712 [details] net-ftp:vsftpd-3.0.3:20160807-082724.log Same with 3.0.3-r2 on sparc. USE='-caps pam -ssl -tcpd -xinetd' succeeded for =net-ftp/vsftpd-3.0.3-r2 USE='caps pam -ssl -tcpd -xinetd' succeeded for =net-ftp/vsftpd-3.0.3-r2 USE='caps -pam ssl -tcpd -xinetd' failed for =net-ftp/vsftpd-3.0.3-r2 USE='caps pam -ssl tcpd -xinetd' succeeded for =net-ftp/vsftpd-3.0.3-r2 USE='-caps -pam ssl tcpd -xinetd' failed for =net-ftp/vsftpd-3.0.3-r2 USE='-caps pam ssl tcpd -xinetd' succeeded for =net-ftp/vsftpd-3.0.3-r2 USE='caps pam ssl tcpd -xinetd' succeeded for =net-ftp/vsftpd-3.0.3-r2 USE='-caps -pam -ssl -tcpd xinetd' failed for =net-ftp/vsftpd-3.0.3-r2 USE='-caps -pam ssl -tcpd xinetd' failed for =net-ftp/vsftpd-3.0.3-r2 USE='caps -pam ssl -tcpd xinetd' failed for =net-ftp/vsftpd-3.0.3-r2 USE='-caps pam -ssl tcpd xinetd' succeeded for =net-ftp/vsftpd-3.0.3-r2 USE='caps -pam ssl tcpd xinetd' failed for =net-ftp/vsftpd-3.0.3-r2 This old bug is apparently still present, at least on amd64 building without caps, pam, and tcpd. The patch proposed in Comment 3 works for me. What is the procedure for somebody to commit this? Created attachment 550228 [details]
Build log
Created attachment 550230 [details]
Output from emerge --info
Created attachment 550232 [details, diff]
Proposed patch
Was referring to the patch proposed in Comment 4 of course. Proposed patch attached. *** Bug 676632 has been marked as a duplicate of this bug. *** Bug is still there, patch in Comment 4 works (In reply to Davide Palma from comment #18) > Bug is still there, patch in Comment 4 works How about now with 3.0.4? Retested current net-ftp/vsftpd-3.0.3-r3 version. Compiles on both arm and arm64. Will make separate request to keyword it for arm64. Still same problem undefined reference to 'crypt'. (In reply to Martin Filo from comment #21) > Still same problem undefined reference to 'crypt'. What's your gcc version? or just give emerge --info output, please. (In reply to Martin Filo from comment #21) > Still same problem undefined reference to 'crypt'. Full build.log and emerge —-info? Created attachment 714798 [details]
build.log
Still reproduces for me with net-ftp/vsftpd-3.0.4 and USE="-pam".
Command:
$ USE="-pam" PORTAGE_TMPDIR=/tmp/portage DISTDIR=/tmp/portage PORTAGE_USERNAME=$(id -u -n) PORTAGE_GRPNAME=$(id -g -n) ebuild /usr/portage/net-ftp/vsftpd/vsftpd-3.0.4.ebuild clean install
Created attachment 714801 [details]
emerge-info.txt
Output of emerge --info.
|