clone 948589 -1 reassign -1 file retitle -1 file: When building the file package, use the just-built file program in debhelper thanks
Andreas Beckmann wrote... > File lists identical (after any substitutions) > > Control files: lines which differ (wdiff format) > ------------------------------------------------ > Depends: {+libbz2-1.0, libc6 (>= 2.15), liblzma5 (>= 5.1.1alpha+20120614), > zlib1g (>= 1:1.1.4),+} libmagic-mgc (= [-1:5.38-3.bad)-] {+1:5.38-3.good)+} > Version: [-1:5.38-3.bad-] {+1:5.38-3.good+} > > The bad one was done with 1:5.38-2, the good one with 1:5.38-3 installed. Thanks a lot, that bit of information helped me to understand the situation. So src:file has indeed a circular build dependency, and while this probably does not really do harm - at least no one bothered to report issues with that in the past (at least) twelve years -, it is not sound. > Attached patch is a hack to prepend a 'file' wrapper script in the path > that uses the freshly built one (I hope I did the call right?), this allows > for a correct libmagic1 package to be built even in the presence of the buggy > 1:5.38-2 in the system by using the new file command during the later stages > of the build process. That's a good point to start at anyway. I will have to add some more bits, like overriding dh_strip (which calls the file binary as well). > It's probably not cross-build safe, though. Looks like it. Possibly I can find a solution for that as well. Christoph, now having an even longer "lessons learned" list
signature.asc
Description: PGP signature