Created attachment 181215 [details] Patch for print/lilypond-devel to 2.19.58
This fails to build with: ====>> Checking for filesystem violations... done ====>> Error: Filesystem touched during build: extra: var/db/fontconfig/67c974dbe2665f28be028ef9a5400184-le64.cache-7 ====>> Cleaning up wrkdir ===> Cleaning for lilypond-devel-2.19.58 build of print/lilypond-devel ended at Tue Mar 28 12:11:24 CEST 2017 build time: 00:03:52 !!! build failure encountered !!!
(In reply to Bartek Rutkowski from comment #1) > This fails to build with: > ====>> Checking for filesystem violations... done > ====>> Error: Filesystem touched during build: > extra: var/db/fontconfig/67c974dbe2665f28be028ef9a5400184-le64.cache-7 > ====>> Cleaning up wrkdir > ===> Cleaning for lilypond-devel-2.19.58 > build of print/lilypond-devel ended at Tue Mar 28 12:11:24 CEST 2017 > build time: 00:03:52 > !!! build failure encountered !!! It's a poudriere bug. See Bug 215076 for more information. For now please test with BUILD_AS_NON_ROOT=yes.
(In reply to Bryan Drewery from comment #2) > (In reply to Bartek Rutkowski from comment #1) > > This fails to build with: > > ====>> Checking for filesystem violations... done > > ====>> Error: Filesystem touched during build: > > extra: var/db/fontconfig/67c974dbe2665f28be028ef9a5400184-le64.cache-7 > > ====>> Cleaning up wrkdir > > ===> Cleaning for lilypond-devel-2.19.58 > > build of print/lilypond-devel ended at Tue Mar 28 12:11:24 CEST 2017 > > build time: 00:03:52 > > !!! build failure encountered !!! > > It's a poudriere bug. See Bug 215076 for more information. > > For now please test with BUILD_AS_NON_ROOT=yes. Poudriere bug logged at Bug 218308
Any news here?
http://joneumbox.org/data/11-1-AMD64-ports/2018-01-14_09h29m56s/logs/lilypond-devel-2.19.58.log There is a build fs violation that you could try to fix.
Created attachment 189777 [details] Patch for print/lilypond-devel to 2.19.80
(In reply to Jochen Neumeister from comment #5) Thanks for the reminder. I was a bit stumped on what was happening in detail, but have eventually noticed what caused the failure. See the updated patch for an attempt to deal with the issue.
Heya, thx for the new patch :-) in patch-mf_00-lilypond-fonts.conf.in: + <cachedir>%%WRKDIR%%</cachedir> I think this is wrong, it will probably leak the build directory to the installed config. Do you have another solution here? Greetings Jochen
(In reply to Jochen Neumeister from comment #8) Eww, messed up the post-build line removing that line again when not needed anymore. I'll update the patch in a minute. I agree that this solution is a bit caveman style. A probably nicer way would be to control the cache dir via XDG_CACHE_HOME, but adding MAKE_ENV= XDG_CACHE_HOME=${WRKDIR} to the Makefile (as several other ports have) sadly did not have any effect, nor did the vriations of that line I tried. I'm not sure yet if that's something I can control within the port, or if makeinfo just doesn't honour that environment variable.
Created attachment 189808 [details] Patch for print/lilypond-devel to 2.19.80 Fixed the post-build target messed up in the previous iteration.
Did you use the wrong patch? The last 2 are identical. Not tested: post-patch: - ${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} \ + @${FIND} ${WRKSRC} -name "*.cc" | ${XARGS} \ ${REINPLACE_CMD} -e 's|isinf[ ]*(|::isinf(|g' -e 's|isnan|::isnan|g' - ${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \ + @${REINPLACE_CMD} -e 's|<FlexLexer.h>|"/usr/include/FlexLexer.h"|' \ ${WRKSRC}/lily/include/includable-lexer.hh + @${MKDIR} ${WRKDIR}/fontconfig/cache + @${CP} ${FILESDIR}/fonts.conf ${WRKDIR}/.fonts.conf + @${REINPLACE_CMD} -e 's|%%FONTDIR%%|${WRKDIR}/fontconfig/cache/|' \ + ${WRKDIR}/.fonts.conf
Created attachment 189814 [details] Patch for print/lilypond-devel to 2.19.80
(In reply to Jochen Neumeister from comment #11) There actually was a change between the previous two patches that took care of the leak of the build directory. But with a suitable fonts.conf your suggestion seems to work just fine. Thanks for the feedback, Martin
(In reply to m.ne from comment #12) Moin :-) Sorry for the late feedback :-) Technically it builds fine in poudriere, but it does some scary "GUI" stuff when building it "normally" -- i.e. opening a dialog window... so I think this still needs some work.
Created attachment 190110 [details] Patch for print/lilypond-devel to 2.19.80
(In reply to Jochen Neumeister from comment #14) How embarrassing. It looks like there's quite a bit wrong with the patch I "backported" from print/lilypond (cf. https://svnweb.freebsd.org/ports?view=revision&revision=419253). In short: the altered script doesn't test for what it's supposed to, but the test is also wrong, so it succeeds anyway...
Created attachment 190128 [details] Patch for print/lilypond-devel to 2.19.80 Actually fixed the text. No idea why it didn't bail on me yesterday...
Created attachment 190194 [details] Patch for print/lilypond-devel to 2.19.81
A commit references this bug: Author: joneum Date: Fri Feb 9 19:35:56 UTC 2018 New revision: 461329 URL: https://svnweb.freebsd.org/changeset/ports/461329 Log: print/lilypond-devel: Update to 2.19.81 -fix violation -add patch for fontconfig PR: 218147 Submitted by: m.ne@gmx.net (maintainer) Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D13913 Changes: head/print/lilypond-devel/Makefile head/print/lilypond-devel/distinfo head/print/lilypond-devel/files/fonts.conf head/print/lilypond-devel/files/patch-configure head/print/lilypond-devel/pkg-plist
Landed. Thanks :-)