pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Odd problem with libtool on OpenSolaris with 2009Q3


I think this could be a setup issue at my end, but I'm getting patch 
errors when trying to build libtool on OpenSolaris in a (very) cut-down 
Zone from a 2009Q3 tarball.

There aren't that many steps to reproduce the problem:

1. Unpack the tarball into the zone
2. cd /usr/pkgsrc/bootstrap
3. ./bootstrap
4. cd ../devel/libtool-base
5. bmake

Once the dependencies are built, the actual libtool-base build fails 

=> Registering installation for pax-20080110
=> Returning to build of libtool-base-1.5.26nb2
===> Overriding tools for libtool-base-1.5.26nb2
===> Extracting for libtool-base-1.5.26nb2
===> Patching for libtool-base-1.5.26nb2
=> Applying pkgsrc patches for libtool-base-1.5.26nb2
patch: **** too many file argumentsPatch 
/usr/pkgsrc/devel/libtool-base/../libtool/patches/patch-aa failed
patch: **** too many file arguments
Patch /usr/pkgsrc/devel/libtool-base/../libtool/patches/patch-ab failed
patch: **** too many file arguments
Patch /usr/pkgsrc/devel/libtool-base/../libtool/patches/patch-ac failed
patch: **** too many file arguments
Patch /usr/pkgsrc/devel/libtool-base/../libtool/patches/patch-ad failed
ERROR: Patching failed due to modified or broken patch file(s):
ERROR:  /usr/pkgsrc/devel/libtool-base/../libtool/patches/patch-aaERROR:  
ERROR:  /usr/pkgsrc/devel/libtool-base/../libtool/patches/patch-ac
ERROR:  /usr/pkgsrc/devel/libtool-base/../libtool/patches/patch-ad
*** Error code 1

I haven't changed anything in mk.conf created by the bootstrap, and my 
PATH should be picking up pkgsrc stuff in preference to local programs:


I've poked around in mk/patch/ and swapped out nbpatch for a 
shell script to show me the arguments being sent to nbpatch, and I've 
also ensured that the system libtool and patch have been renamed and so 
can't get in the way.

Is there something obviously wrong that anyone else has seen that I 
should be playing with ?  There's no indication of a problem with 2009Q2 
from Jonathan Perkin's blog:

and I've not seen anything obviously odd in what I'm doing having read 
though those scripts.

I can imagine that I may have been too restrictive in the number of 
packages I've put into the build zone, but any suggestions would be most 

Thanks in advance,
Ian Spray
GPG Fingerprint: D170 35A3 C858 6E85 9B5B  1557 4CD5 6F6F E176 2D0A

Home | Main Index | Thread Index | Old Index