pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51802: security/mozilla-rootcerts doesn't build with gawk
>Number: 51802
>Category: pkg
>Synopsis: security/mozilla-rootcerts doesn't build with gawk
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jan 08 23:45:00 +0000 2017
>Originator: diro%nixsyspaus.org@localhost
>Release: openSUSE Leap 42.1
>Organization:
>Environment:
System: Linux sammy 4.1.36-44-default #1 SMP PREEMPT Mon Dec 12 21:24:10
UTC 2016 (b1c0ac2) x86_64 x86_64 x86_64 GNU/Linux
Architecture: amd64
Machine: amd64
>Description:
security/mozilla-rootcerts/files/mozilla-rootcerts.sh doesn't work
with GNU awk.
[...]
===> Extracting for mozilla-rootcerts-1.0.20160610
/bin/cp /home/rodent/pkgsrc/security/mozilla-rootcerts/files/mozilla-rootcerts.sh /home/rodent/pkgsrc/security/mozilla-rootcerts/work
/bin/cp /home/rodent/pkgsrc/distfiles/certdata-20160610.txt /home/rodent/pkgsrc/security/mozilla-rootcerts/work
===> Patching for mozilla-rootcerts-1.0.20160610
===> Creating toolchain wrappers for mozilla-rootcerts-1.0.20160610
===> Configuring for mozilla-rootcerts-1.0.20160610
=> Checking for portability problems in extracted files
=> Replacing hard-coded paths.
===> Building for mozilla-rootcerts-1.0.20160610
/bin/mkdir -p /home/rodent/pkgsrc/security/mozilla-rootcerts/work/certs
cd /home/rodent/pkgsrc/security/mozilla-rootcerts/work/certs && /bin/sh /home/rodent/pkgsrc/security/mozilla-rootcerts/work/mozilla-rootcerts.sh -f /home/rodent/pkgsrc/security/mozilla-rootcerts/work/certdata-20160610.txt extract
mozilla-rootcert-0.pem
unable to load certificate
139806274594448:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:157:
mozilla-rootcert-1.pem
unable to load certificate
139630471976592:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:157:
mozilla-rootcert-2.pem
unable to load certificate
140643485718160:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:157:
mozilla-rootcert-3.pem
unable to load certificate
140135767295632:error:0D07207B:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:157:
awk: cmd. line:28: (FILENAME=- FNR=577) fatal: printf to "/home/rodent/pkg/bin/openssl x509 -inform der -outform pem -text >mozilla-rootcert-3.pem" failed (Broken pipe)
*** Error code 2
Stop.
bmake[1]: stopped in /home/rodent/pkgsrc/security/mozilla-rootcerts
*** Error code 1
Stop.
bmake: stopped in /home/rodent/pkgsrc/security/mozilla-rootcerts
>How-To-Repeat:
Build security/mozilla-rootcerts on Linux
>Fix:
(Bandage solution)
1. Install lang/nawk;
2. Add "_TOOLS_USE_PKGSRC.awk=yes" to security/mozilla-rootcerts/Makefile
Real solution is either to fix the script to work with gawk or require
nawk on Linux.
Home |
Main Index |
Thread Index |
Old Index