Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261378 - x11-libs/qt-svg-4.5.0 unpacks non-existent directory
Summary: x11-libs/qt-svg-4.5.0 unpacks non-existent directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-05 22:38 UTC by Davide Pesavento (RETIRED)
Modified: 2009-03-07 23:15 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 Davide Pesavento (RETIRED) gentoo-dev 2009-03-05 22:38:58 UTC
>>> Unpacking source...
tar xjpf /var/tmp/portage/x11-libs/qt-svg-4.5.0/distdir/qt-x11-opensource-src-4.5.0.tar.bz2 qt-x11-opensource-src-4.5.0/configure qt-x11-opensource-src-4.5.0/LICENSE.GPL3 qt-x11-opensource-src-4.5.0/LICENSE.LGPL qt-x11-opensource-src-4.5.0/projects.pro qt-x11-opensource-src-4.5.0/src/qbase.pri qt-x11-opensource-src-4.5.0/src/qt_targets.pri qt-x11-opensource-src-4.5.0/src/qt_install.pri qt-x11-opensource-src-4.5.0/bin qt-x11-opensource-src-4.5.0/config.tests qt-x11-opensource-src-4.5.0/mkspecs qt-x11-opensource-src-4.5.0/qmake qt-x11-opensource-src-4.5.0/src/svg qt-x11-opensource-src-4.5.0/src/plugins/imageformats/svg qt-x11-opensource-src-4.5.0/src/plugins/iconengines/svgiconengine qt-x11-opensource-src-4.5.0/include/QtSvg/ qt-x11-opensource-src-4.5.0/include/Qt/ qt-x11-opensource-src-4.5.0/include/QtGui/ qt-x11-opensource-src-4.5.0/include/QtCore/ qt-x11-opensource-src-4.5.0/include/QtXml/ qt-x11-opensource-src-4.5.0/src/corelib/ qt-x11-opensource-src-4.5.0/src/gui/ qt-x11-opensource-src-4.5.0/src/plugins/ qt-x11-opensource-src-4.5.0/src/svg/ qt-x11-opensource-src-4.5.0/src/xml qt-x11-opensource-src-4.5.0/src/3rdparty
tar: qt-x11-opensource-src-4.5.0/src/svg: Not found in archive
tar: Exiting with failure status due to previous errors
>>> Source unpacked in /var/tmp/portage/x11-libs/qt-svg-4.5.0/work

In spite of the failure, the ebuild doesn't die, so I think it may also be useful to add a die call in qt4-build_src_unpack() if tar fails, to help catching this kind of problems earlier.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2009-03-05 22:49:43 UTC
Ok this bug seems invalid to me

hwoarang@Devil /usr/portage/distfiles/qt-x11-opensource-src-4.5.0/src $ ls|grep svg
svg

As you can see there is an svg folder on /src/ directory. Are you sure that your tarball isnt corrupted?
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2009-03-06 00:04:44 UTC
No, it isn't corrupt because checksums are correct.
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2009-03-06 00:11:32 UTC
"src/svg" is listed twice in the ebuild: once in QT4_TARGET_DIRECTORIES and once in QT4_EXTRACT_DIRECTORIES. But ${QT4_TARGET_DIRECTORIES} is assigned to QT4_EXTRACT_DIRECTORIES too, thus "src/svg" is extracted twice and tar probably gets confused.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2009-03-07 23:15:09 UTC
Ok this is fixed on cvs. Re-open this bug is needed

Thanks for reporting