Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jun 2001 07:59:26 -0700 (PDT)
From:      xv-3.10a_1.installation.seems.to.be.broken@FreeBSD.org, due to wrong symlinks <dl@leo.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/28123: xv-3.10a_1 installation seems to be broken, due to wrong symlinks
Message-ID:  <200106131459.f5DExQw13391@freefall.freebsd.org>

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

>Number:         28123
>Category:       ports
>Synopsis:       xv-3.10a_1 installation seems to be broken, due to wrong symlinks
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 13 08:00:15 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Lang
>Release:        4.3-STABLE
>Organization:
TU Muenchen
>Environment:
FreeBSD atrbg11.informatik.tu-muenchen.de 4.3-STABLE FreeBSD 4.3-STABLE #4: Wed Jun 13 13:31:42 CEST 2001     root@atrbg11.informatik.tu-muenchen.de:/usr/obj/usr/src/sys/ATRBG11  i386
>Description:
During build, the Makefile created, contains the following lines
to build the documentation:
[..]
docs/xv.$(MANNEWSUFFIX): docs/xv.$(MANSRCSUFFIX)
        $(RM) $@
        $(LN) docs/xv.$(MANSRCSUFFIX) $@
[..]
docs/bggen.$(MANNEWSUFFIX): docs/bggen.$(MANSRCSUFFIX)
        $(RM) $@
        $(LN) docs/bggen.$(MANSRCSUFFIX) $@
[..]
docs/xcmap.$(MANNEWSUFFIX): docs/xcmap.$(MANSRCSUFFIX)
        $(RM) $@
        $(LN) docs/xcmap.$(MANSRCSUFFIX) $@
[..]
docs/xvp2p.$(MANNEWSUFFIX): docs/xvp2p.$(MANSRCSUFFIX)
        $(RM) $@
        $(LN) docs/xvp2p.$(MANSRCSUFFIX) $@
[..]
docs/vdcomp.$(MANNEWSUFFIX): docs/vdcomp.$(MANSRCSUFFIX)
        $(RM) $@
        $(LN) docs/vdcomp.$(MANSRCSUFFIX) $@
[..]

The symlinks created there with the $(LN) line are all wrong
they result in a command like:

ln -s docs/xv.man docs/xv._man

which creates a link named 'xv._man' in the directory 'docs' 
pointing to 'docs/xv.man' instead of 'xv.man'. As there is
no docs/docs/xv.man the file is not found, resulting in the following
error lines:
[..]
atrbg11:/usr/ports/graphics/xv#make build
===>  Building for xv-3.10a_1
[..]
rm -f docs/xv._man
ln -s docs/xv.man docs/xv._man
rm -f xv.1.html xv.1-html
rman -f HTML < docs/xv._man  > xv.1-html && mv -f xv.1-html xv.1.html
cannot open docs/xv._man: no such file
*** Error code 2

>How-To-Repeat:
try to build xv-3.10a_1 on 4.3-STABEL with freshly cvsupped ports
>Fix:
I've patched the created Makefile, by removing the leading 
'docs' part on each of the symlink commands, then it went
straight through. But I don't know which part of xmkmf/imake/Imakefile
was responsible, so this is just an ugly workaround
>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?200106131459.f5DExQw13391>