[SRU] pcl_features-1.8.pc pkg-config file dep on missing pcl_2d-1.8
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:/
tags: | added: zesty |
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 |
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