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

bitlbee does not build #73747

Closed
terlar opened this issue Nov 19, 2019 · 1 comment · Fixed by #73752
Closed

bitlbee does not build #73747

terlar opened this issue Nov 19, 2019 · 1 comment · Fixed by #73752

Comments

@terlar
Copy link
Contributor

terlar commented Nov 19, 2019

Describe the bug
Bitlbee does not build on master.

To Reproduce
Steps to reproduce the behavior:

  1. nix-build --no-build-output -A bitlbee
these derivations will be built:
  /nix/store/2a69lfr8r6zh6d20nwvqyxcd6p9yii05-bitlbee-3.6.drv
building '/nix/store/2a69lfr8r6zh6d20nwvqyxcd6p9yii05-bitlbee-3.6.drv'...
builder for '/nix/store/2a69lfr8r6zh6d20nwvqyxcd6p9yii05-bitlbee-3.6.drv' failed with exit code 2; last 10 log lines:
              ^~~~~~~~~~~~~~~~~
  check_util.c:27:12: warning: 'test_strip_newlines' defined but not used [-Wunused-variable]
   START_TEST(test_strip_newlines)
              ^~~~~~~~~~~~~~~~~~~
  check_util.c:11:12: warning: 'test_strip_linefeed' defined but not used [-Wunused-variable]
   START_TEST(test_strip_linefeed){
              ^~~~~~~~~~~~~~~~~~~
  make[1]: *** [Makefile:27: check_util.o] Error 1
  make[1]: Leaving directory '/build/bitlbee-3.6/tests'
  make: *** [Makefile:65: check] Error 2
error: build of '/nix/store/2a69lfr8r6zh6d20nwvqyxcd6p9yii05-bitlbee-3.6.drv' failed

Expected behavior
The bitlbee derivation should build without errors.

Metadata

  • system: "x86_64-linux"
  • host os: Linux 5.3.11, NixOS, 20.03.git.6be20178f08 (Markhor)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.3.1
  • nixpkgs: 25fc378

Maintainer information:

attribute:
- bitlbee
- bitlbee-steam
- bitlbee-mastodon
- bitlbee-facebook
- bitlbee-discord
# a list of nixos modules affected by the problem
module:
- services/networking/bitlbee

@pSub

@d-goldin
Copy link
Contributor

Bisecting pointed me to the following commit. It seems like START_TEST changed a bit and use without creating a block to contain the unit-test code stopped working.

738fdb49830feb3e0594c053970b1e08ab45ffb1 is the first bad commit
commit 738fdb49830feb3e0594c053970b1e08ab45ffb1
Author: R. RyanTM <ryantm-bot@ryantm.com>
Date:   Fri Nov 1 12:33:14 2019 -0700

    check: 0.12.0 -> 0.13.0

Looks like it was done in this commit in libcheck: libcheck/check@3987c1d

dtzWill pushed a commit to dtzWill/nixpkgs that referenced this issue Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants