From owner-freebsd-ports Wed Sep 25 13: 0:19 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B7BFA37B401 for ; Wed, 25 Sep 2002 13:00:15 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E55AE43E77 for ; Wed, 25 Sep 2002 13:00:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8PK0ECo007555 for ; Wed, 25 Sep 2002 13:00:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8PK0EH6007554; Wed, 25 Sep 2002 13:00:14 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E5E37B401 for ; Wed, 25 Sep 2002 12:52:04 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id F052943E81 for ; Wed, 25 Sep 2002 12:52:03 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g8PJq37R091995 for ; Wed, 25 Sep 2002 12:52:03 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g8PJq3Zl091994; Wed, 25 Sep 2002 12:52:03 -0700 (PDT) Message-Id: <200209251952.g8PJq3Zl091994@www.freebsd.org> Date: Wed, 25 Sep 2002 12:52:03 -0700 (PDT) From: Kirk Strauser To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/43371: Amanda fails to build on a 4.7-RC1 server Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43371 >Category: ports >Synopsis: Amanda fails to build on a 4.7-RC1 server >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 25 13:00:14 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Kirk Strauser >Release: 4.7-RC >Organization: The Strauser Group >Environment: FreeBSD kanga.honeypot.net 4.7-RC FreeBSD 4.7-RC #0: Thu Sep 19 16:00:15 CDT 2002 root@kanga.honeypot.net:/usr/obj/usr/src/sys/HONEYPOT_KANGA i386 >Description: The misc/amanda-server port will not build on a 4.7-RC server with a recent ports collection. The build fails in the 'changer-src' directory: aking all in changer-src gmake[1]: Entering directory `/usr/ports/misc/amanda-server/work/amanda-2.4.3b4/changer-src' source='chg-scsi.c' object='chg-scsi.o' libtool=no \ depfile='.deps/chg-scsi.Po' tmpdepfile='.deps/chg-scsi.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f chg-scsi.c || echo './'`chg-scsi.c source='scsi-aix.c' object='scsi-aix.o' libtool=no \ depfile='.deps/scsi-aix.Po' tmpdepfile='.deps/scsi-aix.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-aix.c || echo './'`scsi-aix.c source='scsi-changer-driver.c' object='scsi-changer-driver.o' libtool=no \ depfile='.deps/scsi-changer-driver.Po' tmpdepfile='.deps/scsi-changer-driver.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-changer-driver.c || echo './'`scsi-changer-driver.c source='scsi-hpux_new.c' object='scsi-hpux_new.o' libtool=no \ depfile='.deps/scsi-hpux_new.Po' tmpdepfile='.deps/scsi-hpux_new.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-hpux_new.c || echo './'`scsi-hpux_new.c source='scsi-irix.c' object='scsi-irix.o' libtool=no \ depfile='.deps/scsi-irix.Po' tmpdepfile='.deps/scsi-irix.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-irix.c || echo './'`scsi-irix.c source='scsi-linux.c' object='scsi-linux.o' libtool=no \ depfile='.deps/scsi-linux.Po' tmpdepfile='.deps/scsi-linux.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-linux.c || echo './'`scsi-linux.c source='scsi-solaris.c' object='scsi-solaris.o' libtool=no \ depfile='.deps/scsi-solaris.Po' tmpdepfile='.deps/scsi-solaris.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-solaris.c || echo './'`scsi-solaris.c source='scsi-bsd.c' object='scsi-bsd.o' libtool=no \ depfile='.deps/scsi-bsd.Po' tmpdepfile='.deps/scsi-bsd.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-bsd.c || echo './'`scsi-bsd.c source='scsi-cam.c' object='scsi-cam.o' libtool=no \ depfile='.deps/scsi-cam.Po' tmpdepfile='.deps/scsi-cam.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f scsi-cam.c || echo './'`scsi-cam.c source='sense.c' object='sense.o' libtool=no \ depfile='.deps/sense.Po' tmpdepfile='.deps/sense.TPo' \ depmode=gcc /bin/sh ../config/depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I../config -I../common-src -I../server-src -I../tape-src -O -pipe -c `test -f sense.c || echo './'`sense.c /bin/sh ../libtool --mode=link cc -O -pipe -o chg-scsi chg-scsi.o scsi-aix.o scsi-changer-driver.o scsi-hpux_new.o scsi-irix.o scsi-linux.o scsi-solaris.o scsi-bsd.o scsi-cam.o sense.o ../common-src/libamanda.a ../server-src/libamserver.a ../tape-src/libamtape.a ../common-src/libamanda.a -lm -lreadline -ltermcap -lcam mkdir .libs cc -O -pipe -o chg-scsi chg-scsi.o scsi-aix.o scsi-changer-driver.o scsi-hpux_new.o scsi-irix.o scsi-linux.o scsi-solaris.o scsi-bsd.o scsi-cam.o sense.o ../common-src/libamanda.a ../server-src/libamserver.a ../tape-src/libamtape.a ../common-src/libamanda.a -lm -lreadline -ltermcap -lcam scsi-cam.o: In function `SCSI_OS_Version': scsi-cam.o(.text+0x0): multiple definition of `SCSI_OS_Version' scsi-bsd.o(.text+0x0): first defined here scsi-cam.o: In function `SCSI_OpenDevice': scsi-cam.o(.text+0x108): multiple definition of `SCSI_OpenDevice' scsi-bsd.o(.text+0x1c): first defined here /usr/libexec/elf/ld: Warning: size of symbol `SCSI_OpenDevice' changed from 696 to 945 in scsi-cam.o scsi-cam.o: In function `SCSI_CloseDevice': scsi-cam.o(.text+0x4bc): multiple definition of `SCSI_CloseDevice' scsi-bsd.o(.text+0x2d4): first defined here /usr/libexec/elf/ld: Warning: size of symbol `SCSI_CloseDevice' changed from 54 to 97 in scsi-cam.o scsi-cam.o: In function `SCSI_ExecuteCommand': scsi-cam.o(.text+0x520): multiple definition of `SCSI_ExecuteCommand' scsi-bsd.o(.text+0x30c): first defined here /usr/libexec/elf/ld: Warning: size of symbol `SCSI_ExecuteCommand' changed from 451 to 443 in scsi-cam.o scsi-cam.o: In function `Tape_Ioctl': scsi-cam.o(.text+0x6dc): multiple definition of `Tape_Ioctl' scsi-bsd.o(.text+0x4d0): first defined here scsi-cam.o: In function `Tape_Status': scsi-cam.o(.text+0x788): multiple definition of `Tape_Status' scsi-bsd.o(.text+0x57c): first defined here /usr/libexec/elf/ld: Warning: size of symbol `Tape_Status' changed from 10 to 237 in scsi-cam.o scsi-cam.o: In function `ScanBus': scsi-cam.o(.text+0x878): multiple definition of `ScanBus' scsi-bsd.o(.text+0x588): first defined here /usr/libexec/elf/ld: Warning: size of symbol `ScanBus' changed from 10 to 537 in scsi-cam.o gmake[1]: *** [chg-scsi] Error 1 gmake[1]: Leaving directory `/usr/ports/misc/amanda-server/work/amanda-2.4.3b4/changer-src' gmake: *** [all-recursive] Error 1 *** Error code 2 >How-To-Repeat: cd /usr/ports/misc/amanda-server; make >Fix: The problem seems to occur when both scsi-bsd.o and scsi-cam.o are linked in to chg-scsi. I don't know enough about the system to know which should be included. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message