Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libsvn-hooks-perl: FTBFS: t/02-generic.t: Failed tests: 11-12 #3

Closed
carnil opened this issue Aug 18, 2015 · 4 comments
Closed

libsvn-hooks-perl: FTBFS: t/02-generic.t: Failed tests: 11-12 #3

carnil opened this issue Aug 18, 2015 · 4 comments
Assignees
Labels

Comments

@carnil
Copy link

carnil commented Aug 18, 2015

Hi,

We have the following bug reported to the Debian package of SVN-Hooks
(https://bugs.debian.org/795756):

It doesn't seem to be a bug in the packaging, so you may want to take
a look. Thanks!

------8<-----------8<-----------8<-----------8<-----------8<-----

Source: libsvn-hooks-perl
Version: 1.28-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Dear Maintainer,

libsvn-hooks-perl fails to build from source on unstable/amd64:

  [..]
  Test Summary Report
  -------------------
  t/02-generic.t            (Wstat: 512 Tests: 13 Failed: 2)
    Failed tests:  11-12
    Non-zero exit status: 2
  Files=21, Tests=172, 54 wallclock secs ( 0.20 usr  0.06 sys + 35.66
  cusr 11.88 csys = 47.80 CPU)
  Result: FAIL
  Failed 1/21 test programs. 2/172 subtests failed.
  Makefile:947: recipe for target 'test_dynamic' failed
  make[1]: *** [test_dynamic] Error 255
  make[1]: Leaving directory '/tmp/buildd/libsvn-hooks-perl-1.28'
  dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
  debian/rules:7: recipe for target 'build' failed
  make: *** [build] Error 2
  dpkg-buildpackage: error: debian/rules build gave error exit status 2

  [..]

The full build log is attached or can be viewed here:

  https://reproducible.debian.net/logs/unstable/amd64/libsvn-hooks-perl_1.28-1.build1.log.gz


Regards,

------8<-----------8<-----------8<-----------8<-----------8<-----

The test fails with subversion 1.9.0 installed, but works if I downgrade
to the pervious available version, which was 1.8.13.

Thanks for considering,
Salvatore Bonaccorso,
Debian Perl Group

@gnustavo gnustavo added the bug label Aug 22, 2015
@gnustavo gnustavo self-assigned this Aug 22, 2015
@gnustavo
Copy link
Owner

Thanks, Salvatore.

It seems that this is a bug on Subversion 1.9. I've just sent a message to the users@subversion.apache.org list with the subject "svn (un)lock commands succeed when pre-(un)lock hooks fail on svn 1.9" explaining it in detail.

In summary, the "svn lock" and the "svn unlock" commands succeed on svn 1.9 even if the corresponding hooks (pre-lock and pre-unlock) fail.

I think I'll have to check the subversion version and disregard those two tests if I'm using svn 1.9.x.

@gnustavo
Copy link
Owner

I forgot to mention that the message I sent to the svn list should appear shortly on the archives.

@gnustavo
Copy link
Owner

Here it is.

@gnustavo
Copy link
Owner

Hi, Salvatore. I just released SVN::Hooks version 1.29 which should bypass the svn 1.9 bug and have all tests pass.

I'm closing this issue but if you see any problem with this fix, please, comment further.

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants