Opened 13 years ago
Closed 13 years ago
#29634 closed defect (fixed)
phonon: configure errors QMAKESPEC not set
Reported by: | pixilla (Bradley Giesbrecht) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | haspatch | Cc: | |
Port: | phonon |
Description (last modified by pixilla (Bradley Giesbrecht))
Adding "-spec macx-g++" to configure.args appears to fix this.
Attachments (2)
Change History (9)
Changed 13 years ago by pixilla (Bradley Giesbrecht)
Changed 13 years ago by pixilla (Bradley Giesbrecht)
Attachment: | patch-Portfile.diff added |
---|
comment:1 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Description: | modified (diff) |
---|
comment:2 Changed 13 years ago by jmroot (Joshua Root)
comment:3 Changed 13 years ago by pixilla (Bradley Giesbrecht)
QT related ports take a long time to build and I am not very familiar with QT. I would like someone more familiar with QT to look at my patch. I have emailed the maintainer of qt4-mac asking for a patch review.
To me, this looks like something the QT PortGroup should setup.
comment:4 Changed 13 years ago by michaelld (Michael Dickens)
IMHO, if this work, go for it. Adding "-spec macx-g++" just makes the project build specifically for OSX / G++. I do find it odd that the -spec is not determined automatically (or, maybe, using a default), like it usually is by QMake. In the future, if I ever get back around to working on the qt4-x11 port (or, qt4 +x11 someday), we'll need to revisit this addition since it'll require the (IIRC) darwin-g++ spec. But, for now, I think you're safe adding this change.
comment:5 Changed 13 years ago by pixilla (Bradley Giesbrecht)
I have a clean MacPorts (no ports installed) with a prefix of /opt/macports-clean.
I have some variants set in variants.conf.
$ grep -E "^[^#]" /opt/macports-clean/etc/macports/variants.conf +no_startupitem +no_x11 -x11 +quartz
When building the skrooge port I get several failures on dependent ports with this error:
QMAKESPEC has not been set, so configuration cannot be deduced
Some of these ports are:
- phonon
- qca
- strigi (strigi has an undeclared dependency on qmake)
Added qmake "QMAKESPEC" env var to configure.env, build.env, destroot.env and cmake with value "macx-g++" to the qt4 PortGroup (r79057).
Now phonon, qca and strigi (after adding PortGroup qt4 to strigi) install without error.
comment:6 Changed 13 years ago by michaelld (Michael Dickens)
Your Qt4 PortGroup change looks OK to me; if it doesn't work, I guarantee you that end-users will start complaining within the next few days :)
comment:7 Changed 13 years ago by pixilla (Bradley Giesbrecht)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed r79057
Why open a ticket with a patch for a nomaintainer port?