ports/51218: Amanda. Build on 2.x->3.X->4.x fails. Build on 4.x box works.

Marc Rassbach marc at milestonerdl.com
Mon Apr 21 16:50:19 UTC 2003


>Number:         51218
>Category:       ports
>Synopsis:       Amanda.  Build on 2.x->3.X->4.x fails.  Build on 4.x box works.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 21 09:50:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Marc Rassbach
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Milestone r/d labs
>Environment:
System: FreeBSD cobweb.someplace.com 4.8-STABLE FreeBSD 4.8-STABLE #4: Sun Apr 20 20:31:14 GMT 2003 marc at cobweb.someplace.com:/usr/obj/usr/src/sys/COBWEB i386


Now, any FreeBSD that is 'old' - ie 2.X or 3.X and upgraded to 4.x exhibit this problem

Newer 4.X installs (ie a new disk, whipe disk etc) do not seem to have this 
problem.

>Description:

a make of amanda-server gets this:

Making all in changer-src
gmake[1]: Entering directory `/usr/ports/misc/amanda-server/work/amanda-2.4.4/changer-src'
/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.la ../server-src/libamserver.la ../tape-src/libamtape.la ../common-src/libamanda.la -lm -lreadline -ltermcap -lcam    
cc -O -pipe -o .libs/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  ../server-src/.libs/libamserver.so ../tape-src/.libs/libamtape.so ../common-src/.libs/libamanda.so -lm -lreadline -ltermcap -lcam -Wl,--rpath -Wl,/usr/local/lib
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 708 to 973 in scsi-cam.o
scsi-cam.o: In function `SCSI_CloseDevice':
scsi-cam.o(.text+0x4d8): multiple definition of `SCSI_CloseDevice'
scsi-bsd.o(.text+0x2e0): 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+0x53c): multiple definition of `SCSI_ExecuteCommand'
scsi-bsd.o(.text+0x318): 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+0x6f8): multiple definition of `Tape_Ioctl'
scsi-bsd.o(.text+0x4dc): first defined here
scsi-cam.o: In function `Tape_Status':
scsi-cam.o(.text+0x7a4): multiple definition of `Tape_Status'
scsi-bsd.o(.text+0x588): 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+0x894): multiple definition of `ScanBus'
scsi-bsd.o(.text+0x594): 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.4/changer-src'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/misc/amanda-server.


>How-To-Repeat:

Need an old-stale system to reproduce.  New systems lack this issue.

>Fix:

No idea at this time beyond making a new install.





>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list