#58466 closed defect (fixed)
libshout2 @2.4.2 fails to build when an older version is installed
Reported by: | berniewalp | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | Schamschula (Marius Schamschula) | |
Port: | libshout2 |
Description (last modified by berniewalp)
I see what appear to be compilation errors in libshout2 when I command "sudo port upgrade outdated".
I attached the log here.
Sorry if we have previous references to this problem. I found no duplicates.
Thanks for any advice.
Attachments (1)
Change History (11)
Changed 5 years ago by berniewalp
comment:1 Changed 5 years ago by berniewalp
Description: | modified (diff) |
---|
comment:2 Changed 5 years ago by mf2k (Frank Schima)
Port: | libshout2 added |
---|
In the future, please fill in the Port field and add the port maintainer(s) to Cc (port info --maintainers libshout2
), if any.
comment:3 Changed 5 years ago by kencu (Ken)
I had the exact same problem. Try this:
sudo port clean libshout2 sudo port -f deactivate libshout2 sudo port -v install libshout2
and you should be good to go.
comment:4 Changed 5 years ago by kencu (Ken)
Cc: | Schamschula added |
---|
comment:5 Changed 5 years ago by kencu (Ken)
see [4128ae50f7018980e34f909af15cb577d0b73c37/macports-ports] for other discussion.
comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Probably best if discussion continues here, not in the notes of a commit.
The order of the includes should be fixed. If that's not possible, try using the conflicts_build portgroup.
comment:7 Changed 5 years ago by jmroot (Joshua Root)
Looks like this is what broke it: https://git.xiph.org/?p=icecast-libshout.git;a=commitdiff;h=627da3d8b2b21dc2e2743ca56e1d8d683cdcbf07
INCLUDES should have been replaced by AM_CPPFLAGS, as putting preprocessor flags in AM_CFLAGS is incorrect and leads to the flags being ordered wrong relative to CPPFLAGS.
comment:8 Changed 5 years ago by jmroot (Joshua Root)
comment:9 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:10 Changed 5 years ago by jmroot (Joshua Root)
Summary: | Failed to build libshout2: command execution failed → libshout2 @2.4.2 fails to build when an older version is installed |
---|
libshout2 log file (failed to build)