Subject: Re: packaging kdebase3 (3.3.1) fails
To: None <tech-pkg@netbsd.org>
From: Ian Zagorskih <ianzag@megasignal.com>
List: tech-pkg
Date: 10/15/2004 16:18:03
On Friday 15 October 2004 16:07, dieter wrote:
> I think kdebase3 needs this change:
>
> RCS file: /cvsroot/pkgsrc/x11/kdebase3/Makefile,v
> retrieving revision 1.59
> diff -u -r1.59 Makefile
> --- Makefile    13 Oct 2004 11:54:11 -0000      1.59
> +++ Makefile    15 Oct 2004 09:01:28 -0000
> @@ -81,6 +81,8 @@
>   .include "../../net/samba/buildlink3.mk"
>   LIBS+=                 -L${BUILDLINK_PREFIX.samba}/lib/samba
> -Wl,-R${BUILDLINK_PREFIX.samba}/lib/samba
>   PLIST_SUBST+=          HAVE_SMB=""
> +.else
> +PLIST_SUBST+=          HAVE_SMB="@comment "
>   .endif
>
>   ICONDIR=               share/kde/icons
>
>
> or else creating a pkg fails with:
>
> pkg_create: can't stat `/usr/pkg/${HAVE_SMB}lib/kde3/kio_smb.la'
> pkg_create: can't stat
> `/usr/pkg/${HAVE_SMB}share/kde/apps/konqueror/dirtree/rem
> ote/smb-network.desktop'
> pkg_create: can't stat
> `/usr/pkg/${HAVE_SMB}share/kde/mimelnk/application/x-smb- server.desktop'
> pkg_create: can't stat
> `/usr/pkg/${HAVE_SMB}share/kde/mimelnk/application/x-smb-
> workgroup.desktop'
> pkg_create: can't stat
> `/usr/pkg/${HAVE_SMB}share/kde/services/smb.protocol' tar: Unable to access
> ${HAVE_SMB}lib/kde3/kio_smb.la (No such file or directory) tar: Unable to
> access ${HAVE_SMB}share/kde/apps/konqueror/dirtree/remote/smb-net
> work.desktop (No such file or directory)
> tar: Unable to access
> ${HAVE_SMB}share/kde/mimelnk/application/x-smb-server.desk top (No such
> file or directory)
> tar: Unable to access
> ${HAVE_SMB}share/kde/mimelnk/application/x-smb-workgroup.d esktop (No such
> file or directory)
> tar: Unable to access ${HAVE_SMB}share/kde/services/smb.protocol (No such
> file o r directory)
> tar: WARNING! These file names were not selected:
> ${HAVE_SMB}lib/kde3/kio_smb.la
> ${HAVE_SMB}share/kde/apps/konqueror/dirtree/remote/smb-network.desktop
> ${HAVE_SMB}share/kde/mimelnk/application/x-smb-server.desktop
> ${HAVE_SMB}share/kde/mimelnk/application/x-smb-workgroup.desktop
> ${HAVE_SMB}share/kde/services/smb.protocol
> pkg_create: tar command failed with code 256
> *** Error code 1
>
> Stop.
> make: stopped in /usr/pkgsrc/x11/kdebase3

Would be great if you also specify the version of NetBSD you'r using :) Just 
yesterday i built complete KDE 3.3.1 meta package for i386 without any 
problems under NetBSD-current.

// wbr