[Bug 463153] New: xorg-x11-libs RPM spec inefficiently extracts ALL *.tar. bz2 in $RPM_SOURCE_DIR
https://bugzilla.novell.com/show_bug.cgi?id=463153 Summary: xorg-x11-libs RPM spec inefficiently extracts ALL *.tar.bz2 in $RPM_SOURCE_DIR Product: openSUSE 11.1 Version: Final Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: X.Org AssignedTo: sndirsch@novell.com ReportedBy: matt@genesi-usa.com QAContact: xorg-maintainer-bugs@forge.provo.novell.com CC: pczanik@genesi-usa.com Found By: --- While compiling xorg-x11-libs RPM for myself (to --enable-vmx for a special AltiVec test) I noticed that the following line is being executed; %setup -T -c %{name} for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done pushd libXrandr-* Since I have far more packages in /usr/src/packages/SOURCES than just xorg-x11-libs, it is extracting every single one of them before it compiles anything. This is incredibly wasteful and takes an inordinate amount of time out of development, complicating the whole setup. I am going to write a hack to stop it from doing this (since it should only extract named archives relevant to the build really) but if someone gets there first could they attach it to this bugreport? Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User matt@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c1 --- Comment #1 from Matt Sealey <matt@genesi-usa.com> 2008-12-31 14:46:17 MST --- Created an attachment (id=262931) --> (https://bugzilla.novell.com/attachment.cgi?id=262931) efficiently unpacks only the required files for xorg-x11-libs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User matt@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c2 --- Comment #2 from Matt Sealey <matt@genesi-usa.com> 2008-12-31 14:49:10 MST --- (From update of attachment 262931) It's rather a dumb solution, I was kind of hoping to find a rather cleverer way to do it, but this does in fact work for now and my build started about 10x sooner because of the fewer extractions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #262931|application/octet-stream |text/plain mime type| | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c3 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #3 from Stefan Dirsch <sndirsch@novell.com> 2009-01-01 13:25:10 MST --- The issue is that RPM extract all sources to the same directory. Using such a workaround as you propose makes errors more likely in the future since you need to change things at two places ("Source:" line and "%setup" section) when you add new sources. ==> WONTFIX -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User matt@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c4 --- Comment #4 from Matt Sealey <matt@genesi-usa.com> 2009-01-01 14:18:45 MST --- Indeed my fix sucks but there must be a better way. I have kernel source RPMs and suchlike installed and these take forever to extract (and take a lot of disk space for no good reason, since they're not going to be built). I am sure there is a much cleverer way (isn't there a spec variable which concatenates all Source: lines into something like this? I just can't find any documentation on it). I'll ask a question here since it seems to be your package to maintain, why is xorg-x11-libs a single package when other distributions have fully modularized as per modular X.org? Is this just a legacy from older X that was never fully broken up once it went modular? I noticed that libpixman was rolled into it at least in the far past.. after being a seperate package. It would solve the problem once and for all and allow a much more fine-grained X configuration (and a less convoluted source RPM) to have each of these libs as seperate RPMs? I am just wondering what the reasons for this decision were. Would Novell/openSUSE accept a "patch" which split these into seperate RPMs "again"? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c5 --- Comment #5 from Stefan Dirsch <sndirsch@novell.com> 2009-01-01 14:26:39 MST --- I'm not aware of a spec variable, which concatenates all Source: lines. :-( It's much easier to maintain one package/specfile than 34. I don't have the ressources for such a change. I'm not aware of libpixman being a seperate package before. I doubt this. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User matt@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c6 --- Comment #6 from Matt Sealey <matt@genesi-usa.com> 2009-01-01 14:46:09 MST --- Okay no problem. Re pixman; the Cairo spec shows: # Last present in SuSE Linux 10.0 (and NLD9): Obsoletes: libpixman <= 0.1.1 Provides: libpixman <= 0.1.1 Basically it looks like it was a seperate package for a small amount of time.. I could be mistaken, but it seems pixman has been moved in and out of other packages (including Cairo, which has had it "included" and then patches "not needed" too... weird stuff IMO). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c7 --- Comment #7 from Stefan Dirsch <sndirsch@novell.com> 2009-01-01 14:58:13 MST --- Sorry, I don't know anything about the cairo package. I added libpixman after the dependancy to it had been added to xorg-server. Probably there was once a libpixman <= 0.1.1 package, that then has been obsoleted later by cairo, but now we are at libpixman 0.12.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User matt@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c8 Matt Sealey <matt@genesi-usa.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Component|X.Org |Other Depends on| |466222 Resolution|WONTFIX | AssignedTo|sndirsch@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com QAContact|xorg-maintainer-bugs@forge. |qa@suse.de |provo.novell.com | --- Comment #8 from Matt Sealey <matt@genesi-usa.com> 2009-01-14 15:16:36 MST --- Making this a dependent.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User sndirsch@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c9 Stefan Dirsch <sndirsch@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |sndirsch@novell.com Resolution| |WONTFIX --- Comment #9 from Stefan Dirsch <sndirsch@novell.com> 2009-01-14 15:42:37 MST --- No idea why you reopened this bug. Nothing has changed here. I can only repeat my arguments. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=463153 User matt@genesi-usa.com added comment https://bugzilla.novell.com/show_bug.cgi?id=463153#c10 --- Comment #10 from Matt Sealey <matt@genesi-usa.com> 2009-01-14 16:04:20 MST --- I didn't mean to. I was trying to add another bug and play with dependencies and somehow it reopened it. I probably just forgot which tab was which and clicked the wrong one :) Sorry. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com