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

reportlab is broken on current master #44204

Closed
kalbasit opened this issue Jul 29, 2018 · 7 comments · Fixed by #44244
Closed

reportlab is broken on current master #44204

kalbasit opened this issue Jul 29, 2018 · 7 comments · Fixed by #44244
Labels
0.kind: regression Something that worked before working no longer 6.topic: python

Comments

@kalbasit
Copy link
Member

Issue description

nixos-rebuild test is failing with the current master (at 1750e10)

----------------------------------------------------------------------
Ran 268 tests in 23.185s

FAILED (errors=3, skipped=2)
builder for '/nix/store/awkp8lszcyxfn1p85h3pgrih5kcxc8xw-python2.7-reportlab-3.5.2.drv' failed with exit code 1
cannot build derivation '/nix/store/14k1jl9g0x0r5jsml09rgsl3zpjpmdkk-hplip-3.18.5.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/94wng2vs22zp69xk21akh97fdkf7kdx9-cups-progs.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/xi8miqnybw4kxnnaxylhndgssg48z4h8-cups-files.conf.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/pl07szsc5df6cgjqdsi3bril19sd40zp-cups-progs.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/zafwj7qk78crhc2cb7lv3q6phq61rgxw-unit-script.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/n3jk0kkdfnkslb5d3mhlhj5fnys69m72-unit-cups.service.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6q4zzdjafxl1rf4cxnp3srk8fq6hb1xb-system-units.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/y0y1d7wcvd8bwwz874rn4z0sipvd65b3-etc.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/75is1vqma9d109i6hw6qcjj23kksn0qb-nixos-system-hades-18.09.git.e46e7f44c22.drv': 1 dependencies couldn't be built
error: build of '/nix/store/75is1vqma9d109i6hw6qcjj23kksn0qb-nixos-system-hades-18.09.git.e46e7f44c22.drv' failed

The full log can be found here

When I reverted both 7babc81 and c53d608 it worked.

Steps to reproduce

$ nixos-rebuild test

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

  • system: "x86_64-linux"
  • host os: Linux 4.17.8, NixOS, 18.09.git.b64d3bb058a (Jellyfish)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.0.4
  • channels(root): "nixos"
  • channels(kalbasit): "nixos-18.09pre145679.dae9cf6106d"
  • nixpkgs: /code/personal/base/src/github.com/kalbasit/system/external/nixpkgs

cc @FRidh

@FRidh
Copy link
Member

FRidh commented Jul 29, 2018

Seems like the tests need fixing. I suggest you open a PR if you like to have this working.

@FRidh FRidh added 6.topic: python 0.kind: regression Something that worked before working no longer labels Jul 29, 2018
@kalbasit
Copy link
Member Author

@FRidh does nix-build the package work for you? I'm just wondering how it got to master if it's broken.

@eadwu
Copy link
Member

eadwu commented Jul 29, 2018

I just deleted the tests that weren't working since CUPS still seemed to work fine even though they failed. nix-build also fails with the same errors as nixos-rebuild for me.

  postPatch = ''
    rm tests/test_graphics_barcode.py
    rm tests/test_graphics_render.py
    rm tests/test_lib_utils.py
    rm tests/test_platypus_breaking.py
    rm tests/test_platypus_general.py
  '';

@kalbasit
Copy link
Member Author

kalbasit commented Jul 29, 2018

the tests seem to be working upstream. I don't use it myself (probably a dependency of one of the packages I have installed), but it's best to figure out what's wrong and fix it than to remove the tests.

@eadwu
Copy link
Member

eadwu commented Jul 30, 2018

Looks like the problem of being unable to download the required files (fopen) for testing?

@kalbasit
Copy link
Member Author

@FRidh can we revert back to version 3.4.0 until we can fix this?

@FRidh
Copy link
Member

FRidh commented Jul 30, 2018

The update will be applied again on the next batch, which is beginning of September, at which point we stabilize the package set for 18.09 (assuming the release is end of September). Therefore, I would rather not and would actually like to see some activity from those that are interested in this package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: regression Something that worked before working no longer 6.topic: python
Projects
None yet
3 participants