Opened 11 months ago

Last modified 10 months ago

#68759 new defect

agrep @2.04: implicit function declarations — at Version 2

Reported by: mission-bio Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: catalina bigsur monterey ventura sonoma Cc: rpilar@…, dhingra@…, T20231023.0099
Port: agrep

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

After installing MacPorts, we procedd to install agrep a few times and keep getting the same error:

--->  Computing dependencies for agrep
The following dependencies will be installed:  bsdmake
Continue? [Y/n]: y
--->  Fetching archive for bsdmake
--->  Attempting to fetch bsdmake-24_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/bsdmake
--->  Attempting to fetch bsdmake-24_1.darwin_20.x86_64.tbz2.rmd160 from https://packages.macports.org/bsdmake
--->  Installing bsdmake @24_1
--->  Activating bsdmake @24_1
--->  Cleaning bsdmake
--->  Fetching archive for agrep
--->  Attempting to fetch agrep-2.04_1.darwin_20.x86_64.tbz2 from https://packages.macports.org/agrep
--->  Attempting to fetch agrep-2.04_1.darwin_20.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/agrep
--->  Attempting to fetch agrep-2.04_1.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/agrep
--->  Fetching distfiles for agrep
--->  Attempting to fetch agrep-2.04.tar.Z from https://distfiles.macports.org/agrep
--->  Verifying checksums for agrep
--->  Extracting agrep
--->  Applying patches to agrep
--->  Configuring agrep
--->  Building agrep
Error: Failed to build agrep: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_agrep/agrep/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port agrep failed

==> Dissecting the script, it looks liek it is trying to install a file: agrep-2.04_1.darwin_20.x86_64.tbz2 which does not exist in any of the follwoing repositories:

https://packages.macports.org/agrep
http://mirror.fcix.net/macports/packages/agrep
https://ywg.ca.packages.macports.org/mirror/macports/packages/agrep

==> Have searched the internet for the file: agrep-2.04_1.darwin_20.x86_64.tbz2 but nothing exists.

==> Please advise on how we can install agrep

Change History (2)

comment:1 Changed 11 months ago by reneeotten (Renee Otten)

Description: modified (diff)
Keywords: agrep removed
Milestone: MacPorts Future
Port: agrep added
Summary: Error: Processing of port agrep failedagrep: build failure

Add the main.log file mentioned in the error message to this ticket.

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

Description: modified (diff)
Keywords: catalina bigsur monterey ventura sonoma added
Summary: agrep: build failureagrep @2.04: implicit function declarations

It fails with Xcode 12 or later due to implicit function declarations. The developers have been advised what they need to do to fix it and have not reacted:

https://github.com/Wikinaut/agrep/issues/20

If you or anyone would like to submit fixes for these issues to the developers I'm sure they would appreciate it.

Note: See TracTickets for help on using tickets.