Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266432 - kde4-functions.eclass gives misleading QA messages for qtcurve-qt4
Summary: kde4-functions.eclass gives misleading QA messages for qtcurve-qt4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 21:10 UTC by Jouni Rinne
Modified: 2009-06-05 09:24 UTC (History)
3 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 Jouni Rinne 2009-04-16 21:10:16 UTC
Qtcurve-qt4-0.62.7 throws a lot of weird errors, when installed with USE="-kde" (I don't have KDE4 installed). It seems to work all right despite the errors, but I'm reporting these because the ebuild especially asks me to :)

>>> Emerging (1 of 1) x11-themes/qtcurve-qt4-0.62.7
 * QtCurve-KDE4-0.62.7.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...           [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * QA Notice: using deprecated NEED_KDE variable, use KDE_REQUIRED="never" or KDE_REQUIRED="optional" instead. You may want to override KDE_MINIMAL as well (default is KDE_MINIMAL="4.2").
>>> Unpacking source...
>>> Unpacking QtCurve-KDE4-0.62.7.tar.bz2 to /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work
>>> Source unpacked in /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work
>>> Preparing source in /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work/QtCurve-KDE4-0.62.7 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work/QtCurve-KDE4-0.62.7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work/qtcurve-qt4_build"
loading initial cache file /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/temp/gentoo_common_config.cmake
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.5.0
-- Found OpenSSL: /usr/lib64/libssl.so
-- Looking for _POSIX_TIMERS
-- Looking for _POSIX_TIMERS - found
** WARNING: KDE4 headers not found, QtCurve's config dialog will not be built
-- <<< Gentoo configuration >>>
Build type: Gentoo
Install path: /usr

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work/qtcurve-qt4_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work/QtCurve-KDE4-0.62.7 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work/qtcurve-qt4_build"
make -j5 
[ 33%] Generating moc_qtcurve.cxx
Scanning dependencies of target qtcurve
[ 66%] [100%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o
Building CXX object style/CMakeFiles/qtcurve.dir/moc_qtcurve.o
Linking CXX shared library qtcurve.so
[100%] Built target qtcurve
>>> Source compiled.
>>> Test phase [not enabled]: x11-themes/qtcurve-qt4-0.62.7

>>> Install qtcurve-qt4-0.62.7 into /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/image/ category x11-themes
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/work/qtcurve-qt4_build"
make -j5 install DESTDIR=/var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/image/ 
[100%] Built target qtcurve
Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/image/usr/lib64/qt4/plugins/styles/qtcurve.so
-- Removed runtime path from "/var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/image//usr/lib64/qt4/plugins/styles/qtcurve.so"
>>> Completed installing qtcurve-qt4-0.62.7 into /var/tmp/portage/x11-themes/qtcurve-qt4-0.62.7/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   usr/lib64/qt4/plugins/styles/qtcurve.so

>>> Installing x11-themes/qtcurve-qt4-0.62.7
 * checking 5 files for package collisions
--- /usr/
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/qtcurve-qt4-0.62.7/
>>> /usr/share/doc/qtcurve-qt4-0.62.7/ChangeLog.bz2
>>> /usr/share/doc/qtcurve-qt4-0.62.7/TODO.bz2
>>> /usr/share/doc/qtcurve-qt4-0.62.7/README.bz2
>>> /usr/share/doc/qtcurve-qt4-0.62.7/AUTHORS.bz2
--- /usr/lib64/
--- /usr/lib64/qt4/
--- /usr/lib64/qt4/plugins/
--- /usr/lib64/qt4/plugins/styles/
>>> /usr/lib64/qt4/plugins/styles/qtcurve.so
>>> Safely unmerging already-installed instance...
No package files given... Grabbing a set.
--- replaced obj /usr/share/doc/qtcurve-qt4-0.62.7/TODO.bz2
--- replaced obj /usr/share/doc/qtcurve-qt4-0.62.7/README.bz2
--- replaced obj /usr/share/doc/qtcurve-qt4-0.62.7/ChangeLog.bz2
--- replaced obj /usr/share/doc/qtcurve-qt4-0.62.7/AUTHORS.bz2
--- replaced dir /usr/share/doc/qtcurve-qt4-0.62.7
--- replaced dir /usr/share/doc
--- replaced dir /usr/share
--- replaced obj /usr/lib64/qt4/plugins/styles/qtcurve.so
--- replaced dir /usr/lib64/qt4/plugins/styles
--- replaced dir /usr/lib64/qt4/plugins
--- replaced dir /usr/lib64/qt4
--- replaced dir /usr/lib64
--- replaced dir /usr
stat: cannot stat `/share/config': No such file or directory
 * Package qtcurve-qt4 is breaking /share/config permissions.
 * Please report this issue to gentoo bugzilla.
 * Permissions will get adjusted automatically now.
find: `/share/config': No such file or directory
chmod: missing operand after `755'
Try `chmod --help' for more information.
stat: cannot stat `/usr/share/kde4': No such file or directory
 * Package qtcurve-qt4 is breaking /share/kde4 permissions.
 * Please report this issue to gentoo bugzilla.
 * Permissions will get adjusted automatically now.
find: `/usr/share/kde4': No such file or directory
chmod: missing operand after `755'
Try `chmod --help' for more information.
find: `/share/kde4': No such file or directory
chmod: missing operand after `755'
Try `chmod --help' for more information.
>>> Original instance of package unmerged safely.
stat: cannot stat `/share/config': No such file or directory
 * Package qtcurve-qt4 is breaking /share/config permissions.
 * Please report this issue to gentoo bugzilla.
 * Permissions will get adjusted automatically now.
find: `/share/config': No such file or directory
chmod: missing operand after `755'
Try `chmod --help' for more information.
stat: cannot stat `/usr/share/kde4': No such file or directory
 * Package qtcurve-qt4 is breaking /share/kde4 permissions.
 * Please report this issue to gentoo bugzilla.
 * Permissions will get adjusted automatically now.
find: `/usr/share/kde4': No such file or directory
chmod: missing operand after `755'
Try `chmod --help' for more information.
find: `/share/kde4': No such file or directory
chmod: missing operand after `755'
Try `chmod --help' for more information.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2009-04-17 09:37:06 UTC
Thanks for the report! Strictly speaking these are not errors, but some sort of QA messages. I'll look into it.

Reassigning to maintainer (me).
Comment 2 Ben de Groot (RETIRED) gentoo-dev 2009-04-17 14:11:11 UTC
After looking into this, I find that qtcurve-qt4 does everything right. The QA notices generated by kde4-functions.eclass finds some file or dir that I cannot find which has the wrong permissions. The eclass blames the wrong package, or is simply completely wrong about the permissions issue.

Reassigning to kde team for further investigation.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-20 17:39:54 UTC
Should be fixed.
Try recompiling please.
Reopen if it is still borked.
As a sidenote, i thought i closed this bug already 3 days ago when i actualy fixed it :D
Comment 4 Martin von Gagern 2009-06-05 09:24:19 UTC
Hit this in postrm when updating from qtcurve-qt4-0.62.8. I guess it's because the broken eclass still lived in the environment of the ebuild, so I assume there is little which can be done about it.