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

libreoffice: broken build #37619

Closed
mdorman opened this issue Mar 22, 2018 · 21 comments
Closed

libreoffice: broken build #37619

mdorman opened this issue Mar 22, 2018 · 21 comments

Comments

@mdorman
Copy link
Contributor

mdorman commented Mar 22, 2018

Issue description

Build broken in hydra: https://hydra.nixos.org/build/71636765

I'm afraid I don't have the horsepower available to do a bisection.

@7c6f434c
Copy link
Member

@mdorman yes, it is poppler update that dropped UTF8.h and there is an upstream libreoffice-still update and I have started doing something to bump LibreOffice in Nixpkgs.

@7c6f434c
Copy link
Member

OK, just a bump will probably not help, but apparently this situation has already happenned in the past and we can try to force a similar workaround.

@7c6f434c
Copy link
Member

Forgot to write here: push fixed, for example it works in https://hydra.nixos.org/build/71902525

@mdorman I will close it at some point unless you explicitly object

@Anton-Latukha
Copy link
Contributor

Anton-Latukha commented Jun 6, 2018

@7c6f434c
Copy link
Member

7c6f434c commented Jun 6, 2018

Note that I will likely downgrade LibreOffice Still (it somehow got coalesced with Fresh in staging branch…)

@peterhoeg
Copy link
Member

@7c6f434c both fresh and still are broken in unstable.

@7c6f434c
Copy link
Member

7c6f434c commented Jun 14, 2018 via email

@averelld
Copy link
Contributor

It was broken by the xmlsec minor version upgrade in 45eeb24
If anyone needs a quick fix, just revert that.

@peti
Copy link
Member

peti commented Jun 14, 2018

I reverted the xmlsec update in 31b4bfe.

peti added a commit that referenced this issue Jun 14, 2018
This reverts commit 45eeb24. This update
broke the build of libreoffice.

See #37619.

Ping @ryantm.
@7c6f434c
Copy link
Member

Thanks @peti

@peti
Copy link
Member

peti commented Jun 20, 2018

It seem that libreoffice is broken again: https://hydra.nixos.org/job/nixpkgs/trunk/libreoffice-unwrapped.x86_64-linux. :-(

@7c6f434c
Copy link
Member

7c6f434c commented Jun 20, 2018 via email

@peti
Copy link
Member

peti commented Jun 20, 2018

Maybe something happened between 7296c26 (the version built by Hydra) and c5fb293 (master now)?

@7c6f434c
Copy link
Member

7c6f434c commented Jun 20, 2018 via email

@peti
Copy link
Member

peti commented Jun 20, 2018

Hmm, strange. I'll run a local build with c5fb293 now. Let's see what happens.

@peti
Copy link
Member

peti commented Jun 20, 2018

libreoffice compiled fine locally in revision bbf359e. sighs Let's hope Hydra sees it the same way in the next evaluation.

@joncojonathan
Copy link
Member

The build is broken still it would seem. Left my machine trying to nixos-rebuild switch --upgrade, which included a LibreOffice upgrade and it looks like a problem with the tests, to my untrained eye:

/build/libreoffice-6.0.3.2/xmlsecurity/qa/unit/signing/signing.cxx:453:SigningTest::testOOXMLPartial
assertion failed
- Expression: (nActual == SignatureState::NOTVALIDATED || nActual == SignatureState::PARTIAL_OK)
- 2


/build/libreoffice-6.0.3.2/xmlsecurity/qa/unit/signing/signing.cxx:524:SigningTest::test96097Calc
assertion failed
- Expression: (nActual == SignatureState::OK || nActual == SignatureState::NOTVALIDATED || nActual == SignatureState::INVALID)
- 2

/build/libreoffice-6.0.3.2/xmlsecurity/qa/unit/signing/signing.cxx:572:SigningTest::test96097Doc
assertion failed
- Expression: (nActual == SignatureState::OK || nActual == SignatureState::NOTVALIDATED || nActual == SignatureState::INVALID)
- 2
...

make[1]: *** [/build/libreoffice-6.0.3.2/solenv/gbuild/CppunitTest.mk:115: /build/libreoffice-6.0.3.2/workdir/CppunitTest/xmlsecurity_signing.test] Error 1
make: *** [Makefile:270: build] Error 2
[LibreOfficeBuildFailure.txt](https://github.com/NixOS/nixpkgs/files/2122438/LibreOfficeBuildFailure.txt)


etc.

My buffer only goes back so far, but I've attached what I have.

I hope this helps with the troubleshooting.

@7c6f434c
Copy link
Member

7c6f434c commented Jun 21, 2018 via email

jerith666 pushed a commit to jerith666/nixpkgs that referenced this issue Jun 21, 2018
This reverts commit 45eeb24. This update
broke the build of libreoffice.

See NixOS#37619.

Ping @ryantm.

(cherry picked from commit 31b4bfe)
@peterhoeg
Copy link
Member

peterhoeg commented Jul 6, 2018

libreoffice-fresh is still broken on the latest unstable whereas libreoffice-still is building (and in the cache).

@7c6f434c
Copy link
Member

7c6f434c commented Jul 6, 2018 via email

@peterhoeg
Copy link
Member

Both fresh and still are working again on unstable.

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

7 participants