[Pkg-openmpi-maintainers] Bug#464795: Bug#464795: Bug#464795: dead symlink in /usr/lib/libmpi.so

Ondrej Certik ondrej at certik.cz
Wed Feb 13 18:01:12 UTC 2008


On Feb 13, 2008 6:50 PM, Ondrej Certik <ondrej at certik.cz> wrote:
> On Feb 12, 2008 5:12 AM, Dirk Eddelbuettel <edd at debian.org> wrote:
> >
> > On 8 February 2008 at 19:22, Dirk Eddelbuettel wrote:
> > |
> > | On 9 February 2008 at 02:01, Ondrej Certik wrote:
> > | | Package: libopenmpi-dev
> > | | Version: 1.2.5-1
> > | | Severity: normal
> > | |
> > | | --- Please enter the report below this line. ---
> > | |
> > | | Hi,
> > | |
> > | | there seems to be a dead symlink in:
> > | |
> > | | $ ll /usr/lib/libmpi.so
> > | | lrwxrwxrwx 1 root root 27 2008-02-09 01:56 /usr/lib/libmpi.so -> /etc/alternatives/libmpi.so
> > | |
> > | | It's on all of my computers. Some misconfiguration of update-alternatives on my side?
> > |
> > | Possibly so.  All well here:
> > |
> > | edd at ron:~> ls -l /usr/lib/libmpi.so /etc/alternatives/libmpi.so
> > | lrwxrwxrwx 1 root root 32 2008-01-20 19:42 /etc/alternatives/libmpi.so -> /usr/lib/openmpi/lib/libmpi.so.0
> > | lrwxrwxrwx 1 root root 27 2007-12-18 21:02 /usr/lib/libmpi.so -> /etc/alternatives/libmpi.so
> > | edd at ron:~>
> > |
> > | and evidently on buildds using Open MPI.  So please demonstrate how/why a
> > | stray file on your system is/was caused by Open Mpi -- else I'll have to
> > | close this for lack of any discernible evidence.
> >
> > As you didn't report anything reproducible, I am closing this.
>
> I did, see:
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464795#15
>
> Maybe the message ended up in your spam folder. I think this bug is not fixed.

Here is also a session in cowbuilder, that reproduces this problem:

ondra at fuji:~$ sudo cowbuilder --login
 -> Copying COW directory
 -> Invoking pbuilder
W: /home/ondra/.pbuilderrc does not exist
 -> Running in no-targz mode
 -> copying local configuration
 -> mounting /proc filesystem
 -> mounting /dev/pts filesystem
 -> policy-rc.d already exists
Obtaining the cached apt archive contents
 -> entering the shell
root at fuji:/# apt-get install openmpi-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  openmpi-common
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 48.1kB of archives.
After this operation, 233kB of additional disk space will be used.
Get:1 http://ftp.cz.debian.org sid/main openmpi-common 1.2.5-1 [48.1kB]
Fetched 48.1kB in 0s (318kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package openmpi-common.
(Reading database ... 10121 files and directories currently installed.)
Unpacking openmpi-common (from .../openmpi-common_1.2.5-1_all.deb) ...
Setting up openmpi-common (1.2.5-1) ...
root at fuji:/# apt-get install libopenmpi1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  adduser libgfortran2 libibverbs1
The following NEW packages will be installed:
  adduser libgfortran2 libibverbs1 libopenmpi1
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 1258kB/1465kB of archives.
After this operation, 4792kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://ftp.cz.debian.org sid/main libgfortran2 4.2.3-1 [197kB]
Get:2 http://ftp.cz.debian.org sid/main libopenmpi1 1.2.5-1 [1061kB]
Fetched 1258kB in 2s (441kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package adduser.
(Reading database ... 10172 files and directories currently installed.)
Unpacking adduser (from .../archives/adduser_3.105_all.deb) ...
Selecting previously deselected package libgfortran2.
Unpacking libgfortran2 (from .../libgfortran2_4.2.3-1_i386.deb) ...
Selecting previously deselected package libibverbs1.
Unpacking libibverbs1 (from .../libibverbs1_1.1.1-1_i386.deb) ...
Selecting previously deselected package libopenmpi1.
Unpacking libopenmpi1 (from .../libopenmpi1_1.2.5-1_i386.deb) ...
Setting up adduser (3.105) ...
Setting up libgfortran2 (4.2.3-1) ...
Setting up libibverbs1 (1.1.1-1) ...
Setting up libopenmpi1 (1.2.5-1) ...
root at fuji:/# apt-get install libopenmpi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  libopenmpi-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 447kB of archives.
After this operation, 3281kB of additional disk space will be used.
Get:1 http://ftp.cz.debian.org sid/main libopenmpi-dev 1.2.5-1 [447kB]
Fetched 447kB in 1s (386kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously deselected package libopenmpi-dev.
(Reading database ... 10353 files and directories currently installed.)
Unpacking libopenmpi-dev (from .../libopenmpi-dev_1.2.5-1_i386.deb) ...
Setting up libopenmpi-dev (1.2.5-1) ...
root at fuji:/# ls /usr/lib/libmpi.so
/usr/lib/libmpi.so
root at fuji:/# ls -l /usr/lib/libmpi.so
lrwxrwxrwx 1 root root 27 Feb 13 17:56 /usr/lib/libmpi.so ->
/etc/alternatives/libmpi.so
root at fuji:/# ls -l /etc/alternatives/libmpi.so
lrwxrwxrwx 1 root root 32 Feb 13 17:56 /etc/alternatives/libmpi.so ->
/usr/lib/openmpi/lib/libmpi.so.0
root at fuji:/# ls -l /usr/lib/openmpi/lib/libmpi.so.0
ls: cannot access /usr/lib/openmpi/lib/libmpi.so.0: No such file or directory



Please feel free to ask for more info. Are you able to reproduce it?
If it's a bug in update-alternatives, it may well be
that it happens in cowbuilder for me, but not for you. But I suggest
to reopen this bug until we find the real cause of the problem.

Ondrej






More information about the Pkg-openmpi-maintainers mailing list