Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 206346
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Anant Narayanan (RETIRED) <anant@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Ripton <dripton@ripton.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info output of emerge --info text/plain David Ripton 2008-01-18 12:50 0000 3.45 KB Details
emerge.dmd-bin output from "sudo emerge dmd-bin" text/plain David Ripton 2008-01-18 12:52 0000 27.25 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 206346 depends on: Show dependency tree
Bug 206346 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-01-17 15:13 0000
dev-lang/dmd-bin-2.008 installs the dmd binary, but fails to install the Phobos
library (libphobos2.a) that is bundled with dmd.  This makes it impossible to
compile any D code that uses the Phobos library.  (Most D code.)

The ebuild deletes the bundled libphobos2.a and attempts to recompile it, but I
believe this recompile fails.  I believe because of various "permission denied"
errors.  (Surprising since emerge runs as root, but maybe this ebuild is not
sandbox-friendly?)

Workaround: pluck libphobos2.a out of the dmd.2.008.zip file, create
/opt/dmd/lib, and drop the file there.

Since this is a -bin ebuild anyway, maybe it would make sense to just copy
libphobos2.a rather than attempting to rebuild it?

------- Comment #1 From Anant Narayanan (RETIRED) 2008-01-18 10:54:46 0000 -------
I can't seem to reproduce this. Could you paste outputs of your emerge, and
emerge --info so I can see where the problem is? On my machine:

anant@tg-nix ~ $ equery files dmd-bin | grep libphobos2
/opt/dmd/lib/libphobos2.a

I unmerged and emerged it for good measure, and still don't see any problems.

------- Comment #2 From David Ripton 2008-01-18 12:50:58 0000 -------
Created an attachment (id=141218) [details]
output of emerge --info

------- Comment #3 From David Ripton 2008-01-18 12:52:21 0000 -------
Created an attachment (id=141219) [details]
output from "sudo emerge dmd-bin"

Note that I had to hit "y" after each "rm: remove write-protected regular file
`bin//dmd'?"

This is already logged as bug 203350.  I suspect the problems are related.

------- Comment #4 From David Ripton 2008-01-18 13:01:00 0000 -------
Added emerge --info and emerge dmd-bin output as attachments.

Turning off sandbox didn't help with the "permission denied" errors.

------- Comment #5 From Anant Narayanan (RETIRED) 2008-01-18 16:09:27 0000 -------
Fixed in CVS.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug