Opened 4 years ago

Closed 4 years ago

#62030 closed defect (fixed)

vsftpd: Undefined pam symbols

Reported by: temeo31 Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: vsftpd

Description

Hi,

Here is my configuration : Mac OS 11.1 (Big Sur) - Xcode 12.3 - Macports 2.6.4

I'm trying to install vsftpd but I got an issue during the build step :

--->  Fetching archive for vsftpd
--->  Attempting to fetch vsftpd-3.0.3_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/vsftpd
--->  Attempting to fetch vsftpd-3.0.3_1.darwin_20.x86_64.tbz2 from http://atl.us.packages.macports.org/vsftpd
--->  Attempting to fetch vsftpd-3.0.3_1.darwin_20.x86_64.tbz2 from https://cph.dk.packages.macports.org/vsftpd
--->  Fetching distfiles for vsftpd
--->  Verifying checksums for vsftpd
--->  Extracting vsftpd
--->  Applying patches to vsftpd
--->  Configuring vsftpd
--->  Building vsftpd
Error: Failed to build vsftpd: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_vsftpd/vsftpd/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port vsftpd failed

Attachments (1)

vsftpd.log (33.5 KB) - added by temeo31 4 years ago.
vsftpd install log file

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by temeo31

Attachment: vsftpd.log added

vsftpd install log file

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: bigsur added; BigSur vsftpd removed
Summary: vsftpd : build failurevsftpd: Undefined pam symbols

The log shows undefined pam symbols.

This project uses a custom build system that includes a script called vsf_findlibs.sh that is supposed to determine what libraries to link with. It determines this based on what files are present in the file system. On Big Sur and later, system libraries are no longer present in the file system (they are only present in the library cache), so it fails to find the library to link with. The vsf_findlibs.sh script might have to be enhanced to understand how to search for libraries in the cache, or we might have to hardcode the list of libraries it should link with for macOS.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Status: newaccepted

Here is the Homebrew pull request where they fixed this issue: https://github.com/Homebrew/homebrew-core/pull/67508

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 9d70d4fb961e1103f791008a1cee11bd11fe6b4e/macports-ports (master):

vsftpd: Fix build on Big Sur and later

Fix finding OS libraries now that they're no longer present in the
filesystem.

Closes: #62030

Note: See TracTickets for help on using tickets.