Opened 3 years ago

Closed 3 years ago

#62786 closed defect (fixed)

lmdb fails to configure: "The legacysupport PG must be included *before* the makefile PG"

Reported by: MStraeten (Martin Straeten) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: ghosthound
Port: lmdb

Description

occured when building libgphoto

 %  more /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_lmdb/lmdb/main.log
version:1
:debug:sysinfo macOS 11.3 (darwin/20.4.0) arch i386
:debug:sysinfo MacPorts 2.6.4
:debug:sysinfo Xcode none
:debug:sysinfo SDK 11.3
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_lmdb/lmdb/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/databases/lmdb/work
:debug:clean dropping privileges: euid changed to 502, egid changed to 501.
:debug:main Executing org.macports.main (lmdb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Fri Apr 30 23:19:16 CEST 2021
:debug:archivefetch Executing org.macports.archivefetch (lmdb)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Apr 30 23:19:16 CEST 2021
:notice:fetch --->  Fetching distfiles for lmdb
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
:debug:fetch Executing org.macports.fetch (lmdb)
:info:fetch --->  lmdb-0.9.28.tar.gz does not exist in /opt/local/var/macports/distfiles/lmdb
:notice:fetch --->  Attempting to fetch lmdb-0.9.28.tar.gz from https://github.com/LMDB/lmdb/archive/LMDB_0.9.28
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Apr 30 23:19:19 CEST 2021
:notice:checksum --->  Verifying checksums for lmdb
:debug:checksum Executing org.macports.checksum (lmdb)
:info:checksum --->  Checksumming lmdb-0.9.28.tar.gz
:debug:checksum Calculated (rmd160) is 1b1488bfb3ea6fe7bd5c28d3f08db48d61ef132e
:debug:checksum Correct (rmd160) checksum for lmdb-0.9.28.tar.gz
:debug:checksum Calculated (sha256) is 47457d3d3ae2c489b52078a07e9f55ec6e094b48c2204029c7754e2972fe1882
:debug:checksum Correct (sha256) checksum for lmdb-0.9.28.tar.gz
...skipping...
:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_lmdb/lmdb/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/lmdb/lmdb-0.9.28.tar.gz' | /usr/bin/tar -xf -
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_lmdb/lmdb/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/lmdb/lmdb-0.9.28.tar.gz' | /usr/bin/tar -xf -
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_lmdb/lmdb/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Symlink: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_lmdb/lmdb/work/lmdb-0.9.28 -> lmdb-LMDB_0.9.28
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Fri Apr 30 23:19:19 CEST 2021
:debug:patch Executing org.macports.patch (lmdb)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Fri Apr 30 23:19:19 CEST 2021
:notice:configure --->  Configuring lmdb
:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-11 macports-clang-10
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:error:configure The legacysupport PG must be included *before* the makefile PG
:error:configure otherwise the latter fails to pick up the updated compiler flags.
:error:configure Failed to configure lmdb: configuration error
:debug:configure Error code: NONE
:debug:configure Backtrace: configuration error
:debug:configure     while executing
:debug:configure "$pre $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_databases_lmdb/lmdb/main.log for details.

Change History (1)

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: ghosthound added
Keywords: lmdb sdk11.3 Xcode 12.5 removed
Port: lmdb added
Resolution: fixed
Status: newclosed
Summary: lmdb doesnt build with Xcode12.5 and sdk11.3lmdb fails to configure: "The legacysupport PG must be included *before* the makefile PG"
Note: See TracTickets for help on using tickets.