Bug 138878 - [patch] lib/ld-2.6.1.so in emulators/linux_dist-gentoo-stage* needs to be brandelf'ed linux
Summary: [patch] lib/ld-2.6.1.so in emulators/linux_dist-gentoo-stage* needs to be bra...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Gabor Kovesdan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-16 14:20 UTC by Alexander Best
Modified: 2009-10-31 14:00 UTC (History)
0 users

See Also:


Attachments
file.diff (963 bytes, patch)
2009-09-16 14:20 UTC, Alexander Best
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Best 2009-09-16 14:20:02 UTC
emulators/linux_dist-gentoo-stage* don't brandelf lib/ld-2.6.1.so as linux. so the lib remains type 0 (svr4).

running a jail in /usr/local/gentoo-stage* and doing `ldd /bin/ls` e.g. fails with this error message:

ELF binary type "0" not known.
/usr/bin/ldd: line 169: /lib/ld-linux.so.2: cannot execute binary file
ldd: exited with unknown exit code (126)

the attached patch fixes the problem.

cheers.
alex

Fix: Patch attached with submission follows:
How-To-Repeat: see full description for and example to reproduce the problem.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-09-16 23:02:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->emulators

Over to responsible party
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-09-21 17:30:47 UTC
Responsible Changed
From-To: emulators->gabor

Over to maintainer.
Comment 3 Alexander Best 2009-10-22 21:28:12 UTC
to the person committing these changes: please add/bump PORTREVISION in both
ports.

thx.
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-10-31 13:47:29 UTC
gabor       2009-10-31 13:47:20 UTC

  FreeBSD ports repository

  Modified files:
    emulators/linux_dist-gentoo-stage1 Makefile 
    emulators/linux_dist-gentoo-stage3 Makefile 
  Log:
  - brandelf ld-2.6.1.so to Linux
  
  PR:             ports/138878
  Submitted by:   Alexander Best <alexbestms@math.uni-muenster.de>
  
  Revision  Changes    Path
  1.43      +2 -0      ports/emulators/linux_dist-gentoo-stage1/Makefile
  1.14      +2 -0      ports/emulators/linux_dist-gentoo-stage3/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Gabor Kovesdan freebsd_committer freebsd_triage 2009-10-31 13:49:59 UTC
State Changed
From-To: open->closed

Committed, thanks!