pkgsrc-Bugs archive

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

pkg/38544: DESTDIR support for news/leafnode



>Number:         38544
>Category:       pkg
>Synopsis:       DESTDIR support for news/leafnode
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 29 21:05:00 +0000 2008
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #3: 
Wed Apr 23 00:58:08 EEST 2008 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
http://www.mova.org/~cheusov/pub/pkgsrc-pbulk/NetBSD/current-destdir/log/20080426.0859/news/leafnode/stage_package.html

   gmake[1]: Leaving directory 
`/tmp/obj-pkgsrc-destdir/news/leafnode/work/leafnode-1.11.3.rel'
   /usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/examples/leafnode
   /usr/bin/install -c -o root -g wheel -m 644 
/tmp/obj-pkgsrc-destdir/news/leafnode/work/leafnode-1.11.3.rel/config.example   
                  /usr/pkg/share/examples/leafnode
   /usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/doc/leafnode
   /usr/bin/install -c -o root -g wheel -m 644 
/tmp/obj-pkgsrc-destdir/news/leafnode/work/leafnode-1.11.3.rel/README 
/tmp/obj-pkgsrc-destdir/news/leafnode/work/leafnode-1.11.3.rel/README-FQDN      
            
/tmp/obj-pkgsrc-destdir/news/leafnode/work/leafnode-1.11.3.rel/README-MAINTAINER
                        
/tmp/obj-pkgsrc-destdir/news/leafnode/work/leafnode-1.11.3.rel/README-daemontools
                       
/tmp/obj-pkgsrc-destdir/news/leafnode/work/leafnode-1.11.3.rel/README.FIRST 
/usr/pkg/share/doc/leafnode
   => Automatic manual page handling
   => Generating post-install file lists
   pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README'
   pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README-FQDN'
   pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README-MAINTAINER'
   pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README-daemontools'
   pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README.FIRST'
   pkg_create: can't stat 
`/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/examples/leafnode/config.example'
   => Checking file-check results for leafnode-1.11.3nb1
   ERROR: ************************************************************
   ERROR: The following files are in the PLIST but not in /usr/pkg:
   ERROR:         
/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README
   ERROR:         
/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README-FQDN
   ERROR:         
/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README-MAINTAINER
   ERROR:         
/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README-daemontools
   ERROR:         
/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/doc/leafnode/README.FIRST
   ERROR:         
/tmp/obj-pkgsrc-destdir/news/leafnode/work/.destdir/usr/pkg/share/examples/leafnode/config.example
   *** Error code 1
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/news/leafnode/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- Makefile    8 Sep 2007 21:57:58 -0000       1.39
+++ Makefile    29 Apr 2008 20:52:36 -0000
@@ -63,15 +65,15 @@
 TEST_TARGET=           check
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/leafnode
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/leafnode
        ${INSTALL_DATA} ${WRKSRC}/config.example                        \
-                               ${PREFIX}/share/examples/leafnode
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/leafnode
+                               ${DESTDIR}${PREFIX}/share/examples/leafnode
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/leafnode
 
        ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README-FQDN          \
                        ${WRKSRC}/README-MAINTAINER                     \
                        ${WRKSRC}/README-daemontools                    \
-                       ${WRKSRC}/README.FIRST ${PREFIX}/share/doc/leafnode
+                       ${WRKSRC}/README.FIRST 
${DESTDIR}${PREFIX}/share/doc/leafnode
 
 .include "../../devel/pcre/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index