Unable to compile anything from ports



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@xxxxxxxxxxxxxxxxxxxxxxxx:/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@xxxxxxxxxxx [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



_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: advanced programming unix environment
    ... I would appreciate if somebody else running freebsd 7.0 could download source and see if it makes fine on their installation. ... *** Error code 1 ... be unable to log in as root in any way, ... After the initial install I was able to log ...
    (freebsd-questions)
  • Re: Please Help-windows will not update -desperate
    ... Before you install IE, make sure you read the release notes: ... | Security assessment: Potential Risk ... | Windows Security Updates: 1 service packs or update rollups are missing. ... | Definition Update 1.14.1940.2 for Windows Defender Error Code: ...
    (microsoft.public.windowsupdate)
  • Re: What are these Isass processes?
    ... Error code 80070424 - A service is not installed properly. ... A support forum thread indicated that an instance of this problem was fixed by uninstalling and reinstalling MS Office and .NET Framework. ... When did you install the operating system and when did the error first occur? ... Don't forget you have a history of installed updates if you select Windows Update so you can compare to the date when the Error started. ...
    (microsoft.public.windowsxp.help_and_support)
  • Compiling X11R6.8.2 or 6.8.1 or 6.8.0
    ... I am trying to install X11R6.8.2 on Solaris 8, so I can install Xvfb, so ... the sunmanagers search...Does it compile with gcc? ... *** Error code 2 ... make: Fatal error: Command failed for target `Pci.o' ...
    (SunManagers)
  • Re: Microsoft Windows Installer 3.1 will not install
    ... updates [CallerId = MicrosoftUpdate] ... Error code looks to be 0x80004002 ... You cannot install updates that you download from the Windows Update Web ...
    (microsoft.public.windowsupdate)