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

Build failure: python311Packages.afdko (with utf8cpp 4.0.4+) #278546

Closed
spiage opened this issue Jan 3, 2024 · 4 comments
Closed

Build failure: python311Packages.afdko (with utf8cpp 4.0.4+) #278546

spiage opened this issue Jan 3, 2024 · 4 comments

Comments

@spiage
Copy link

spiage commented Jan 3, 2024

#276579 was reverted since it breaks python311Packages.afdko, with

error: builder for '/nix/store/af6l5pc3zm9zdiamr0q5f9fkr86ql015-python3.11-afdko-4.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > ../../nix/store/6dsx7y855a79l3ynz9vpk0y2fddyl5pj-python3.11-setuptools-68.2.2/lib/python3.11/site-packages/pkg_resources/__init__.py:2350
       >   /nix/store/6dsx7y855a79l3ynz9vpk0y2fddyl5pj-python3.11-setuptools-68.2.2/lib/python3.11/site-packages/pkg_resources/__init__.py:2350: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('fs')`.
       >   Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
       >     declare_namespace(parent)
       >
       > -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
       > =========================== short test summary info ============================
       > FAILED tests/tx_test.py::test_alt_missing_glyph - AssertionError: assert False
       > = 1 failed, 1448 passed, 6 skipped, 90 deselected, 8 xfailed, 4 warnings in 70.83s (0:01:10) =
       > /nix/store/d4jf1cbbk494zwgbqz31pxgigpsbh6w2-stdenv-linux/setup: line 1553: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/af6l5pc3zm9zdiamr0q5f9fkr86ql015-python3.11-afdko-4.0.0.drv'.

Originally posted by @spiage in #276579 (comment)

@spiage
Copy link
Author

spiage commented Jan 3, 2024

@wegank wegank changed the title Issue with python3.11-afdko-4.0.0 build Build failure: python311Packages.afdko (with utf8cpp 4.0.4) Jan 3, 2024
@wegank wegank changed the title Build failure: python311Packages.afdko (with utf8cpp 4.0.4) Build failure: python311Packages.afdko (with utf8cpp 4.0.4+) Jan 5, 2024
@LunNova
Copy link
Member

LunNova commented Jan 14, 2024

nixpkgs#python3Packages.afdko --rebuild still fails after the revert, but the package is cached and works.

I think afdko broke due to some impurity (test which needed the year to be 2023? 🤔 ) and the old cached build is ok, the utf8cpp bump wasn't the cause of the issue but made it visible by causing a rebuild.

That or it's inconsistent and succeeds sometimes.

@wegank

@lilyinstarlight
Copy link
Member

test which needed the year to be 2023?

Yeah looks like they were checking copyright year for some test...

It seems the fix for not checking that anymore was included in adobe-type-tools/afdko#1730 so it might just need to be bumped to afdko 4.0.1 to fix the issue for good

@wegank
Copy link
Member

wegank commented Jan 19, 2024

Closed by 9dbb6cc.

@wegank wegank closed this as completed Jan 19, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants