#62285 closed defect (fixed)
libsgml @1.1.4_1: rev-upgrade failure: still broken after rebuilding it more than 3 times.
Reported by: | cooljeanius (Eric Gallager) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | ||
Port: | libsgml |
Description
Apparently it unconditionally uses libstdc++:
---> No broken files found. libsgml is using libstdc++ (this installation is configured to use libc++) Error: Port libsgml is still broken after rebuilding it more than 3 times. DEBUG: rev-upgrade failed: Port libsgml still broken after rebuilding 3 times while executing "error "Port $portname still broken after rebuilding $rebuild_tries time${s}"" (procedure "revupgrade_scanandrebuild" line 306) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" ("uplevel" body line 3) invoked from within "uplevel 1 $body" Error: rev-upgrade failed: Port libsgml still broken after rebuilding 3 times Error: Follow https://guide.macports.org/#project.tickets to report a bug.
(I am on Big Sur using Xcode 12.4)
Change History (4)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Status: | new → accepted |
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
In fact it only uses c++
to link the dylib, which is inexplicable since the project contains no C++ code that I can see. This happening because of a patch that we added shortly after the port was added; see #15281. I'll try to fix it to link with $(CC)
instead. At the same time, I'll try to fix it so that it uses MacPorts CFLAGS and LDFLAGS which it currently does not.
comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Note: See
TracTickets for help on using
tickets.
It builds the C++ code using
c++
instead of the compiler MacPorts tells it to. On your system, presumablyc++
isg++
which uses libstdc++. On my system,c++
isclang++
which uses libc++.