Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Apr 2015 12:47:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 199685] science/openbabel: incorrectly links against python34 library
Message-ID:  <bug-199685-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199685

            Bug ID: 199685
           Summary: science/openbabel: incorrectly links against python34
                    library
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: makc@FreeBSD.org
          Reporter: la5lbtyi@aon.at
             Flags: maintainer-feedback?(makc@FreeBSD.org)
          Assignee: makc@FreeBSD.org

science/openbabel has USES+=python in its Makefile, which will normally pull in
lang/python and from there lang/python27, properly recording this dependency.
However, if lang/python34 is also installed, one of the files installed by
openbabel will be linked against a library installed by python34:

# ldd /usr/local/lib/python2.7/site-packages/_openbabel.so
/usr/local/lib/python2.7/site-packages/_openbabel.so:
        libpython3.4m.so.1 => not found (0)
        libopenbabel.so.4 => /usr/local/lib/libopenbabel.so.4 (0x8018df000)
        libm.so.5 => /lib/libm.so.5 (0x801d10000)
        libz.so.6 => /lib/libz.so.6 (0x801f38000)
        libc++.so.1 => /usr/lib/libc++.so.1 (0x80214e000)
        libcxxrt.so.1 => /lib/libcxxrt.so.1 (0x80240e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x80262a000)
        libc.so.7 => /lib/libc.so.7 (0x80081f000)
# : (on another machine)
# pkg which /usr/local/lib/libpython3.4m.so.1
/usr/local/lib/libpython3.4m.so.1 was installed by package python34-3.4.3_1
#

This is clearly wrong (/usr/local/lib/python2.7 should not contain files
referencing another python installation), and this dependency is not recorded.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199685-13>