#63039 closed defect (fixed)
gnutls @3.6.16_0+universal - Failed to configure gnutls: autoreconf failure
Reported by: | FaradayLight (Faraday Light) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | gnutls bigsurl arm64 | Cc: | Schamschula (Marius Schamschula) |
Port: | gnutls |
Description (last modified by FaradayLight (Faraday Light))
An attempt to install gnutls failed with configure error:
Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/remove-potcdate.sin autoreconf: running: /opt/local/bin/aclocal --force -I m4 -I src/libopts/m4 -I src/gl/m4 -I lib/unistring/m4 --install aclocal: overwriting 'm4/pkg.m4' with '/opt/local/share/aclocal/pkg.m4' autoreconf: configure.ac: tracing autoreconf: running: /opt/local/bin/glibtoolize --copy --force glibtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. glibtoolize: copying file 'build-aux/ltmain.sh' glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. glibtoolize: copying file 'm4/libtool.m4' glibtoolize: copying file 'm4/ltoptions.m4' glibtoolize: copying file 'm4/ltsugar.m4' glibtoolize: copying file 'm4/ltversion.m4' glibtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: running: /opt/local/bin/gtkdocize --copy Can't exec "/opt/local/bin/gtkdocize": No such file or directory at /opt/local/share/autoconf/Autom4te/FileUtils.pm line 293. autoreconf: error: /opt/local/bin/gtkdocize failed with exit status: 2 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gnutls/gnutls/work/gnutls-3.6.16-arm64" && autoreconf --install --verbose --force Exit code: 2 Error: Failed to configure gnutls: autoreconf failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gnutls/gnutls/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port gnutls failed
The error arises after performing the following:
sudo port clean gnutls sudo port -v install gnutls
An attempt at installing gnutls was made after removing all ports to re-check the issue with M4 raised in ticket: https://trac.macports.org/ticket/62991
M4 was manually patch and installed as per steps outlined in the above ticket, but still fails the port test phase (see 62991).
In addition, the following warning was reported while installing the dependancies for gnutls:
---> Fetching archive for libtasn1 ---> Attempting to fetch libtasn1-4.17.0_0+universal.darwin_20.arm64-x86_64.tbz2 from https://packages.macports.org/libtasn1 ---> Attempting to fetch libtasn1-4.17.0_0+universal.darwin_20.arm64-x86_64.tbz2 from https://mse.uk.packages.macports.org/libtasn1 ---> Attempting to fetch libtasn1-4.17.0_0+universal.darwin_20.arm64-x86_64.tbz2 from https://fra.de.packages.macports.org/libtasn1 ---> Fetching distfiles for libtasn1 ---> Attempting to fetch libtasn1-4.17.0.tar.gz from https://distfiles.macports.org/libtasn1 ---> Verifying checksums for libtasn1 ---> Extracting libtasn1 ---> Configuring libtasn1 Warning: Configuration logfiles contain indications of -Wimplicit-function-declaration; check that features were not accidentally disabled: MIN: found in libtasn1-4.17.0/config.log ---> Building libtasn1 ---> Staging libtasn1 into destroot ---> Installing libtasn1 @4.17.0_0+universal ---> Activating libtasn1 @4.17.0_0+universal ---> Cleaning libtasn1
Please see attached main_gnutls.log
Attachments (2)
Change History (17)
Changed 3 years ago by FaradayLight (Faraday Light)
Attachment: | main_gnutls.log added |
---|
comment:1 Changed 3 years ago by FaradayLight (Faraday Light)
Description: | modified (diff) |
---|
comment:2 follow-up: 5 Changed 3 years ago by Schamschula (Marius Schamschula)
comment:3 Changed 3 years ago by FaradayLight (Faraday Light)
That failed - due to an attempt to install python38.
Commands:
sudo port clean gnutls sudo port -v install gnutls +doc +universal
---> Removing work directory for itstool ---> Fetching archive for python38 ---> python38-3.8.10_0+universal.darwin_20.arm64-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch python38-3.8.10_0+universal.darwin_20.arm64-x86_64.tbz2 from https://packages.macports.org/python38 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch python38-3.8.10_0+universal.darwin_20.arm64-x86_64.tbz2 from https://mse.uk.packages.macports.org/python38 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch python38-3.8.10_0+universal.darwin_20.arm64-x86_64.tbz2 from https://fra.de.packages.macports.org/python38 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Staging python38 into destroot . missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.10" && /usr/bin/make -w frameworkinstall maninstall DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.10' ln -fsn include/python3.8 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Headers sed 's/%VERSION%/'"`DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.10 ./python.exe -c 'import platform; print(platform.python_version())'`"'/g' < Mac/Resources/framework/Info.plist > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Resources/Info.plist ln -fsn 3.8 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/Current ln -fsn Versions/Current/Python /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Python ln -fsn Versions/Current/Headers /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Headers ln -fsn Versions/Current/Resources /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Resources /usr/bin/install -c -m 755 Python.framework/Versions/3.8/Python /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/Python cd Mac && /Library/Developer/CommandLineTools/usr/bin/make pythonw make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.10/Mac' make[1]: `pythonw' is up to date. make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.10/Mac' if test "Python.framework" = "no-framework" ; then \ /usr/bin/install -c python.exe /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8; \ else \ /usr/bin/install -c -s Mac/pythonw /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8; \ fi if test "3.8" != "3.8"; then \ if test -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 -o -h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8; \ then rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8; \ fi; \ (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin; ln python3.8 python3.8); \ fi if test -f Python.framework/Versions/3.8/Python && test "Python.framework" = "no-framework" ; then \ if test -n "" ; then \ /usr/bin/install -c -m 755 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin; \ else \ /usr/bin/install -c -m 755 Python.framework/Versions/3.8/Python /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/Python.framework/Versions/3.8/Python; \ if test Python.framework/Versions/3.8/Python != Python.framework/Versions/3.8/Python; then \ (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib; ln -sf Python.framework/Versions/3.8/Python Python.framework/Versions/3.8/Python) \ fi \ fi; \ if test -n ""; then \ /usr/bin/install -c -m 755 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/lib/; \ fi; \ else true; \ fi if test "x-extract i386" != "x" ; then \ rm -f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/binpython3.8-32; \ lipo -extract i386 \ -output /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8-32 \ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8; \ fi fatal error: /Library/Developer/CommandLineTools/usr/bin/lipo: -extract i386 specified but fat file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 does not contain that architecture make: *** [altbininstall] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.10' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/Python-3.8.10" && /usr/bin/make -w frameworkinstall maninstall DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/work/destroot Exit code: 2 Error: Failed to destroot python38: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python38/python38/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port gnutls failed ---> Some of the ports you installed have notes: gawk has the following notes: readline support has been removed from gawk. If you need to run gawk interactively, install rlwrap: sudo port install rlwrap and run gawk using rlwrap: rlwrap gawk ...
I have have installed python39 without error beforehand, but it is still determining a dependancy on python38; is this to be expected?
Please see: main_gnutls_02.log
Changed 3 years ago by FaradayLight (Faraday Light)
Attachment: | main_gnutls_02.log added |
---|
comment:4 Changed 3 years ago by Schamschula (Marius Schamschula)
On my M1 system I have gtk-doc @1.32_1+python38
installed (it is the default variant), but you can also install gtk-doc +python39
.
Note: I don't ever install +universal
on any of my machines (only the native architecture), hence I have not encountered this issue.
comment:5 follow-up: 8 Changed 3 years ago by jmroot (Joshua Root)
Replying to Schamschula:
It sure seems that
gnutls
won't let you install w/o the+doc
variant.
The port runs autoreconf --install
when building on arm64. That requires gtkdocize (provided by the gtk-doc port), but no corresponding dependency is added unless using +doc.
comment:6 Changed 3 years ago by FaradayLight (Faraday Light)
Re gtk-doc:
I do not have that package installed - I removed all port packages and then attempted to install a base set from scratch to test the manually-patched install of M4 (see #62991).
Re +universal:
The +universal option was added as a default in a recent update to MacPorts (v2.7.1?) so if that is a problem it is being triggered by the default settings.
comment:7 Changed 3 years ago by FaradayLight (Faraday Light)
Re autoconf:
Would a patch to the Portfile address the +doc issue?
comment:8 Changed 3 years ago by Schamschula (Marius Schamschula)
Replying to jmroot:
Replying to Schamschula:
It sure seems that
gnutls
won't let you install w/o the+doc
variant.The port runs
autoreconf --install
when building on arm64. That requires gtkdocize (provided by the gtk-doc port), but no corresponding dependency is added unless using +doc.
That's what I was trying to say. As gtk-doc
is an added dependency for the +doc
variant under arm64, I might as well make it default for that additional case, as its is already for some others.
comment:10 Changed 3 years ago by Schamschula (Marius Schamschula)
Instead of adding yet another special case, I've reverted to building the docs in all cases.
See: [cd7bbf271582b0fb19066d6e9ec895b755898a80/macports-ports]
comment:11 Changed 3 years ago by FaradayLight (Faraday Light)
Thanks.
That may have resolve the problem detailed above, but the install now fails due to a dependancy of gtk-doc on python38 (See: #62948).
python39 installs without error and is on the system, but gtk-doc seems to determine that python38 is required as well, or in place of the former.
comment:12 Changed 3 years ago by FaradayLight (Faraday Light)
The installation now completes successfully if the gtk-doc+python39 variant is first installed before attempting to install gnutls.
I have raised a ticket against gtk-doc regarding the python38 issue: #63043
comment:13 Changed 3 years ago by kencu (Ken)
Faraday, remove +universal from your variants.conf (and the reinstall all your ports, which will download buildbot versions). Then you will have no, or at least much less, trouble.
comment:14 Changed 3 years ago by Schamschula (Marius Schamschula)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:15 Changed 3 years ago by FaradayLight (Faraday Light)
Hi, I have commented out the setting in variants and that has resolved the issues I have been experiencing.
In addition - python38 will build and install without error if the +universal variant is not selected.
It sure seems that
gnutls
won't let you install w/o the+doc
variant. I may have to make building the documents non-optional.Please try installing with the
+doc
variant.