Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383999 - dev-python/pygobject-2.28.6 fails to execute tests
Summary: dev-python/pygobject-2.28.6 fails to execute tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2011-09-21 18:01 UTC by Markus Walter
Modified: 2012-06-02 19:18 UTC (History)
1 user (show)

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


Attachments
build log (build.log,64.45 KB, text/plain)
2011-09-21 18:01 UTC, Markus Walter
Details
emerge --info (info.txt,5.40 KB, text/plain)
2011-09-21 18:01 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-09-21 18:01:14 UTC
On my hardened ~amd64 machine pygobject fails to execute its tests. There is the following error.

TEST_FILES="test_everything.py test_gi.py test_gdbus.py test_overrides.py" PYTHONPATH=..:../tests:${PYTHONPATH:+:$PYTHONPATH} LD_LIBRARY_PATH=./.libs:$LD_LIBRARY_PATH GI_TYPELIB_PATH=.:$GI_TYPELIB_PATH XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share TESTS_BUILDDIR=. /usr/bin/dbus-launch  /usr/bin/python2.7 ./runtests.py
make[2]: *** [check-local] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.28.6/work/pygobject-2.28.6-2.7/tests'

In my grsec.log I find the following entries corresponding to this:

Sep 21 19:56:57 localhost kernel: [210503.519256] grsec: denied RWX mmap of <anonymous mapping> by /usr/bin/python2.7[python2.7:1009] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/gmake[make:668] uid/euid:250/250 gid/egid:250/250
Sep 21 19:56:57 localhost kernel: [210503.559536] grsec: denied RWX mprotect of /lib64/ld-2.13.so by /usr/bin/python2.7[python2.7:1009] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/gmake[make:668] uid/euid:250/250 gid/egid:250/250
Sep 21 19:56:57 localhost kernel: [210503.559554] grsec: Segmentation fault occurred at 00006ff9018c9d90 in /usr/bin/python2.7[python2.7:1009] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/gmake[make:668] uid/euid:250/250 gid/egid:250/250
Sep 21 19:56:57 localhost kernel: [210503.559567] grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /usr/bin/python2.7[python2.7:1009] uid/euid:250/250 gid/egid:250/250, parent /usr/bin/gmake[make:668] uid/euid:250/250 gid/egid:250/250
Comment 1 Markus Walter 2011-09-21 18:01:42 UTC
Created attachment 287333 [details]
build log
Comment 2 Markus Walter 2011-09-21 18:01:55 UTC
Created attachment 287335 [details]
emerge --info
Comment 3 Markus Walter 2011-11-26 11:28:43 UTC
The problem persists in pygobject-3.0.2.
Comment 4 Pacho Ramos gentoo-dev 2012-04-28 08:59:20 UTC
Have you tried with 3.2.0?
Comment 5 Magnus Granberg gentoo-dev 2012-04-28 12:20:51 UTC
looks like bug #329499
Comment 6 Markus Walter 2012-06-02 19:12:11 UTC
With pygobject-3.2.2 everything merges fine.