[SRU] pcl_features-1.8.pc pkg-config file dep on missing pcl_2d-1.8

Bug #1738902 reported by Robert Bragg
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcl (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Fix Released
Undecided
Gianfranco Costamagna

Bug Description

[Impact]

All the pcl_foo-1.8.pc pkg-config files that themselves depend on pcl_features-1.8 aren't usable currently due to pcl_features-1.8 referencing a non-existent pcl_2d-1.8 dependency.

The fixed version adds a pcl_2d-1.8.pc again.

[Test Case]

apt-get install libpcl-dev
pkg-config --cflags pcl_features-1.8

results in:

Package pcl_2d-1.8 was not found in the pkg-config search path.
Perhaps you should add the directory containing `pcl_2d-1.8.pc'
to the PKG_CONFIG_PATH environment variable
Package 'pcl_2d-1.8', required by 'pcl_features-1.8', not found

[Regression Potential]

This only adds the pcl_2d-1.8.pc again (generated during build) again.

[Other Info]

There is an nothr SRU currently proposed in https://bugs.launchpad.net/ubuntu/+source/pcl/+bug/1771124. This doesn't conflict with it and would best be released together.

Revision history for this message
Robert Bragg (robert-sixbynine) wrote :

I just realised a further problem that means that even with the above issue fixed then the pcl pkg-config files are still unusable because pcl's headers also depends on Eigen 3 (and so the pkg-config --cflags also need to have -I/usr/include/eigen3 otherwise the pcl headers aren't usable.

Workaround:

sudo sed -i 's/Requires:/Requires: eigen3 /g' /usr/lib/x86_64-linux-gnu/pkgconfig/pcl_common-1.8.pc

tags: added: zesty
Revision history for this message
Jochen Sprickerhof (v-launchpad-jochen-sprickerhof-de) wrote :

Fixed in 1.8.1+dfsg1-6 released to cosmic

Changed in pcl (Ubuntu):
status: New → Fix Released
description: updated
summary: - pcl_features-1.8.pc pkg-config file dep on missing pcl_2d-1.8
+ [SRU] pcl_features-1.8.pc pkg-config file dep on missing pcl_2d-1.8
Changed in pcl (Ubuntu Bionic):
status: New → In Progress
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

I overridden the current upload, and sponsored also this patch (together with the -g1 CXXFLAG to make the build more reliable)

Changed in pcl (Ubuntu Bionic):
assignee: nobody → Gianfranco Costamagna (costamagnagianfranco)
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Robert, or anyone else affected,

Accepted pcl into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/pcl/1.8.1+dfsg1-2ubuntu2.18.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-bionic to verification-done-bionic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-bionic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in pcl (Ubuntu Bionic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-bionic
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

tested libpcl-dev_1.8.1+dfsg1-2ubuntu2.18.04.1_amd64.deb

drwxr-xr-x root/root 0 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/
-rw-r--r-- root/root 350 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_2d-1.8.pc
-rw-r--r-- root/root 375 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_apps-1.8.pc
-rw-r--r-- root/root 355 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_common-1.8.pc
-rw-r--r-- root/root 450 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_features-1.8.pc
-rw-r--r-- root/root 444 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_filters-1.8.pc
-rw-r--r-- root/root 349 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_geometry-1.8.pc
-rw-r--r-- root/root 389 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_in_hand_scanner-1.8.pc
-rw-r--r-- root/root 397 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_io-1.8.pc
-rw-r--r-- root/root 377 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_kdtree-1.8.pc
-rw-r--r-- root/root 460 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_keypoints-1.8.pc
-rw-r--r-- root/root 368 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_ml-1.8.pc
-rw-r--r-- root/root 377 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_modeler-1.8.pc
-rw-r--r-- root/root 370 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_octree-1.8.pc
-rw-r--r-- root/root 446 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_outofcore-1.8.pc
-rw-r--r-- root/root 544 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_people-1.8.pc
-rw-r--r-- root/root 419 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_point_cloud_editor-1.8.pc
-rw-r--r-- root/root 536 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_recognition-1.8.pc
-rw-r--r-- root/root 497 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_registration-1.8.pc
-rw-r--r-- root/root 425 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_sample_consensus-1.8.pc
-rw-r--r-- root/root 408 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_search-1.8.pc
-rw-r--r-- root/root 525 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_segmentation-1.8.pc
-rw-r--r-- root/root 381 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_stereo-1.8.pc
-rw-r--r-- root/root 419 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_surface-1.8.pc
-rw-r--r-- root/root 439 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_tracking-1.8.pc
-rw-r--r-- root/root 477 2018-09-10 06:22 ./usr/lib/x86_64-linux-gnu/pkgconfig/pcl_visualization-1.8.pc

tags: added: verification-done verification-done-bionic
removed: verification-needed verification-needed-bionic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pcl - 1.8.1+dfsg1-2ubuntu2.18.04.1

---------------
pcl (1.8.1+dfsg1-2ubuntu2.18.04.1) bionic; urgency=medium

  [ Jochen Sprickerhof ]
  * Disable automatic SSE detection (LP: #1771124)
  * Lower debug information, to avoid gcc ICE during build
  * Add patch to ship a pkgconfig file (LP: #1738902)

 -- Gianfranco Costamagna <email address hidden> Mon, 10 Sep 2018 08:22:16 +0200

Changed in pcl (Ubuntu Bionic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for pcl has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.