[MacPorts] #74390: kdelibs4 fails with default setting -j 4
MacPorts
noreply at macports.org
Tue Sep 1 22:12:11 UTC 2026
#74390: kdelibs4 fails with default setting -j 4
---------------------------+--------------------
Reporter: incalzando-a | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: kdelibs4 |
---------------------------+--------------------
Changes (by jmroot):
* keywords: CHILDSTATUS 6035 2 =>
* type: request => defect
* port: => kdelibs4
Old description:
> Where is the setting to remove -j4, on a computer that only has 2 cores?
>
> From kdelibs4 main.log:
>
> :info:build [ 52%] Built target kdnssd
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/kdelibs4-98c02c16/work/build'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/kdelibs4-98c02c16/work/build'
> :info:build Command failed: cd
> "/opt/local/var/macports/build/kdelibs4-98c02c16/work/build" &&
> /usr/bin/make -j4 -w all VERBOSE=ON
> :info:build Exit code: 2
> :error:build Failed to build kdelibs4: command execution failed
> :debug:build Error code: CHILDSTATUS 6035 2
> :debug:build Backtrace: command execution failed
> :debug:build while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build invoked from within
> :debug:build "command_exec -callback
> portprogress::target_progress_callback build"
> :debug:build (procedure "portbuild::build_main" line 10)
> :debug:build invoked from within
> :debug:build "$procedure $targetname"
New description:
Where is the setting to remove -j4, on a computer that only has 2 cores?
From kdelibs4 main.log:
{{{
:info:build [ 52%] Built target kdnssd
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/kdelibs4-98c02c16/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/kdelibs4-98c02c16/work/build'
:info:build Command failed: cd
"/opt/local/var/macports/build/kdelibs4-98c02c16/work/build" &&
/usr/bin/make -j4 -w all VERBOSE=ON
:info:build Exit code: 2
:error:build Failed to build kdelibs4: command execution failed
:debug:build Error code: CHILDSTATUS 6035 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec -callback
portprogress::target_progress_callback build"
:debug:build (procedure "portbuild::build_main" line 10)
:debug:build invoked from within
:debug:build "$procedure $targetname"
}}}
--
Comment:
It's not clear that this is caused by the number of build jobs, but the
default number of jobs is probably chosen because your CPU supports
hyperthreading. If you want to change it, the macports.conf setting is
`buildmakejobs`. https://guide.macports.org/chunked/internals
.configuration-files.html#internals.configuration-files.macports-conf
--
Ticket URL: <https://trac.macports.org/ticket/74390#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list