#64160 closed defect (fixed)
md5deep @4.4 fails to configure on Apple Silicon (M1)
Reported by: | mackonsti (MacKonsti) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | arm64 | Cc: | |
Port: | md5deep |
Description
Hello, this ticket is rather straightforward. On a clean macOS Monterey 12.0.1 system, I have installed latest available PORT package and then tried installing the needed md5deep package of tools, that fail.
Thank you in advance for having a look and providing your advice/feedback while also checking this ticket's details if correct (Milestone, Owner, Component etc.) as it's my very first report.
Last login: Wed Dec 8 16:34:23 on ttys003 % sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.7.1 installed, MacPorts base version 2.7.1 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated % sudo port install md5deep ---> Computing dependencies for md5deep The following dependencies will be installed: autoconf automake gettext gettext-runtime gettext-tools-libs libiconv libtextstyle libtool m4 ncurses Continue? [Y/n]: y ---> Fetching archive for libiconv ---> Attempting to fetch libiconv-1.16_1.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/libiconv ---> Attempting to fetch libiconv-1.16_1.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/libiconv ---> Installing libiconv @1.16_1 ---> Activating libiconv @1.16_1 ---> Cleaning libiconv ---> Fetching archive for gettext-runtime ---> Attempting to fetch gettext-runtime-0.21_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/gettext-runtime ---> Attempting to fetch gettext-runtime-0.21_0.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/gettext-runtime ---> Installing gettext-runtime @0.21_0 ---> Activating gettext-runtime @0.21_0 ---> Cleaning gettext-runtime ---> Fetching archive for ncurses ---> Attempting to fetch ncurses-6.3_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/ncurses ---> Attempting to fetch ncurses-6.3_0.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/ncurses ---> Installing ncurses @6.3_0 ---> Activating ncurses @6.3_0 ---> Cleaning ncurses ---> Fetching archive for libtextstyle ---> Attempting to fetch libtextstyle-0.21_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/libtextstyle ---> Attempting to fetch libtextstyle-0.21_0.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/libtextstyle ---> Installing libtextstyle @0.21_0 ---> Activating libtextstyle @0.21_0 ---> Cleaning libtextstyle ---> Fetching archive for gettext-tools-libs ---> Attempting to fetch gettext-tools-libs-0.21_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/gettext-tools-libs ---> Attempting to fetch gettext-tools-libs-0.21_0.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/gettext-tools-libs ---> Installing gettext-tools-libs @0.21_0 ---> Activating gettext-tools-libs @0.21_0 ---> Cleaning gettext-tools-libs ---> Fetching archive for gettext ---> Attempting to fetch gettext-0.21_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/gettext ---> Attempting to fetch gettext-0.21_0.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/gettext ---> Installing gettext @0.21_0 ---> Activating gettext @0.21_0 ---> Cleaning gettext ---> Fetching archive for m4 ---> Attempting to fetch m4-1.4.19_1.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/m4 ---> Attempting to fetch m4-1.4.19_1.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/m4 ---> Installing m4 @1.4.19_1 ---> Activating m4 @1.4.19_1 ---> Cleaning m4 ---> Fetching archive for autoconf ---> Attempting to fetch autoconf-2.71_1.darwin_21.noarch.tbz2 from http://fco.it.packages.macports.org/autoconf ---> Attempting to fetch autoconf-2.71_1.darwin_21.noarch.tbz2.rmd160 from http://fco.it.packages.macports.org/autoconf ---> Installing autoconf @2.71_1 ---> Activating autoconf @2.71_1 ---> Cleaning autoconf ---> Fetching archive for automake ---> Attempting to fetch automake-1.16.5_0.darwin_21.noarch.tbz2 from http://fco.it.packages.macports.org/automake ---> Attempting to fetch automake-1.16.5_0.darwin_21.noarch.tbz2.rmd160 from http://fco.it.packages.macports.org/automake ---> Installing automake @1.16.5_0 ---> Activating automake @1.16.5_0 ---> Cleaning automake ---> Fetching archive for libtool ---> Attempting to fetch libtool-2.4.6_13.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/libtool ---> Attempting to fetch libtool-2.4.6_13.darwin_21.arm64.tbz2.rmd160 from http://fco.it.packages.macports.org/libtool ---> Installing libtool @2.4.6_13 ---> Activating libtool @2.4.6_13 ---> Cleaning libtool ---> Fetching archive for md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://mse.uk.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://ema.uk.packages.macports.org/md5deep ---> Fetching distfiles for md5deep ---> Attempting to fetch hashdeep-4.4.tar.gz from https://distfiles.macports.org/md5deep ---> Verifying checksums for md5deep ---> Extracting md5deep ---> Applying patches to md5deep ---> Configuring md5deep Error: Failed to configure md5deep: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_md5deep/md5deep/work/hashdeep-4.4/config.log Error: Failed to configure md5deep: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_md5deep/md5deep/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port md5deep failed % sudo port clean md5deep ---> Cleaning md5deep % sudo port install md5deep ---> Computing dependencies for md5deep ---> Fetching archive for md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://mse.uk.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://ema.uk.packages.macports.org/md5deep ---> Fetching distfiles for md5deep ---> Verifying checksums for md5deep ---> Extracting md5deep ---> Applying patches to md5deep ---> Configuring md5deep Error: Failed to configure md5deep: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_md5deep/md5deep/work/hashdeep-4.4/config.log Error: Failed to configure md5deep: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_md5deep/md5deep/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port md5deep failed
Is it because the code is not made for Apple Silicon and remains for Intel only? I think this is a good explanation. Thank you.
Attachments (2)
Change History (10)
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Keywords: | arm64 added; md5deep apple silicon m1 removed |
---|---|
Port: | md5deep added |
Summary: | md5deep package fails to build on Apple Silicon (M1) via Ports v2.7.1 → md5deep @4.4 fails to configure on Apple Silicon (M1) |
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
And the config.log.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_md5deep/md5deep/main.log
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_md5deep/md5deep/work/hashdeep-4.4/config.log
comment:3 follow-up: 4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
We do have a build failure log from our Monterey x86_64 arm64 build machine:
checking build system type... configure: error: /bin/sh ./config.sub -apple-darwin21.1.0 failed
The lack of a value before the first -
in -apple-darwin21.1.0
suggests to me that the config.guess / config.sub files bundled with this project may be too old and we may need to use updated copies from the automake port, which we've had to do in some other ports already.
md5deep already uses autoreconf, but does not use the -fvi
flags to tell it to force the installation of new files (including config.guess / config.sub files). Let me see if adding that fixes it.
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign:
the config.guess / config.sub files bundled with this project may be too old
The upstream bug report says the same thing:
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Changed 3 years ago by mackonsti (MacKonsti)
Attachment: | config.log added |
---|
Changed 3 years ago by mackonsti (MacKonsti)
comment:6 Changed 3 years ago by mackonsti (MacKonsti)
Hello Ryan and thank you for taking the time to have a look at this ticket. Apologies for replying later, my M1 is at work only. Although I am not too familiar to understand exactly what you write about the configs, I relaunched the build so as to generate clean logs. I have attached them. Let me know if you'd like me to test something or change some config and please do point the exact path just to be sure :-) Many thanks.
comment:7 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Mac, no need for any further investigations on your part, since I've already fixed the problem. As always, run sudo port selfupdate
to receive the fix.
comment:8 Changed 3 years ago by mackonsti (MacKonsti)
Thank you very much Ryan, I confirm it is fixed. For the sake of clarity here is my output:
% sudo port selfupdate Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.7.1 installed, MacPorts base version 2.7.1 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated % port upgrade outdated Nothing to upgrade. Error: Insufficient privileges to write to MacPorts install prefix. % sudo port upgrade outdated Nothing to upgrade. ---> Updating database of binaries ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. % sudo port install md5deep Portfile changed since last build; discarding previous state. ---> Fetching archive for md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from http://fco.it.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://mse.uk.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://ema.uk.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://fra.de.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2 from https://nue.de.packages.macports.org/md5deep ---> Attempting to fetch md5deep-4.4_0.darwin_21.arm64.tbz2.rmd160 from https://nue.de.packages.macports.org/md5deep ---> Installing md5deep @4.4_0 ---> Activating md5deep @4.4_0 ---> Cleaning md5deep ---> Scanning binaries for linking errors ---> No broken files found. ---> No broken ports found. % md5deep -v 4.4
Wish you a good and safe festive/holiday season. Warm regards
Please add the main.log to the ticket as an attachment.