Subject: pkg/28945: archivers/zip fails to build on OpenBSD 3.6
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lasse-send-pr-2005@plastictree.net>
List: pkgsrc-bugs
Date: 01/12/2005 17:09:00
>Number:         28945
>Category:       pkg
>Synopsis:       archivers/zip fails to build; seems like unix/Makefile is not used.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 12 17:09:00 +0000 2005
>Originator:     Lasse Kliemann
>Release:        pkgsrc-2004Q4 (from CVS) at OpenBSD 3.6 i386
>Environment:
OpenBSD endeavour.starfleet 3.6 GENERIC#59 i386
>Description:

I try to build archivers/zip as non-root on OpenBSD.
I do not believe the problem is related to the fact that I am not root.
The build fails as follows:

=> Checksum OK for zip23.tar.gz.
=> Checksum OK for zcrypt29.zip.
===> Extracting for zip-2.3nb3
===> Required installed package unzip-[0-9]*: unzip-5.51nb1 found
===> Patching for zip-2.3nb3
===> Applying pkgsrc patches for zip-2.3nb3
===> Overriding tools for zip-2.3nb3
===> Creating toolchain wrappers for zip-2.3nb3
===> Configuring for zip-2.3nb3
===> Building for zip-2.3nb3
bmake: don't know how to make generic_gcc. Stop
`unix/Makefile' is up to date.

bmake: stopped in /home/buildff/pkgsrc/archivers/zip/work/zip-2.3
*** Error code 2

Stop.
bmake: stopped in /home/buildff/pkgsrc/archivers/zip
*** Error code 1

Stop.
bmake: stopped in /home/buildff/pkgsrc/archivers/zip

>How-To-Repeat:
Try to build archivers/zip (as non-root) on OpenBSD 3.6 (another platform might do as well).
>Fix:
Workaround: add -f unix/Makefile to MAKE_FLAGS in archivers/zip/Makefile.