From owner-freebsd-ports@FreeBSD.ORG Thu Mar 31 17:17:25 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D805210657E0 for ; Thu, 31 Mar 2011 17:17:25 +0000 (UTC) (envelope-from gcr+freebsd-ports@tharned.org) Received: from roadkill.tharned.org (roadkill.tharned.org [75.145.12.185]) by mx1.freebsd.org (Postfix) with ESMTP id 876E38FC0A for ; Thu, 31 Mar 2011 17:17:25 +0000 (UTC) Received: from roadkill.tharned.org (11008@roadkill.tharned.org [75.145.12.185]) (authenticated bits=0) by roadkill.tharned.org (8.14.4/8.14.4) with ESMTP id p2VH70fd094311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 31 Mar 2011 12:07:00 -0500 (CDT) (envelope-from gcr+freebsd-ports@tharned.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tharned.org; s=2011; t=1301591220; bh=FKoxmw9RcxQ7C+hzN4TKIJC0HGW56sNzeqX6fknbBUs=; l=5092; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=Bq0m9tpQwqNbEYsqufGS1T35hTTH/jOXyxGS26UtQenDy9zOeqyJ/yMzyLUXNXCuf 5LYgJ/hCmpyU3ceDji5Ge3fur98/qppWAMpAo4uLHyR/XS8AaMv4ECSG+X3ouNQjTm zI2/6psoAO6dtfX7IP/Jx0a7oIVMcUivIAOLPIyY= Date: Thu, 31 Mar 2011 12:07:00 -0500 (CDT) From: Greg Rivers To: freebsd-ports@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (roadkill.tharned.org [75.145.12.185]); Thu, 31 Mar 2011 12:07:00 -0500 (CDT) Subject: deskutils/calibre does not build after Python 2.6 to 2.7 update X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2011 17:17:25 -0000 I had to remove calibre to allow upgrade-site-packages to finish successfully during the Python update. Trying to install calibre afterwards fails: # portmaster -D deskutils/calibre ===>>> Port directory: /usr/ports/deskutils/calibre ===>>> Launching 'make checksum' for deskutils/calibre in background ===>>> Gathering dependency list for deskutils/calibre from ports ===>>> Initial dependency check complete for deskutils/calibre ===>>> Starting build for deskutils/calibre <<<=== ===>>> All dependencies are up to date ===> Cleaning for calibre-0.7.23_1 ===>>> Waiting on fetch & checksum for deskutils/calibre <<<=== ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for calibre-0.6.18 => calibre-0.7.23.tar.gz doesn't seem to exist in /usr/ports/distfiles//. => Attempting to fetch http://heanet.dl.sourceforge.net/project/calibre/0.7.23/calibre-0.7.23.tar.gz calibre-0.7.23.tar.gz ===> Vulnerability check disabled, database not found ===> License check disabled, port has not defined LICENSE ===> Found saved configuration for calibre-0.6.18 ===> Extracting for calibre-0.7.23_1 => SHA256 Checksum OK for calibre-0.7.23.tar.gz. ===> Patching for calibre-0.7.23_1 ===> Applying FreeBSD patches for calibre-0.7.23_1 ===> calibre-0.7.23_1 depends on package: py*-setuptools>=0 - found ===> calibre-0.7.23_1 depends on package: py*-sip>=0 - found ===> calibre-0.7.23_1 depends on package: py*-qt4-core>=0 - found ===> calibre-0.7.23_1 depends on package: py*-qt4-gui>=0 - found ===> calibre-0.7.23_1 depends on package: py*-cssutils>=0 - found ===> calibre-0.7.23_1 depends on package: py*-dateutil>=0 - found ===> calibre-0.7.23_1 depends on package: py*-lxml>=0 - found ===> calibre-0.7.23_1 depends on file: /usr/local/bin/python2.7 - found ===> calibre-0.7.23_1 depends on file: /usr/local/bin/moc-qt4 - found ===> calibre-0.7.23_1 depends on file: /usr/local/bin/qmake-qt4 - found ===> calibre-0.7.23_1 depends on shared library: MagickWand.4 - found ===> calibre-0.7.23_1 depends on shared library: fontconfig.1 - found ===> calibre-0.7.23_1 depends on shared library: poppler-qt4.3 - found ===> calibre-0.7.23_1 depends on shared library: wmflite - found ===> calibre-0.7.23_1 depends on shared library: chm.0 - found ===> calibre-0.7.23_1 depends on shared library: podofo - found ===> calibre-0.7.23_1 depends on shared library: intl - found ===> Configuring for calibre-0.7.23_1 ===> Building for calibre-0.7.23_1 * * Running build * [snip successful compile] * * Running gui * Traceback (most recent call last): File "setup.py", line 99, in sys.exit(main()) File "setup.py", line 85, in main command.run_all(opts) File "/usr/ports/deskutils/calibre/work/calibre/setup/__init__.py", line 159, in run_all self.run_cmd(self, opts) File "/usr/ports/deskutils/calibre/work/calibre/setup/__init__.py", line 152, in run_cmd self.run_cmd(scmd, opts) File "/usr/ports/deskutils/calibre/work/calibre/setup/__init__.py", line 155, in run_cmd cmd.run(opts) File "/usr/ports/deskutils/calibre/work/calibre/setup/gui.py", line 36, in run self.build_forms() File "/usr/ports/deskutils/calibre/work/calibre/setup/gui.py", line 59, in build_forms from calibre.gui2 import build_forms File "/usr/ports/deskutils/calibre/work/calibre/src/calibre/gui2/__init__.py", line 19, in from calibre.ebooks.metadata.meta import get_metadata, metadata_from_formats File "/usr/ports/deskutils/calibre/work/calibre/src/calibre/ebooks/metadata/meta.py", line 11, in from calibre.customize.ui import get_file_type_metadata, set_file_type_metadata File "/usr/ports/deskutils/calibre/work/calibre/src/calibre/customize/ui.py", line 14, in from calibre.customize.builtins import plugins as builtin_plugins File "/usr/ports/deskutils/calibre/work/calibre/src/calibre/customize/builtins.py", line 466, in from calibre.devices.kobo.driver import KOBO File "/usr/ports/deskutils/calibre/work/calibre/src/calibre/devices/kobo/driver.py", line 9, in import sqlite3 as sqlite File "/usr/local/lib/python2.7/sqlite3/__init__.py", line 24, in from dbapi2 import * File "/usr/local/lib/python2.7/sqlite3/dbapi2.py", line 27, in from _sqlite3 import * ImportError: /usr/local/lib/python2.7/site-packages/_sqlite3.so: Undefined symbol "sqlite3_load_extension" *** Error code 1 Stop in /usr/ports/deskutils/calibre. *** Error code 1 Stop in /usr/ports/deskutils/calibre. ===>>> Installation of calibre-0.7.23_1 (deskutils/calibre) failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster deskutils/calibre I can't tell if this is a problem with calibre, python, or sqlite3. Any clues? -- Greg