[MacPorts] #65893: fluidsynth @2.2.8 fails to build - Problem with MIDIPacketNext(packet) macro
MacPorts
noreply at macports.org
Sun Oct 2 10:17:39 UTC 2022
#65893: fluidsynth @2.2.8 fails to build - Problem with MIDIPacketNext(packet)
macro
-------------------------+--------------------
Reporter: RobK88 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: lion
Port: fluidsynth |
-------------------------+--------------------
Comment (by RJVB):
I see you're running 10.7.5; how much RAM do you have, and how much free
space on your boot drive?
I'm not expecting fluidsynth to be particularly expensive to build but the
clang compiler can be *very* resource hungry. So if the build fails again
with the same error you are apparently trying to use more memory than your
computer can provide. In that case:
- check how many applications you have running (close browser windows or
simply quit them for the duration of the build)
- do *not* do a `port clean` before trying again, so your build process
continues where
- add `build.jobs=1 build.post_args=-wk` to the `port install` (or `port
build`) command. This will ensure that only a single file is built at a
time, but also that the build will continue as far as possible, regardless
of errors.
Personally I would also get ride of the `-pipe` argument to limit the
number of concurrent build processes even more.
(I have a lot of working experience with/on underdimensioned system and in
my experience that makes builds run more smoothly on them. Then again, I
have the impression that clang does not actually uses distinct processes
for preprocessor, compiler and assembler.)
--
Ticket URL: <https://trac.macports.org/ticket/65893#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list