pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: net/wireshark looks for wrong python version on 6.0_BETA/i386



On Wed, 28 Mar 2012, Thomas Klausner wrote:

Not sure why it's looking for "libpython2.6.so.1.0" as python27-2.7.2nb2
is already installed.

Probably because the default version of python switched, but I'm not
sure why you get that failure.

I didn't start rebuilding until the freeze was announced.  I updated my
tree with "cvs update -A" and used the existing 'lintpkgsrc' from the
previous build to remove/update distfiles and packages.  Then  I deleted all
packages (except 'sudo') with 'pkg_delete' (and a little 'awk' magic)
and started rebuilding from scratch--beginning with 'sudo'.

Looking at "/var/db/pkg" indicates that python27-2.7.2nb2 was built
on 22 March, but py27-expat-0nb5 was built an hour before it and
py27-cElementTree-0nb1 was built some 12 hours earlier still.

The build of python was not explicit.  It was built as a dependency
of another package (probably www/firefox...)

In between builds of a few packages, I would cvs update again.

How exactly did you trigger that rebuild?

It was an explicit build:

  cd /usr/pkgsrc/net/wireshark
  make fetch-list | sh && make install


In the meantime "graphics/vigra" has incurred the same problem
(dependency of wip/libreoffice):

[...]
-- Found Doxygen: /usr/pkg/bin/doxygen -- Found PythonInterp: /usr/local/bin/python (found version "Shared object "libpython2.6.so.1.0" not found")
-- Checking VIGRANUMPY_DEPENDENCIES
-- Searching for Boost (at least version 1.40.0)
-- Could NOT find Boost
-- Found PythonLibs: /usr/pkg/lib/libpython2.7.so Shared object "libpython2.6.so.1.0" not found
CMake Error at config/FindVIGRANUMPY_DEPENDENCIES.cmake:41 (FILE):
  file FILE([TO_CMAKE_PATH|TO_NATIVE_PATH] path result) must be called with
  exactly three arguments.
Call Stack (most recent call first):
  CMakeLists.txt:64 (FIND_PACKAGE)


CMake Error at config/FindVIGRANUMPY_DEPENDENCIES.cmake:47 (FILE):
  file RELATIVE_PATH called with incorrect number of arguments
Call Stack (most recent call first):
  CMakeLists.txt:64 (FIND_PACKAGE)


Shared object "libpython2.6.so.1.0" not found
-- Could NOT find Python numpy ('import numpy.distutils.misc_util' failed)
Shared object "libpython2.6.so.1.0" not found
-- Could NOT find Python nosetests ('import nose' failed)
-- Could NOT find sphinx documentation generator
Shared object "libpython2.6.so.1.0" not found
-- Could NOT find VIGRANUMPY_DEPENDENCIES (missing: Boost_PYTHON_FOUND PYTHON_NUMPY_INCLUDE_DIR VIGRANUMPY_INSTALL_DIR) [...]

Did I catch things at precisely the wrong time?

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index