[MacPorts] #68759: agrep @2.04: implicit function declarations (was: agrep: build failure)

MacPorts noreply at macports.org
Thu Nov 23 06:16:37 UTC 2023


#68759: agrep @2.04: implicit function declarations
-------------------------+-------------------------------------------------
  Reporter:  mission-    |      Owner:  (none)
  bio                    |
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  catalina bigsur monterey ventura
      Port:  agrep       |  sonoma
-------------------------+-------------------------------------------------
Changes (by ryandesign):

 * keywords:   => catalina bigsur monterey ventura sonoma


Old description:

> 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**

New description:

 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**

--

Comment:

 It fails with Xcode 12 or later due to [wiki:WimplicitFunctionDeclaration
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/68759#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list