Opened 3 years ago
Closed 3 years ago
#63620 closed defect (fixed)
rpm @4.4.9: error: implicit declaration of function '__dbsrv_timeout' is invalid in C99
Reported by: | randhirbabu | Owned by: | 21stcaveman (Hamid Maadani) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | catalina bigsur | Cc: | |
Port: | rpm |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I am trying to install a rpm file on my mac using big sur
I went through this link and xcode is installed- BigSurProblems
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://packages.macports.org/rpm ---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/rpm ---> Attempting to fetch rpm-4.4.9_22.darwin_20.x86_64.tbz2 from https://ema.uk.packages.macports.org/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 if you believe there is a bug. Error: Processing of port rpm failed
Attachments (2)
Change History (7)
Changed 3 years ago by randhirbabu
comment:1 Changed 3 years ago by randhirbabu
Priority: | Normal → High |
---|
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | catalina bigsur added |
Port: | rpm added |
Priority: | High → Normal |
Summary: | Unable to use macports on bigsur → rpm @4.4.9: error: implicit declaration of function '__dbsrv_timeout' is invalid in C99 |
comment:3 Changed 3 years ago by randhirbabu
Tried rpm54, resulted in same error, please help asap!
sudo port install rpm54 ---> Computing dependencies for rpm54 ---> Fetching archive for rpm54 ---> Attempting to fetch rpm54-5.4.15_8+perl5_28.darwin_20.x86_64.tbz2 from https://packages.macports.org/rpm54 ---> Attempting to fetch rpm54-5.4.15_8+perl5_28.darwin_20.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/rpm54 ---> Attempting to fetch rpm54-5.4.15_8+perl5_28.darwin_20.x86_64.tbz2 from https://ema.uk.packages.macports.org/rpm54 ---> Building rpm54 Error: Failed to build rpm54: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_rpm54/rpm54/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port rpm54 failed
Changed 3 years ago by randhirbabu
Attachment: | main rpm54.log added |
---|
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
The error messages shown in the rpm54 log are completely different, so they will need a different fix. You should file a separate ticket for that issue.
comment:5 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.
The error shown in the log is:
This is a typical problem seen with many ports when using Xcode 12 or later and needs the usual fixes.
There is a newer version of the rpm software in the rpm54 port; maybe that will work better for you.