ports/172372: ports/python27 -- Build failure
Marcus von Appen
mva at FreeBSD.org
Fri Oct 5 21:50:17 UTC 2012
The following reply was made to PR ports/172372; it has been noted by GNATS.
From: Marcus von Appen <mva at FreeBSD.org>
To: "Ronald F.Guilmette" <rfg at tristatelogic.com>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: ports/172372: ports/python27 -- Build failure
Date: Fri, 5 Oct 2012 23:47:09 +0200
--9zSXsLTf0vkW971A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On, Fri Oct 05, 2012, Ronald F.Guilmette wrote:
[...]
> cc -c -fno-strict-aliasing -I/usr/local/include
> -I/usr/local/include/gconf/2 -I/usr/local/include/glib-2.0
> -I/usr/local/include/gtk-2.0 -I/usr/local/include/gdk-pixbuf-2.0
> -I/usr/local/include/cairo -I/usr/local/include/pango-1.0
> -I/usr/local/include/atk-1.0 -DNDEBUG -I/usr/local/include
> -I/usr/local/include/gconf/2 -I/usr/local/include/glib-2.0
> -I/usr/local/include/gtk-2.0 -I/usr/local/include/gdk-pixbuf-2.0
> -I/usr/local/include/cairo -I/usr/local/include/pango-1.0
> -I/usr/local/include/atk-1.0 -I. -IInclude -I./../Include -fPIC
> -DPy_BUILD_CORE -o Objects/complexobject.o ./../Objects/complexobject.c
>
Your environment CFLAGS look quite weird - could it be that you for some
reason have some GTK2-related pkg-config flags in there? If so, you
should clean that up, since this might mess with the automated detection
of other modules
[...]
> Python build finished, but the necessary bits to build these modules were not found:
> dl imageop linuxaudiodev
> spwd sunaudiodev
> To find the necessary bits, look in setup.py in detect_modules() for the module's name.
Those lines above are okay - these are platform-specific modules not
meant to be built or working on FreeBSD.
>
> Failed to build these modules:
> _elementtree pyexpat
It looks like Python had (most likely due to the messy includes from
above) issues with building or detecting the expat-related modules.
Make sure, your environment is clean in terms of sane CFLAGS, LDFLAGS,
OPT, EXTRA_CFLAGS. If this does not help, please post your lang/python27
config options along with all relevant settings for your overall port
builds.
Cheers
Marcus
--9zSXsLTf0vkW971A
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlBvVV0ACgkQi68/ErJnpkchOwCgvNxEotCY6UyU2EnrGNIcbGO2
ltUAn1Y0dnuyusjXPOKjm9ax50S9ROY7
=rzQS
-----END PGP SIGNATURE-----
--9zSXsLTf0vkW971A--
More information about the freebsd-ports-bugs
mailing list