<div dir="auto">I initially ran “dpkg-buildpackage -b” as per attached logs but it failed on the build command in the email text.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 12 Oct 2021 at 4:56 am, Otto Kekäläinen <<a href="mailto:otto@debian.org">otto@debian.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Stephen!<br>
<br>
If you run cmake manually you need to point it to the sources. Since<br>
you did 'cd builddir' you need to add a '..' to the cmake command to<br>
point it to the sources.<br>
<br>
However I don't understand why you want to run the build commands<br>
manually when you can just use git-buildpackage? You are probably<br>
better off testing Debian packaging using Debian packaging commands<br>
like the gbp, debuilder etc.<br>
<br>
See docs at<br>
- <a href="https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/README.Contributor" rel="noreferrer" target="_blank">https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/README.Contributor</a><br>
- <a href="https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/home" rel="noreferrer" target="_blank">https://salsa.debian.org/mariadb-team/mariadb-server/-/wikis/home</a><br>
<br>
On Mon, Oct 11, 2021 at 1:37 AM Stephen <<a href="mailto:stephen@tha.net" target="_blank">stephen@tha.net</a>> wrote:<br>
><br>
> Tried building on latest testing and hit some issue. Have attached the build logs<br>
><br>
> 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?<br>
><br>
> root@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<br>
> CMake Warning:<br>
> No source or binary directory provided. Both will be assumed to be the<br>
> same as the current working directory, but note that this warning will<br>
> become a fatal error in future CMake releases.<br>
><br>
><br>
> CMake Error: The source directory "/usr/src/mariadb-server/builddir" does not appear to contain CMakeLists.txt.<br>
> Specify --help for usage, or press the help button on the CMake GUI.<br>
</blockquote></div></div>