The following reply was made to PR pkg/51628; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/51628: [pkgsrc] [misc/libreoffice] [converters/libpagemaker] /usr/bin/ld: cannot find -lz
Date: Mon, 14 Nov 2016 09:13:11 +0100
Hello Luther,
mutek%riseup.net@localhost writes:
> >Number: 51628
> >Category: pkg
> >Synopsis: [pkgsrc] [misc/libreoffice] [converters/libpagemaker] /=
usr/bin/ld: cannot find -lz
> >Confidential: no
> >Severity: critical
> >Priority: high
> >Responsible: pkg-manager
> >State: open
> >Class: support
> >Submitter-Id: net
> >Arrival-Date: Mon Nov 14 06:45:00 +0000 2016
> >Originator: Luther
> >Release: pkgsrc current 14/11/2016
> >Organization:
> >Environment:
> Linux thinkpad 4.7.0-0.bpo.1-amd64 #1 SMP Debian 4.7.8-1~bpo8+1 (2016-10=
-19) x86_64 GNU/Linux
> >Description:
> [...]
> /usr/bin/ld: cannot find -lz
> collect2: error: ld returned 1 exit status
> *** Error code 1
> =
> Stop.
> bmake[4]: stopped in /home/pkgsrc-cvs/pkgsrc/converters/libpagemaker/wor=
k/libpagemaker-0.0.3/src/conv/raw
> *** Error code 1
> [...]
> >Fix:
> =
Can you please try the following patch (DISCLAIMER: I've not even
compile-tested it but should hopefully fix the problem you're
reporting)?
<http://netbsd.org/~leot/pkgsrc-patches/libpagemaker-zlib-pkg51628.patch>
Please let us know if it fixes the issue!
Thank you!