devel/gobject-introspection throws up because of python

Chris Brennan xaero at xaerolimit.net
Fri Dec 3 19:08:52 UTC 2010


While trying to compile audio/tagtool on a FreeBSD7.3 (x86) machine
devel/gobject-introspection decides to throw up and I got this: (the install
was via portmaster -d)


checking for /usr/local/bin/python2.6 version... 2.6
checking for /usr/local/bin/python2.6 platform... freebsd7
checking for /usr/local/bin/python2.6 script directory...
${prefix}/lib/python2.6/site-packages
checking for /usr/local/bin/python2.6 extension module directory...
${exec_prefix}/lib/python2.6/site-packages
checking for headers required to compile python extensions... not found
configure: error: Python headers not found
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh", which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gnome at FreeBSD.org, and attach (a)
"/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer
output.
Also, it might be a good idea to provide an overview of all packages
installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome at FreeBSD.org), because attachments sent to FreeBSD
mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/gobject-introspection.

===>>> make failed for devel/gobject-introspection
===>>> Aborting update

===>>> Update for devel/gobject-introspection failed
===>>> Aborting update

===>>> Update for atk-1.24.0 failed
===>>> Aborting update

[root at Ziggy [~]# python -v
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/local/lib/python2.6/site.pyc matches /usr/local/lib/python2.6/site.py
import site # precompiled from /usr/local/lib/python2.6/site.pyc
# /usr/local/lib/python2.6/os.pyc matches /usr/local/lib/python2.6/os.py
import os # precompiled from /usr/local/lib/python2.6/os.pyc
import errno # builtin
import posix # builtin
# /usr/local/lib/python2.6/posixpath.pyc matches
/usr/local/lib/python2.6/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.6/posixpath.pyc
# /usr/local/lib/python2.6/stat.pyc matches /usr/local/lib/python2.6/stat.py
import stat # precompiled from /usr/local/lib/python2.6/stat.pyc
# /usr/local/lib/python2.6/genericpath.pyc matches
/usr/local/lib/python2.6/genericpath.py
import genericpath # precompiled from
/usr/local/lib/python2.6/genericpath.pyc
# /usr/local/lib/python2.6/warnings.pyc matches
/usr/local/lib/python2.6/warnings.py
import warnings # precompiled from /usr/local/lib/python2.6/warnings.pyc
# /usr/local/lib/python2.6/linecache.pyc matches
/usr/local/lib/python2.6/linecache.py
import linecache # precompiled from /usr/local/lib/python2.6/linecache.pyc
# /usr/local/lib/python2.6/types.pyc matches
/usr/local/lib/python2.6/types.py
import types # precompiled from /usr/local/lib/python2.6/types.pyc
# /usr/local/lib/python2.6/UserDict.pyc matches
/usr/local/lib/python2.6/UserDict.py
import UserDict # precompiled from /usr/local/lib/python2.6/UserDict.pyc
# /usr/local/lib/python2.6/_abcoll.pyc matches
/usr/local/lib/python2.6/_abcoll.py
import _abcoll # precompiled from /usr/local/lib/python2.6/_abcoll.pyc
# /usr/local/lib/python2.6/abc.pyc matches /usr/local/lib/python2.6/abc.py
import abc # precompiled from /usr/local/lib/python2.6/abc.pyc
# /usr/local/lib/python2.6/copy_reg.pyc matches
/usr/local/lib/python2.6/copy_reg.py
import copy_reg # precompiled from /usr/local/lib/python2.6/copy_reg.pyc
import encodings # directory /usr/local/lib/python2.6/encodings
# /usr/local/lib/python2.6/encodings/__init__.pyc matches
/usr/local/lib/python2.6/encodings/__init__.py
import encodings # precompiled from
/usr/local/lib/python2.6/encodings/__init__.pyc
# /usr/local/lib/python2.6/codecs.pyc matches
/usr/local/lib/python2.6/codecs.py
import codecs # precompiled from /usr/local/lib/python2.6/codecs.pyc
import _codecs # builtin
# /usr/local/lib/python2.6/encodings/aliases.pyc matches
/usr/local/lib/python2.6/encodings/aliases.py
import encodings.aliases # precompiled from
/usr/local/lib/python2.6/encodings/aliases.pyc
# /usr/local/lib/python2.6/encodings/ascii.pyc matches
/usr/local/lib/python2.6/encodings/ascii.py
import encodings.ascii # precompiled from
/usr/local/lib/python2.6/encodings/ascii.pyc
Python 2.6.6 (r266:84292, Oct 14 2010, 14:19:46)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd7
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/local/lib/python2.6/lib-dynload/readline.so", 2);
import readline # dynamically loaded from
/usr/local/lib/python2.6/lib-dynload/readline.so
>>>
[root at Ziggy [~]# uname -a
FreeBSD ziggy.xaerolimit.net 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #8: Sun
Oct 24 01:53:03 EDT 2010
root at ziggy.xaerolimit.net:/usr/obj/usr/src/sys/ZIGGY
i386
[root at Ziggy [~]#


Python is installed from ports. It just seems odd to me that
devel/gobject-introspection is throwing up like this, I did see this before,
on my FreeBSD8.1 install of my laptop but it went away when I re-ran what I
was trying to install. This time, it didn't go away, it's very repeatable.


More information about the freebsd-questions mailing list