Subject: pkg/28817: Package www/kdewebdev3 misses libgcrypt dependency
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martijnb@atlas.ipv6.stack.nl>
List: pkgsrc-bugs
Date: 12/30/2004 16:57:00
>Number:         28817
>Category:       pkg
>Synopsis:       Package www/kdewebdev3 misses libgcrypt dependency
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 30 16:57:00 +0000 2004
>Originator:     martijnb@atlas.ipv6.stack.nl
>Release:        NetBSD 2.99.11
>Organization:
	
>Environment:
	
	
System: NetBSD atlas.ipv6.stack.nl 2.99.11 NetBSD 2.99.11 (ATLAS) #11: Tue Dec 14 15:38:53 CET 2004 martijnb@atlas.ipv6.stack.nl:/usr/src/sys/arch/i386/compile/ATLAS i386
Architecture: i386
Machine: i386
>Description:
     
     www/kdewebdev3 fails to compile because of a missing libgcrypt dependency:

Script started on Thu Dec 30 15:28:55 2004
atlas# make
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for kdewebdev-3.3.2.tar.bz2.

 *snip *

then mv -f ".deps/xsldbgbreakpoints.Tpo" ".deps/xsldbgbreakpoints.Plo"; else rm -f ".deps/xsldbgbreakpoints.Tpo"; exit 1; fi
*** Warning: linker path does not have real file for library -lgcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgcrypt but no candidates were found. (...for regex pattern test)

*more snip*

/bin/sh ../libtool --silent --mode=link --tag=CXX c++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium3 -O3 -pipe -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include/krb5 -march=pentium3 -O3 -pipe -fno-exceptions -fno-check-new -fno-common -DBUILD_KAFKAPART   -L/usr/pkg/qt3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -o kxsldbg  -L/usr/X11R6/lib -L/usr/pkg/qt3/lib -L/usr/pkg/lib  -L/usr/pkg/qt3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/qt3/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib kxsldbg.o main.o kxsldbgif_skel.o ./kxsldbgpart/libqtnotfier/libqtnotfier.la ./kxsldbgpart/libkxsldbgcommon.la ./kxsldbgpart/libxsldbg/libxsldbg.la  -lkdeui -lexslt -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lxslt -lxml2 -lz -lm -Wl,-R/usr/pkg/lib
  -L/usr/pkg/lib -lxml2 -lz -lm -lkparts -lintl
ld: cannot find -lgcrypt
gmake[3]: *** [kxsldbg] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/www/kdewebdev3/work/kdewebdev-3.3.2/kxsldbg'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/www/kdewebdev3/work/kdewebdev-3.3.2/kxsldbg'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/www/kdewebdev3/work/kdewebdev-3.3.2'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/www/kdewebdev3
*** Error code 1

>How-To-Repeat:

    Try to build kdewebdev3

>Fix:

Index: Makefile
===================================================================
RCS file: /pub/NetBSD-CVS/pkgsrc/www/kdewebdev3/Makefile,v
retrieving revision 1.4
diff -r1.4 Makefile
18c18
< 
---
> .include "../../security/libgcrypt/buildlink3.mk"

>Unformatted: