Created attachment 383958 [details] Attachements summary: emerge for kioslaves-4.12.5 fails when trying to execute fishcode_generator.sh build broken for libmolletnetwork.so: -------------------------------------------------------------------------------- [ 51%] [34m[1mGenerating fishcode.h [0mcd /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5/kioslave/fish && /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5/kioslave/fish/generate_fishcode.sh /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5/kioslave/fish/fish.pl /usr/bin/md5sum /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5_build/kioslave/fish/fishcode.h -f\ 1 /bin/sh: /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5/kioslave/fish/generate_fishcode.sh: /bin/sh: bad interpreter: Permission denied make[2]: *** [kioslave/fish/fishcode.h] Error 126 make[2]: Leaving directory `/var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5_build' make[1]: *** [kioslave/fish/CMakeFiles/kio_fish.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... -------------------------------------------------------------------------------- I recognized a warning in configure : CMake Warning (dev) in kioslave/network/network/CMakeLists.txt: Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link interface. Run "cmake --help-policy CMP0022" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "molletnetwork" has an INTERFACE_LINK_LIBRARIES property which differs from its LINK_INTERFACE_LIBRARIES properties. INTERFACE_LINK_LIBRARIES: KDE4__kdecore;KDE4__kdnssd;Qt4::QtNetwork;Qt4::QtGui LINK_INTERFACE_LIBRARIES: This warning is for project developers. Use -Wno-dev to suppress it. It seems to be related because it fails when building libmolletnetwork.so according to dependencies mismatch. Attachements: - Output of emerge --info - Output of emerge -pqv - build.log - environment - eclass-debug.log - kernel .config
What's the output of 'dmesg | tail' immediately after build failure?
seems to be related do grsec kernel memory protection : grsec: denied untrusted exec (due to file in group-writable directory) of /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5/kioslave/fish/generate_fishcode.sh by /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4.12.5/kioslave/fish/generate_fishcode.sh[sh:7536] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:7535] uid/euid:250/250 gid/egid:250/2 note besides: the new gnome environment just runs flawlessly with nearly any grsec kernel feature.
(In reply to harryrage from comment #2) > seems to be related do grsec kernel memory protection : > > grsec: denied untrusted exec (due to file in group-writable directory) of > /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4. > 12.5/kioslave/fish/generate_fishcode.sh by > /var/tmp/portage/kde-base/kdebase-kioslaves-4.12.5/work/kdebase-kioslaves-4. > 12.5/kioslave/fish/generate_fishcode.sh[sh:7536] uid/euid:250/250 > gid/egid:250/250, parent /bin/bash[sh:7535] uid/euid:250/250 gid/egid:250/2 > > note besides: the new gnome environment just runs flawlessly with nearly any > grsec kernel feature. Could you please try with 4.13.x / 4.14.x?
The problem still remains with 4.14.3 under amd64 hardened-4.0.6
emerge --info?
Created attachment 411730 [details] emerge --info '=kde-apps/kdebase-kioslaves-4.14.3'