Opened 3 years ago

Closed 3 years ago

#63476 closed defect (duplicate)

libunistring @0.9.10: configure.ac:25: error: AC_INIT should be called with package and version arguments

Reported by: dicru Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: libunistring

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Command:

sudo port -s install wxWidgets-3.2  +universal

fails while configuring libunistring.

Mac OS: Big Sur: 11.3.1 (x86_64)
XCode: 12.5.1

macports.conf modifs:

macosx_deployment_target 10.12
universal_archs      arm64 x86_64

previously installed port: flac and its dependencies

failing log file content:

version:1
:debug:clean Starting logging for libunistring @0.9.10_0+universal
:debug:sysinfo macOS 11.3.1 (darwin/20.4.0) arch i386
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode none
:debug:sysinfo SDK 11
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.12
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libunistring/work
:debug:clean dropping privileges: euid changed to 503, egid changed to 502.
:debug:main Executing org.macports.main (libunistring)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Sat Sep 11 09:07:51 CEST 2021
:debug:archivefetch Executing org.macports.archivefetch (libunistring)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sat Sep 11 09:07:51 CEST 2021
:notice:fetch --->  Fetching distfiles for libunistring
:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
:debug:fetch dropping privileges: euid changed to 503, egid changed to 502.
:debug:fetch Executing org.macports.fetch (libunistring)
:info:fetch --->  libunistring-0.9.10.tar.gz does not exist in /opt/local/var/macports/distfiles/libunistring
:notice:fetch --->  Attempting to fetch libunistring-0.9.10.tar.gz from https://artfiles.org/gnu.org/libunistring
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sat Sep 11 09:07:53 CEST 2021
:notice:checksum --->  Verifying checksums for libunistring
:debug:checksum Executing org.macports.checksum (libunistring)
:info:checksum --->  Checksumming libunistring-0.9.10.tar.gz
:debug:checksum Calculated (rmd160) is d64da9245ed843c62d69c76498146bc87787c37d
:debug:checksum Correct (rmd160) checksum for libunistring-0.9.10.tar.gz
:debug:checksum Calculated (sha256) is a82e5b333339a88ea4608e4635479a1cfb2e01aafb925e1290b65710d43f610b
:debug:checksum Correct (sha256) checksum for libunistring-0.9.10.tar.gz
:debug:checksum Calculated (size) is 3744814
:debug:checksum Correct (size) checksum for libunistring-0.9.10.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Sat Sep 11 09:07:53 CEST 2021
:notice:extract --->  Extracting libunistring
:debug:extract Executing org.macports.extract (libunistring)
:info:extract --->  Extracting libunistring-0.9.10.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/libunistring/libunistring-0.9.10.tar.gz'
:debug:extract Environment: 
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='10.12'
:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libunistring/libunistring-0.9.10.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_textproc_libunistring/libunistring/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/libunistring/libunistring-0.9.10.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_textproc_libunistring/libunistring/work to macports
:debug:extract euid/egid changed to: 503/502
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Sat Sep 11 09:07:55 CEST 2021
:debug:patch Executing org.macports.patch (libunistring)
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Sat Sep 11 09:07:55 CEST 2021
:notice:configure --->  Configuring libunistring
:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-12 macports-clang-11 macports-clang-10
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (libunistring)
:info:configure --->  Configuring libunistring for architecture arm64
:debug:configure setting option configure.dir to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10-arm64
:debug:configure setting option autoreconf.dir to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10-arm64
:debug:configure setting option autoconf.dir to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10-arm64
:debug:configure Environment: 
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/.CC_PRINT_OPTIONS'
:debug:configure CPATH='/opt/local/include'
:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='10.12'
:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10-arm64" && autoreconf -fvi 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10-arm64" && autoreconf -fvi 
:info:configure autoreconf: export WARNINGS=
:info:configure autoreconf: Entering directory '.'
:info:configure autoreconf: configure.ac: not using Gettext
:info:configure autoreconf: running: /opt/local/bin/aclocal --force -I m4 -I gnulib-m4
:info:configure configure.ac:25: error: AC_INIT should be called with package and version arguments
:info:configure : gl_AM_INIT_AUTOMAKE is expanded from...
:info:configure /opt/local/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
:info:configure configure.ac:25: the top level
:info:configure autom4te: error: /opt/local/bin/gm4 failed with exit status: 1
:info:configure aclocal: error: /opt/local/bin/autom4te failed with exit status: 1
:info:configure autoreconf: error: /opt/local/bin/aclocal failed with exit status: 1
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/work/libunistring-0.9.10-arm64" && autoreconf -fvi 
:info:configure Exit code: 1
:error:configure Failed to configure libunistring: autoreconf failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: autoreconf failure: command execution failed
:debug:configure     while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libunistring/libunistring/main.log for details.

Change History (2)

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

Description: modified (diff)
Summary: build libunistring fails while installing wxWidgets-3.2 portlibunistring @0.9.10: configure.ac:25: error: AC_INIT should be called with package and version arguments
Version: 2.7.1

Confirmed on my High Sierra Mac without those macports.conf modifications.

libunistring 0.9.10's configure.ac is evidently not compatible with automake 1.16.4.

https://lists.gnu.org/archive/html/bug-libunistring/2021-08/msg00003.html

Their fix for the problem is:

https://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=commitdiff;h=15e4365267e316f15222b8bf9f0a7cd0db231e9c

Once we fix that you might still experience other build problems on Big Sur as described in #61858 or those might be specific to Apple Silicon systems.

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

Resolution: duplicate
Status: newclosed

Joshua already fixed this problem yesterday; see #63472.

Run sudo port selfupdate to receive this and other fixes.

Note: See TracTickets for help on using tickets.