devel/gobject-introspection throws up because of python

Chris Brennan xaero at
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...
checking for /usr/local/bin/python2.6 extension module directory...
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
"", 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, and attach (a)
(b) the output of the failed make command, and (c) the gnomelogalyzer
Also, it might be a good idea to provide an overview of all packages
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gnome at, because attachments sent to FreeBSD
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/
import site # precompiled from /usr/local/lib/python2.6/site.pyc
# /usr/local/lib/python2.6/os.pyc matches /usr/local/lib/python2.6/
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
import posixpath # precompiled from /usr/local/lib/python2.6/posixpath.pyc
# /usr/local/lib/python2.6/stat.pyc matches /usr/local/lib/python2.6/
import stat # precompiled from /usr/local/lib/python2.6/stat.pyc
# /usr/local/lib/python2.6/genericpath.pyc matches
import genericpath # precompiled from
# /usr/local/lib/python2.6/warnings.pyc matches
import warnings # precompiled from /usr/local/lib/python2.6/warnings.pyc
# /usr/local/lib/python2.6/linecache.pyc matches
import linecache # precompiled from /usr/local/lib/python2.6/linecache.pyc
# /usr/local/lib/python2.6/types.pyc matches
import types # precompiled from /usr/local/lib/python2.6/types.pyc
# /usr/local/lib/python2.6/UserDict.pyc matches
import UserDict # precompiled from /usr/local/lib/python2.6/UserDict.pyc
# /usr/local/lib/python2.6/_abcoll.pyc matches
import _abcoll # precompiled from /usr/local/lib/python2.6/_abcoll.pyc
# /usr/local/lib/python2.6/abc.pyc matches /usr/local/lib/python2.6/
import abc # precompiled from /usr/local/lib/python2.6/abc.pyc
# /usr/local/lib/python2.6/copy_reg.pyc matches
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
import encodings # precompiled from
# /usr/local/lib/python2.6/codecs.pyc matches
import codecs # precompiled from /usr/local/lib/python2.6/codecs.pyc
import _codecs # builtin
# /usr/local/lib/python2.6/encodings/aliases.pyc matches
import encodings.aliases # precompiled from
# /usr/local/lib/python2.6/encodings/ascii.pyc matches
import encodings.ascii # precompiled from
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/", 2);
import readline # dynamically loaded from
[root at Ziggy [~]# uname -a
FreeBSD 7.3-RELEASE-p3 FreeBSD 7.3-RELEASE-p3 #8: Sun
Oct 24 01:53:03 EDT 2010
root at
[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