control: tags -1 patch > CMake Error: The following variables are used in this project, but > they are set to NOTFOUND. > Please set them or make sure they are set and tested correctly in the > CMake files: > MYSQL_LIBRARIES_atomic > linked by target "mydumper" in directory /<<PKGBUILDDIR>> > linked by target "myloader" in directory /<<PKGBUILDDIR>> > > -- Configuring incomplete, errors occurred! > > It turns out that mysql_config returns as a necessary lib on amd64 in > sid. libatomic1 package is properly installed as a dependancy, but it > installs atomic.so.1 library symlink which isn't detected by cmake. I > am not sure if this is the desired behaviour, but I would assume so, > since atomic.so (which seems to be required for cmake detection to > work) is part of libgcc-{5,6}-dev packages. So possible solutions are: > > a) patch cmake/modules/FindMySQL.cmake to find atomic.so.1 > b) add proper libgcc-{5,6}-dev package dependancy > > I am not quite sure how to determine which libgcc-dev version I should > use, also I think that this dependancy is not required on i386 (and > possibly other architectures as well). Will update this bug after I > find some more info.
I didn't find a reason for such atomic being included printing some debug seems to introduce it at the very end of that FindMySql.cmake file anyway, there is a better and working Find module by cmake fols https://cmake.org/Wiki/CMakeUserFindMySQL Just replace it as a patch and everything will work. G.
signature.asc
Description: OpenPGP digital signature