[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#819181: RFS: cl-asdf/3.1.7 - Another System Definition Facility




Hi,

>Yes, definitely! I have already submitted a patch upstream which has
>been merged:
>
>https://gitlab.common-lisp.net/asdf/asdf/commit/9b4f0d5ef957e92d1303c694027502c2a7a7ae96
>
>But alas 3.1.7 is released without this change and I have to cope with
>it somehow. So this is a temporary workaround which should disappear in
>the next package version.


no, you can add the commit as a patch, patches are applied *before* dh_clean
and removed after the build successful.

$ dpkg-buildpackage 
dpkg-buildpackage: source package cl-asdf
dpkg-buildpackage: source version 2:3.1.7-1
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by Kambiz Darabi <darabi@m-creations.net>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build cl-asdf-3.1.7
dpkg-source: info: applying fix-clean.patch
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make -j1 clean
make[1]: Entering directory '/tmp/cl-asdf-3.1.7'
Cleaning /tmp/cl-asdf-3.1.7
rm -rf build/ LICENSE test/try-reloading-dependency.asd test/hello-world-example asdf.lisp
rm -rf test/hello-world-example.exe test/mkcl_*.dll # needed only on MS-Windows
make -C doc clean
make[2]: Entering directory '/tmp/cl-asdf-3.1.7/doc'
rm -f asdf.cps asdf.log asdf.vr asdf.aux asdf.fn asdf.toc asdf.vrs asdf.cp asdf.fns asdf.ky asdf.pg asdf.tp asdf.tps
rm -f asdf.html asdf.pdf asdf.info
rm -rf asdf/ asdf.t2d/


I converted it as patch, removed the clean override, removed quilt from b-d-i.

Success in my machine and in a real pbuilder clean environment.


dpkg-buildpackage -A runs until the end and these are the last output lines
>  dpkg-genchanges -B >../cl-asdf_3.1.7-1_amd64.changes
> dpkg-genchanges: error: binary build with no binary artifacts found; cannot distribute
> dpkg-buildpackage: error: dpkg-genchanges gave error exit status 2


seems legit, you don't have arch:any packages :)

>E: cl-asdf source: missing-build-dependency-for-dh_-command dh_quilt_patch => quilt


Probably because you don't have arch:any packages.

anyway, with your patch and no quilt it builds successfully.

cheers,

G.


Reply to: