Summary: | sys-apps/portage-2.1.8.3: /usr/lib/portage/bin/misc-functions.sh: fails to build rpm from ebuild with missing $FILESDIR | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey S. Starikoff <Ikonta> |
Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 335925 |
Description
Sergey S. Starikoff
2010-10-26 08:11:47 UTC
What version of tar? 1.24? Does downgrading to 1.23-r3 help? Duplicate of bug 342735? *downgrading to 1.23-r4, sorry *** This bug has been marked as a duplicate of bug 342735 *** (In reply to comment #1) > What version of tar? 1.24? Does downgrading to 1.23-r3 help? Duplicate of bug > 342735? > No. Current stable tar (app-arch/tar-1.23-r2, last sync this monday, today sync prompted it status). Attemp to build rpm for tar package also failed with the following error: /usr/lib/portage/bin/misc-functions.sh: line 778: rpmbuild: command not found * ERROR: app-arch/tar-1.23-r2 failed: * Failed to integrate rpm spec file * * Call stack: * misc-functions.sh, line 804: Called dyn_rpm * misc-functions.sh, line 778: Called die * The specific snippet of code: * rpmbuild -bb --clean --rmsource "${PF}.spec" || die "Failed to integrate rpm spec file" * * If you need support, post the output of 'emerge --info =app-arch/tar-1.23-r2', * the complete build log and the output of 'emerge -pqv =app-arch/tar-1.23-r2'. * The complete build log is located at '/var/tmp/portage/app-arch/tar-1.23-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-arch/tar-1.23-r2/temp/environment'. * S: '/var/tmp/portage/app-arch/tar-1.23-r2/work/tar-1.23' do you have rpm & rpmbuild installed ? if not, this isnt a bug in portage. you need to install rpm if you expect to be able to build rpms. Excuse me, I was a little bit mistaken. Oryginally the bug was taken on my home PC. Where I've already built rpm's And after that, before report, I've reproduced it on my workstation. On my workstation app-arch/rpm really wasn't installed. After I've installed it, I've the app-arch/tar rpm was packed, but media-sound/mp3unicode failed with the same error: tar: /usr/portage/media-sound/mp3unicode/files: Cannot stat: No such file or directory This should fix it: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=142f30000454ac002334ebbecc3ad4010b64e796 This is fixed in 2.1.9.24 and 2.2.0_alpha3. thanks |