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

Re: Bug#925906: sqlite3: FTCBFS: configure fails to find readline.h



Control: clone -1 -2
Control: reassign -2 cross-config
Control: retitle -2 drop ac_cv_header_readline_h from cross-config.cache
Control: tags -2 =
Control: block -2 by -1

Thank you for the quick followup with details!

On Tue, Jun 25, 2019 at 11:43:01AM +0300, Yuriy M. Kaminskiy wrote:
> I built for armhf on i386/stretch host with pbuilder.

Important bit. I think pbuilder does not inject cross-config. This could
be a feature, because cross-configs are wrong sometimes.

> Relevant lines from
> http://crossqa.debian.net/build/sqlite3_3.27.2-3_armhf_20190622023957.log
> (with mysteriously successful readline.h detection)
> 
> checking for library containing readline... no
> checking for library containing tgetent... -lncurses
> checking for readline in -lreadline... yes
> checking for readline.h... (cached) yes

Please observe:              ^^^^^^^^
This variable is injected by some cache. Likely from the cross-config
package split off dpkg-cross.

So cross-config was working around the bug and you fix it at the root
now. We should drop the workaround from cross-config:
https://sources.debian.org/src/dpkg-cross/2.6.15-3/config/cross-config.cache/#L242

Thank you for lifting this mystery. Given your explanations, I fully
agree with your patch now.

Helmut


Reply to: