Opened 10 years ago

Closed 10 years ago

#44397 closed defect (fixed)

qt5-mac: use conflicts_build portgroup

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: haspatch Cc:
Port: qt5-mac

Description

qt5-mac doesn't build if qt4-mac is active.

qt5-mac already has a prohibition on configuring while qt4-mac is active, but not on building. To test whether qt5-mac can build while qt4-mac is active, I did the following:

sudo port -f deactivate qt4-mac
sudo port configure qt5-mac
sudo port activate qt4-mac
sudo port build qt5-mac

The result was an immediate build failure per the attached main.log file. So qt5-mac should prohibit both configuring and building while qt4-mac is active. That's exactly what the conflicts_build portgroup is for, so I suggest using that, as in the attached patch.

Attachments (2)

main.log (163.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
qt5-mac.diff (1.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 10 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: qt5-mac.diff added

proposed patch

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

Resolution: fixed
Status: newclosed

r124065; maintainer timeout

Note: See TracTickets for help on using tickets.