Bug#894282: openssl: Missing quotes in c_rehash

2018-03-31 Thread Tim
This also affects the build currently in experimental. Which is breaking 
my experimental sbuild chroots. Can the patch be uploaded there also.




Bug#894282: openssl: Missing quotes in c_rehash

2018-03-28 Thread Mike Gabriel

Hi,

On Wed, 28 Mar 2018 12:51:06 +0300 Sergei Golovan  wrote:
> Package: openssl
> Version: 1.1.0h-1
> Severity: grave
>
> Dear Maintainer,
>
> In the latest openssl package there's a regression in c_rehash 
script. Quotes

> are missing in lines 15 and 16:
>
> my $dir = /usr/lib/ssl;
> my $prefix = /usr;
>
> This makes Perl treat the lines as regexps which makes the script 
unusable. It
> affects configuration of ca-certificates (it's not installable in sid 
at the

> moment) therefore I set the severity to grave.

Wow. This one is really critical as it will cause many buildd jobs to 
fail, due to ca-certificates not reallying being able to run its 
postinst script:


```

Updating certificates in /etc/ssl/certs...
Unknown regexp modifier "/b" at /usr/bin/c_rehash line 15, at end of line
Unknown regexp modifier "/W" at /usr/bin/c_rehash line 26, at end of line
Unknown regexp modifier "/3" at /usr/bin/c_rehash line 26, at end of line
Unknown regexp modifier "/2" at /usr/bin/c_rehash line 26, at end of line
No such class installdir at /usr/bin/c_rehash line 58, near "Prefix our 
installdir"
  (Might be a runaway multi-line // string starting on line 26)
syntax error at /usr/bin/c_rehash line 58, near "Prefix our installdir"
Can't redeclare "my" in "my" at /usr/bin/c_rehash line 63, near "my"
Execution of /usr/bin/c_rehash aborted due to compilation errors.
dpkg: error processing package ca-certificates (--configure):
 installed ca-certificates package post-installation script subprocess returned 
error exit status 255

```

Dear openssl maintainers, please provide a fix asap for this. Thank you!

Mike



Bug#894282: openssl: Missing quotes in c_rehash

2018-03-28 Thread Sergei Golovan
Package: openssl
Version: 1.1.0h-1
Severity: grave

Dear Maintainer,

In the latest openssl package there's a regression in c_rehash script. Quotes
are missing in lines 15 and 16:

my $dir = /usr/lib/ssl;
my $prefix = /usr;

This makes Perl treat the lines as regexps which makes the script unusable. It
affects configuration of ca-certificates (it's not installable in sid at the
moment) therefore I set the severity to grave.

-- System Information:
Debian Release: 9.4
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-debug'), (500, 'proposed-updates'), (500, 'stable'), (500, 
'oldstable'), (1, 'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.0-0.bpo.3-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openssl depends on:
ii  libc6  2.24-11+deb9u3
ii  libssl1.1  1.1.0f-3+deb9u1

openssl recommends no packages.

Versions of packages openssl suggests:
ii  ca-certificates  20161130+nmu1

-- no debconf information