Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288417 - >=x11-themes/qtcurve-qt4-0.69.0 fails to build without kde-4 being installed: error: kstandarddirs.h: No such file or directory
Summary: >=x11-themes/qtcurve-qt4-0.69.0 fails to build without kde-4 being installed:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 11:37 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2009-10-18 23:02 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,4.24 KB, text/plain)
2009-10-10 11:41 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-10 11:37:25 UTC
>>> Working in BUILD_DIR: "/var/tmp/portage/x11-themes/qtcurve-qt4-0.69.0/work/QtCurve-KDE4-0.69.0_build"
make -j1
[ 33%] Generating moc_qtcurve.cxx
Scanning dependencies of target qtcurve
[ 66%] Building CXX object style/CMakeFiles/qtcurve.dir/qtcurve.o
In file included from /var/tmp/portage/x11-themes/qtcurve-qt4-0.69.0/work/QtCurve-KDE4-0.69.0/style/qtcurve.cpp:29:
/var/tmp/portage/x11-themes/qtcurve-qt4-0.69.0/work/QtCurve-KDE4-0.69.0/common/config_file.c:454:27: error: kstandarddirs.h: No such file or directory
In file included from /var/tmp/portage/x11-themes/qtcurve-qt4-0.69.0/work/QtCurve-KDE4-0.69.0/style/qtcurve.cpp:29:
/var/tmp/portage/x11-themes/qtcurve-qt4-0.69.0/work/QtCurve-KDE4-0.69.0/common/config_file.c: In function ‘const char* qtcConfDir()’:
/var/tmp/portage/x11-themes/qtcurve-qt4-0.69.0/work/QtCurve-KDE4-0.69.0/common/config_file.c:540: error: ‘KStandardDirs’ has not been declared
make[2]: *** [style/CMakeFiles/qtcurve.dir/qtcurve.o] Error 1
make[1]: *** [style/CMakeFiles/qtcurve.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: x11-themes/qtcurve-qt4-0.69.0 failed:
 *   Make failed!


Reproducible: Always

Steps to Reproduce:




# emerge --info qtcurve-qt4
Portage 2.2_rc44 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.27.36 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.27.36-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2380-with-gentoo-2.0.1
Timestamp of tree: Sat, 10 Oct 2009 05:30:18 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/udev/rules.d /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr emboss encode evo fam ffmpeg firefox flac gdbm gif gnutls gtk iconv idn isdnlog jpeg jpeg2k kde lame libnotify lzma mad midi mmap mmx mmxext modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf png ppds pppd qt3 qt3support qt4 quicktime readline reflection sdl session slang spell spl sse sse2 ssl startup-notification svg sysfs theora threads thunar tiff truetype unicode usb vcd vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

x11-themes/qtcurve-qt4-0.68.1 was built with the following:
USE="(-aqua) -kde (multilib)"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-10 11:41:32 UTC
Created attachment 206642 [details]
build.log
Comment 2 Martin von Gagern 2009-10-11 08:47:34 UTC
Similar issues if kde-4 is installed with kdeprefix. Yes, I know I'm to blame for using that flag, but you might be interested nevertheless.
Comment 3 Martin von Gagern 2009-10-11 14:19:19 UTC
(In reply to comment #2)
> Similar issues if kde-4 is installed with kdeprefix.

Sorry, kdeprefix has nothing to do with it; I was building qtcurve-qt4 with USE=-kde as well, and didn't remember this fact. qtcurve-qt4[kde] builds fine, even if kde-4 is using kdeprefix.

The affected source file, common/config_file.c, seems to provide some alternative to KStandardDirs, aimed at non-C++ code. But the function used instead, g_mkdir_with_parents, lacks a proper include file as well, so this won't help.

I'll report this issue upstream.
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-10-16 09:51:18 UTC
Same with x11-themes/qtcurve-qt4-0.69.1
Comment 5 Alex Alexander (RETIRED) gentoo-dev 2009-10-18 23:02:20 UTC
This should be fixed in version 0.69.2, which is now in tree :)