ports/143933: textproc/flex: INSTALL_AS_USER errors out
Gerald Pfeifer
gerald at FreeBSD.org
Sun Feb 14 16:40:03 UTC 2010
>Number: 143933
>Category: ports
>Synopsis: textproc/flex: INSTALL_AS_USER errors out
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Feb 14 16:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Gerald Pfeifer
>Release: FreeBSD 8.0-BETA4 i386
>Organization:
>Environment:
System: FreeBSD ref8-i386.freebsd.org
>Description:
For some tests I needed to build and install ports as a regular
user, leveraging 'make INSTALL_AS_USER=1 install'. Sadly,
textproc/flex errors out as follows:
:
install -s -m 555 'flex' '/home/gerald/8-i386/bin/flex'
test -z "/home/gerald/8-i386/lib" || /bin/sh ./mkinstalldirs "/home/gerald/8-i386/lib"
install -m 444 'libfl.a' '/home/gerald/8-i386/lib/libfl.a'
install -m 444 'libfl_pic.a' '/home/gerald/8-i386/lib/libfl_pic.a'
ranlib '/home/gerald/8-i386/lib/libfl.a'
ranlib: fatal: Failed to open '/home/gerald/8-i386/lib/libfl.a'
ranlib '/home/gerald/8-i386/lib/libfl_pic.a'
ranlib: fatal: Failed to open '/home/gerald/8-i386/lib/libfl_pic.a'
gmake[3]: *** [install-libLIBRARIES] Error 70
gmake[3]: Leaving directory `/scratch/tmp/gerald/dumpster/home/gerald/ports/flex/work/flex-2.5.35'
gmake[2]: *** [install-am] Error 2
gmake[2]: Leaving directory `/scratch/tmp/gerald/dumpster/home/gerald/ports/flex/work/flex-2.5.35'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/scratch/tmp/gerald/dumpster/home/gerald/ports/flex/work/flex-2.5.35'
gmake: *** [install] Error 2
*** Error code 2
>How-To-Repeat:
env PREFIX=$HOME/...; make INSTALL_AS_USER=1 install
>Fix:
I believe the problem may be running ranlib on the two .a files
which have permissions r--r--r--.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list