Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28557 - unpack should handle tbz files as tbz2 files
Summary: unpack should handle tbz files as tbz2 files
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-12 15:29 UTC by Mr. Bones. (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Bones. (RETIRED) gentoo-dev 2003-09-12 15:29:11 UTC
Sometimes people will package tar'd and bzip2'd files as .tbz files to make
DOS happy (8.3).  unpack in portage-2.0.49-r3 doesn't know how to deal with this
so I have to manually do it in my ebuild.  It would be a one-line change to
ebuild.sh to have unpack support this.

Should be:

tbz2|tbz)

in unpack() and it will work fine.


Reproducible: Always
Steps to Reproduce:


Actual Results:  
unpack blah.tbz: file format not recognized. Ignoring.

Expected Results:  
unpack should be able to unpack .tbz files

Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.4.20-gentoo-r6)=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) processor
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=i686 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/fonts /etc/bash_completion /usr/X11R6/lib/X11/xkb
/etc/X11/serverconfig /etc/X11/app-defaults /etc/X11/starthere /etc/ssmtp
/etc/sound/events /etc/X11/rstart /etc/X11/xdm /etc/pango /etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=i686 -O3 -pipe -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache cvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/home/msterret/gentoo-x86"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad
mikmod mmx mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib
directfb gdbm berkdb slang readline arts aalib nas bonobo ggi java guile X sdl
gpm tcpd pam ssl python esd oggvorbis gnome gtk opengl cdr -tcltk -emacs -svga
-doc -motif -nls -imlib -kde -qt perl mozilla dvd gtk2 tiff cscope"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-09-14 17:51:18 UTC
bz != bz2

They are two different schemes.
That's not a safe assumtion really.

And what packages do that, btw?
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2003-09-15 19:36:12 UTC
Just one and I'm going to email upstream to get them to change it.

I think I was just being lazy when I entered this bug.  I'm going to close it.