
Eu fiz umpacote debianparaCobertore tentei construí-lo com a receita do Launchpad.
Embora seja compilado com sucesso no meu computador (Xubuntu 20.04), elenão consegue construirpara focal no Launchpad. Aqui está a parte relevante do buildlog.
Found ninja-1.10.0 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v
[1/3] glib-compile-resources ../data/resources/blanket.gresource.xml --sourcedir ../data/resources --internal --generate --target data/resources/blanket.gresource --dependency-file data/resources/blanket.gresource.d
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[2/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.metainfo.xml.in data/com.rafaelmardojai.Blanket.metainfo.xml xml ../data/../po
FAILED: data/com.rafaelmardojai.Blanket.metainfo.xml
/usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.metainfo.xml.in data/com.rafaelmardojai.Blanket.metainfo.xml xml ../data/../po
msgfmt: cannot locate ITS rules for ../data/com.rafaelmardojai.Blanket.metainfo.xml.in
[3/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.desktop.in data/com.rafaelmardojai.Blanket.desktop desktop ../data/../po
ninja: build stopped: subcommand failed.
No meu computador (quando executo debuild
), a parte relevante da saída é
Found ninja-1.10.0 at /usr/bin/ninja
dh_auto_build
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j4 -v
[1/3] glib-compile-resources ../data/resources/blanket.gresource.xml --sourcedir ../data/resources --internal --generate --target data/resources/blanket.gresource --dependency-file data/resources/blanket.gresource.d
xml-stripblanks preprocessing requested, but XMLLINT is not set, and xmllint is not in PATH
[2/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.desktop.in data/com.rafaelmardojai.Blanket.desktop desktop ../data/../po
[3/3] /usr/bin/meson --internal msgfmthelper ../data/com.rafaelmardojai.Blanket.metainfo.xml.in data/com.rafaelmardojai.Blanket.metainfo.xml xml ../data/../po
dh_auto_test
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test
[0/1] Running all tests.
1/2 Validate desktop file OK 0.01 s
2/2 Validate schema file OK 0.01 s
Ok: 2
e a construção continua com sucesso. Como sugerido poresse, adicionei libappstream-glib-dev
ao build-depends
campo, mas não funcionou.
Estou recebendo o mesmo erro dentro de um pbuilder
ambiente chroot. Estou faltando alguma dependência de compilação ao construí-la no Launchpad?
Responder1
A dependência de compilação ausente era appstream
(not libappstream-glib-dev
). Tem que ser adicionado build-depends
em debian/control
.
Graças aColin Watson, que forneceu essas informações emPlataforma de lançamento.