pkgsrc-Bugs archive

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

pkg/43766: devel/libtool-base fails to build on Linux [patch]



>Number:         43766
>Category:       pkg
>Synopsis:       devel/libtool-base fails to build on Linux [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 15 17:35:00 +0000 2010
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1_RC3
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #1: Mon 
Jun 28 00:06:07 EEST 2010 
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:
"patch" phase fails because patched file is read-only.

   => Applying pkgsrc patches for libtool-base-2.2.6bnb4
   File libltdl/config/ltmain.sh is read-only; refusing to patch
   1 out of 1 hunk ignored -- saving rejects to file 
libltdl/config/ltmain.sh.rej
   Patch /srv/pkgsrc/devel/libtool-base/../libtool/patches/patch-ac failed
   ERROR: Patching failed due to modified or broken patch file(s):
   ERROR:  /srv/pkgsrc/devel/libtool-base/../libtool/patches/patch-ac
>Fix:

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/devel/libtool/Makefile.common,v
retrieving revision 1.77
diff -u -r1.77 Makefile.common
--- Makefile.common     15 Dec 2009 17:35:36 -0000      1.77
+++ Makefile.common     15 Aug 2010 17:27:47 -0000
@@ -70,3 +70,6 @@
 .endif
 
 CONFIGURE_ENV+=                RANLIB=${RANLIB:Q}
+
+pre-patch:
+       chmod +w ${WRKSRC}/libltdl/config/ltmain.sh



Home | Main Index | Thread Index | Old Index