Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216997 - portage missing a dep on lzma-utils
Summary: portage missing a dep on lzma-utils
Status: RESOLVED DUPLICATE of bug 207193
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-09 08:38 UTC by Christopher Aiken
Modified: 2009-12-27 16:17 UTC (History)
2 users (show)

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 Christopher Aiken 2008-04-09 08:38:15 UTC
cannot emerge libpng-1.2.26 on gentoo 2007 (minimal) in amd64 environment

1.2.24-pngconf-setjmp.patch will not apply

[build log]
>>> Unpacking source...
>>> Unpacking libpng-1.2.26.tar.lzma to /var/tmp/portage/media-libs/libpng-1.2.26/work
unpack libpng-1.2.26.tar.lzma: file format not recognized. Ignoring.
/usr/portage/media-libs/libpng/libpng-1.2.26.ebuild: line 22: cd: /var/tmp/portage/media-libs/libpng-1.2.26/work/libpng-1.2.26: No such file or directory
 [32;01m*[0m Applying libpng-1.2.24-pngconf-setjmp.patch ...

 [31;01m*[0m Failed Patch: libpng-1.2.24-pngconf-setjmp.patch !
 [31;01m*[0m  ( /usr/portage/media-libs/libpng/files/libpng-1.2.24-pngconf-setjmp.patch )
 [31;01m*[0m 
 [31;01m*[0m Include in your bugreport the contents of:
 [31;01m*[0m 
 [31;01m*[0m   /var/tmp/portage/media-libs/libpng-1.2.26/temp/libpng-1.2.24-pngconf-setjmp.patch-24321.out


!!! ERROR: media-libs/libpng-1.2.26 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3448:   Called src_unpack
  libpng-1.2.26.ebuild, line 23:   Called epatch '/usr/portage/media-libs/libpng/files/libpng-1.2.24-pngconf-setjmp.patch'
  eutils.eclass, line 324:   Called die

!!! Failed Patch: libpng-1.2.24-pngconf-setjmp.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-libs/libpng-1.2.26/temp/build.log'.

Reproducible: Always

Steps to Reproduce:
1. install minimal 2007 gentoo amd64
2. use genkernel?
3. try to emerge libpng

Actual Results:  
i tried a new "emerge --sync" and ended up with the same problem

Expected Results:  
emerge and patch successfully before compiling

considered major? cannot use a lot of programs without libpng. could compile from source myself but considering package dependencies this should be fixed.

is there a way i can manually mask the current libpng-1.2.26, and use libpng-1.2.25 which is reported stable at http://packages.gentoo.org/package/media-libs/libpng ?

Thank You,
Christopher Aiken
Comment 1 Christopher Aiken 2008-04-09 08:55:10 UTC
ah. i have looked at the log more and i cannot unarchive a .lzma, and the app-arch/lzma-utils package is a "Blocked Package". oh what to do?
Comment 2 Christopher Aiken 2008-04-09 09:09:34 UTC
After explicitly typing "emerge app-arch/lzma-utils" the lzma-utils will install. But portage will not decompress the file at 
"/usr/portage/distfiles/libpng-1.2.26.tar.lzma" automatically.
You can try to manually decompress it to the work directory at "/var/tmp/portage/media-libs/libpng-1.2.26/work" however when you try to emerge to work on the files, they are erased.

Please have the package / portage maintainer for this package release it as a gz or bz2 please.
Comment 3 Christopher Aiken 2008-04-09 09:34:38 UTC
i fixed the problem by emerging the latest portage that is capable of unarchiving the .lzma (emerge --nodeps portage). (still requires app-arch/lzma-utils).
Comment 4 genbug 2008-05-08 01:25:57 UTC
so shouldn't this be dep of portage. I have the following but no call for lmza-utils

[ebuild   R   ] sys-apps/portage-2.1.5_rc7 
Comment 5 Christopher Aiken 2008-05-08 04:17:31 UTC
(In reply to comment #4)
> so shouldn't this be dep of portage. I have the following but no call for
> lmza-utils
> 
> [ebuild   R   ] sys-apps/portage-2.1.5_rc7 
> 

pretty much i found out it goes like this:

you need a portage that recognizes that the downloaded package is an lzma archive. hence requiring the upgrade to the latest portage. (so yes, in this way it is dependant on portage).

AND THEN you need to emerge the lzma-utils to actually get everything unpackaged  (after emerging to latest portage).

i was using gentoo-amd64 2007 at the time. i imagine the latest portage and lzma-utils have been implemented in the 2008 (beta?) minimal release
Comment 6 Jan Kundrát (RETIRED) gentoo-dev 2008-05-08 07:10:35 UTC
.
Comment 7 Mart Raudsepp gentoo-dev 2008-05-08 14:00:57 UTC
Please do not introduce a libstdc++.so dependency on portage. Thank you.
Comment 8 SpanKY gentoo-dev 2008-05-10 07:24:38 UTC

*** This bug has been marked as a duplicate of bug 207193 ***