Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 794952

Summary: net-ftp/vsftpd-3.0.4[-pam] - sysdeputil.c:(.text+<snip>): undefined reference to crypt
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 798963    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
net-ftp:vsftpd-3.0.4:20210608-154112.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-06-08 15:43:29 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sysdeputil.o: in function `vsf_sysdep_check_auth':
sysdeputil.c:(.text+0x193): undefined reference to `crypt'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sysdeputil.c:(.text+0x1d8): undefined reference to `crypt'
collect2: error: ld returned 1 exit status
make: *** [Makefile:29: vsftpd] Error 1
 * ERROR: net-ftp/vsftpd-3.0.4::gentoo failed (compile phase):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j3-20210606-181430

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
/usr/lib/llvm/12
12.0.0
Python 3.9.5
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.52.1 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  HEAD of ::gentoo
commit 8145ee6ee1f9661fca8b1af43d559bdeaa12d395
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jun 8 14:50:28 2021 +0000

    2021-06-08 14:50:27 UTC

emerge -qpvO net-ftp/vsftpd
[ebuild  N    ] net-ftp/vsftpd-3.0.4  USE="ssl tcpd -caps -pam (-selinux) -xinetd"
Comment 1 Toralf Förster gentoo-dev 2021-06-08 15:43:30 UTC
Created attachment 714663 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-06-08 15:43:31 UTC
Created attachment 714666 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-06-08 15:43:33 UTC
Created attachment 714669 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-06-08 15:43:34 UTC
Created attachment 714672 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-06-08 15:43:35 UTC
Created attachment 714675 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-06-08 15:43:36 UTC
Created attachment 714678 [details]
net-ftp:vsftpd-3.0.4:20210608-154112.log
Comment 7 Toralf Förster gentoo-dev 2021-06-08 15:43:37 UTC
Created attachment 714681 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-07-27 18:14:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99b67bf04c64f5f09b9b6a32b61de2323249041f

commit 99b67bf04c64f5f09b9b6a32b61de2323249041f
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2021-07-27 18:09:14 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-07-27 18:09:14 +0000

    net-ftp/vsftpd: depend on virtual/libcrypt when pam is disabled
    
    Closes: https://bugs.gentoo.org/794952
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 net-ftp/vsftpd/{vsftpd-3.0.3-r3.ebuild => vsftpd-3.0.3-r4.ebuild} | 7 ++++++-
 net-ftp/vsftpd/{vsftpd-3.0.4.ebuild => vsftpd-3.0.4-r1.ebuild}    | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)