On 2019-12-01 11:35:08 [-0800], Daniel Schepler wrote:
> ...
>  debian/rules build
> dh build --parallel
>    dh_update_autotools_config -O--parallel
>    dh_auto_configure -O--parallel
>    dh_auto_build -O--parallel
>    dh_auto_test -O--parallel
>  fakeroot debian/rules binary
> dh binary --parallel
>    debian/rules install
> make[1]: Entering directory '/build/xz-utils-5.2.4'
> dh install --parallel
>    debian/rules build
> make[2]: Entering directory '/build/xz-utils-5.2.4'
> dh build --parallel
> make[2]: Leaving directory '/build/xz-utils-5.2.4'
>    dh_testroot -O--parallel
>    dh_prep -O--parallel
>    debian/rules override_dh_auto_install
> make[2]: Entering directory '/build/xz-utils-5.2.4'
> dh_auto_install --builddirectory debian/xzdec-build
> dh_auto_install --builddirectory debian/normal-build
> dh_auto_install --builddirectory debian/static-build

I don't know what changed but I think it is debhelper. We have now:
|(sid)bigeasy@debbuildd:~/xz/1/xz-utils-5.2.4$ dh binary --no-act
|   debian/rules install
|   dh_installdeb
|   dh_gencontrol
|   dh_md5sums
|   dh_builddeb

and that "debian/rules build" gets inlined we skip to install. This was
once
|(buster)bigeasy@debbuildd:~/xz/1/xz-utils-5.2.4$ dh binary --no-act
|   debian/rules install
|   debian/rules binary-arch
|   debian/rules binary-indep

The install rule used to expand to other targets, to build the package
but not anymore. If I use sid and downgrade to debhelper 12.5.3 then it
still expands the same way. Buhhh.
According to the overview in
        
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/xz-utils.html

it FTBFS in bullseye on AMD64 but succeeds on ARM64. The build on ARM64
is from "2019-08-20 11:36:00 UTC" while the ADM64 is from "at 2019-11-26
05:14:00 UTC" so something might not migrated yet.
Anyway.
xz has this line in its rule file:

| #!/usr/bin/make -f
| 
| build clean install binary-arch binary-indep binary:
|         +dh $@ --parallel $(opt_no_act)

and if I replace it with
| #!/usr/bin/make -f
|  
| %:
|         dh $@ --parallel $(opt_no_act)

then it builds again.

Should the rules be adjusted for xz?

Sebastian

Reply via email to