On Sat, 2018-11-03 at 13:27 +0100, Christopher Gregory via blfs-support wrote:
> Hello,
>
> I am going through another complete build on a new ssd drive and found an
> issue with building cups-filters against Poppler-0.69.0. I do not have the
> exact error anymore, as I remembered that I had
> an
> issue with an earlier build, and an earlier version of cups-filters and
> Poppler-0.67.0, that required a small patch from the developers to build.
>
> I downgraded to Poppler-0.67.0 on this current build and was successfully
> able to build and install cups-filters-1.21.1 without any patches needed.
>
> The issue with the no-build also occurs on the latest version of poppler,
> though it is a completely different error from the one needing the patch.
>
> Perhaps someone else can attempt to build the current book version of Poppler
> and cups-filters-1.21.1 and see if it builds for them, and if not, is there a
> solution to this new error, as I sure have
> not
> been able to find it.
>
> Regards,
>
> Christopher.
The attached patch is what I use in my build.
See
https://github.com/OpenPrinting/cups-filters/commit/6b0747c1630dd973acd138f927dbded4ea45e360
Regards,
Wayne.
diff -Naur a/filter/pdftoijs.cxx b/filter/pdftoijs.cxx
--- a/filter/pdftoijs.cxx 2018-10-04 06:12:51.000000000 +1000
+++ b/filter/pdftoijs.cxx 2018-10-16 19:33:10.434200125 +1100
@@ -503,9 +503,11 @@
ppdClose(ppd);
free(outputfile);
+#if POPPLER_VERSION_MAJOR == 0 && POPPLER_VERSION_MINOR < 69
// Check for memory leaks
Object::memCheck(stderr);
gMemReport(stderr);
+#endif
return exitCode;
}
diff -Naur a/filter/pdftoopvp/pdftoopvp.cxx b/filter/pdftoopvp/pdftoopvp.cxx
--- a/filter/pdftoopvp/pdftoopvp.cxx 2018-10-04 06:12:51.000000000 +1000
+++ b/filter/pdftoopvp/pdftoopvp.cxx 2018-10-16 19:33:44.491894011 +1100
@@ -763,9 +763,11 @@
err0:
delete globalParams;
+#if POPPLER_VERSION_MAJOR == 0 && POPPLER_VERSION_MINOR < 69
// check for memory leaks
Object::memCheck(stderr);
gMemReport(stderr);
+#endif
}
/* muntrace(); */
diff -Naur a/filter/pdftoraster.cxx b/filter/pdftoraster.cxx
--- a/filter/pdftoraster.cxx 2018-10-04 06:12:51.000000000 +1000
+++ b/filter/pdftoraster.cxx 2018-10-16 19:34:27.122510892 +1100
@@ -2162,9 +2162,11 @@
cmsDeleteTransform(colorTransform);
}
+#if POPPLER_VERSION_MAJOR == 0 && POPPLER_VERSION_MINOR < 69
// Check for memory leaks
Object::memCheck(stderr);
gMemReport(stderr);
+#endif
return exitCode;
}
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page