Opened 14 years ago
Closed 12 years ago
#29421 closed defect (fixed)
qt4-mac generates Debug objects although debug-variant is not selected
Reported by: | bgschaid@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.2 |
Keywords: | Cc: | mkae (Marko Käning), 3add3287 (3add3287) | |
Port: | qt4-mac |
Description
During the compilation q4-mac uses enormous amounts of disc-space (5Gig and more). While checking I found out that in the subdirectories of src in the .obj directories there are directories debug-shared etc which use much more than their release counterparts. Also in the lib directory there are dylibs with a debug extension produced.
BUT: I don't have the debug-variant enabled and when I check the the contents with "port contents qt4-mac" then there are no debug-libraries.
As my system-disc is quite full this frequently breaks the upgrade of QT (lack of disc-space).
Change History (7)
comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to michaelld@… |
---|
comment:2 Changed 14 years ago by michaelld (Michael Dickens)
comment:3 Changed 13 years ago by demis.ucsb@…
I also can't build qt4 due to *only* having 3.5 Gigs free on my system disk... which of course is plenty for most "stuff", but this build just fills the whole thing up, and I gotta do a port clean to get the space back when if dies.
(Already did a Monolingual, and tried to free up other space - it's mostly apps and system files! Everything else is on other disks!)
Well, I hope for a smarter build at some point, until then I gotta live without Spyder. Keep up the good work folks!
comment:4 Changed 13 years ago by michaelld (Michael Dickens)
So I'm working on upgrading qt4-mac to 4.8.1, and it turns out that internally, no matter whether +debug is set, both the debug and release versions are built without further changes to the Qt build scripts. Seems like an awful waste to me, so I'm tweaking the build scripts to just build whatever version is requested: release or debug+release. This should cut down on compile time as well as disk usage. I don't know if it will be enough for y'all's needs, but it's better than nothing.
comment:7 Changed 12 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This issue should be fIxed in r94241. Please do the following
sudo port clean qt4-mac sudo port selfupdate
and then try to install or upgrade qt4-mac. 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.
Compiling Qt 4.7 (1) takes a long time; and (2) uses LOTS of disk space -- no matter what variants are selected. Qt 5.0 will split out the current build system into a 'core' with separate modules -- sort of like what Python does; this version will be out (they claim) in Q4'11 or Q1'12. Until then, I -highly- recommend that you find a way to clear up some disk space -- I was always told that you should keep 10+-% of the disk capacity free for "stuff" (e.g., swap space, extra compile space, whatever). I'll look into the extra debug stuff being built, but I doubt that there's anything I can do about it since it is probably an internal-QMake issue. Have you checked Qt tickets to see if anyone else has encountered this issue & reported it? Their forums are pretty good.