Bug 62066 - CONFIGURATION: python vs python2
Summary: CONFIGURATION: python vs python2
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
4.0.1.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-03-09 15:00 UTC by Steve Nims
Modified: 2013-03-12 14:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Nims 2013-03-09 15:00:04 UTC
Problem description: 

I do not have python>=3.3 installed on my instance, but do have python2>=2.7. I've created a symbolic link from /usr//usr/bin/python to point to /usr/bin/python2 for certain installed programs that require "python" in general, but not specifically python>=3.3 as I have no need for python>=3.3, but do need at least python2. When trying to upgrade libreoffice to the latest version from version 3.6.5-1 to 4.0.1-1, specifically on libreoffice-common, pacman fails to complete the install because of the existing symbolic link:

"error: failed to commit transaction (conflicting files)
python: /usr/bin/python exists in filesystem
Errors occurred, no packages were upgraded."

Version 3.6.5-1 did not require python>=3.3, are we sure that version 4.0.1-1 can't be run with python2? I don't see anything in the release notes (http://www.libreoffice.org/download/release-notes/) or the system requirements (http://www.libreoffice.org/download/system-requirements/) noting a change to or requirement for python>=3.3.

Additionally, I tried to build the libreoffice package myself, updating the python requirement to python2>=2.7 in the PKGINFO file. When running "makepkg -s" I ran into an issue when it got to the "./configure" part of the build. Seems it is still looking for python>=3.3, however the "./configure" file appears to have some checks for other versions of python in it, I'm just not well versed enough to understand what exactly it is looking for.

I've also tried to build with the option "--enable-python=internal", with a difference failure, shown here: http://pastebin.ca/2330306

Suffice to say, for the time being I have added libreoffice, and the rest of the libreoffice group packages to my ignore list until such time I can find resolution to the python version issue.
              
Operating System: Linux (Other)
Version: 4.0.1.2 release
Last worked in: 3.6.5.2 release
Comment 1 Jacques Guilleron 2013-03-12 14:42:56 UTC
Hello Steve,

Yes, embedded python is now 3.3 since LO 4.0 release.
You have to see here:
http://www.libreoffice.org/download/4-0-new-features-and-fixes/
in API Changes for further informations.

Regards.

Jacques Guilleron