[Buildroot] [git commit] package/qpdf: fix 'no such file' exeption

Yann E. MORIN yann.morin.1998 at free.fr
Fri May 1 19:33:04 UTC 2020

commit: https://git.buildroot.net/buildroot/commit/?id=69dfbbd33b2afab0814c5674b0bc7f5464941fbc
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Without a source for randomness, qpdf will crash with 'no such file'
error. It's can me tested by command like 'qpd some_pdf.pdf -'.
This problem breaks cups printing.

This patch change configure options to '--with-random=/dev/urandom'

Signed-off-by: Alexey Lukyanchuk <skif at skif-web.ru>
[yann.morin.1998 at free.fr: reword commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
 package/qpdf/qpdf.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/qpdf/qpdf.mk b/package/qpdf/qpdf.mk
index ac703d716e..fd31140b0c 100644
--- a/package/qpdf/qpdf.mk
+++ b/package/qpdf/qpdf.mk
@@ -11,7 +11,7 @@ QPDF_LICENSE = Apache-2.0 or Artistic-2.0
 QPDF_DEPENDENCIES = host-pkgconf zlib jpeg
-QPDF_CONF_OPTS = --without-random
+QPDF_CONF_OPTS = --with-random=/dev/urandom
 ifeq ($(BR2_PACKAGE_GNUTLS),y)
 QPDF_CONF_OPTS += --enable-crypto-gnutls

More information about the buildroot mailing list