[pkg-go] Bug#860692: gopacket: FTBFS on i386: XXX

Sascha Steinbiss satta at debian.org
Mon Apr 24 11:40:19 UTC 2017


tags 860692 patch
thanks


Hi all,

[...]
> # Copy test files to build dir
> cp pcap/*.pcap obj-i386-linux-gnu/src/github.com/google/gopacket/pcap/
> cp: target 'obj-i386-linux-gnu/src/github.com/google/gopacket/pcap/'
is not a directory
> debian/rules:19: recipe for target 'override_dh_auto_configure' failed
> make[1]: *** [override_dh_auto_configure] Error 1

I have fixed this issue by constructing the target directory name using
DEB_HOST_GNU_TYPE instead of DEB_HOST_MULTIARCH, which correctly yields
'obj-i686-linux-gnu'. After applying attached patch, I was able to
correctly build gopacket on i386 stretch.

Best regards
Sascha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gopacket.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170424/55cd6bc2/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20170424/55cd6bc2/attachment.sig>


More information about the Pkg-go-maintainers mailing list