Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2008 16:11:41 -0000
From:      "Jasvinder S. Bahra" <bbdl21548@blueyonder.co.uk>
To:        <freebsd-questions@freebsd.org>
Subject:   Unable to compile anything from ports
Message-ID:  <000901c87636$c6ef9240$0200010a@atlantis>

next in thread | raw e-mail | index | archive | help
Hi,

I have installed FreeBSD 6.3 onto a new machine.

I cvsup'd  ('src-all' and 'ports-all', RELENG_6_3).

I then set some /etc/make.conf parameters (CPUTYPE=c3, CFLAGS= -O2 -pipe,
COPTFLAGS= -O -pipe), rebuilt both world and kernel (no changes were made to
the kernel file GENERIC), and installed both of them.

I have a fully working system.  If I do a "uname -a", I get something like
the following...

FreeBSD watchtower.XXXXXXXXX.org 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #0:
Fri Feb 22 07:45:19 GMT 2008
root@watchtower.XXXXXXXXX.org:/usr/obj/usr/src/sys/GENERIC  i386

All indications suggested everything was fine.

I then intended to install a number of packages from ports, so I switched to
root.  I usually use portupgrade, so I then tried the following...

cd /usr/ports/ports-mgmt/portupgrade
make install clean

As part of the install, it tried to install lang/ruby18, but it failed.
This is the error I was presented with...

========================================================
checking minix/config.h presence... no
checking for minix/config.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking for long long... yes
checking for off_t... yes
checking for int... yes
checking size of int... configure: error: cannot compute sizeof (int)
See `config.log' for more details.
===>  Script "configure" failed unexpectedly.
Please report the problem to stas@FreeBSD.org [maintainer] and attach the
"/usr/ports/lang/ruby18/work/ruby-1.8.6-p111/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/lang/ruby18.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.
*** Error code 1

Stop in /usr/ports/ports-mgmt/portupgrade.
========================================================



I was surprised - I was tracking the security branch after all.  I examined
the config.log it mentions above, but i'm not a C programmer and I couldn't
really make sense of it.

I performed a "make clean", and mentally shrugging, went on to try and
install the other packages in my list.  Portaudit successfully installed,
but the other two packages (security/aide and net/isc-dhcp3-server) did
not...

===== security/aide ==========================================
config.status: creating po/Makefile
config.status: creating build.sh
===>  Building for gmake-3.81_2
make  all-recursive
Making all in glob
if
cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -O2 -pipe -march=c3
 -MT glob.o -MD -MP -MF ".deps/glob.Tpo" -c -o glob.o glob.c;  then mv -f
".deps/glob.Tpo" ".deps/glob.Po"; else rm -f ".deps/glob.Tpo"; exit 1; fi
glob.c:150: warning: conflicting types for built-in function 'malloc'
glob.c: In function `globfree':
glob.c:1075: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81/glob.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake/work/make-3.81.
*** Error code 1

Stop in /usr/ports/devel/gmake.
*** Error code 1

Stop in /usr/ports/security/aide.
========================================================



===== net/isc-dhcp3-server ====================================
Making links in server
===>  Building for isc-dhcp3-server-3.0.5_2
Making all in common
cc -O2 -pipe -march=c3 -D_PATH_DHCPD_CONF=\"/usr/local/etc/dhcpd.conf\" -D_P
ATH_DHCPD_DB=\"/var/db/dhcpd.leases\" -D_PATH_DHCPD_PID=\"/var/run/dhcpd.pid
\" -D_PATH_DHCRELAY_PID=\"/var/run/dhcrelay.pid\" -D_PATH_DHCLIENT_CONF=\"/u
sr/local/etc/dhclient.conf\" -D_PATH_DHCLIENT_SCRIPT=\"/usr/local/sbin/dhcli
ent-script\" -D_PATH_DHCLIENT_DB=\"/var/db/dhclient.leases\" -D_PATH_DHCLIEN
T_PID=\"/var/run/dhclient.pid\" -Dwarn=dhcp_warn -DNOMINUM -DPARANOIA -DJAIL
   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/ports/net/isc-d
hcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c raw.c
cc -O2 -pipe -march=c3 -D_PATH_DHCPD_CONF=\"/usr/local/etc/dhcpd.conf\" -D_P
ATH_DHCPD_DB=\"/var/db/dhcpd.leases\" -D_PATH_DHCPD_PID=\"/var/run/dhcpd.pid
\" -D_PATH_DHCRELAY_PID=\"/var/run/dhcrelay.pid\" -D_PATH_DHCLIENT_CONF=\"/u
sr/local/etc/dhclient.conf\" -D_PATH_DHCLIENT_SCRIPT=\"/usr/local/sbin/dhcli
ent-script\" -D_PATH_DHCLIENT_DB=\"/var/db/dhclient.leases\" -D_PATH_DHCLIEN
T_PID=\"/var/run/dhclient.pid\" -Dwarn=dhcp_warn -DNOMINUM -DPARANOIA -DJAIL
   -I/usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5  -I/usr/ports/net/isc-d
hcp3-server/work/dhcp-3.0.5/includes -O -Wall -Wno-unused   -c parse.c
parse.c: In function `parse_numeric_aggregate':
parse.c:516: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html>; for instructions.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd/common.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5/work.freebsd.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server/work/dhcp-3.0.5.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server.
*** Error code 1

Stop in /usr/ports/net/isc-dhcp3-server.
========================================================


I'm more or less stumped, so i'm hoping for suggestions or some advice.  Can
anyone help?

Regards,

Mr. J. S. Bahra






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c87636$c6ef9240$0200010a>