Subject: pkg/25082: databases/php4-mysql doesn't build on solaris
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 04/07/2004 10:41:31
>Number:         25082
>Category:       pkg
>Synopsis:       databases/php4-mysql doesn't build on solaris
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 07 10:42:00 UTC 2004
>Originator:     Petter Lindquist
>Release:        Solaris 2.9
SunOS 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-880

When running bmake:
===> Applying pkgsrc patches for php-mysql-4.3.4nb1
1 out of 1 hunk FAILED -- saving rejects to file config.m4.rej
Patch /usr/pkgsrc/databases/php4-mysql/patches/patch-aa failed
*** Error code 1

Manual extraction of problem:
vrak(petter): cd work/php-4.3.4/ext/
vrak(petter): gpatch <../../../patches/patch-aa 
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
|$NetBSD: patch-aa,v 1.2 2004/03/31 10:17:36 tron Exp $
|--- config.m4.orig     Mon Jul 14 12:43:51 2003
|+++ config.m4  Wed Mar 31 12:02:43 2004

cd /usr/pkgsrc/databases/php4-mysql && bmake
manually applying patches with solaris /usr/bin/patch works.
Haven't investigated further, but I guess this could be a hint at least.