Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505136 - app-misc/ca-certificates-20140223.3.15.5 with system python 3 - certdata2pem.py: SyntaxError: invalid syntax in raise NotImplementedError, 'line_parts < 2 not supported.'
Summary: app-misc/ca-certificates-20140223.3.15.5 with system python 3 - certdata2pem....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-20 08:12 UTC by Bernd Feige
Modified: 2014-03-20 14:57 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2014-03-20 08:12:18 UTC
When python3 is default, the following happens:

make: Entering directory '/diskB/var/tmp/portage/app-misc/ca-certificates-20140223.3.15.5/work/ca-certificates/mozilla'
python certdata2pem.py
  File "certdata2pem.py", line 73
    raise NotImplementedError, 'line_parts < 2 not supported.'
                             ^
SyntaxError: invalid syntax
Makefile:6: recipe for target 'all' failed
make: *** [all] Error 1

So certdata2pem.py should be executed with python2.

Best regards,
Bernd
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-03-20 14:57:00 UTC
  20 Mar 2014; Mike Gilbert <floppym@gentoo.org>
  ca-certificates-20140223.3.15.5.ebuild:
  We only need python if we are not using the precompiled certs.

  20 Mar 2014; Mike Gilbert <floppym@gentoo.org>
  ca-certificates-20140223.3.15.5.ebuild:
  Force usage of python 2.x during build.