Hi,

The relevant part seems to be:

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.

Reply via email to