ports/51711: /usr/ports/emulators/linux_base will not install

Dan Strick strick at covad.net
Sat May 3 04:00:27 UTC 2003


>Number:         51711
>Category:       ports
>Synopsis:       /usr/ports/emulators/linux_base will not install
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 21:00:25 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dan Strick <strick at covad.net>
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
none
>Environment:
System: FreeBSD ice 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Sun Apr 6 21:47:39 PDT 2003 root at ice:/usr/src/sys/compile/ICE i386

	nearly pristine full FreeBSD 4.8-RELEASE installation
	(all the software categories, /usr/ports, and X11R6)

	Some of the system configuration files in /etc have been modified.
	Approxmiate list:
		fbtab fstab group host.conf hosts.allow hosts.lpd hosts
		inetd.conf master.passwd motd passwd printcap rc.conf remote

	Possibly relevant:
		The linproc file system is not mounted.
		The kernel svr4 emulation module is loaded.

>Description:
	One of the programs invoked by the emulators/linux_base port Makefile
	after most or all of the rpms are installed returns a bad exit code.
	I forget which program it is or what the return code was.
	These things may not be obvious from the console output produced by
	the Makefile.  I am no longer able to reproduce the problem because
	I have completed the linux_base installation and have installed a lot
	of software that uses it and fear that reinstalling it may screw
	everything up.

	This problem occurs for both the "linux_base" and "linux_base-6" ports.
	Different programs fail with different error messages in each case,
	but the effects are very similar.

>How-To-Repeat:
	Make sure /usr/compat/linux is empty or non-existant.
	Do:
		cd /usr/ports/emulators/linux_base
		make install
>Fix:
	Unload the svr4 kernel module and reattempt the port installation.

	I observe that virtually all the elf files in the linux_base
	distribution are branded as "SVR4" and the Makefile rebrands
	only a couple of them as "Linux".

	The obvious suspicion is that the Linux emulator cannot generally
	work reliably if the SystemV emulator is enabled.
	Is this correct?  (Or is it just me?)
	Should the linux_base Makefile rebrand every elf file from the
	linux_base distfiles as "Linux"?

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list