Hello all, I hope you are doing well. I have a question about building with sbuild. I was trying to build a .dsc file but I get a failed build error, on the other hand with pbuilder all works fine. I'm attaching the message error, appreciate any help. Thanks.
Option c_args is: ['-Wdate-time', '-D_FORTIFY_SOURCE=2', '-g', '-O2', '-fdebug-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', '-Wformat', '-Werror=format-security', '-Wall', '-pedantic'] [default: ['-Wshadow']] Found ninja-1.10.0 at /usr/bin/ninja make[1]: Leaving directory '/<<PKGBUILDDIR>>' dh_auto_build -O--buildsystem=meson cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v [1/81] /usr/bin/meson --internal msgfmthelper ../data/io.gitlab.Goodvibes.desktop.in data/io.gitlab.Goodvibes.desktop desktop ../data/../po [2/81] /bin/gzip --keep --force data/goodvibes.1 [3/81] /usr/bin/meson --internal msgfmthelper ../data/io.gitlab.Goodvibes.appdata.xml.in data/io.gitlab.Goodvibes.appdata.xml xml ../data/../po [4/81] /bin/gzip --keep --force data/goodvibes-client.1 [5/81] ccache cc -Isrc/libcaphe/e0b4bd9@@caphe@sta -Isrc/libcaphe -I../src/libcaphe -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -pthread '-DG_LOG_DOMAIN="Caphe"' -MD -MQ 'src/libcaphe/e0b4bd9@@caphe@sta/caphe.c.o' -MF 'src/libcaphe/e0b4bd9@@caphe@sta/caphe.c.o.d' -o 'src/libcaphe/e0b4bd9@@caphe@sta/caphe.c.o' -c ../src/libcaphe/caphe.c FAILED: src/libcaphe/e0b4bd9@@caphe@sta/caphe.c.o ccache cc -Isrc/libcaphe/e0b4bd9@@caphe@sta -Isrc/libcaphe -I../src/libcaphe -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -pthread '-DG_LOG_DOMAIN="Caphe"' -MD -MQ 'src/libcaphe/e0b4bd9@@caphe@sta/caphe.c.o' -MF 'src/libcaphe/e0b4bd9@@caphe@sta/caphe.c.o.d' -o 'src/libcaphe/e0b4bd9@@caphe@sta/caphe.c.o' -c ../src/libcaphe/caphe.c ccache: error: Failed to create directory /sbuild-nonexistent/.ccache/tmp: Permission denied [6/81] ccache cc -Isrc/libcaphe/e0b4bd9@@caphe@sta -Isrc/libcaphe -I../src/libcaphe -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -pthread '-DG_LOG_DOMAIN="Caphe"' -MD -MQ 'src/libcaphe/e0b4bd9@@caphe@sta/caphe-cup.c.o' -MF 'src/libcaphe/e0b4bd9@@caphe@sta/caphe-cup.c.o.d' -o 'src/libcaphe/e0b4bd9@@caphe@sta/caphe-cup.c.o' -c ../src/libcaphe/caphe-cup.c FAILED: src/libcaphe/e0b4bd9@@caphe@sta/caphe-cup.c.o ccache cc -Isrc/libcaphe/e0b4bd9@@caphe@sta -Isrc/libcaphe -I../src/libcaphe -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O2 -g -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -pthread '-DG_LOG_DOMAIN="Caphe"' -MD -MQ 'src/libcaphe/e0b4bd9@@caphe@sta/caphe-cup.c.o' -MF 'src/libcaphe/e0b4bd9@@caphe@sta/caphe-cup.c.o.d' -o 'src/libcaphe/e0b4bd9@@caphe@sta/caphe-cup.c.o' -c ../src/libcaphe/caphe-cup.c ccache: error: Failed to create directory /sbuild-nonexistent/.ccache/tmp: Permission denied [7/81] /usr/bin/meson --internal exe --capture data/com.elboulangero.Goodvibes.enums.xml -- /usr/bin/glib-mkenums --comments '<!-- @comment@ -->' --fhead '<schemalist>' --vhead ' <@type@ id="com.elboulangero.Goodvibes.@EnumName@">' --vprod ' <value nick="@valuenick@" value="@valuenum@"/>' --vtail ' </@type@>' --ftail '</schemalist>' /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../data/../src/ui/gv-main-window.h /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../data/../src/ui/gv-status-icon.h [8/81] /usr/bin/meson --internal exe --capture data/io.gitlab.Goodvibes.enums.xml -- /usr/bin/glib-mkenums --comments '<!-- @comment@ -->' --fhead '<schemalist>' --vhead ' <@type@ id="io.gitlab.Goodvibes.@EnumName@">' --vprod ' <value nick="@valuenick@" value="@valuenum@"/>' --vtail ' </@type@>' --ftail '</schemalist>' /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../data/../src/ui/gv-main-window.h /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/../data/../src/ui/gv-status-icon.h ninja: build stopped: subcommand failed. dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v returned exit code 1 make: *** [debian/rules:7: build] Error 25 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- Build finished at 2020-06-12T20:54:58Z Finished -------- +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<<BUILDDIR>> Not cleaning session: cloned chroot in use E: Build failure (dpkg-buildpackage died) Best regards, Elías Alejandro