Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 455276 - dev-cpp/gmock-1.6.0 with python3 fails to execute test suite
Summary: dev-cpp/gmock-1.6.0 with python3 fails to execute test suite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-03 12:41 UTC by Markus Oehme
Modified: 2014-05-04 15:27 UTC (History)
1 user (show)

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


Attachments
emerge --info (info.txt,6.26 KB, text/plain)
2013-02-03 12:44 UTC, Markus Oehme
Details
build log (gmock.log,14.72 KB, text/plain)
2013-02-03 12:44 UTC, Markus Oehme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Oehme 2013-02-03 12:41:25 UTC
On my hardened ~amd64 machine with python 3.2 I see the following test failure for gmock.

"./scripts/fuse_gmock_files.py" "./fused-src"
  File "./scripts/fuse_gmock_files.py", line 235
    print __doc__
                ^
SyntaxError: invalid syntax
Comment 1 Markus Oehme 2013-02-03 12:44:09 UTC
Created attachment 337782 [details]
emerge --info
Comment 2 Markus Oehme 2013-02-03 12:44:49 UTC
Created attachment 337784 [details]
build log
Comment 3 Achim Derigs 2014-05-03 15:07:17 UTC
Same with dev-cpp/gmock-1.7.0-r1:

"/var/tmp/portage/dev-cpp/gmock-1.7.0-r1/work/gmock-1.7.0/scripts/fuse_gmock_files.py" "/var/tmp/portage/dev-cpp/gmock-1.7.0-r1/work/gmock-1.7.0/fused-src"
  File "/var/tmp/portage/dev-cpp/gmock-1.7.0-r1/work/gmock-1.7.0/scripts/fuse_gmock_files.py", line 235
    print __doc__
                ^
SyntaxError: invalid syntax
Comment 4 SpanKY gentoo-dev 2014-05-04 15:27:20 UTC
should be all set now in the tree; thanks for the report!

Commit message: Force python-2.x when running tests
http://sources.gentoo.org/dev-cpp/gmock/gmock-1.7.0-r1.ebuild?r1=1.1&r2=1.2