Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952020 - app-arch/lzma-19.00 - unpack: failure unpacking lzma-19.00.7z
Summary: app-arch/lzma-19.00 - unpack: failure unpacking lzma-19.00.7z
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Johannes Willem (Hans) Fernhout
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-03-25 08:06 UTC by Toralf Förster
Modified: 2025-03-26 22:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.66 KB, text/plain)
2025-03-25 08:06 UTC, Toralf Förster
Details
app-arch:lzma-19.00:20250325-013553.log (app-arch:lzma-19.00:20250325-013553.log,1.54 KB, text/plain)
2025-03-25 08:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,251.72 KB, text/plain)
2025-03-25 08:06 UTC, Toralf Förster
Details
environment (environment,66.41 KB, text/plain)
2025-03-25 08:06 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.59 KB, application/x-xz)
2025-03-25 08:06 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.30 KB, application/x-xz)
2025-03-25 08:06 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.00 KB, application/x-xz)
2025-03-25 08:06 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,71.11 KB, application/x-xz)
2025-03-25 08:06 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-03-25 08:06:15 UTC
>>> Unpacking source...
>>> Unpacking lzma-19.00.7z to /var/tmp/portage/app-arch/lzma-19.00/work
/usr/lib/portage/python3.12/phase-helpers.sh: line 425: 7z: command not found

 * ERROR: app-arch/lzma-19.00::gentoo failed (unpack phase):
 *   unpack: failure unpacking lzma-19.00.7z
 * 
 * Call stack:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20250319-124003

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.1
llvm-config: 20.1.1
Python 3.12.9
go version go1.24.1 linux/amd64
  [1]   php8.4 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.1
  [2]   rust-1.85.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit fe4f126ad56c1cd719cc3790f45b8bd82bebd4cc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 25 00:35:18 2025 +0000

    2025-03-25 00:35:18 UTC

emerge -qpvO =app-arch/lzma-19.00
[ebuild  N    ] app-arch/lzma-19.00  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2025-03-25 08:06:16 UTC
Created attachment 922583 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-25 08:06:17 UTC
Created attachment 922584 [details]
app-arch:lzma-19.00:20250325-013553.log
Comment 3 Toralf Förster gentoo-dev 2025-03-25 08:06:18 UTC
Created attachment 922585 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-25 08:06:20 UTC
Created attachment 922586 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-25 08:06:20 UTC
Created attachment 922587 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-25 08:06:21 UTC
Created attachment 922588 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-25 08:06:22 UTC
Created attachment 922589 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-25 08:06:23 UTC
Created attachment 922590 [details]
qlist-info.txt.xz
Comment 9 Larry the Git Cow gentoo-dev 2025-03-25 08:15:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0d848e9ff18dff2ec1a47d4c4487e010edd80c8

commit b0d848e9ff18dff2ec1a47d4c4487e010edd80c8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-25 08:14:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-25 08:14:22 +0000

    unpacker.eclass: fix 7zip dep
    
    We have to depend on the right minimum version (and USE=symlink) to get
    '7z'.
    
    Bug: https://bugs.gentoo.org/942397
    Closes: https://bugs.gentoo.org/952020
    Fixes: 0dbde702f43e075d88332b42c93287b200028691
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/unpacker.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 10 Larry the Git Cow gentoo-dev 2025-03-26 22:54:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52698ae760c428b367d4fd926e3f46242afe964f

commit 52698ae760c428b367d4fd926e3f46242afe964f
Author:     NRK <nrk@disroot.org>
AuthorDate: 2025-03-25 12:54:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-26 22:53:38 +0000

    app-arch/lzma: upgrade to EAPI 8
    
    needed so that unpacker can unpack the 7z files.
    
    [sam: Add more trailers.]
    
    Fixes: eed97d7edf59677017edc7feebb75b9a6056eebd
    Bug: https://bugs.gentoo.org/942397
    Closes: https://bugs.gentoo.org/952020
    Signed-off-by: NRK <nrk@disroot.org>
    Closes: https://github.com/gentoo/gentoo/pull/41280
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/lzma/lzma-19.00.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d33762e29e5a768a25abd7ca895d7b55e6f5951d

commit d33762e29e5a768a25abd7ca895d7b55e6f5951d
Author:     NRK <nrk@disroot.org>
AuthorDate: 2025-03-25 12:51:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-26 22:53:29 +0000

    Revert "unpacker.eclass: fix 7zip dep"
    
    unpacker already checks for 7zz (always provided by
    app-arch/7zip) and uses it if available and thus 7z symlink was
    not necessary.
    
    the problem was in app-arch/lzma using EAPI=7, unpacker doesn't
    handle 7z files when below EAPI=8
    
    This reverts commit b0d848e9ff18dff2ec1a47d4c4487e010edd80c8.
    
    [sam: Add more Bug: trailers.]
    
    Bug: https://bugs.gentoo.org/942397
    Bug: https://bugs.gentoo.org/952020
    Signed-off-by: NRK <nrk@disroot.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/unpacker.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)