[Pkg-openmpi-maintainers] Bug#444663: openmpi-bin: mpic++ opening non-existent filename

Keith Hellman khellman at mcprogramming.com
Sun Sep 30 07:58:34 UTC 2007


Package: openmpi-bin
Version: 1.1-2.5
Severity: grave
Justification: renders package unusable

Running 
 $ strace mpic++ foo.cc
produces:

execve("/usr/bin/mpic++", ["mpic++", "-D_GNU_SOURCE", "-D__USE_GNU", "-Wall", "-g", "-c", "-o", "psieve.o", "psieve.cc"], [/* 65 vars */]) = 0
brk(0)                                  = 0x603000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac380129000
:
:
uname({sys="Linux", node="doberman", ...}) = 0
brk(0x624000)                           = 0x624000
uname({sys="Linux", node="doberman", ...}) = 0
open("/etc/openmpi/openmpi-mca-params.conf", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff2a99a6d0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(3, {st_mode=S_IFREG|0644, st_size=2814, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac38012c000
read(3, "#\n# Copyright (c) 2004-2005 The "..., 8192) = 2814
read(3, "", 4096)                       = 0
read(3, "", 8192)                       = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff2a99a690) = -1 ENOTTY (Inappropriate ioctl for device)
close(3)                                = 0
munmap(0x2ac38012c000, 4096)            = 0
open("/home/khellman/.openmpi/mca-params.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGABRT, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
open("${prefix}/share/openmpi/mpic++-wrapper-data.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
exit_group(-13)                         = ?
Process 32238 detached

It appears the ${prefix} wasn't replaced by the config script?

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.iso885915, LC_CTYPE=en_US.iso885915 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages openmpi-bin depends on:
ii  libc6                         2.6.1-1    GNU C Library: Shared libraries
ii  libgcc1                       1:4.2.1-4  GCC support library
ii  libstdc++6                    4.2.1-4    The GNU Standard C++ Library v3
ii  openmpi-common                1.1-2.5    high performance message passing l
ii  openmpi-libs0                 1.1-2.5    high performance message passing l

openmpi-bin recommends no packages.

-- no debconf information
-------------- next part --------------
execve("/usr/bin/mpic++", ["mpic++", "-D_GNU_SOURCE", "-D__USE_GNU", "-Wall", "-g", "-c", "-o", "psieve.o", "psieve.cc"], [/* 65 vars */]) = 0
brk(0)                                  = 0x603000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac380129000
uname({sys="Linux", node="doberman", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac38012a000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("tls/x86_64/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libopal.so.0", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("x86_64/libopal.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("libopal.so.0", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/tls/x86_64/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/lib/tls/x86_64", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/tls/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/lib/tls", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/x86_64/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/lib/x86_64", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/home/khellman/local/lib/tls/x86_64/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/local/lib/tls/x86_64", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/tls/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/local/lib/tls", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/x86_64/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/local/lib/x86_64", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/home/khellman/local/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/local/lib/tls/x86_64/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls/x86_64", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/tls/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/tls", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/x86_64/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/x86_64", 0x7fff2a999e00) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libopal.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib", {st_mode=S_IFDIR|S_ISGID|0775, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=78163, ...}) = 0
mmap(NULL, 78163, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ac38012c000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libopal.so.0", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\263\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=203904, ...}) = 0
mmap(NULL, 2440960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac38032a000
mprotect(0x2ac38035a000, 2093056, PROT_NONE) = 0
mmap(0x2ac380559000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f000) = 0x2ac380559000
mmap(0x2ac38055c000, 139008, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac38055c000
close(3)                                = 0
open("tls/x86_64/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libdl.so.2", O_RDONLY)        = -1 ENOENT (No such file or directory)
open("x86_64/libdl.so.2", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("libdl.so.2", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \16\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14624, ...}) = 0
mmap(NULL, 2109728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac38057e000
mprotect(0x2ac380580000, 2097152, PROT_NONE) = 0
mmap(0x2ac380780000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x2ac380780000
close(3)                                = 0
open("tls/x86_64/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libnsl.so.1", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("x86_64/libnsl.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("libnsl.so.1", O_RDONLY)           = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnsl.so.1", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0A\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=93088, ...}) = 0
mmap(NULL, 2198224, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac380782000
mprotect(0x2ac380797000, 2097152, PROT_NONE) = 0
mmap(0x2ac380997000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x2ac380997000
mmap(0x2ac380999000, 6864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac380999000
close(3)                                = 0
open("tls/x86_64/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libutil.so.1", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("x86_64/libutil.so.1", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("libutil.so.1", O_RDONLY)          = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libutil.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libutil.so.1", O_RDONLY)     = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\240\16\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=10584, ...}) = 0
mmap(NULL, 2105624, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac38099b000
mprotect(0x2ac38099d000, 2093056, PROT_NONE) = 0
mmap(0x2ac380b9c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x2ac380b9c000
close(3)                                = 0
open("tls/x86_64/libm.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("tls/libm.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("x86_64/libm.so.6", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libm.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320>\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=526568, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac380b9e000
mmap(NULL, 2621672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac380b9f000
mprotect(0x2ac380c1f000, 2093056, PROT_NONE) = 0
mmap(0x2ac380e1e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7f000) = 0x2ac380e1e000
close(3)                                = 0
open("tls/x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("tls/libpthread.so.0", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("x86_64/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("libpthread.so.0", O_RDONLY)       = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`W\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=126008, ...}) = 0
mmap(NULL, 2204528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac380e20000
mprotect(0x2ac380e35000, 2097152, PROT_NONE) = 0
mmap(0x2ac381035000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x2ac381035000
mmap(0x2ac381037000, 13168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac381037000
close(3)                                = 0
open("tls/x86_64/libc.so.6", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("tls/libc.so.6", O_RDONLY)         = -1 ENOENT (No such file or directory)
open("x86_64/libc.so.6", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("libc.so.6", O_RDONLY)             = -1 ENOENT (No such file or directory)
open("/home/khellman/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/khellman/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\334\1\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1391928, ...}) = 0
mmap(NULL, 3498360, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2ac38103b000
mprotect(0x2ac381188000, 2097152, PROT_NONE) = 0
mmap(0x2ac381388000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d000) = 0x2ac381388000
mmap(0x2ac38138d000, 16760, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac38138d000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac381392000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac381393000
arch_prctl(ARCH_SET_FS, 0x2ac381393250) = 0
mprotect(0x2ac381388000, 12288, PROT_READ) = 0
munmap(0x2ac38012c000, 78163)           = 0
set_tid_address(0x2ac3813932e0)         = 32238
syscall_273(0x2ac3813932f0, 0x18, 0x7fff2a99aa58, 0, 0x2ac381393250, 0x81393250, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9, 0x9) = 0
rt_sigaction(SIGRTMIN, {0x2ac380e252e0, [], SA_RESTORER|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x2ac380e25360, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x603000
brk(0x624000)                           = 0x624000
uname({sys="Linux", node="doberman", ...}) = 0
open("/etc/openmpi/openmpi-mca-params.conf", O_RDONLY) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff2a99a6d0) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(3, {st_mode=S_IFREG|0644, st_size=2814, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ac38012c000
read(3, "#\n# Copyright (c) 2004-2005 The "..., 8192) = 2814
read(3, "", 4096)                       = 0
read(3, "", 8192)                       = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff2a99a690) = -1 ENOTTY (Inappropriate ioctl for device)
close(3)                                = 0
munmap(0x2ac38012c000, 4096)            = 0
open("/home/khellman/.openmpi/mca-params.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
rt_sigaction(SIGABRT, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigaction(SIGBUS, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigaction(SIGFPE, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
rt_sigaction(SIGSEGV, {0x2ac38034afb0, [], SA_RESTORER|SA_ONESHOT|SA_SIGINFO, 0x2ac380e2e100}, NULL, 8) = 0
open("${prefix}/share/openmpi/mpic++-wrapper-data.txt", O_RDONLY) = -1 ENOENT (No such file or directory)
exit_group(-13)                         = ?
Process 32238 detached


More information about the Pkg-openmpi-maintainers mailing list