Summary: | graphics/poppler: build fails after security/nss was updated to 3.37.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | r00t | ||||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | Trond.Endrestol, cmt, gecko, gnome, sascha.folie | ||||||
Priority: | --- | Flags: | jbeich:
maintainer-feedback+
|
||||||
Version: | Latest | ||||||||
Hardware: | amd64 | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
r00t
2018-05-27 11:32:56 UTC
poppler-0.57.0_1 builds fine on the package cluster after nss-3.37.1 update. http://beefy6.nyi.freebsd.org/data/104amd64-default/470877/logs/poppler-0.57.0_1.log http://beefy5.nyi.freebsd.org/data/104i386-default/470877/logs/poppler-0.57.0_1.log http://beefy9.nyi.freebsd.org/data/111amd64-default/470877/logs/poppler-0.57.0_1.log http://beefy10.nyi.freebsd.org/data/111amd64-default/470877/logs/poppler-0.57.0_1.log http://beefy12.nyi.freebsd.org/data/head-amd64-default/p470877_s334231/logs/poppler-0.57.0_1.log http://beefy11.nyi.freebsd.org/data/head-i386-default/p470877_s334231/logs/poppler-0.57.0_1.log Indeed, I'm using Synth with a pretty much default LiveSystem-make.conf: DISABLE_LICENSES=yes DEFAULT_VERSIONS+= ruby=2.3 mysql=5.7 I didn't experience any issues building poppler-0.57.0_1 prior to 3.37.1 (for example it built fine with 3.37). While hardly a good solution, this one circumvents the problem: Create graphics/poppler/Makefile.local and give it these two lines, note the tab char on the second line. pre-build: ldconfig -im $(LOCALBASE)/lib/nss It looks like r469956 could be the guilty one as lib*.so.[0-9] symlinks was removed from security/nss in r423591, 19 months ago. Either remove the lib*.so.[0-9] restriction in ldconfig or reinstate the pre-r469956 behaviour. (In reply to Trond.Endrestol from comment #3) Or maybe synth needs to catch up on r469956. (In reply to Trond.Endrestol from comment #4) print/texlive-base might give you similar problems during the configure phase. An equally bad but working solution is to create print/texlive-base/Makefile.local and give it these two lines: pre-configure: ldconfig -im $(LOCALBASE)/lib/nss (In reply to Trond.Endrestol from comment #5) print/tex-luatex and print/tex-xetex must be treated the same way as graphics/poppler. I'd rather chalk this up to synth - the build works in poudriere (and for all the other ports, too). Meanwhile, there was another report abount linker failure in thunderbird - agin, synth is involved: https://lists.freebsd.org/pipermail/freebsd-ports/2018-May/113497.html Created attachment 193790 [details]
Patch for src/replicant.ads
Created attachment 193791 [details]
Patch for src/replicant.adb
(In reply to Christoph Moench-Tegeder from comment #7) There were done some commits to the synth repo this Friday. The changes copies /etc/rc.conf and /etc/rc.d/ldconfig into each chroot env. We might get a new synth release shortly. For the uneasy of us, I have prepared two patches for synth based on said commits. They are named patch-local-... to distinguish them from the actually committed patches. (In reply to Trond.Endrestol from comment #10) I obviously ment last Friday. The modified synth was highly successful on a couple of standalone systems I maintain. graphics/poppler, print/texlive-base, etc, built without any problems. I will try the synth patches on the builder at $WORK tomorrow. I was so close to a solution when I wrote https://github.com/jrmarino/synth/issues/127, I only missed adding the ldconfig script to the mix. I think it would help if pkg-static could elaborate more than just saying "pkg-static: POST-INSTALL script failed". E.g. what command failed? (In reply to Trond.Endrestol from comment #10) Thanks a lot Trond! Builds fine with the patches provided. Synth 2.05 is out too. Looking forward to see it committed. No issues with the build of graphics/poppler (and print/texlive-base) after Synth was updated to 2.05. Thank you all. |