Help, GTK and my ports system broke!

Doug Poland doug at polands.org
Mon May 17 11:39:26 PDT 2004


Greetings,

I was running a portupgrade -a this morning on my 5.2.1-RELEASE system on a freshly
cvsup'd ports tree.  The first hint of trouble was gtk-2.4.1 failed to upgrade from
2.4.0...


-- >> gtk+-2.4.1.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/gnome2.
>> Attempting to fetch from
ftp://ftp.mirror.ac.uk/sites/ftp.gnome.org/pub/GNOME/sources/gtk+/2.4/.
Receiving gtk+-2.4.1.tar.bz2 (8853839 bytes): 100% (ETA 00:00)
8853839 bytes transferred in 101.2 seconds (85.46 kBps)
===>  Extracting for gtk-2.4.1
>> Checksum OK for gnome2/gtk+-2.4.1.tar.bz2.
===>  Patching for gtk-2.4.1
===>  Applying FreeBSD patches for gtk-2.4.1
===>   gtk-2.4.1 depends on file: /usr/local/bin/perl5.6.1 - found
===>   gtk-2.4.1 depends on executable: pkg-config - found
===>   gtk-2.4.1 depends on shared library: png.5 - found
===>   gtk-2.4.1 depends on shared library: tiff.4 - found
===>   gtk-2.4.1 depends on shared library: jpeg.9 - found
===>   gtk-2.4.1 depends on shared library: X11.6 - found
===>   gtk-2.4.1 depends on shared library: glib-2.0.400 - found
===>   gtk-2.4.1 depends on shared library: atk-1.0.600 - found
===>   gtk-2.4.1 depends on shared library: pango-1.0.399 - found
===>  Configuring for gtk-2.4.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking build system type... i386-portbld-freebsd5.2.1
checking host system type... i386-portbld-freebsd5.2.1
checking for native Win32... no
checking for gcc... cc
checking for C compiler default output file name... configure: error: C compiler cannot
create executables
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to gnome at FreeBSD.org [maintainer] and attach the
"/usr/ports/x11-toolkits/gtk20/work/gtk+-2.4.1/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11-toolkits/gtk20.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade24502.4 make
** Fix the problem and try again.
--->  Skipping 'www/mozilla' (mozilla-1.6_4,2) because 'x11-toolkits/gtk20' (gtk-2.4.0)
failed
(eval):5: [BUG] Segmentation fault
ruby 1.8.1 (2003-12-25) [i386-freebsd5]

Abort (core dumped)


Now, anything that relies on GTK core dumps on start.  To make matters worse, I cannot
build any port now.  I keep getting messages to the effect...

** Makefile of 'lang/python' is possibly broken:
        Syntax error: "(" unexpected
        "/usr/ports/Mk/bsd.port.mk", line 2487: warning: "echo %%PREFIX%%/lib |
/usr/bin/sed -e s!%%PYVER%%!2.3!g -e s!%%PYTHON_INCLUDEDIR%%!Segmentation!g -e
s!%%fault!g -e s!%%(core!g -e s!%%dumped)!g -e s!%%include/python2.3!g -e
s!%%PYTHON_LIBDIR%%!Segmentation!g -e s!%%fault!g -e s!%%(core!g -e
s!%%dumped)!g -e s!%%lib/python2.3!g -e s!%%PYTHON_PLATFORM%%!freebsd5.2!g -e
s!%%PYTHON_SITELIBDIR%%!Segmentation!g -e s!%%fault!g -e s!%%(core!g -e
s!%%dumped)!g -e s!%%lib/python2.3/site-packages!g -e
s!%%PYTHON_VERSION%%!python2.3!g -e s!%%X86_ONLY%%!""!g -e s!%%32BIT_ONLY%%!""!g
-e s!%%OSREL%%!5.2.1!g -e s!%%PREFIX%%!%D!g -e s!%%LOCALBASE%%!/usr/local!g -e
s!%%X11BASE%%!/usr/X11R6!g -e s!%%PORTDOCS%%!""!g -e s!%%PORTOBJFORMAT%%!elf!g
-e s!%%XAWVER%%!7!g -e s!%%PERL_VERSION%%!5.6.1!g -e s!%%PERL_VER%%!5.6.1!g -e
s!%%PERL_ARCH%%!mach!g -e s!%%SITE_PERL%%!lib/perl5/site_perl/5.6.1!g -e
s!%%DOCSDIR%%!"share/doc/python"!g -e
s!%%EXAMPLESDIR%%!"share/examples/python"!g -e s!%%DATADIR%%!"share/python"!g"
returned non-zero status python-2.3.3_5

I'm in a world of hurt, can someone please advise?


Regards,
Doug




More information about the freebsd-questions mailing list