From owner-freebsd-questions@FreeBSD.ORG Fri Jan 21 02:35:28 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19016106566C for ; Fri, 21 Jan 2011 02:35:28 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id E1DB38FC0C for ; Fri, 21 Jan 2011 02:35:27 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Pg6qI-0001HR-Lv; Thu, 20 Jan 2011 21:35:26 -0500 Received: from v105.entropy.prv (v105.entropy.prv [192.168.1.105]) by cube.entropy.prv (Postfix) with ESMTP id 9ABFF49C83A3; Thu, 20 Jan 2011 21:35:14 -0500 (EST) Message-ID: <4D38F0E2.6050708@FreeBSD.org> Date: Thu, 20 Jan 2011 21:35:14 -0500 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: David Southwell References: <201101191704.43383.david@vizion2000.net> <4D37A874.4020703@FreeBSD.org> <201101202239.42696.david@vizion2000.net> In-Reply-To: <201101202239.42696.david@vizion2000.net> X-Enigmail-Version: 1.1.1 OpenPGP: id=1C940290 X-SA-Exim-Connect-IP: 68.189.245.235 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=AWL, BAYES_00, RCVD_IN_RP_RNBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: freebsd-questions@freebsd.org Subject: Re: devel/libsoup-2.32.2 Compile error _md5 problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2011 02:35:28 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 1/20/11 5:39 PM, David Southwell wrote: [...] > deleted gobject-introspection > Got the similar error messages-- > > Traceback (most recent call last): > File "../tools/g-ir-scanner", line 43, in > from giscanner.scannermain import scanner_main > File "/usr/ports/devel/gobject-introspection/work/gobject- > introspection-0.9.12/giscanner/scannermain.py", line 34, in > from giscanner.dumper import compile_introspection_binary > File "/usr/ports/devel/gobject-introspection/work/gobject- > introspection-0.9.12/giscanner/dumper.py", line 26, in > from .gdumpparser import IntrospectionBinary > File "/usr/ports/devel/gobject-introspection/work/gobject- > introspection-0.9.12/giscanner/gdumpparser.py", line 30, in > from .transformer import TransformerException > File "/usr/ports/devel/gobject-introspection/work/gobject- > introspection-0.9.12/giscanner/transformer.py", line 26, in > from .cachestore import CacheStore > File "/usr/ports/devel/gobject-introspection/work/gobject- > introspection-0.9.12/giscanner/cachestore.py", line 24, in > import hashlib > File "/usr/local/lib/python2.6/hashlib.py", line 136, in > md5 = __get_builtin_constructor('md5') > File "/usr/local/lib/python2.6/hashlib.py", line 63, in > __get_builtin_constructor > import _md5 > ImportError: No module named _md5 > gmake[2]: *** [GLib-2.0.gir] Error 1 > gmake[2]: Leaving directory `/usr/ports/devel/gobject- > introspection/work/gobject-introspection-0.9.12/gir' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/devel/gobject- > introspection/work/gobject-introspection-0.9.12' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/devel/gobject-introspection. > *** Error code 1 > > Stop in /usr/ports/devel/libsoup. Hi David, What is the output of the command "pkg_version -vL="? Can you build libsoup successfully in a clean jail (no ports installed) with an up-to-date ports tree? - From what I've seen by Googling the error message "ImportError: No module named _md5", you likely have a broken Python 2.6 installation. Can you pkg_delete it and reinstall it as well, assuming you don't have a boatload of ports that depend on it? Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk048OEACgkQ0sRouByUApCN9wCfbGxNGFs7Nx033a14MtFTxs/u aMMAmwSAR9KeYxpZUQIkieiJjwxmWeIB =Czhr -----END PGP SIGNATURE-----