From owner-freebsd-questions@FreeBSD.ORG Thu Jul 5 01:31:21 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18D1316A469 for ; Thu, 5 Jul 2007 01:31:21 +0000 (UTC) (envelope-from purposecurious@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by mx1.freebsd.org (Postfix) with ESMTP id 1B09213C484 for ; Thu, 5 Jul 2007 01:31:19 +0000 (UTC) (envelope-from purposecurious@gmail.com) Received: by wr-out-0506.google.com with SMTP id i23so199992wra for ; Wed, 04 Jul 2007 18:31:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=r0cSMytj2vxWgWg13d/bf0g9p4+z2B4VABbj5shkC8pZR82fbn+ncuSTw6VMb67zFVLUkVFMFONdc6JRQftk3qH7R9MGz7tGvRxwwdWRRwNYslOHTxX4qTB+EtZl6EQlgqc1z5s3w7AXbZngvoY/D5S+vPmzAqp26OPXCX+r69Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=QFtPo8KHtvoofNsjZOhpEFNck0NKgjIv/Gq672/dKTI5NCuOW6xXjwGJKpCM3EVHIgGhkRyrDuX1rnelCHA3UHnqUIaZmQjGdC4OWeo7mVdkuyp9+TTrN2WsY+OX+3wqA1KlTF/sVS3L+PETrMX3TAaju4RQ3T/8oxWBCetxHM0= Received: by 10.90.35.15 with SMTP id i15mr7402845agi.1183597508367; Wed, 04 Jul 2007 18:05:08 -0700 (PDT) Received: by 10.90.81.1 with HTTP; Wed, 4 Jul 2007 18:05:08 -0700 (PDT) Message-ID: <7011c8170707041805sf4b4bf8ia1c621b0dc85b65f@mail.gmail.com> Date: Thu, 5 Jul 2007 02:05:08 +0100 From: "Sabastian Cooke" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Error compiling gcc34 on 5.2.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2007 01:31:21 -0000 Hi, I am trying to update amavisd-new from amavisd-new-2.4.5,1 to 2.5.1 on our FreeBSD mail server, and it seems to require an update to file utility and that requires gcc34 and i only have gcc 3.3.3 installed, when either the script or me tries to build gcc34 from the ports collection, i get this errors which i dont know how to diagnose, is there an easier way to update gcc or anyone can help on these errors? /usr/ports/lang/gcc34/work/build/gcc/xgcc -B/usr/ports/lang/gcc34/work/build/gcc/ -B/usr/local/i386- portbld-freebsd5.2.1/bin/ -B/usr/local/i386-portbld-freebsd5.2.1/lib/ -isystem /usr/local/i386-portbld-freebsd5.2.1/include -isystem /usr/local/i386-portbld-freebsd5.2.1/sys-include -c -DHAVE_CONFIG_H -O2 -O -pipe -mcpu=pentiumpro -I. -I../.././..//gcc-3.4.6/libiberty/../include -W -Wall -Wtraditional -pedantic ../.././..//gcc-3.4.6/libiberty/fibheap.c -o fibheap.o `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. ../.././..//gcc-3.4.6/libiberty/fibheap.c: In function `fibheap_union': ../.././..//gcc-3.4.6/libiberty/fibheap.c:166: warning: implicit declaration of function `free' ../.././..//gcc-3.4.6/libiberty/fibheap.c: In function `fibheap_delete_node': ../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: `LONG_MIN' undeclared (first use in this function) ../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: (Each undeclared identifier is reported only once ../.././..//gcc-3.4.6/libiberty/fibheap.c:285: error: for each function it appears in.) ../.././..//gcc-3.4.6/libiberty/fibheap.c: In function `fibheap_consolidate': ../.././..//gcc-3.4.6/libiberty/fibheap.c:395: warning: implicit declaration of function `memset' gmake[2]: *** [fibheap.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/i386- portbld-freebsd5.2.1/libiberty' gmake[1]: *** [all-target-libiberty] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. *** Error code 1 Stop in /usr/ports/lang/gcc34. *** Error code 1 Stop in /usr/ports/sysutils/file. *** Error code 1 Stop in /usr/ports/sysutils/file. *** Error code 1 Stop in /usr/ports/security/amavisd-new. *** Error code 1 Stop in /usr/ports/security/amavisd-new. *** Error code 1 Stop in /usr/ports/security/amavisd-new. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade42713.0 make reinstall egrep: /var/db/pkg/amavisd-new-2.4.5,1/+CONTENTS: No such file or directory ---> Restoring the old version vscan:*:1005:clamav You already have a group "vscan", so I will use it. vscan:*:1004:1005::0:0:Scanning Virus Account:/var/amavis:/bin/sh You already have a user "vscan", so I will use it. Created "/var/amavis" directory. Created "/var/amavis/db" directory. Created "/var/amavis/tmp" directory. Created "/var/amavis/var" directory. Created "/var/virusmails" directory. pkg_add: command '[ ! -f /usr/local/etc/amavisd.conf ] && cp /usr/local/etc/amavisd.conf-dist /usr/local/etc/amavisd.conf' failed ** Fix the installation problem and try again. [Updating the pkgdb in /var/db/pkg ... - 393 packages found (-0 +1) . done] ** Listing the failed packages (*:skipped / !:failed) ! security/amavisd-new (amavisd-new-2.4.5,1) (install error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed