Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455276

Summary: dev-cpp/gmock-1.6.0 with python3 fails to execute test suite
Product: Gentoo Linux Reporter: Markus Walter <gentoo>
Component: [OLD] DevelopmentAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal CC: kingjon3377
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build log

Description Markus Walter 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 Walter 2013-02-03 12:44:09 UTC
Created attachment 337782 [details]
emerge --info
Comment 2 Markus Walter 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