Subject: pkg/10975: octave requires root to build
To: None <gnats-bugs@gnats.netbsd.org>
From: Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
List: netbsd-bugs
Date: 09/08/2000 01:52:13
>Number:         10975
>Category:       pkg
>Synopsis:       octave requires root to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 08 01:53:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Lex Wennmacher
>Release:        <NetBSD-current source date> NetBSD-1.4.2
>Organization:
	
The Echelon Network
>Environment:
	
System: NetBSD blue.geo.Uni-Koeln.DE 1.4.2 NetBSD 1.4.2 (BLUE) #13: Tue Jul 11 13:32:50 MEST 2000 wennmach@blue.geo.Uni-Koeln.DE:/usr/src/sys/arch/i386/compile/BLUE i386


>Description:
	
The octave package can only be built by root since it uses `install -o root
-g wheel' during the build stage:

INSTALL_DATA='/usr/bin/install -c -o root -g wheel' ./klibtool install-lib . libkpathsea.la
/usr/bin/install -c -o root -g wheel ./STATIC/libkpathsea.a ./libkpathsea.a
install: ./libkpathsea.a: chown/chgrp: Operation not permitted
gmake[2]: *** [../kpathsea/libkpathsea.la] Error 1    

Patch-ag corrected that back in the pkglibtool era, but this problem now
has reappeared with libtool.
>How-To-Repeat:
	
% cd <wherever-your-pkgsrc-is>/math/octave
% make
>Fix:
	
Up to the libtool guys. Maybe use $(LN) instead of $(INSTALL_LIBTOOL_LIBS).
Patch-ag can be replaced with the correct fix.
>Release-Note:
>Audit-Trail:
>Unformatted: