pkgsrc-Bugs archive

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

pkg/47279: pkgsrc/print/libgxps doesn't build .. libarchive.pc already exists in .buildlink/lib/pkgconfig



>Number:         47279
>Category:       pkg
>Synopsis:       pkgsrc/print/libgxps doesn't build .. libarchive.pc already 
>exists in .buildlink/lib/pkgconfig
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 03 17:10:00 +0000 2012
>Originator:     Richard PALO
>Release:        pkgsrc trunk
>Organization:
>Environment:
SunOS devzoneX 5.11 oi_151a7 i86pc i386 i86pc Solaris

>Description:
apparently print/libgxps was not updated when libarchive added a pkgconfig .pc 
file, and fails while trying to place an older version from files...

===> Patching for libgxps-0.2.2nb5
=> Applying pkgsrc patches for libgxps-0.2.2nb5
===> Creating toolchain wrappers for libgxps-0.2.2nb5
src=/opt/pkg/lib/pkgconfig/fixesproto.pc  
dst=/tmp/pkgsrc/print/libgxps/work/.buildlink/lib/pkgconfig/fixesext.pc;  
/usr/bin/mkdir -p /tmp/pkgsrc/print/libgxps/work/.buildlink/lib/pkgconfig;  if 
test -f ${src}; then  /usr/bin/ln -sf ${src} ${dst};  fi
===> Configuring for libgxps-0.2.2nb5
/bin/cp /home/richard/src/pkgsrc/print/libgxps/files/libarchive.pc 
/tmp/pkgsrc/print/libgxps/work/.buildlink/lib/pkgconfig
cp: cannot create 
/tmp/pkgsrc/print/libgxps/work/.buildlink/lib/pkgconfig/libarchive.pc: 
Permission denied
*** Error code 2

Stop.
bmake: stopped in /home/richard/src/pkgsrc/print/libgxps
*** Error code 1

Stop.
bmake: stopped in /home/richard/src/pkgsrc/print/libgxps
richard@devzoneX:~/src/pkgsrc/print/libgxps$ diff files/libarchive.pc 
/tmp/pkgsrc/print/libgxps/work/.buildlink/lib/pkgconfig/libarchive.pc 
1c1,4
< # $NetBSD: libarchive.pc,v 1.1.1.1 2012/03/21 17:38:39 drochner Exp $
---
> prefix=/opt/pkg
> exec_prefix=${prefix}
> libdir=${exec_prefix}/lib
> includedir=${prefix}/include
4,5c7,8
< Description: libarchive
< Version: 2.8.0
---
> Description: library that can create and read several streaming archive 
> formats
> Version: 2.8.4
6a10
> Libs.private: -llzma -lbz2 -lz   -lcrypto -lcrypto -lcrypto -lcrypto -lcrypto 
> -lcrypto

NB libarchive.pc does seem to have a repetition problem though!
>How-To-Repeat:

>Fix:
richard@devzone:~/src/pkgsrc/print/libgxps$ cvs diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/libgxps/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    8 Oct 2012 23:02:21 -0000       1.7
+++ Makefile    3 Dec 2012 17:06:02 -0000
@@ -2,7 +2,7 @@
 #
 
 DISTNAME=      libgxps-0.2.2
-PKGREVISION=   5
+PKGREVISION=   6       
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libgxps/0.2/}
 EXTRACT_SUFX=  .tar.xz
@@ -18,9 +18,6 @@ USE_TOOLS+=   pkg-config
 
 PKGCONFIG_OVERRIDE+=   libgxps.pc.in
 
-pre-configure:
-       ${CP} ${FILESDIR}/libarchive.pc ${BUILDLINK_DIR}/lib/pkgconfig
-
 # for test
 #.include "../../x11/gtk3/buildlink3.mk"
 
Index: files/libarchive.pc
===================================================================
RCS file: files/libarchive.pc
diff -N files/libarchive.pc
--- files/libarchive.pc 21 Mar 2012 17:38:39 -0000      1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,6 +0,0 @@
-# $NetBSD: libarchive.pc,v 1.1.1.1 2012/03/21 17:38:39 drochner Exp $
-
-Name: libarchive
-Description: libarchive
-Version: 2.8.0
-Libs: -larchive



Home | Main Index | Thread Index | Old Index