/srv/irclogs.ubuntu.com/2020/07/22/#launchpad-dev.txt

=== nottrobin_ is now known as nottrobin
kkeithleys390x question: I just did builds of glusterfs-8 in https://launchpad.net/~gluster.   Even though automake is not an explicit requires in control, it was installed.  But 10min later doing glusterfs-7 builds automake is not found and the build fails14:44
kkeithleyprevious glusterfs-7 builds worked on s390x14:44
kkeithleybut I'm probably in the wrong place for this14:45
cjwatsonkkeithley: Can you provide a link to the failed build?14:47
cjwatsonOh, maybe https://launchpadlibrarian.net/489648063/buildlog_ubuntu-groovy-s390x.glusterfs_7.7-ubuntu1~groovy2_BUILDING.txt.gz?14:49
kkeithleyyes14:49
cjwatsonkkeithley: The error is specifically that automake-1.13 is not found14:49
cjwatsonGet:54 http://ftpmaster.internal/ubuntu groovy/main s390x automake all 1:1.16.2-3ubuntu1 [548 kB]14:49
cjwatsonkkeithley: This is probably because the source package ships with autoconf/automake output that somebody generated on an old system with automake 1.13.  The usual fix is to use dh-autoreconf to regenerate the build system with modern tools before doing anything else.  I see your package build-depends on dh-autoreconf, but maybe it doesn't actually use it?14:50
kkeithleyyes, I'm building the .dsc on a focal box14:51
cjwatsonIt's best to make it irrelevant what series you built it in.14:51
cjwatson*on14:51
kkeithleyer, the source_changes14:51
cjwatsonAnd indeed, I see that your glusterfs-8 build log mentions running dh_autoreconf, but your glusterfs-7 build log does not.14:51
cjwatsonThat's where I would start investigating.14:52
cjwatsonIt may be automatic depending on debhelper compat version.14:52
kkeithleyhmm.. okay. I'm not a debian packager by any stretch. let me see what I can figure out.14:52
kkeithleythanks for the hint14:53
cjwatsonAh yes - your glusterfs-7 package uses debhelper compat level 9 (see debian/compat), while your glusterfs-8 package uses debhelper compat level 11.14:53
cjwatson"man debhelper" documents that dh_autoreconf is run by default as of compat level 10.14:54
kkeithleyindeed14:54
cjwatsonBut the least invasive fix is probably to leave the compat level alone, and instead add "--with autoreconf" (or add autoreconf to an existing dh --with) when using compat <10.14:54
kkeithleyokay.  fwiw I inherited this job years ago and it has usually run smoothly.  Except when it doesn't. :-)14:55
cjwatsonChanging the compat level changes various other things, and if you aren't familiar with them it's probably best not to get into that when you're just trying to fix this one issue.14:55
kkeithleynoted.14:56
cjwatsonYou might need to explicitly add dh-autoreconf to Build-Depends when doing that, too.14:57
kkeithleyokay14:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!