"make install" of emulation/linux_base fails when SVR4 emulation and Linux emulation enabled. Error is: execution of glibc-2.2.4-31 script failed, exit status 0 *** Error code 1 Stop in /usr/ports/emulators/linux_base. To successfully install linux_base, it is necessary to unload the svr4.ko module. The streams.ko module can stay loaded. Fix: Unknown. Workaround is to kldunload the svr4.ko module. My guess is that the cause is: Edit src/sys/svr4/svr4_sysvec.c Add delta 1.10.2.2 2002.07.09.14.12.43 robert The other code installed by the July 9 2002 17.59.59 cvsup was some usb files and a lot of openssl and heimdal file changes. How-To-Repeat: cvsup with the following /etc/cvsupfile: *default host=cvsup9.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs *default delete *default tag=RELENG_4 #*default date=2002.07.09.11.59.59 - works #*default date=2002.07.09.17.59.59 - fails src-all src-crypto src-secure doc-all Note the two date directives are commented out. Loading the /usr/src with the first "date" directive will allow linux_base to install. Loading the /usr/src from the second "date" directive will cause glibc_post_upgrade to exit with a signal 12. Also, it is necessary for SVR4 emulation to be enabled. This is in my /etc/rc.conf file: svr4_enable="YES" # SysVR4 emulation loaded at startip (or NO).
Responsible Changed From-To: freebsd-bugs->emulation Reassign to appropriate mailing list.
State Changed From-To: open->closed All linux binaries are SYSV elf branded. When svr4.ko is loaded -- it handles them. So, in order to run linux binaries while svr4 enabled, you have to rebrand them first. (call 'brandelf -t Linux <execfile>' for each binary)