Date: Wed, 25 Sep 2002 12:52:03 -0700 (PDT) From: Kirk Strauser <kirk@strauser.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/43371: Amanda fails to build on a 4.7-RC1 server Message-ID: <200209251952.g8PJq3Zl091994@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209251952.g8PJq3Zl091994>