[MacPorts] #62615: rpm: error: implicit declaration of function '__dbsrv_timeout' is invalid in C99 (was: failed to build rpm)
MacPorts
noreply at macports.org
Fri Apr 2 22:28:00 UTC 2021
#62615: rpm: error: implicit declaration of function '__dbsrv_timeout' is invalid
in C99
-------------------------+-----------------------------
Reporter: bushrachet | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: catalina bigsur
Port: rpm, rpm54 |
-------------------------+-----------------------------
Changes (by ryandesign):
* keywords: rpm, rpm54, BigSur => catalina bigsur
* port: rpm => rpm, rpm54
Old description:
> Before installing the rpm, i installed manually Command Line Tool for
> XCode 12.2 and neon as a dependency of rpm.
> When i do port install rpm, it is not able to built.
>
> sudo port install rpm
>
> ---> Computing dependencies for rpm\\
>
> ---> Fetching archive for rpm\\
>
> ---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from
> https://cph.dk.packages.macports.org/rpm\\
>
> ---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from
> https://mse.uk.packages.macports.org/rpm\\
>
> ---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from
> https://packages.macports.org/rpm\\
>
> ---> Configuring rpm\\
>
> ---> Building rpm\\
>
> Error: Failed to build rpm: command execution failed\\
>
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils\\
> _rpm/rpm/main.log for details.\\
>
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.\\
>
> Error: Processing of port rpm failed
>
> I tried also rpm54, but it's same.
New description:
Before installing the rpm, i installed manually Command Line Tool for
XCode 12.2 and neon as a dependency of rpm.
When i do port install rpm, it is not able to built.
{{{
sudo port install rpm
---> Computing dependencies for rpm
---> Fetching archive for rpm
---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from
https://cph.dk.packages.macports.org/rpm
---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from
https://mse.uk.packages.macports.org/rpm
---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from
https://packages.macports.org/rpm
---> Configuring rpm
---> Building rpm
Error: Failed to build rpm: command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_rpm/rpm/main.log
for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port rpm failed
}}}
I tried also rpm54, but it's same.
--
Comment:
Interesting. The first error shown in the log is:
{{{
:info:configure cat: stdout: Broken pipe
:info:configure cat: stdout: Broken pipe
:info:configure cat: stdout: Broken pipe
:info:configure cat: stdout: Broken pipe
:info:configure ./configure[38578]: eval: line 1: 8393: Abort
:info:configure configure: error: ./configure failed for zlib
}}}
I don't know what's going on there. But the log also contains a second
build attempt which failed in a different way:
{{{
:info:build db_server_svc.c:591:1: error: implicit declaration of function
'__dbsrv_timeout' is invalid in C99 [-Werror,-Wimplicit-function-
declaration]
:info:build __dbsrv_timeout(0);}
:info:build ^
}}}
This is a more expected type of problem that we are more familiar with
fixing.
--
Ticket URL: <https://trac.macports.org/ticket/62615#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list