Red Hat Bugzilla – Bug 614657
Libdap 3.10.2 dropped a function
Last modified: 2010-07-15 13:26:32 EDT
Description of problem:
QGIS doesn't build. Libdap obviously dropped an exported function without changing the version number. This causes problems in GDAL, which results in QGIS not building.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to build QGIS in Rawhide
QGIS fails to build
/usr/lib/gcc/x86_64-redhat-linux/4.5.0/../../../../lib64/libgdal.so: undefined reference to `libdap::AISConnect::AISConnect(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
Yeah, ABI changes without a soname bump are evil.
If the removal was intentional, 1. the soname ought to be bumped and 2. it would be great if upstream could tell us what to use instead in GDAL.
Forwarded this to email@example.com, but the AIS* code files are missing from libdap and commented out of the makefile, so it appears intentional.
Sorry for the mess.
Here's the reply I got:
Darn! Yes, AISConnect(...) has been removed. Bump the version. Also,
replace calls to that function with calls to Connect(...). Same
arguments. I had no idea anyone was using that function...
I've built libdap-3.10.2-3.fc14 which has a soname of libdap.so.11. I'll do rebuilds of gdal and others as well.