control: tags -1 patch

Hello, the following done like what was done in src:mercurial looks fixing the 
issue.
G.

diff -Nru libprelude-5.2.0/debian/rules libprelude-5.2.0/debian/rules
--- libprelude-5.2.0/debian/rules       2021-09-01 16:18:57.000000000 +0200
+++ libprelude-5.2.0/debian/rules       2023-11-22 11:08:39.000000000 +0100
@@ -46,14 +46,14 @@
override_dh_auto_install: install-core $(PY3VERS:%=install-python%)
 install-core:
-       dh_auto_install
+       dh_auto_install -- DEB_PYTHON_INSTALL_LAYOUT=deb
        find . -name "__pycache__" -exec rm -rvf {} +
        find . -name "*.la" -exec sed -i -e 
's/^dependency_libs=.*$$/dependency_libs=/g' {} +
        mkdir -pv $(CURDIR)/debian/tmp/usr/share/doc/libprelude-doc
        ln -s /usr/share/gtk-doc/html/libprelude 
$(CURDIR)/debian/tmp/usr/share/doc/libprelude-doc/html
install-python%:
-       cd bindings/python && python$* setup.py install --root 
$(CURDIR)/debian/tmp
+       cd bindings/python && python$* setup.py install --root 
$(CURDIR)/debian/tmp --install-layout deb
%:
        dh $@ $(DH_ADDONS)

On Fri, 27 Oct 2023 21:37:32 +0200 Lucas Nussbaum <lu...@debian.org> wrote:
Source: libprelude
Version: 5.2.0-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[5]: Entering directory '/<<PKGBUILDDIR>>'
>  /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
>  /usr/bin/install -c ./libprelude-config '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
> /usr/bin/install -c -d -m 711 /<<PKGBUILDDIR>>/debian/tmp/var/spool/prelude;
> /usr/bin/install -c -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/etc/prelude;
> /usr/bin/install -c -d -m 755 /<<PKGBUILDDIR>>/debian/tmp/etc/prelude/default;
> /usr/bin/install -c -d -m 711 /<<PKGBUILDDIR>>/debian/tmp/etc/prelude/profile;
>  /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/include/libprelude'
>  /usr/bin/install -c -m 644 prelude-config.h 
'/<<PKGBUILDDIR>>/debian/tmp/usr/include/libprelude'
> make[5]: Leaving directory '/<<PKGBUILDDIR>>'
> make[4]: Leaving directory '/<<PKGBUILDDIR>>'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> find . -name "__pycache__" -exec rm -rvf {} +
> removed 
'./debian/tmp/usr/local/lib/python3.11/dist-packages/__pycache__/prelude.cpython-311.pyc'
> removed directory 
'./debian/tmp/usr/local/lib/python3.11/dist-packages/__pycache__'
> find . -name "*.la" -exec sed -i -e 
's/^dependency_libs=.*$/dependency_libs=/g' {} +
> mkdir -pv /<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/libprelude-doc
> mkdir: created directory '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc'
> mkdir: created directory 
'/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/libprelude-doc'
> ln -s /usr/share/gtk-doc/html/libprelude 
/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/libprelude-doc/html
> cd bindings/python && python3.11 setup.py install --root 
/<<PKGBUILDDIR>>/debian/tmp
> /usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: 
SetuptoolsDeprecationWarning: setup.py install is deprecated.
> !!
> > ********************************************************************************
>         Please avoid running ``setup.py`` directly.
>         Instead, use pypa/build, pypa/installer or other
>         standards-based tools.
> > See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
>         
********************************************************************************
> > !!
>   self.initialize_options()
> dh override_dh_auto_install --with ruby
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_install
> dh_install: warning: Cannot find (any matches for) 
"debian/tmp/usr/lib/python3*/*/*" (tried in ., debian/tmp)
> > dh_install: warning: python3-prelude missing files: debian/tmp/usr/lib/python3*/*/*
> dh_install: error: missing files, aborting
> make: *** [debian/rules:59: binary] Error 25


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to