bugWeeChat - Bugs: bug #36835, weechat-3.7 and weechat-3.8 have...


bug #36835: weechat-3.7 and weechat-3.8 have crippled python3 support

Submitter:  None
Submitted:  Thu 12 Jul 2012 07:58:38 PM UTC
Category:  plugins Severity:  3 - Normal
Item Group:  compile/install Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Originator Email:  * -email is unavailable-
Open/Closed:  Closed Release:  * 0.3.8
IRC nick:  tomboy64
* Mandatory Fields

Add a New Comment Rich Markup

Thu 12 Jul 2012 07:58:38 PM UTC, original submission:  

I run weechat on gentoo. Gentoo has every software item compiled on the host system via build-scripts.

Every gentoo user has at least one version of python installed as it's the language our package-manager is written in. Many users also have multiple versions of python installed since it's allowed to be slotted.

Now there appears to be a bug in the python-detection system (FindPython.cmake) which exhibits the following, if the main (system) python is set to python-3.2 and in parallel python-2.7 is installed:
cmake . -LA | grep -i python


Adding python3.2 in the file FindPython.cmake into lines
NAMES python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2
circumvents the problem, but is not a real solution either.

In my opinion it would be best if weechat could detect (upon compilation or run-time) which python versions are installed, build the plugin against all of them and then choose a suitable one for the script which requests python-support. For now I patched the package for gentoo to use a user-supplied option for compilation.

The respective bug-report can be found here:



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Updated the item)
  • -email is unavailable- added by None (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Open/ClosedOpen Closed
    2012-07-17 flashcode StatusNone Fixed
        Assigned toNone flashcode

    Back to the top

    Powered by Savane 3.13.
    Corresponding source code