Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542298 - kde-frameworks/kdeclarative-5.7.0 fails to build due to -I/.. with fatal error: /../debug/debug.h: Permission denied
Summary: kde-frameworks/kdeclarative-5.7.0 fails to build due to -I/.. with fatal erro...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 20:40 UTC by Jan Kundrát (RETIRED)
Modified: 2015-03-06 17:42 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 Jan Kundrát (RETIRED) gentoo-dev 2015-03-05 20:40:27 UTC
I do have a /debug which is 0000 root:root. The kdeclarative apparently puts "/" into the include paths, see the command execution below, and this is how it ends up:


[ 20%] Building CXX object src/quickaddons/CMakeFiles/KF5QuickAddons.dir/imagetexturescache.cpp.o
cd /var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0_build/src/quickaddons && /usr/bin/x86_64-pc-linux-gnu-g++  -DKCOREADDONS_LIB -DKF5QuickAddons_EXPORTS -DQT_CORE_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DTRANSLATION_DOMAIN=\"kdeclarative5\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE  -DQT_NO_DEBUG -DNDEBUG -O2 -pipe -march=native -mavx -maes -ggdb  -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -I/var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0_build/src/quickaddons -I/var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0/src/quickaddons -I/var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0_build/src/quickaddons/.. -I/.. -I/usr/include/qt5 -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -I/usr/include/qt5/QtQuick -I/usr/include/qt5/QtGui -I/usr/include/KF5/KConfigCore -I/usr/include/KF5 -I/usr/include/KF5/KI18n -I/usr/include/KF5/KIOWidgets -I/usr/include/KF5/KIOCore -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KService -I/usr/include/KF5/KJobWidgets -I/usr/include/qt5/QtWidgets -I/usr/include/KF5/KCompletion -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KIconThemes    -o CMakeFiles/KF5QuickAddons.dir/imagetexturescache.cpp.o -c /var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0/src/quickaddons/imagetexturescache.cpp
make[2]: Leaving directory `/var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0_build'
make -f src/kdeclarative/CMakeFiles/KF5Declarative.dir/build.make src/kdeclarative/CMakeFiles/KF5Declarative.dir/build
make[2]: Entering directory `/var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0_build/CMakeFiles 1
[ 22%] In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_algobase.h:66:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/algorithm:61,
                 from /usr/include/qt5/QtCore/qglobal.h:81,
                 from /usr/include/qt5/QtCore/qsharedpointer.h:37,
                 from /usr/include/qt5/QtCore/QSharedPointer:1,
                 from /var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0/src/quickaddons/imagetexturescache.h:23,
                 from /var/tmp/portage/kde-frameworks/kdeclarative-5.7.0/work/kdeclarative-5.7.0/src/quickaddons/imagetexturescache.cpp:20:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/include/g++-v4/bits/stl_iterator_base_funcs.h:65:25: fatal error: /../debug/debug.h: Permission denied
 #include <debug/debug.h>
                         ^
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2015-03-06 17:24:10 UTC
Please report upstream and link here back.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2015-03-06 17:42:06 UTC
It's fixed upstream now, and we decided it's unlikely enough to not bother backporting.

http://quickgit.kde.org/?p=kdeclarative.git&a=commit&h=db2052f7b772aa210b4cc1dd902e97c73f6771b2