Ticket #15659 (closed defect: fixed)
qt4-mac 4.4.0_3 fails to destroot with MacPorts 1.6.0 when parallel build is enabled
| Reported by: | themolok@… | Owned by: | erickt@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | clubjuggler@…, j.bugzilla2@…, mcalhoun@… | |
| Port: | qt4-mac |
Description
qt4-mac 4.4.0_3 fails to build on my machine with Leopard.
It fails in the "Staging qt4-mac into destroot" part; I tried to trim down the log as much as possible, and I replaced the useless portions with "[...]".
qt4-mac is HUGE and I have no idea where to start to debug the installation process, so...
Log attached.
Attachments
Change History
comment:1 Changed 5 years ago by alex.tomlins@…
I ran into a similar problem, and I found a workaround:
I edited macports.conf and set buildmakejobs to 1 (it was set to 3). It then installed fine.
I guess there's a race condition somewhere when trying to install in a parallel fashion.
Alex
comment:2 Changed 5 years ago by themolok@…
Thanks Alex, I changed buildmakejobs back to 1 and now it builds without any problem.
The only problem is that I don't remember why I was installing qt4-mac :(
comment:3 Changed 5 years ago by blb@…
- Owner changed from macports-tickets@… to erickt@…
- Cc clubjuggler@… added
Assigning/Cc maintainers.
The Portfile explicitly lists use_parallel_build yes but sounds like it shouldn't be enabled.
comment:5 Changed 5 years ago by ben-macports@…
I had this same problem with qt4-mac 4.4.1_0, setting buildmakejobs to 1 allowed the install and activation to succeed.
comment:6 follow-up: ↓ 8 Changed 5 years ago by erickt@…
The problem ben's talking about should be fixed in macports 1.7 whenever that comes out. In the meantime I'll remove the use_parallel_build.
comment:8 in reply to: ↑ 6 Changed 4 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed
- Port set to qt4-mac
- Summary changed from qt4-mac 4.4.0_3 fails to build to qt4-mac 4.4.0_3 fails to destroot with MacPorts 1.6.0 when parallel build is enabled
Replying to erickt@…:
The problem ben's talking about should be fixed in macports 1.7 whenever that comes out. In the meantime I'll remove the use_parallel_build.
It looks like you never removed "use_parallel_build yes" which is fine since MacPorts 1.7.0 is out now which should fix it (because 1.7.0 only runs the build phase in parallel, and not the destroot phase like 1.6.0 did).

