Bug 45210

Summary: Broken Linux ABI Emulation in emulators/linux_base in FreeBSD 4.7#0 (7.1_1) -
Product: Ports & Packages Reporter: feh
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description feh 2002-11-11 13:50:01 UTC
 Hi,
 
 sorry for freely posting this PR without going thru the www.freebsd.org - your web server is broken:
 
 "Forbidden
 
 You don't have permission to access /send-pr.html on this server."
 
 Now the bug itself:
 
 System: 
 
 orion# uname -a
 FreeBSD orion.fehnet.de 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sat Nov  9 18:56:59 CET 2002     root@orion.fehnet.de:/usr/src/sys/compile/ORION  i386
 
 Here, a console log:
 
 orion# file fsavser.4.14.4062.bin 
 fsavser.4.14.4062.bin: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, not stripped
 orion# chmod +x fsavser.4.14.4062.bin 
 orion# ./fsavser.4.14.4062.bin 
 ELF binary type "0" not known.
 Abort
 orion# brandelf -t Linux fsavser.4.14.4062.bin 
 orion# ./fsavser.4.14.4062.bin
 ELF binary type "3" not known.
 Abort
 
 What happened? 
 I tried to install FSecure's AV tool on my new system (4.3 -> 4.7). The binary is working under FreeBSD 4.3, if its brandelf'ed for Linux.
 
 The new Linux emulation 7.1.1 does not recognize the binary to be Linux anymore.
 
 Workaround:
 Removed the Linux compatibilty 7.1_1. and installed those from 4.6 (6.1_1). 
 
 orion# pkg_info | grep linux
 linux_base-6.1_1    The base set of packages needed in Linux mode
 
 
  From my point of view, this is a major bug in 7.1_1.
 
 regards.
 --eh. 
 +-----------------------------------------------------------------------+
 |  fff        hh         http://www.fehcom.de        Dr. Erwin Hoffmann |
 | ff          hh                                                        |
 | ff    eee   hhhh      ccc   ooo    mm mm  mm       Wiener Weg 8       |
 | fff  ee ee  hh  hh   cc   oo   oo  mmm  mm  mm     50858 Koeln        |
 | ff  ee eee  hh  hh  cc   oo     oo mm   mm  mm                        |
 | ff  eee     hh  hh   cc   oo   oo  mm   mm  mm     Tel 0221 484 4923  |
 | ff   eeee   hh  hh    ccc   ooo    mm   mm  mm     Fax 0221 484 4924  |
 +-----------------------------------------------------------------------+
Comment 1 Tom Hukins freebsd_committer freebsd_triage 2003-01-15 13:35:45 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports

Reassign misfiled PR.
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2003-09-28 02:35:21 UTC
State Changed
From-To: feedback->closed

If this is still a problem with the latest (3.23.58) one, please 
resubmit the problem. Most likely it was caused by the not running 
of ldconfig by the port. If it still occures, please add the output 
of "ldconfig -r" to the PR.
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2003-09-28 02:35:21 UTC
State Changed
From-To: open->open

euhmm.. I'll redit this PR.
Comment 4 Sergey A. Osokin freebsd_committer freebsd_triage 2003-11-17 22:35:59 UTC
State Changed
From-To: open->feedback

Please try to reproduce your bug with latest version of 
linux_base 7.1_5.  Thanks.
Comment 5 Sergey A. Osokin freebsd_committer freebsd_triage 2003-11-24 13:27:36 UTC
State Changed
From-To: feedback->closed

Feedback timeout.