Ticket #31879 (closed defect: fixed)
qt4-mac build failed on Tiger
| Reported by: | rudloff@… | Owned by: | michaelld@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.3 |
| Keywords: | tiger | Cc: | ryandesign@… |
| Port: | qt4-mac |
Description
MacBook-Rudloff:~ pierre$ sudo port install qt4-mac ---> Computing dependencies for qt4-mac ---> Building qt4-mac Error: Target org.macports.build returned: shell command failed (see log for details) Log for qt4-mac is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_aqua_qt4-mac/qt4-mac/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments
Change History
comment:1 Changed 19 months ago by michaelld@…
I know this will take a long time, but I need a full log file including the configure stage. Can you do:
sudo port clean qt4-mac sudo port selfupdate sudo port install qt4-mac
and then if/when it errors out, copy the log somewhere & then compress it before attaching to this ticket.
comment:2 Changed 19 months ago by ryandesign@…
Googling the error message, I find this report, which includes a patch:
comment:3 Changed 19 months ago by ryandesign@…
- Owner changed from macports-tickets@… to michaelld@…
- Cc ryandesign@… added; michaelld@… removed
comment:4 Changed 19 months ago by michaelld@…
Can the OP verify that this patch works, please? I'll try adding it locally & seeing if it works for me (though, Qt already compiles for me correctly, so I guess this is just verifying that it continues to compile correctly for me).
Changed 19 months ago by michaelld@…
- Attachment qt4-mac-svn.diff added
trial patch for qt4-mac to address ticket issue
comment:5 Changed 19 months ago by michaelld@…
I just attached a patch that changes both the Portfile (to add the patchfile-append) as well as adds the patchfile itself. I'll be using these for my testing this morning.
comment:6 Changed 19 months ago by ryandesign@…
I'm testing on Tiger too. Currently building qt4-mac as-is to verify the problem. Assuming it fails, I'll try the patch. This will take a couple days to do; my G4 is not fast and qt4-mac is huge. I'll try to test on i386 too.
comment:7 Changed 19 months ago by rudloff@…
Here is the full log (without patch). I will now try with the patch.
comment:8 Changed 19 months ago by michaelld@…
With the patch (and without) it builds for me -- 10.6, 64-bit, XCode 3.2.3. I haven't tried 10.7 yet.
comment:10 Changed 19 months ago by ryandesign@…
I confirmed the issue on both of my Tiger installations, and verified the patch fixed it on i386. The ppc build is still running.
comment:11 Changed 19 months ago by ryandesign@…
Yes the patch fixes it on ppc too.
comment:12 Changed 19 months ago by michaelld@…
- Status changed from new to closed
- Resolution set to fixed
Committed in r86944. Thanks for the quick checking everyone!

