Opened 4 years ago
Closed 3 years ago
#62615 closed defect (fixed)
rpm: error: implicit declaration of function '__dbsrv_timeout' is invalid in C99
Reported by: | bushrachet (Büşra Çetin) | Owned by: | 21stcaveman (Hamid Maadani) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | catalina bigsur | Cc: | hadrabap (Petr Hadraba) |
Port: | rpm, rpm54 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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.
Attachments (1)
Change History (8)
Changed 4 years ago by bushrachet (Büşra Çetin)
comment:1 Changed 4 years ago by bushrachet (Büşra Çetin)
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | catalina bigsur added; rpm rpm54 BigSur removed |
Port: | rpm54 added |
Summary: | failed to build rpm → rpm: error: implicit declaration of function '__dbsrv_timeout' is invalid in C99 |
comment:3 Changed 4 years ago by bushra-ch
So what is the expected solution to this?
I downgraded Xcode and CLT to 11.7 version, since error of implicit declaration of function was solved in other tickets by this way. But when i did it, it produced and error about xcode version: it must be 12..2 or greater.
Now I'm back on Xcode its CLT 12.2, and my new error:
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
My new main.log is attached. What is my fault?
comment:4 Changed 3 years ago by jasef (Jason Frost)
Is there any progress on this? This error still exists with a fresh install of MacPorts on macOS 11.5.1.
comment:6 Changed 3 years ago by hadrabap (Petr Hadraba)
Cc: | hadrabap added |
---|
comment:7 Changed 3 years ago by 21stcaveman (Hamid Maadani)
Owner: | set to 21stcaveman |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Interesting. The first error shown in the log is:
I don't know what's going on there. But the log also contains a second build attempt which failed in a different way:
This is a more expected type of problem that we are more familiar with fixing.