[MacPorts] #63865: hidapi @0.9.0_0: AC_CONFIG_MACRO_DIR used twice in ../hidapi/work/hidapi-0.9.0/configure.ac
MacPorts
noreply at macports.org
Mon Nov 8 16:56:31 UTC 2021
#63865: hidapi @0.9.0_0: AC_CONFIG_MACRO_DIR used twice in
../hidapi/work/hidapi-0.9.0/configure.ac
-----------------------+--------------------
Reporter: sck-nogas | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Keywords: bigsur | Port: hidapi
-----------------------+--------------------
Was doing a migrate/rebuild of all my installed ports and when building
gr-rds, hidapi was not building. But, after digging Found the issue.
The line "AC_CONFIG_MACRO_DIR([m4])" is duplicated in
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work/hidapi-0.9.0/configure.ac"
Once I removed the second one, the compiile went through. Not sure what
happened here...
{{{
iBiko:~ sck$ sudo port clean hidapi
Password:
---> Cleaning hidapi
iBiko:~ sck$ sudo port -d install hidapi
DEBUG: Copying /Users/sck/Library/Preferences/com.apple.dt.Xcode.plist to
/opt/local/var/macports/home/Library/Preferences
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/comms/hidapi
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: Sourcing PortGroup github 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/github-1.0.tcl
DEBUG: Re-registering default for livecheck.url
DEBUG: Re-registering default for livecheck.regex
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Attempting ln -sf
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/comms/hidapi/work
DEBUG: dropping privileges: euid changed to 505, egid changed to 501.
DEBUG: Starting logging for hidapi @0.9.0_0
DEBUG: macOS 12.0.1 (darwin/21.1.0) arch i386
DEBUG: MacPorts 2.7.1
DEBUG: Xcode 13.1
DEBUG: SDK 12
DEBUG: MACOSX_DEPLOYMENT_TARGET: 12.0
DEBUG: epoch: in tree: 1 installed: 1
DEBUG: autoconf 2.71_1 exists in the ports tree
DEBUG: autoconf 2.71_1 is the latest installed
DEBUG: autoconf 2.71_1 is active
DEBUG: Merging existing requested variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/autoconf
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: only one arch supported, so not adding the default universal
variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! autoconf 2.71_1 >= autoconf 2.71_1
DEBUG: epoch: in tree: 2 installed: 2
DEBUG: gettext 0.19.8.1_2 exists in the ports tree
DEBUG: gettext 0.19.8.1_2 is the latest installed
DEBUG: gettext 0.19.8.1_2 is active
DEBUG: Merging existing requested variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gettext
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: Sourcing PortGroup compiler_blacklist_versions 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
DEBUG: Sourcing PortGroup muniversal 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Sourcing PortGroup clang_dependency 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
DEBUG: compiler clang 1300.0.29.3 not blacklisted because it doesn't match
{clang < 211.10.1}
DEBUG: muniversal: adding universal variant
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! gettext 0.19.8.1_2 >= gettext 0.19.8.1_2
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libiconv 1.16_1 exists in the ports tree
DEBUG: libiconv 1.16_1 is the latest installed
DEBUG: libiconv 1.16_1 is active
DEBUG: Merging existing requested variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/textproc/libiconv
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: Sourcing PortGroup muniversal 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: Sourcing PortGroup clang_dependency 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
DEBUG: Sourcing PortGroup xcodeversion 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
DEBUG: muniversal: adding universal variant
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: Running callback xcodeversions_run_check
DEBUG: Finished running callback xcodeversions_run_check
DEBUG: No need to upgrade! libiconv 1.16_1 >= libiconv 1.16_1
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: ncurses 6.2_1 exists in the ports tree
DEBUG: ncurses 6.2_1 is the latest installed
DEBUG: ncurses 6.2_1 is active
DEBUG: Merging existing requested variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/ncurses
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: Sourcing PortGroup clang_dependency 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! ncurses 6.2_1 >= ncurses 6.2_1
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: m4 1.4.19_1 exists in the ports tree
DEBUG: m4 1.4.19_1 is the latest installed
DEBUG: m4 1.4.19_1 is active
DEBUG: Merging existing requested variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/m4
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: Sourcing PortGroup clang_dependency 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
DEBUG: Sourcing PortGroup muniversal 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
DEBUG: muniversal: adding universal variant
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! m4 1.4.19_1 >= m4 1.4.19_1
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: automake 1.16.5_0 exists in the ports tree
DEBUG: automake 1.16.5_0 is the latest installed
DEBUG: automake 1.16.5_0 is active
DEBUG: Merging existing requested variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/automake
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: only one arch supported, so not adding the default universal
variant
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! automake 1.16.5_0 >= automake 1.16.5_0
DEBUG: epoch: in tree: 0 installed: 0
DEBUG: libtool 2.4.6_13 exists in the ports tree
DEBUG: libtool 2.4.6_13 is the latest installed
DEBUG: libtool 2.4.6_13 is active
DEBUG: Merging existing requested variants '' into variants
DEBUG: new fully merged portvariants:
DEBUG: Changing to port directory:
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libtool
DEBUG: OS darwin/21.1.0 (macOS 12.0.1) arch i386
DEBUG: Sourcing PortGroup clang_dependency 1.0 from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/clang_dependency-1.0.tcl
DEBUG: adding the default universal variant
DEBUG: Reading variant descriptions from
/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies
DEBUG: Finished running callback
portconfigure::add_automatic_compiler_dependencies
DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies
DEBUG: Finished running callback
portbuild::add_automatic_buildsystem_dependencies
DEBUG: Running callback portstartupitem::add_notes
DEBUG: Finished running callback portstartupitem::add_notes
DEBUG: No need to upgrade! libtool 2.4.6_13 >= libtool 2.4.6_13
---> Computing dependencies for hidapi
DEBUG: hidapi has no conflicts
DEBUG: Searching for dependency: autoconf
DEBUG: Found Dependency: receipt exists for autoconf
DEBUG: Searching for dependency: automake
DEBUG: Found Dependency: receipt exists for automake
DEBUG: Searching for dependency: libtool
DEBUG: Found Dependency: receipt exists for libtool
DEBUG: Executing org.macports.main (hidapi)
DEBUG: dropping privileges: euid changed to 505, egid changed to 501.
DEBUG: archivefetch phase started at Mon Nov 8 07:15:28 PST 2021
---> Fetching archive for hidapi
DEBUG: Executing org.macports.archivefetch (hidapi)
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned /opt/local/var/macports/incoming to macports
DEBUG: euid/egid changed to: 505/501
---> hidapi-0.9.0_0.darwin_21.x86_64.tbz2 doesn't seem to exist in
/opt/local/var/macports/incoming/verified
---> Attempting to fetch hidapi-0.9.0_0.darwin_21.x86_64.tbz2 from
https://packages.macports.org/hidapi
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 126 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed: The requested URL returned error: 404
---> Attempting to fetch hidapi-0.9.0_0.darwin_21.x86_64.tbz2 from
https://ywg.ca.packages.macports.org/mirror/macports/packages/hidapi
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 153 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed: The requested URL returned error: 404
---> Attempting to fetch hidapi-0.9.0_0.darwin_21.x86_64.tbz2 from
https://kmq.jp.packages.macports.org/hidapi
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 304 0 0 0 0 0 0 --:--:-- --:--:-- --:--:--
0
DEBUG: Fetching archive failed: The requested URL returned error: 404
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: fetch phase started at Mon Nov 8 07:15:29 PST 2021
---> Fetching distfiles for hidapi
DEBUG: Executing org.macports.fetch (hidapi)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: checksum phase started at Mon Nov 8 07:15:29 PST 2021
---> Verifying checksums for hidapi
DEBUG: Executing org.macports.checksum (hidapi)
---> Checksumming hidapi-0.9.0.tar.gz
DEBUG: Calculated (rmd160) is 26c6b358a58d86beed2a00a3c7f8c2bf494871a7
DEBUG: Correct (rmd160) checksum for hidapi-0.9.0.tar.gz
DEBUG: Calculated (sha256) is
c719535a018c393bdfdafe14de9a8b6e79741243a6b426c2622f8721a704d869
DEBUG: Correct (sha256) checksum for hidapi-0.9.0.tar.gz
DEBUG: Calculated (size) is 112965
DEBUG: Correct (size) checksum for hidapi-0.9.0.tar.gz
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: extract phase started at Mon Nov 8 07:15:29 PST 2021
---> Extracting hidapi
DEBUG: Executing org.macports.extract (hidapi)
---> Extracting hidapi-0.9.0.tar.gz
DEBUG: setting option extract.args to
'/opt/local/var/macports/distfiles/hidapi/hidapi-0.9.0.tar.gz'
DEBUG: Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
DEVELOPER_DIR='/Library/Developer/CommandLineTools'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='12.0'
SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/hidapi/hidapi-0.9.0.tar.gz' |
/usr/bin/tar -xf -
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/hidapi/hidapi-0.9.0.tar.gz' |
/usr/bin/tar -xf -
DEBUG: euid/egid changed to: 0/0
DEBUG: chowned
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work
to macports
DEBUG: euid/egid changed to: 505/501
DEBUG: Symlink:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work/hidapi-0.9.0
-> libusb-hidapi-7da5cc9
DEBUG: Executing proc-post-org.macports.extract-extract-0
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: patch phase started at Mon Nov 8 07:15:29 PST 2021
DEBUG: Executing org.macports.patch (hidapi)
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: configure phase started at Mon Nov 8 07:15:29 PST 2021
---> Configuring hidapi
DEBUG: Preferred compilers: clang macports-clang-9.0 macports-clang-13
macports-clang-12 macports-clang-11 macports-clang-10
DEBUG: Using compiler 'Xcode Clang'
DEBUG: Executing org.macports.configure (hidapi)
DEBUG: Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
DEVELOPER_DIR='/Library/Developer/CommandLineTools'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='12.0'
SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work/hidapi-0.9.0"
&& autoreconf --install --verbose
DEBUG: system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work/hidapi-0.9.0"
&& autoreconf --install --verbose
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /opt/local/bin/aclocal -I m4
configure.ac:23: error: AC_CONFIG_MACRO_DIR can only be used once
./lib/autoconf/general.m4:1970: AC_CONFIG_MACRO_DIR is expanded from...
configure.ac:23: the top level
autom4te: error: /opt/local/bin/gm4 failed with exit status: 1
aclocal: error: /opt/local/bin/autom4te failed with exit status: 1
autoreconf: error: /opt/local/bin/aclocal failed with exit status: 1
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/work/hidapi-0.9.0"
&& autoreconf --install --verbose
Exit code: 1
Error: Failed to configure hidapi: autoreconf failure: command execution
failed
DEBUG: Error code: NONE
DEBUG: Backtrace: autoreconf failure: command execution failed
while executing
"$procedure $targetname"
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_comms_hidapi/hidapi/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there is a bug.
Error: Processing of port hidapi failed
iBiko:hidapi-0.9.0 sck$ head -25 configure.ac
AC_PREREQ(2.63)
# Version number. This is currently the only place.
m4_define([HIDAPI_MAJOR], 0)
m4_define([HIDAPI_MINOR], 9)
m4_define([HIDAPI_RELEASE], 0)
m4_define([HIDAPI_RC], )
m4_define([VERSION_STRING],
HIDAPI_MAJOR[.]HIDAPI_MINOR[.]HIDAPI_RELEASE[]HIDAPI_RC)
AC_INIT([hidapi],[VERSION_STRING],[alan at signal11.us])
# Library soname version
# Follow the following rules (particularly the ones in the second link):
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-
info.html
# http://sourceware.org/autobook/autobook/autobook_91.html
lt_current="0"
lt_revision="0"
lt_age="0"
LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}"
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([foreign -Wall -Werror])
AC_CONFIG_MACRO_DIR([m4])
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
iBiko:hidapi-0.9.0 sck$
}}}
--
Ticket URL: <https://trac.macports.org/ticket/63865>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list