[MacPorts] #68040: DeaDBeeF @1.9.5: fatal error: 'wavpack.h' file not found
MacPorts
noreply at macports.org
Sat Aug 24 00:20:19 UTC 2024
#68040: DeaDBeeF @1.9.5: fatal error: 'wavpack.h' file not found
-------------------------+--------------------
Reporter: ryandesign | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: DeaDBeeF |
-------------------------+--------------------
Comment (by ryandesign):
wavpack.h is part of the version of wavpack bundled with DeaDBeeF. I
believe the problem is that the include path is not specified correctly.
On the failing macOS 10.14 build the flag is given to the compiler as:
{{{
-I\"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_DeaDBeeF/DeaDBeeF/work/deadbeef-1.9.5/osx/deps/WavPack-5.1.0/include\"
}}}
Those escaped quotation marks should not be there. On a successful macOS
12 build the quotes aren't there.
I believe the cause is that these quotation marks are specified in the
Xcode project, for example:
https://github.com/DeaDBeeF-
Player/deadbeef/blob/a50e3a54261abcfcd8a4e627edc3a8b94ace6aff/osx/deadbeef.xcodeproj/project.pbxproj#L22862
That's just one example; there are over 100 lines in the project file with
this mistake. Presumably newer Xcode versions strip them out while older
Xcodes don't. They should probably be removed from the Xcode project file,
e.g.
{{{
sed -E -i.orig 's/"\\"(.*)\\""/"\1"/'
work/deadbeef-1.9.5/osx/deadbeef.xcodeproj/project.pbxproj
}}}
After this change it still builds for me on macOS 12 but I haven't tested
on 10.14.
--
Ticket URL: <https://trac.macports.org/ticket/68040#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list