Hello ,
I have just installed a new OpenBSD 4.6 release then get the new ports
tree from the mirror and extract it. After that in /usr/ports directory
i used "make update" to update ports tree but i get some compile errors
like this ;
===> Building package for mpfr-2.3.2
Create /usr/ports/packages/i386/all/mpfr-2.3.2.tgz
Switching to /usr/ports/devel/mpfr/pkg/PFRAG.shared
Link to /usr/ports/packages/i386/ftp/mpfr-2.3.2.tgz
Link to /usr/ports/packages/i386/cdrom/mpfr-2.3.2.tgz
===> Verifying specs: gmp
===> found gmp.8.0
===> Installing mpfr-2.3.2 from /usr/ports/packages/i386/all/
mpfr-2.3.2: complete
===> Returning to build of g++-4.2.4p5
===> g++-4.2.4p5 depends on: mpfr-* - found
===> Verifying specs: gmp mpfr c c c c m c c c m pthread z c
===> found gmp.8.0 mpfr.0.2 c.51.0 m.5.0 pthread.11.1 z.4.1
===> Extracting for gcc-4.2.4
echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/egcc
echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap
GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec
/usr/ports/obj/gcc-4.2.4/bootstrap/bin/egcc "$@"'
>>/usr/ports/obj/gcc-4.2.4/bin/egcc
chmod a+x /usr/ports/obj/gcc-4.2.4/bin/egcc
echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/gnatbind
echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap
GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec
/usr/ports/obj/gcc-4.2.4/bootstrap/bin/gnatbind "$@"'
>>/usr/ports/obj/gcc-4.2.4/bin/gnatbind
chmod a+x /usr/ports/obj/gcc-4.2.4/bin/gnatbind
echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/gnatmake
echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap
GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec
/usr/ports/obj/gcc-4.2.4/bootstrap/bin/gnatmake "$@"'
>>/usr/ports/obj/gcc-4.2.4/bin/gnatmake
chmod a+x /usr/ports/obj/gcc-4.2.4/bin/gnatmake
echo "#! /bin/sh" >/usr/ports/obj/gcc-4.2.4/bin/gnatlink
echo 'GNAT_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap
GCC_ROOT=/usr/ports/obj/gcc-4.2.4/bootstrap exec
/usr/ports/obj/gcc-4.2.4/bootstrap/bin/gnatlink "$@"'
>>/usr/ports/obj/gcc-4.2.4/bin/gnatlink
chmod a+x /usr/ports/obj/gcc-4.2.4/bin/gnatlink
ln -s /usr/bin/nm /usr/ports/obj/gcc-4.2.4/bin/enm
echo "# This file automatically generated" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBestdc++_LTVERSION = -version-info 11:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBgfortran_LTVERSION = -version-info 2:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIB-org-w3c-dom_LTVERSION = -version-info 1:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIB-org-xml-sax_LTVERSION = -version-info 1:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBgcj_LTVERSION = -version-info 0:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBffi_LTVERSION = -version-info 0:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBgcj-tools_LTVERSION = -version-info 0:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBgij_LTVERSION = -version-info 0:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBobjc_LTVERSION = -version-info 2:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBobjc_gc_LTVERSION = -version-info 2:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBssp_LTVERSION = -version-info 0:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
echo "LIBgomp_LTVERSION = -version-info 1:0" >>
/usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libversions
===> Patching for gcc-4.2.4
cd /usr/ports/obj/gcc-4.2.4/gcc-4.2.4/libstdc++-v3 &&
AUTOCONF_VERSION=2.59 autoconf
===> Configuring for gcc-4.2.4
loading site script /usr/ports/infrastructure/db/config.site
creating cache ./config.cache
checking host system type... i386-unknown-openbsd4.6
checking target system type... i386-unknown-openbsd4.6
checking build system type... i386-unknown-openbsd4.6
checking for a BSD compatible install... /usr/bin/install -c -o root -g bin
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... /usr/ports/obj/gcc-4.2.4/bin/egcc
checking whether the C compiler (/usr/ports/obj/gcc-4.2.4/bin/egcc -O2
-g ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
*** Error code 1
Stop in /usr/ports/lang/gcc/4.2 (line 2164 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/lang/gcc/4.2 (line 1444 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/lang/gcc/4.2 (line 1984 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/lang/gcc/4.2 (line 1474 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/www/webkit (line 1621 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/www/webkit (line 2018 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/www/webkit (line 1444 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/www/webkit (line 1984 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/www/webkit (line 1474 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/audio/gmpc-plugins (line 1621 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/audio/gmpc-plugins (line 2018 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/audio/gmpc-plugins (line 1444 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/audio/gmpc-plugins (line 1984 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1
Stop in /usr/ports/audio/gmpc-plugins (line 1494 of
/usr/ports/infrastructure/mk/bsd.port.mk).
===> Exiting audio/gmpc-plugins with an error
*** Error code 1
Stop in /usr/ports/audio (line 129 of
/usr/ports/infrastructure/mk/bsd.port.subdir.mk).
===> Exiting audio with an error
*** Error code 1
Stop in /usr/ports (line 129 of
/usr/ports/infrastructure/mk/bsd.port.subdir.mk).
How can fix this problem ?
Regards