Date: Wed, 22 May 2002 19:39:06 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Mark Murray <mark@grondar.za> Cc: re@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: Status of upgrades from 4.0 to the recent 4.x (was: Re: cvs commit: src/usr.bin/make Makefile compat.c job.c main.c pathnames.h) Message-ID: <20020522163906.GA78785@sunbay.com> In-Reply-To: <200205221628.g4MGSSMl051256@grimreaper.grondar.org> References: <20020522154956.GC55670@sunbay.com> <200205221628.g4MGSSMl051256@grimreaper.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--C7zPtVaVf+AK4Oqc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > Great! :-) >=20 > > 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=3D" 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. >=20 > 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. >=20 > > 2. Merge the C version of makewhatis(1), it works very nice, > > and produces much more sane output than the Perl version. >=20 > I would substantially support this route. >=20 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=3D"" installworld. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --C7zPtVaVf+AK4Oqc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE868mqUkv4P6juNwoRApV5AJ0S1fjRAVxrQWhrtzY/RGD3Qjt9PwCghFB1 DlGbLUi6g3IYSwGu+8JuC9M= =BY0I -----END PGP SIGNATURE----- --C7zPtVaVf+AK4Oqc-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020522163906.GA78785>