group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #15667
[Bug 1704459] Re: rebuild needed because dependency changed location of exported libmpi.so library
Hello Mikael, or anyone else affected,
Accepted pcl into xenial-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/pcl/1.7.2-14ubuntu1.16.04.1 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Also affects: pcl (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: pcl (Ubuntu Xenial)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-xenial
** Changed in: pcl (Ubuntu Zesty)
Status: New => Fix Committed
** Tags added: verification-needed-zesty
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1704459
Title:
rebuild needed because dependency changed location of exported
libmpi.so library
Status in pcl package in Ubuntu:
Confirmed
Status in pcl source package in Xenial:
Fix Committed
Status in pcl source package in Zesty:
Fix Committed
Status in pcl source package in Artful:
Confirmed
Bug description:
[Impact]
* This bug prevents users to link dynamically against pcl libraries
* There is no upload required as rebuilding the package is enough to fix the bug
[Test Case]
* install libpcl-dev
* apt-get update && apt-get install libpcl-dev
* mkdir -p /tmp/test_pcl/src && cd /tmp/test_pcl
* echo "#include <pcl/common/io.h>" > src/foo.cpp
* create a CMakeLists.txt
```
find_package(PCL REQUIRED)
option(BUILD_SHARED_LIBS "Build shared libs" ON)
include_directories(${PCL_INCLUDE_DIRS})
add_library(foolib src/foo.cpp)
target_link_libraries(foolib ${PCL_LIBRARIES})
```
* mkdir build && cd build
* cmake ..
* make
This produces the error message:
```
make[2]: *** No rule to make target '/usr/lib/libmpi.so', needed by 'libfoolib.so'. Stop.
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/foolib.dir/all' failed
make[1]: *** [CMakeFiles/foolib.dir/all] Error 2
```
[Patch]
* Rebuild the package
* Test case passes once the package rebuilt
[Regression Potential]
* Given that the patch is just a rebuild I don't see a potential for regression
Package: libpcl-dev (1.8.0+dfsg1-4ubuntu4) (on Zesty)
Source of the bug: last build of vtk6 exports libmpi.so in
/usr/lib/x86_64-linux-gnu/openmpi/lib and not /usr/lib/openmpi/lib
anymore.
Impact: unable to link libraries against pcl-dev without [hacky
workaround](https://github.com/ros-
perception/perception_pcl/commit/42683bd4069c3a8bcec56d6c4e686d9e8643e77b)
Changelog introducing the bug:
```
vtk6 (6.3.0+dfsg1-3) unstable; urgency=medium
* Rebuild against new multiarch enabled openmpi, Closes: #848785
```
Solution: rebuild libpcl-dev against libvtk6-dev (6.3.0+dfsg1-3)
Thanks!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pcl/+bug/1704459/+subscriptions