Your message dated Fri, 30 Nov 2007 23:30:35 +0100
with message-id <[EMAIL PROTECTED]>
and subject line cannot reproduce FTBFS
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: opal
Version: 2.2.11~dfsg1-3
Severity: serious
Tags: patch

        Hi there,

 While building opal in a pbuilder, I got:
...
make[2]: Entering directory
`/tmp/buildd/opal-2.2.11~dfsg1/samples/simple'
g++ -D_REENTRANT -Wall  -g -D_DEBUG -DNDEBUG -I/usr/share/pwlib/include
-DPTRACING -I/tmp/buildd/opal-2.2.11~dfsg1/include  -g  -c main.cxx -o
obj_linux_x86_d/main.o
g++ -o obj_linux_x86_d/simpleopal -g   -L/usr/lib
-L/tmp/buildd/opal-2.2.11~dfsg1/lib/debug   ./obj_linux_x86_d/main.o
-lopal -lpt -lspeex -lldap -llber -lldap_r  -lpthread -lsasl2 -lssl
-lcrypto -lexpat -lresolv -ldl 
make[2]: Leaving directory
`/tmp/buildd/opal-2.2.11~dfsg1/samples/simple'
make[1]: Leaving directory
`/tmp/buildd/opal-2.2.11~dfsg1/samples/simple'
samples/simple/obj_*_n/simpleopal --help >/dev/null
samples/simple/obj_linux_x86_n/simpleopal: error while loading shared
libraries: libopal.so.2.2: cannot open shared object file: No such file
or directory

 It seems the simpleopal binaries need libopal to run, adding
 "LD_LIBRARY_PATH=$PWD/lib/opt:$LD_LIBRARY_PATH" in front of these fixed
 the FTBFS for me.

 Patch attached.

   Thanks!
-- 
Loïc Minier
Index: debian/changelog
===================================================================
--- debian/changelog (revision 4866)
+++ debian/changelog (working copy)
@@ -1,8 +1,13 @@
 opal (2.2.11~dfsg1-4) UNRELEASED; urgency=low
 
+  [ Kilian Krause ]
   * Fix regexp generating UPVRESION for backports.
 
- -- Kilian Krause <[EMAIL PROTECTED]>  Sat,  3 Nov 2007 11:16:00 +0100
+  [ Loic Minier ]
+  * Prepend $(CURDIR)/lib/opt to LD_LIBRARY_PATH when calling
+    samples/simple/obj_*_*/simpleopal as these need libopal.
+
+ -- Loic Minier <[EMAIL PROTECTED]>  Tue, 27 Nov 2007 15:12:06 +0100
 
 opal (2.2.11~dfsg1-3) unstable; urgency=high
 
Index: debian/rules
===================================================================
--- debian/rules (revision 4866)
+++ debian/rules (working copy)
@@ -88,9 +88,9 @@ build-arch-stamp: config.status
 	$(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG= NOTRACE= P_SHAREDLIB=0 OBJDIR_SUFFIX=r OPAL_LIBDIR=$(CURDIR)/lib/opt -C samples/simple optnoshared
 	$(MAKE) $(MAKE_BUILD_PARAM) CFLAGS="$(CFLAGS)" DEBUG=1 NOTRACE= P_SHAREDLIB=0 OBJDIR_SUFFIX=d OPAL_LIBDIR=$(CURDIR)/lib/debug -C samples/simple debugnoshared
 	
-	samples/simple/obj_*_n/simpleopal --help >/dev/null
-	samples/simple/obj_*_r/simpleopal --help >/dev/null
-	samples/simple/obj_*_d/simpleopal --help >/dev/null
+	LD_LIBRARY_PATH=$(CURDIR)/lib/opt:$(LD_LIBRARY_PATH) samples/simple/obj_*_n/simpleopal --help >/dev/null
+	LD_LIBRARY_PATH=$(CURDIR)/lib/opt:$(LD_LIBRARY_PATH) samples/simple/obj_*_r/simpleopal --help >/dev/null
+	LD_LIBRARY_PATH=$(CURDIR)/lib/opt:$(LD_LIBRARY_PATH) samples/simple/obj_*_d/simpleopal --help >/dev/null
 	## then shared...
 	$(MAKE) $(MAKE_BUILD_PARAM) -C samples/simple clean
 	$(RM) -rf samples/simple/obj_*

--- End Message ---
--- Begin Message ---
Hi Loic,

after intensive testing with different setups the FTBFS cannot be
reproduced, so please file a more complete testcase on how to get this
including all steps if you still get it.

-- 
Best regards,
Kilian

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to