[debian-mysql] MariaDB 10.6 for Debian packaged

Otto Kekäläinen otto at debian.org
Mon Oct 11 18:55:49 BST 2021


Hello Stephen!

If you run cmake manually you need to point it to the sources. Since
you did 'cd builddir' you need to add a '..' to the cmake command to
point it to the sources.

However I don't understand why you want to run the build commands
manually when you can just use git-buildpackage? You are probably
better off testing Debian packaging using Debian packaging commands
like the gbp, debuilder etc.

See docs at
- https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/README.Contributor
- https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/home

On Mon, Oct 11, 2021 at 1:37 AM Stephen <stephen at tha.net> wrote:
>
> Tried building on latest testing and hit some issue. Have attached the build logs
>
> If I run the last builds command again I get the following  error. Not sure if it needs to copy all the src in ./ to the builddir/ or not?
>
> root at stfletch-debian:/usr/src/mariadb-server# cd builddir && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_PMEM=yes "-DCOMPILATION_COMMENT=Debian testing " -DMYSQL_SERVER_SUFFIX=-1 -DSYSTEM_TYPE=debian-linux-gnu -DCMAKE_SYSTEM_PROCESSOR=amd64 -DBUILD_CONFIG=mysql_release -DCONC_DEFAULT_CHARSET=utf8mb4 -DPLUGIN_AWS_KEY_MANAGEMENT=NO -DPLUGIN_COLUMNSTORE=NO -DIGNORE_AIO_CHECK=YES -DWITH_URING=YES -DWITH_INNODB_SNAPPY=ON -DDEB=Debian
> CMake Warning:
>   No source or binary directory provided.  Both will be assumed to be the
>   same as the current working directory, but note that this warning will
>   become a fatal error in future CMake releases.
>
>
> CMake Error: The source directory "/usr/src/mariadb-server/builddir" does not appear to contain CMakeLists.txt.
> Specify --help for usage, or press the help button on the CMake GUI.



More information about the pkg-mysql-maint mailing list