Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 06:24:40 -0400 (EDT)
From:      Brian Tao <taob@risc.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        taob@risc.org
Subject:   ports/29843: StarOffice 5.2 port does not find CD-ROM install media
Message-ID:  <Pine.GSO.4.21.0108180623180.23765-100000@tor-dev1.nbc.attcanada.ca>

next in thread | raw e-mail | index | archive | help

>Number:         29843
>Category:       ports
>Synopsis:       StarOffice 5.2 port does not find CD-ROM install media
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 03:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Brian Tao
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
>Environment:

FreeBSD cabal 4.2-STABLE FreeBSD 4.2-STABLE #6: Sat Feb  3 11:51:41 EST 2001     taob@cabal:/depot/src/sys/compile/A21M  i386

>Description:

The Makefile suggests that defining WITH_CDROM will tell the port to use
the files on the StarOffice 5.2 CD-ROM instead of downloading a 90MB bin
file.  However, the Makefile seems not to realize the CD is mounted:

| # make -DWITH_CDROM install
| ===>   staroffice-5.2 depends on file: /compat/linux/lib/libc.so.6 - found
| 
| If you like to install staroffice with ADABAS database support,
| cancel this installation now and start make again with
| WITH_ADABAS=YES.
| 
| 
| Please mount the Sun StarOffice 5.2 CDROM
| onto /cdrom and run make again.
| 
| *** Error code 1
| 
| Stop in /depot/ports/editors/staroffice52.
| *** Error code 1
| 
| Stop in /depot/ports/editors/staroffice52.
| *** Error code 1
| 
| Stop in /depot/ports/editors/staroffice52.
| *** Error code 1
| 
| Stop in /depot/ports/editors/staroffice52.
| *** Error code 1
| 
| Stop in /depot/ports/editors/staroffice52.
| *** Error code 1
| 
| Stop in /depot/ports/editors/staroffice52.
| *** Error code 1
| 
| Stop in /depot/ports/editors/staroffice52.
| 
| # df /cdrom
| Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
| /dev/acd0c     642224   642224        0   100%    /cdrom
| 
| # ls -l /cdrom
| total 16
| -r--r--r--  1 root  wheel  4386 May  9  2000 INDEX.TXT
| dr-xr-xr-x  3 root  wheel  2048 May  8  2000 addon
| dr-xr-xr-x  3 root  wheel  2048 May 11  2000 documentation
| dr-xr-xr-x  6 root  wheel  2048 May 11  2000 linux
| dr-xr-xr-x  7 root  wheel  2048 May 11  2000 solaris
| dr-xr-xr-x  6 root  wheel  2048 May 11  2000 solarisi
| dr-xr-xr-x  6 root  wheel  2048 May 10  2000 windows
| 
| # ls -l /cdrom/linux/office52/setup
| -r-xr-xr-x  1 root  wheel  66936 May 11  2000 /cdrom/linux/office52/setup

There seems to be a bug in make when handling the following block:

| .if !exists(${CD_MOUNTPT}/linux/office52/setup)
|         @${ECHO}
|         @${ECHO} Please mount the Sun StarOffice 5.2 CDROM
|         @${ECHO} onto ${CD_MOUNTPT} and run make again.
|         @${ECHO}
|         @${FALSE}
| .endif

${CD_MOUNTPT}/linux/office52/setup clearly exists, yet the above condition
passes anyway, and the error message is printed.  Eliminating the
$CD_MOUNTPT variable alters the behaviour, but the port still insists on
fetching the files remotely:

| # make -DWITH_CDROM install
| ===>   staroffice-5.2 depends on file: /compat/linux/lib/libc.so.6 - found
| 
| If you like to install staroffice with ADABAS database support,
| cancel this installation now and start make again with
| WITH_ADABAS=YES.
| 
| >> so-5_2-ga-bin-linux-en.bin doesn't seem to exist in /usr/ports/distfiles/staroffice52.
| >> Attempting to fetch from ftp://ftp.csua.berkeley.edu/pub/.1/ports/distfiles/staroffice52/.
| ^Cfetch: so-5_2-ga-bin-linux-en.bin: Interrupted system call

dougb@freebsd.org states in pr ports/22036 that more detail is needed.  I
hope this is sufficient for someone to fix the problem.


>How-To-Repeat:

1.  Mount Sun StarOffice 5.2 CD-ROM on /cdrom
2.  cd to /usr/ports/editors/staroffice52
3.  make -DWITH_CDROM install

>Fix:

Unknown... broken Makefile?

-- 
Brian Tao (BT300, taob@risc.org)
"Though this be madness, yet there is method in't"

>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?Pine.GSO.4.21.0108180623180.23765-100000>