Build fails due to script-generated errors. This same problem existed with the earlier linux_base 7 port. Fix: Apply the following patch. How-To-Repeat: Try to install on amd64 without the following patch. Scripts included in rpms produce errors, cancelling the install.
Responsible Changed From-To: freebsd-ports-bugs->trevor Over to maintainer.
On Wed, 29 Dec 2004 19:22:08 -0600 (CST), "Conrad J. Sabatier" <conrads@cox.net> wrote: > > >Number: 75645 > >Category: ports > >Synopsis: Fix errors in emulators/linux_base-8 for amd64 > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-ports-bugs > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: change-request > >Submitter-Id: current-users > >Arrival-Date: Thu Dec 30 01:30:18 GMT 2004 > >Closed-Date: > >Last-Modified: > >Originator: Conrad J. Sabatier > >Release: FreeBSD 6.0-CURRENT amd64 > >Organization: > N/A > >Environment: > System: FreeBSD dolphin.local.net 6.0-CURRENT FreeBSD 6.0-CURRENT #0: > Wed Dec 29 07:04:29 CST 2004 > conrads@dolphin.local.net:/usr/obj/usr/src/sys/CUSTOM amd64 > > > >Description: > Build fails due to script-generated errors. This same problem > existed with the earlier linux_base 7 port. > >How-To-Repeat: > Try to install on amd64 without the following patch. Scripts > included in rpms produce errors, cancelling the install. > >Fix: > Apply the following patch. > > --- linux_base-8.diff begins here --- > Index: Makefile > =================================================================== > RCS file: /home/ncvs/ports/emulators/linux_base-8/Makefile,v > retrieving revision 1.93 > diff -u -d -H -r1.93 Makefile > --- Makefile 27 Dec 2004 21:47:56 -0000 1.93 > +++ Makefile 30 Dec 2004 01:14:36 -0000 > @@ -79,6 +79,10 @@ > RPM= LC_ALL=C rpm > RPMFLAGS= --root ${WRKSRC} --dbpath ${DBPATH} --nodeps \ > --replacepkgs --ignoreos --ignorearch > +.if ${ARCH} == "amd64" > +RPMFLAGS+=--noscripts > +.endif > + > RPMDIR= ${DISTDIR}/${DIST_SUBDIR} > > REMOVE_DIRS= boot dev home initrd root tmp var/tmp usr/local usr/tmp > --- linux_base-8.diff ends here --- > > > >Release-Note: > >Audit-Trail: > >Unformatted: OK, it appears that this alone is not quite sufficient. When I went to run acroread, I discovered that the permissions on the linux compat /tmp were incorrect. Further investigation revealed some strange ownerships under /usr/compat/linux. Perhaps a script could be added to the port to touch up the files/directories after the install? Other than this, though, it appears that linux_base-8 works fine on amd64. -- Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
State Changed From-To: open->patched I committed a very similar change.
State Changed From-To: patched->closed This issue has been settled for a while now.
> This issue has been settled for a while now. The linux_base-8 port looks like it has been corrected, but I need to look at several other Linux base ports. I kept the PR open and assigned to me as a reminder to myself to take care of that. In the future if you see a PR assigned to me that looks like it should be closed, would you please e-mail me about it instead of just going ahead and closing it? I'm afraid that I'll lose track of problems that haven't really been fixed. -- Trevor Johnson