Re: "dh_autoreconf: Can only be run once, see dh-autoreconf" when building package from Sid for Stretch
Hi, Jacob
> This is because the Backports Release file has "NotAutomatic: yes", which means that apt won’t get package
> dependencies from there. However, aptitude will. So you could call sbuild like this:
Thank you for your explanation.
> sbuild --build-dep-resolver=aptitude --extra-repository="deb http://deb.debian.org/debian stretch-backports main" -d stretch-backports .
Both package can be build with your method now. But
"stretch-backports" was still not a valid release on my side. Maybe it
was because I really didn't have a schroot for "stretch-backports".
Error in the build log was:
E: Chroot for distribution stretch-backports, architecture amd64 not found
E: Error creating chroot
So I changed a little bit. I built with the following command, using
source directly from sid.
sbuild --build-dep-resolver=aptitude --extra-repository="deb
http://mirrors.ustc.edu.cn/debian stretch-backports main" -d stretch
openfortivpn_1.7.1-1.dsc
BTW, I didn't know why your email did not show up in my gmail inbox.
Luckily I looked at
https://lists.debian.org/debian-backports/2018/09/threads.html first
and saw your reply. So I had to copy the content from that link and
added my response below. Hope it all format correctly in your email
client.
Best regards,
Fonzie
Reply to: