After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 313249 - Need an "extract-to" field or something similar for tarball modules
Need an "extract-to" field or something similar for tarball modules
Status: RESOLVED FIXED
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: James Henstridge
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2005-08-11 18:44 UTC by Elijah Newren
Modified: 2005-10-06 21:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Elijah Newren 2005-08-11 18:44:52 UTC
When trying to build all of Gnome with tarballs in jhbuild, I found that mozilla
provides tarballs of the form mozilla-1.7.11-source.tar.bz2 which, when
extracted, creates a 'mozilla' directory instead of a 'mozilla-1.7.11-source'
directory.  This causes jhbuild/modtypes/tarball.py:do_unpack() to fail with a
"could not unpack tarball" message as it expects the latter directory name
instead of the former.

It appears that mozilla is the only module that causes this kind of problem
currently, so adding mozilla to the skip list and just using vendor mozilla
development packages is a decent workaround for now.
Comment 1 James Henstridge 2005-08-15 06:07:56 UTC
Sounds sensible.  We have similar options for the CVS, Subversion and Arch
module types.
Comment 2 James Henstridge 2005-09-13 04:01:43 UTC
Committed a fix, adding a "checkoutdir" attribute to <tarball> (I know you don't
"check out" tarballs, but it is the same attribute name used for the other
module types).
Comment 3 Elijah Newren 2005-09-13 04:30:14 UTC
Cool, thanks!  Now I just need to fix up my scripts to use it so that we can
have complete build-from-tarball-with-jhbuild modulesets for Gnome releases.  :-)
Comment 4 James Henstridge 2005-09-13 08:06:38 UTC
You probably don't need it, but there is an example of its use in the gnome-2.12
module set for the "iso-codes" module, in order to handle the weird-arse Debian
tarball naming conventions.
Comment 5 Elijah Newren 2005-10-06 21:28:54 UTC
*** Bug 172904 has been marked as a duplicate of this bug. ***