Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#33705 closed defect (fixed)

qt4-mac-devel build fail on 10.5 with SDK 10.5

Reported by: liampg72@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: qt4-mac-devel

Description

I think this is a known bug, see below:

https://bugreports.qt-project.org/browse/QTBUG-23258

Could this patch be implemented here please?

Cheers, Liam

Attached: output of "sudo port -u -v install qt4-mac-devel

Attachments (1)

qt4-mac-devel.txt (31.5 KB) - added by liampg72@… 12 years ago.
sudo port -u -v install qt4-mac-devel

Download all attachments as: .zip

Change History (9)

Changed 12 years ago by liampg72@…

Attachment: qt4-mac-devel.txt added

sudo port -u -v install qt4-mac-devel

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: michaelld@… removed
Owner: changed from macports-tickets@… to michaelld@…

comment:2 in reply to:  1 Changed 12 years ago by liampg72@…

Replying to ryandesign@…:

Hi, not to pester or anything, but is there any update on this bug? I realise that it is a problem with Qt and there is some discussion on the following page, but there is also a temporary patch which can be applied. Is it possible to make this patch in the port, or does it need to be done locally?

https://bugreports.qt-project.org/browse/QTBUG-23258

Cheers, Liam

comment:3 Changed 12 years ago by michaelld (Michael Dickens)

I'll be upgrading qt4-mac to 4.8.1 about 1 week from today, and I'll include this patch as part of that update. Sorry for the delay; got a lot in my queue right now.

comment:4 Changed 12 years ago by liampg72@…

Thank you. I've made the patch locally for now but I haven't tested it fully. I'll pass on any erroneous behaviour, but I doubt I'll find any as I'm not using this part of Qt. Cheers

comment:5 Changed 12 years ago by michaelld (Michael Dickens)

After reviewing this patch, it looks like I just need to include the section for MediaPlayerPrivateQTKit.mm ; the other patch (on 'configure') should already be performed. I don't run 10.5 any longer, so in your testing if you could do a fresh build of qt4-mac-devel, without further patches, and wait until it errors out. Then, patch MediaPlayerPrivateQTKit.mm as directed, and re-issue the build command -- 'port' will just resume where it left off, and if the change works then that's all I need to do. Thanks for helping test this out!

comment:6 Changed 12 years ago by liampg72@…

Yes, simply adding the small definitions in MediaPlayerPrivateQTKit.mm allowed the build to continue past that point and complete with no problems.

Thanks for your work!

comment:7 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

This issue should be fIxed in r94241. Please do the following

sudo port clean qt4-mac-devel
sudo port selfupdate

and then try to install or upgrade qt4-mac (not qt4-mac-devel). I'm closing this ticket, since it now refers to an old version of qt4-mac. Please open a new ticket if this issue persists with the new qt4-mac.

comment:8 Changed 12 years ago by liampg72@…

Hi there,

Very sorry for not responding earlier but I was too scared to mess around with Qt since I had it in a working state and had work to do. Turns out I've eventually upgraded to 10.6 and have to reinstall it anyway. I noticed the current version of qt4-mac is 4.8.2 and -devel is only 4.8.0, so I will stick with qt4-mac this time and file a new ticket if anything else crops up. Hopefully not! Sorry I couldn't help any further...

Cheers, Liam

Note: See TracTickets for help on using tickets.