Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird error emerging qtcore-5.9.6: Permission denied etc.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
msst
Apprentice
Apprentice


Joined: 07 Jun 2011
Posts: 259

PostPosted: Thu Jul 19, 2018 7:14 pm    Post subject: Weird error emerging qtcore-5.9.6: Permission denied etc. Reply with quote

Code:
>>> Unpacking source...
>>> Unpacking qtbase-opensource-src-5.9.6.tar.xz to /var/tmp/portage/dev-qt/qtcore-5.9.6/work
>>> Source unpacked in /var/tmp/portage/dev-qt/qtcore-5.9.6/work
>>> Preparing source in /var/tmp/portage/dev-qt/qtcore-5.9.6/work/qtbase-opensource-src-5.9.6 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-qt/qtcore-5.9.6/work/qtbase-opensource-src-5.9.6 ...
 ESC[32;01m*ESC[0m Configuring with: -prefix /usr -bindir /usr/lib64/qt5/bin -headerdir /usr/include/qt5 -libdir /usr/lib64 -archdatadir /usr/lib64/qt5 -plugindir /usr/lib64/qt5/plugins -libexecdir /usr/lib64/qt5/libexec -importdir /usr/lib64/qt5/imports -qmldir /usr/lib64/qt5/qml -datadir /usr/share/qt5 -docdir /usr/share/doc/qt-5.9.6 -translationdir /usr/share/qt5/translations -sysconfdir /etc/xdg -examplesdir /usr/share/qt5/examples -testsdir /usr/share/qt5/tests -release -no-separate-debug-info -no-optimized-tools -opensource -confirm-license -shared -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds -qml-debug -pkg-config -system-zlib -system-pcre -system-doubleconversion -no-mtdev -no-journald -no-syslog -no-libpng -no-libjpeg -no-freetype -no-harfbuzz -no-openssl -no-libproxy -no-xkbcommon-x11 -no-xkbcommon-evdev -no-xinput2 -no-xcb-xlib -glib -no-gtk -nomake examples -nomake tests -no-compile-examples -no-rpath -verbose -no-cups -no-evdev -no-tslib -no-icu -no-fontconfig -no-dbus -no-strip -no-pch -no-ltcg -no-use-gold-linker -no-xcb -no-eglfs -no-kms -no-gbm -no-directfb -no-linuxfb -no-mirclient -no-xkb -sm -qreal double -no-opengl -no-egl -no-libinput -system-proxies -no-warnings-are-errors -no-gui -no-widgets -icu -no-iconv -no-journald
/bin/pwd: cannot open directory ‘../../../../../../..’: Permission denied
/bin/pwd: cannot open directory ‘../../../../../../..’: Permission denied
/var/tmp/portage/dev-qt/qtcore-5.9.6/work/qtbase-opensource-src-5.9.6/configure: line 353: /.qmake.conf: No such file or directory
Cannot process version from .qmake.conf
Cannot proceed.
 ESC[31;01m*ESC[0m ERROR: dev-qt/qtcore-5.9.6::gentoo failed (configure phase):
 ESC[31;01m*ESC[0m   configure failed
 ESC[31;01m*ESC[0m
 ESC[31;01m*ESC[0m Call stack:
 ESC[31;01m*ESC[0m     ebuild.sh, line  124:  Called src_configure
 ESC[31;01m*ESC[0m   environment, line 2840:  Called qt5-build_src_configure
 ESC[31;01m*ESC[0m   environment, line 2389:  Called qt5_base_configure
 ESC[31;01m*ESC[0m   environment, line 2511:  Called die
 ESC[31;01m*ESC[0m The specific snippet of code:
 ESC[31;01m*ESC[0m       "${S}"/configure "${conf[@]}" || die "configure failed";


Weird compile error and not going away. What is this? I cannot make anything from this.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Jul 19, 2018 7:49 pm    Post subject: Reply with quote

Filesystem full?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21630

PostPosted: Fri Jul 20, 2018 1:54 am    Post subject: Reply with quote

The error says permission denied. Have you checked the permissions on the directory it is complaining about? Based on the paths, it looks like that would be /. What is the output of ls -la /?
Back to top
View user's profile Send private message
msst
Apprentice
Apprentice


Joined: 07 Jun 2011
Posts: 259

PostPosted: Wed Jul 25, 2018 8:39 pm    Post subject: Reply with quote

Thanks Hu, it really was the permissions of the filesystem root: -wx--x--x

Very weird permissions, no idea how that happened. Changing it to rwxr-xr-x did the trick. Not that any package should fail to compile without read permission on the filesystem root, so that package behaviour is IMHO also buggy.

But it still makes me wonder how this has happened...
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21630

PostPosted: Thu Jul 26, 2018 2:01 am    Post subject: Reply with quote

Have you been recursively changing permissions recently? chmod -R / requests to change permissions recursively (though to no effect if no other parameters were passed). chmod -r / would non-recursively remove all read permission from / and only /.

The problem looks to me like the package used pwd to derive a path and assumed that could not possibly fail. That's doubly wrong since, not only can it fail, but also it's a uselessly complicated way of deriving the path.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum