[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wierd bug report: /usr/share/.. = / ???



Greetings,

I just received bug #141738 against petsc2.1.1-doc saying that links from /usr/share/doc/petsc2.1.1-doc/include are going to /lib/petscdir/2.1.1/include instead of /usr/lib/petscdir/2.1.1/include.

This is really odd, as I made them using dh_link and the links seem correct (../../../.. should be /usr, right?), but indeed, they give file not found errors when I try to inspect the files.

But what's *really* bizarre is:

cd /usr/share/doc/petsc2.1.1-doc/include
ls .. [gives what I'd expect, /usr/share/doc/petsc2.1.1-doc contents]
ls ../.. [gives what I'd expect, /usr/share/doc contents]
ls ../../.. [gives what I'd expect, /usr/share contents]
ls ../../../.. gives not /usr, but root!

What's wrong with the system, such that this happens -- for both me and the bug reporter? And why has this changed since I first made the symlinks and tested them, and they worked?

I don't think this is a PETSc bug, but something deeper...

TIA,
--

-Adam P.

GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Welcome to the best software in the world today cafe! <http://lyre.mit.edu/%7Epowell/The_Best_Stuff_In_The_World_Today_Cafe.ogg>




--
To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: