Opened 2 years ago

Closed 2 years ago

#65656 closed defect (fixed)

gnetcat @ 0.7.1_2 checking build system type... configure: error: /bin/sh ./config.sub -apple-darwin21.6.0 failed

Reported by: pedrohdz (Pedro) Owned by: fracai
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: gnetcat

Description

Trying to port install gnetcat I get the following (Complete log is attached):

:info:configure checking build system type... configure: error: /bin/sh ./config.sub -apple-darwin21.6.0 failed
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_gnetcat/gnetcat/work/netcat-0.7.1" && ./configure --prefix=/opt/local --program-prefix=g --infodir=/opt/local/share/info --mandir=/opt/local/share/man 
:info:configure Exit code: 1
:error:configure Failed to configure gnetcat: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_gnetcat/gnetcat/work/netcat-0.7.1/config.log
:error:configure Failed to configure gnetcat: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure 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_net_gnetcat/gnetcat/main.log for details.

System information:

Darwin XXXXXXXXXX 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:22 PDT 2022; root:xnu-8020.140.41~1/RELEASE_ARM64_T6000 arm64 arm Darwin

I tried running ./configure manually and got:

$ cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_gnetcat/gnetcat/work/netcat-0.7.1

$ ./configure --prefix=/opt/local --program-prefix=g --infodir=/opt/local/share/info --mandir=/opt/local/share/man

checking build system type... configure: error: /bin/sh ./config.sub -apple-darwin21.6.0 failed

Attachments (1)

main.log (41.5 KB) - added by pedrohdz (Pedro) 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by pedrohdz (Pedro)

Attachment: main.log added

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

Owner: set to fracai
Status: newassigned

Not surprising that a release from 2004 doesn't detect Apple Silicon correctly. Probably just needs to update config.guess and config.sub.

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

Resolution: fixed
Status: assignedclosed

In a1f31bb0454e3febd29650bc798a27ffa92fc1b4/macports-ports (master):

gnetcat: Update config.guess/config.sub for arm64

Closes: #65656

Note: See TracTickets for help on using tickets.