Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 447106 - net-misc/openconnect fails to build with python3.2
Summary: net-misc/openconnect fails to build with python3.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Schultz
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-13 13:50 UTC by Winfried Lorenzen
Modified: 2013-01-04 00:22 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,9.98 KB, text/plain)
2012-12-13 13:50 UTC, Winfried Lorenzen
Details
openconnect-4.07-r2.ebuild (openconnect-4.07-r2.ebuild,4.39 KB, text/plain)
2012-12-21 20:47 UTC, Matthew Schultz
Details
openconnect-4.07-r2.ebuild (openconnect-4.07-r2.ebuild,4.29 KB, text/plain)
2012-12-21 22:08 UTC, Matthew Schultz
Details
openconnect-4.07-r2.ebuild (openconnect-4.07-r2.ebuild,4.30 KB, text/plain)
2012-12-21 23:28 UTC, Matthew Schultz
Details
openconnect-4.07-r2.ebuild (openconnect-4.07-r2.ebuild,4.30 KB, text/plain)
2012-12-21 23:30 UTC, Matthew Schultz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Winfried Lorenzen 2012-12-13 13:50:55 UTC
Created attachment 332208 [details]
Build log

Hi,

I am not sure if it is supposed to work, but emerging net-misc/openconnect-4.07 fails with python3.2:

make[2]: Entering directory `/var/tmp/portage/net-misc/openconnect-4.07-r1/work/openconnect-4.07/www'
/usr/bin/python "./html.py" -d . csd.xml > csd.html || (rm csd.html; exit 1)
  File "./html.py", line 32
    print "USAGE:"
                 ^
SyntaxError: invalid syntax
make[2]: *** [csd.html] Error 1

I have attached the full build-log. It works with pyhton2.7.

Let me know if you need anything else.
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-12-21 19:25:11 UTC
Matthew and news on that?
Comment 2 Matthew Schultz 2012-12-21 20:47:53 UTC
Created attachment 332972 [details]
openconnect-4.07-r2.ebuild

Added python 2 dependency and forced its setting since the package appears to only support python 2.
Comment 3 Matthew Schultz 2012-12-21 22:08:14 UTC
Created attachment 332978 [details]
openconnect-4.07-r2.ebuild

Deleted old header info.
Comment 4 Matthew Schultz 2012-12-21 23:28:59 UTC
Created attachment 332992 [details]
openconnect-4.07-r2.ebuild

Changed python selection method to use the latest python eclass.
Comment 5 Matthew Schultz 2012-12-21 23:30:31 UTC
Created attachment 332994 [details]
openconnect-4.07-r2.ebuild
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2012-12-22 11:21:46 UTC
+*openconnect-4.07-r2 (22 Dec 2012)
+
+  22 Dec 2012; Markos Chandras <hwoarang@gentoo.org>
+  +openconnect-4.07-r2.ebuild, files/openconnect.init.in:
+   Revbump to fix #447114 and #447106. Thanks to Matthew Schultz
+  <mattsch@gmail.com>
+