Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
Hi Hilko, On 02-09-2021 23:39, Hilko Bengen wrote: > * Paul Gevers: > >> On Thu, 2 Sep 2021 10:17:22 +0200 Sascha Steinbiss wrote: >>> I think this is done now. With YARA 4.1.2 and >>> golang-github-hillu-go-yara 4.1.0 now in unstable, the build works again >>> as the build-time tests complete fine. >>> >>> @Hilko any other comments? >> >> If there are incompatible API changes, the soname needs to be bumped. > > The soname was bumped, from 4 to 8. Sorry, I somehow missed that. So if I understand it, you just forgot to close the bug? Paul OpenPGP_signature Description: OpenPGP digital signature
Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
* Paul Gevers: > On Thu, 2 Sep 2021 10:17:22 +0200 Sascha Steinbiss wrote: >> I think this is done now. With YARA 4.1.2 and >> golang-github-hillu-go-yara 4.1.0 now in unstable, the build works again >> as the build-time tests complete fine. >> >> @Hilko any other comments? > > If there are incompatible API changes, the soname needs to be bumped. The soname was bumped, from 4 to 8. Cheers, -Hilko
Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
Hi, On Thu, 2 Sep 2021 10:17:22 +0200 Sascha Steinbiss wrote: > I think this is done now. With YARA 4.1.2 and > golang-github-hillu-go-yara 4.1.0 now in unstable, the build works again > as the build-time tests complete fine. > > @Hilko any other comments? If there are incompatible API changes, the soname needs to be bumped. Paul OpenPGP_signature Description: OpenPGP digital signature
Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
Hi, I think this is done now. With YARA 4.1.2 and golang-github-hillu-go-yara 4.1.0 now in unstable, the build works again as the build-time tests complete fine. @Hilko any other comments? Cheers Sascha
Processed: Re: Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
Processing control commands: > reassign -1 src:yara 4.1.0~rc2-1 Bug #987378 [src:yara, src:golang-github-hillu-go-yara] yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs Bug reassigned from package 'src:yara, src:golang-github-hillu-go-yara' to 'src:yara'. No longer marked as found in versions yara/4.1.0~rc2-1. Ignoring request to alter fixed versions of bug #987378 to the same values previously set Bug #987378 [src:yara] yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs Marked as found in versions yara/4.1.0~rc2-1. > tags -1 = ftbfs Bug #987378 [src:yara] yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs Removed tag(s) bullseye, sid, confirmed, and bullseye-ignore. > affects -1 golang-github-hillu-go-yara Bug #987378 [src:yara] yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs Added indication that 987378 affects golang-github-hillu-go-yara > retitle -1 yara causes ftbfs of + autopktest regression in > golang-github-hillu-go-yara Bug #987378 [src:yara] yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs Changed Bug title to 'yara causes ftbfs of + autopktest regression in golang-github-hillu-go-yara' from 'yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs'. -- 987378: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987378 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
Control: reassign -1 src:yara 4.1.0~rc2-1 Control: tags -1 = ftbfs Control: affects -1 golang-github-hillu-go-yara Control: retitle -1 yara causes ftbfs of + autopktest regression in golang-github-hillu-go-yara Hi Hilko, On Fri, 23 Apr 2021 22:53:52 +0200 Hilko Bengen wrote:> Done, see above. (I hope I have whispered the right things at the BTS.) notfound just removes the found version, but you claim the issue is with yara, so it needs to be reassigned. Hopefully I got that right here. Paul OpenPGP_signature Description: OpenPGP digital signature
Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
control: tag -1 confirmed control: notfound -1 golang-github-hillu-go-yara/4.0.4-1 * Paul Gevers: > Source: yara, golang-github-hillu-go-yara > Control: found -1 yara/4.1.0~rc2-1 > Control: found -1 golang-github-hillu-go-yara/4.0.4-1 > Severity: serious > Tags: sid bullseye ftbfs bullseye-ignore > X-Debbugs-CC: debian...@lists.debian.org > User: debian...@lists.debian.org > Usertags: breaks needs-update > > With a recent upload of yara the autopkgtest of > golang-github-hillu-go-yara fails in testing when that autopkgtest is > run with the binary packages of yara from unstable. It passes when run > with only packages from testing. As the maintainer of the yara package and (upstream) author of go-yara, I am aware of the problem. The culprit is the yara package, not golang-github-hillu-go-yara. I don't know yet how yara/4.1.0 will address the API/ABI incompatibility issue that is the root cause of this bug. For the time being I think I'll leave the yara package in unstable in its current broken state. (My upload to unstable was an error.) > Currently this regression is blocking the migration of yara to testing > [1]. Due to the nature of this issue, I filed this bug report against > both packages. Can you please investigate the situation and reassign the > bug to the right package? Done, see above. (I hope I have whispered the right things at the BTS.) > With my Release Team member hat on, I have set this bug as > bullseye-ignore, as without yara migrating, the packages in testing > don't have a problem. So I really don't mind if this bug is fixed only > after the bullseye release. That was pretty much my plan. Thanks. Cheers, -Hilko
Processed: Re: Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
Processing control commands: > tag -1 confirmed Bug #987378 [src:yara, src:golang-github-hillu-go-yara] yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs Added tag(s) confirmed. > notfound -1 golang-github-hillu-go-yara/4.0.4-1 Bug #987378 [src:yara, src:golang-github-hillu-go-yara] yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs No longer marked as found in versions golang-github-hillu-go-yara/4.0.4-1. -- 987378: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987378 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#987378: yara breaks golang-github-hillu-go-yara autopkgtest + ftbfs
Source: yara, golang-github-hillu-go-yara Control: found -1 yara/4.1.0~rc2-1 Control: found -1 golang-github-hillu-go-yara/4.0.4-1 Severity: serious Tags: sid bullseye ftbfs bullseye-ignore X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: breaks needs-update Dear maintainer(s), With a recent upload of yara the autopkgtest of golang-github-hillu-go-yara fails in testing when that autopkgtest is run with the binary packages of yara from unstable. It passes when run with only packages from testing. In tabular form: passfail yarafrom testing4.1.0~rc2-1 golang-github-hillu-go-yara from testing4.0.4-1 all others from testingfrom testing I copied some of the output at the bottom of this report. The same error can be seen to cause golang-github-hillu-go-yara to FTBFS on reproducible-builds [0]. Currently this regression is blocking the migration of yara to testing [1]. Due to the nature of this issue, I filed this bug report against both packages. Can you please investigate the situation and reassign the bug to the right package? More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation With my Release Team member hat on, I have set this bug as bullseye-ignore, as without yara migrating, the packages in testing don't have a problem. So I really don't mind if this bug is fixed only after the bullseye release. Paul [0] https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/golang-github-hillu-go-yara.html [1] https://qa.debian.org/excuses.php?package=yara https://ci.debian.net/data/autopkgtest/testing/amd64/g/golang-github-hillu-go-yara/11828537/log.gz === RUN TestIterator fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x0] runtime stack: runtime.throw(0x598548, 0x2a) /usr/lib/go-1.15/src/runtime/panic.go:1116 +0x72 runtime.sigpanic() /usr/lib/go-1.15/src/runtime/signal_unix.go:726 +0x4ac goroutine 11 [syscall]: runtime.cgocall(0x544ba0, 0xcb8dd0, 0x1) /usr/lib/go-1.15/src/runtime/cgocall.go:133 +0x5b fp=0xcb8da0 sp=0xcb8d68 pc=0x407ffb github.com/hillu/go-yara._Cfunc_yr_rules_scan_mem_blocks(0x170c630, 0xce03f0, 0x8, 0x5440f0, 0x16db838, 0xc0, 0xc0) _cgo_gotypes.go:1567 +0x4d fp=0xcb8dd0 sp=0xcb8da0 pc=0x53536d github.com/hillu/go-yara.(*Rules).ScanMemBlocks.func1(0xc10098, 0xce03f0, 0x0, 0x5c1fe0, 0xc0e200, 0x16db838, 0x0, 0x7f9408f51108) /tmp/autopkgtest-lxc.7gx74fvj/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/hillu/go-yara/rules.go:182 +0x145 fp=0xcb8e30 sp=0xcb8dd0 pc=0x540365 github.com/hillu/go-yara.(*Rules).ScanMemBlocks(0xc10098, 0x5c3620, 0xc0e220, 0x0, 0x0, 0x5c1fe0, 0xc0e200, 0x0, 0x0) /tmp/autopkgtest-lxc.7gx74fvj/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/hillu/go-yara/rules.go:182 +0x277 fp=0xcb8ef0 sp=0xcb8e30 pc=0x53a377 github.com/hillu/go-yara.TestIterator(0xc000190600) /tmp/autopkgtest-lxc.7gx74fvj/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/hillu/go-yara/mem_blocks_test.go:54 +0xda fp=0xcb8f80 sp=0xcb8ef0 pc=0x52a4da testing.tRunner(0xc000190600, 0x59c290) /usr/lib/go-1.15/src/testing/testing.go:1123 +0xef fp=0xcb8fd0 sp=0xcb8f80 pc=0x4e206f runtime.goexit() /usr/lib/go-1.15/src/runtime/asm_amd64.s:1374 +0x1 fp=0xcb8fd8 sp=0xcb8fd0 pc=0x471541 created by testing.(*T).Run /usr/lib/go-1.15/src/testing/testing.go:1168 +0x2b3 goroutine 1 [chan receive]: testing.(*T).Run(0xc000190600, 0x58fc79, 0xc, 0x59c290, 0x489901) /usr/lib/go-1.15/src/testing/testing.go:1169 +0x2da testing.runTests.func1(0xc01b00) /usr/lib/go-1.15/src/testing/testing.go:1439 +0x78 testing.tRunner(0xc01b00, 0xcb7cf0) /usr/lib/go-1.15/src/testing/testing.go:1123 +0xef testing.runTests(0xc0e0a0, 0x685300, 0x27, 0x27, 0xc0183cc551984456, 0x8bb3451eea, 0x69a980, 0xcb7db8) /usr/lib/go-1.15/src/testing/testing.go:1437 +0x2fe testing.(*M).Run(0xc00018, 0x0) /usr/lib/go-1.15/src/testing/testing.go:1345 +0x1eb github.com/hillu/go-yara.TestMain(0xc00018) /tmp/autopkgtest-lxc.7gx74fvj/downtmp/autopkgtest_tmp/obj-x86_64-linux-gnu/src/github.com/hillu/go-yara/main_test.go:35 +0x1a5 main.main() _testmain.go:125 +0x165 FAILgithub.com/hillu/go-yara0.033s OpenPGP_signature Description: OpenPGP digital signature