On Wed, May 22, 2002 at 05:28:28PM +0100, Mark Murray wrote: > > I've been able to successfully upgrade a fresh 4.0-RELEASE to > > 4.6-RC2 with this patch applied to RELENG_4's make(1) sources. > > Great! :-) > > > The -DNOPERL is also required as gnu/usr.bin/perl/library/* > > makefiles call /usr/obj Perl's MakeMaker generated makefiles > > which have SHELL set to /bin/sh, and attempt to run shell from > > here. The work-around is to modify the "sh=" setting in the > > gnu/usr.bin/perl/libperl/config.*, but I'm not sure if this > > is the correct fix or not. Mark Murray CC'ed for consultancy. > > When you see MakeMaker being used, run screaming from the room. > It is the single largest cause of breakage in the perl-on-freebsd > build. If there is any other way of doing this, take that route. > > > 2. Merge the C version of makewhatis(1), it works very nice, > > and produces much more sane output than the Perl version. > > I would substantially support this route. > These two problems are different. First one being with MakeMaker and the corresponding makefiles attempting to run /bin/sh (probably some other stuff, didn't check) directly from /bin. The second one (minor) is with Perl version of makewhatis(1) attempting to run perl(1) directly from /usr/bin. Any ``#!/path/name'' hinted scripts are unsafe by definition during the DESTDIR="" installworld.
Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg45628/pgp00000.pgp
Description: PGP signature