Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32872 - Emerging app-admin/hpasm is failing during the tar stage
Summary: Emerging app-admin/hpasm is failing during the tar stage
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-06 05:49 UTC by JF Burdet
Modified: 2004-03-16 11: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 JF Burdet 2003-11-06 05:49:07 UTC
This problem appens on HP Proliant DL380G3 and also on a regular PC running gentoo.

You'll find a screen dump here :

lnxjfb root # emerge hpasm
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/hpasm-6.30.0.12-r1 to /
>>> md5 src_uri ;-) hpasm-6.30.0-12.Redhat8_0.i386.rpm
>>> Unpacking source...
found gzip magic bytes
  trying to decompress with gzip...  OK

tar: ./opt/compaq/hpasm/addon/libcpqci.so: Cannot change ownership to uid 0, gid
250: No such file or directory
tar: ./opt/compaq/hpasm/addon/libcpqci.so.1: Cannot change ownership to uid 0,
gid 250: No such file or directory
tar: ./usr/share/pixmaps/m_yellow.gif: Cannot change ownership to uid 0, gid
250: No such file or directory
tar: ./usr/share/pixmaps/m_red.gif: Cannot change ownership to uid 0, gid 250:
No such file or directory
tar: ./usr/share/pixmaps/m_green.gif: Cannot change ownership to uid 0, gid 250:
No such file or directory
tar: ./usr/share/pixmaps/m_fail.gif: Cannot change ownership to uid 0, gid 250:
No such file or directory
tar: ./usr/share/pixmaps/m_blue.gif: Cannot change ownership to uid 0, gid 250:
No such file or directory
tar: ./usr/share/pixmaps/hplogo.xbm: Cannot change ownership to uid 0, gid 250:
No such file or directory
tar: ./sbin/imlbe: Cannot change ownership to uid 0, gid 250: No such file or
directory
tar: ./sbin/hpuid: Cannot change ownership to uid 0, gid 250: No such file or
directory
tar: ./sbin/hplog: Cannot change ownership to uid 0, gid 250: No such file or
directory
tar: ./sbin/hpimlview: Cannot change ownership to uid 0, gid 250: No such file
or directory
tar: ./sbin/cpqimlview.tcl: Cannot change ownership to uid 0, gid 250: No such
file or directory
tar: ./sbin/cpqimlview: Cannot change ownership to uid 0, gid 250: No such file
or directory
tar: Error exit delayed from previous errors

!!! ERROR: app-admin/hpasm-6.30.0.12-r1 failed.
!!! Function src_unpack, Line 23, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge hpasm

Actual Results:  
emerging ebuild is failing.


Expected Results:  
emerging ebuild should be successfull :-)

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 Intel(R) Xeon(TM) CPU 2.80GHz
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/opt/tomcat/conf"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif imlib jpeg libg++ mad
mikmod motif mpeg ncurses nls oggvorbis pdflib png quicktime sdl spell svga
truetype xml2 xmms xv zlib gdbm berkdb slang readline java mysql postgres gpm
tcpd pam libwww ssl perl python qt opengl gd -gtk -kde -gnome -X"
Comment 1 JF Burdet 2003-11-24 08:31:05 UTC
What's up with this bug ?

If I can help you to solve it, just ask.
Comment 2 Cahya 2003-12-05 16:28:19 UTC
I have the same problem, it seams that the line
rpm2targz ${DISTDIR}/hpasm-6.30.0-12.Redhat8_0.i386.rpm in ebuild
doesn't work properly .

cahya.
Comment 3 Denis Roy 2003-12-28 15:31:03 UTC
I've had the same problem here too. Although, the problem doesn't seem to be in the following line:
    rpm2targz ${DISTDIR}/hpasm-6.30.0-12.Redhat8_0.i386.rpm || die

but more likely in this one:
    tar zxf ${S}/hpasm-6.30.0-12.Redhat8_0.i386.tar.gz || die

as I was able to find the .tar.gz resulting from the rpm2targz command in my $WORKDIR and was even able to successfully untar it manually with "tar -xzf"

I never really had to peek into the whole portage scripts (it has always worked well for me) so I wasn't able find a resolution right away but I'll try to manually install what comes out of the tar.gz and once I get it to work, I might be able to concentrate more and solve the problem once my server fan is properly slowed down to a "I can hear myself think" level.. (those with a DL380 will understand my plight ehehe)




Comment 4 Denis Roy 2003-12-29 04:28:06 UTC
I manually instaled hpasm but it wouldn't create its kernel modules against my 2.6.0 kernel. when I tried, all I got was two screenfuls of error messages (you gotta love binary-only stuff)

One other thing I noticed is in /opt/compaq/*, some files in there (especially in hpasm/etc) seems to be looking for or expecting Redhat-style runlevel/init so all that got me to wonder if this package would even work on a gentoo system, be it with kernel 2.2.x or 2.4.x (you gotta love remise-en-question)

Anyways, stay tuned - I'll try to find some time to have a closer look at the whole thing. I'm thinking of compiling a 2.4 kernel, retrying to manually compile the hpasm modules against that source tree and then loading the resulting modules with my 2.6 (you gotta love module versioning)
Comment 5 Joshua Brindle (RETIRED) gentoo-dev 2004-03-16 04:02:09 UTC
I no longer have access to hp equipment so i can't even test this ebuild, bouncing back to bugwranglers, maybe they can find someone
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-16 11:21:13 UTC
fixed in cvs, the ebuild (without revision bump) should unpack and install just fine now