From nobody@FreeBSD.org  Fri Jul 27 10:15:24 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2BEEC1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2012 10:15:24 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 16E3F8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2012 10:15:24 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6RAFNJd013664
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 27 Jul 2012 10:15:23 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q6RAFNsM013656;
	Fri, 27 Jul 2012 10:15:23 GMT
	(envelope-from nobody)
Message-Id: <201207271015.q6RAFNsM013656@red.freebsd.org>
Date: Fri, 27 Jul 2012 10:15:23 GMT
From: Giacomo Strangolino <delleceste@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: kdepim4 fails to link with libinotify (and also kdepim44)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         170209
>Category:       ports
>Synopsis:       deskutils/kdepim4 fails to link with libinotify (and also kdepim44)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kde
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 27 10:20:06 UTC 2012
>Closed-Date:    Sat Aug 25 01:43:08 UTC 2012
>Last-Modified:  Sat Aug 25 01:43:08 UTC 2012
>Originator:     Giacomo Strangolino
>Release:        9
>Organization:
Elettra Sincrotrone Trieste
>Environment:
FreeBSD woody 9.0-RELEASE FreeBSD 9.0-RELEASE ... amd64
>Description:
deskutils/kdepim4 fails to build giving a link error (undefined reference to inotify_add_watch and inotify_init)


same thing for kdepim44

./lib/libkmailprivate.so.5.0.1: undefined reference to `inotify_add_watch'
./lib/libkmailprivate.so.5.0.1: undefined reference to `inotify_init'


>How-To-Repeat:
cd /usr/ports/deskutils/kdepim4 

make
>Fix:
edit deskutils/kdepim4/work/kdepim-4.8.4/messageviewer

CMakeLists.txt

add 
 -linotify

in target_link_libraries(....

)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-amd64->kde 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Jul 27 15:04:57 UTC 2012 
Responsible-Changed-Why:  
Make this a ports PR, fix Synopsis, and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170209 
State-Changed-From-To: open->feedback 
State-Changed-By: makc 
State-Changed-When: Fri Jul 27 15:58:11 UTC 2012 
State-Changed-Why:  
Did you install devel/libinotify? can you show output of ldd 
libkmailprivate.so.5.0.1 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170209 

From: Giacomo <delleceste@gmail.com>
To: bug-followup@freebsd.org, delleceste@gmail.com
Cc:  
Subject: Re: ports/170209: deskutils/kdepim4 fails to link with libinotify
 (and also kdepim44)
Date: Mon, 6 Aug 2012 09:53:26 +0200

 --e89a8f3ba10d765d1f04c6942da1
 Content-Type: text/plain; charset=ISO-8859-1
 
 any news?
 
 Giacomo.
 
 -- 
 Giacomo S.
 http://www.giacomos.it
 
 Sincrotrone Trieste S.C.p.A. di interesse nazionale
 Strada Statale 14 - km 163,5 in AREA Science Park
 34149 Basovizza, Trieste ITALY
 -
 040 3758073
 328 3237959
 
 - - - - - - - - - - - - - - - - - - - - - -
 
 * iqfire-wall, un progetto
   open source che implementa un
   filtro di pacchetti di rete per Linux,
   e` disponibile per il download qui:
   http://sourceforge.net/projects/ipfire-wall
 
 * Informazioni e pagina web ufficiale:
   http://www.giacomos.it/iqfire/index.html
 
 - - - - - - - - - - - - - - - - - - - - - -
 
  . ''  `.
 :   :'    :
  `.  ` '
     `- Debian GNU/Linux -- The power of freedom
         http://www.debian.org
 
 --e89a8f3ba10d765d1f04c6942da1
 Content-Type: text/html; charset=ISO-8859-1
 Content-Transfer-Encoding: quoted-printable
 
 any news?<div><br></div><div>Giacomo.<br clear=3D"all"><div><br></div>-- <b=
 r>Giacomo S.<br><a href=3D"http://www.giacomos.it" target=3D"_blank">http:/=
 /www.giacomos.it</a><br><br>Sincrotrone Trieste S.C.p.A. di interesse nazio=
 nale<br>
 
 Strada Statale 14 - km 163,5 in AREA Science Park<br>34149 Basovizza, Tries=
 te ITALY<br>-<br>040 3758073<br>328 3237959<br>=A0<br>- - - - - - - - - - -=
  - - - - - - - - - - -<br><br>* iqfire-wall, un progetto<br>=A0 open source=
  che implementa un<br>
 
 =A0 filtro di pacchetti di rete per Linux,<br>=A0 e` disponibile per il dow=
 nload qui:<br>=A0 <a href=3D"http://sourceforge.net/projects/ipfire-wall" t=
 arget=3D"_blank">http://sourceforge.net/projects/ipfire-wall</a><br><br>* I=
 nformazioni e pagina web ufficiale:<br>
 
 =A0 <a href=3D"http://www.giacomos.it/iqfire/index.html" target=3D"_blank">=
 http://www.giacomos.it/iqfire/index.html</a><br><br>- - - - - - - - - - - -=
  - - - - - - - - - -<br><br>=A0. &#39;&#39;=A0 `.<br>:=A0=A0 :&#39;=A0 =A0 =
 :<br>=A0`.=A0 ` &#39;<br>
 
 =A0 =A0 `- Debian GNU/Linux -- The power of freedom<br>=A0 =A0 =A0 =A0 <a h=
 ref=3D"http://www.debian.org" target=3D"_blank">http://www.debian.org</a><b=
 r>
 </div>
 
 --e89a8f3ba10d765d1f04c6942da1--
State-Changed-From-To: feedback->analyzed 
State-Changed-By: avilla 
State-Changed-When: Mon Aug 20 15:19:40 UTC 2012 
State-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170209 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170209: commit references a PR
Date: Sat, 25 Aug 2012 01:38:48 +0000 (UTC)

 Author: avilla
 Date: Sat Aug 25 01:38:34 2012
 New Revision: 303110
 URL: http://svn.freebsd.org/changeset/ports/303110
 
 Log:
   - Remove check for inotify.h.
   
   devel/libinotify doesn't support yet some of the events used by the
   code, so we can't add it as a dependency, and we need to disable the
   checks.
   
   PR:		170209
 
 Added:
   head/deskutils/kdepim4/files/patch-messageviewer__CMakeLists.txt   (contents, props changed)
   head/deskutils/kdepim44/files/patch-kmail__CMakeLists.txt   (contents, props changed)
 
 Added: head/deskutils/kdepim4/files/patch-messageviewer__CMakeLists.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/deskutils/kdepim4/files/patch-messageviewer__CMakeLists.txt	Sat Aug 25 01:38:34 2012	(r303110)
 @@ -0,0 +1,10 @@
 +--- ./messageviewer/CMakeLists.txt.orig	2012-08-25 03:19:01.387668126 +0200
 ++++ ./messageviewer/CMakeLists.txt	2012-08-25 03:19:18.597652001 +0200
 +@@ -17,7 +17,6 @@
 + 
 + configure_file(messageviewer.kcfg.cmake ${CMAKE_CURRENT_BINARY_DIR}/messageviewer.kcfg)
 + 
 +-check_include_files(sys/inotify.h SYS_INOTIFY_H_FOUND)
 + macro_bool_to_01(SYS_INOTIFY_H_FOUND HAVE_SYS_INOTIFY_H)
 + configure_file(config-messageviewer.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-messageviewer.h)
 + 
 
 Added: head/deskutils/kdepim44/files/patch-kmail__CMakeLists.txt
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/deskutils/kdepim44/files/patch-kmail__CMakeLists.txt	Sat Aug 25 01:38:34 2012	(r303110)
 @@ -0,0 +1,10 @@
 +--- ./kmail/CMakeLists.txt.orig	2012-08-25 02:59:33.137594262 +0200
 ++++ ./kmail/CMakeLists.txt	2012-08-25 03:03:00.337595149 +0200
 +@@ -4,7 +4,6 @@
 + check_include_files(fcntl.h HAVE_FCNTL_H)
 + check_include_files(byteswap.h HAVE_BYTESWAP_H)
 + check_include_files(paths.h HAVE_PATHS_H)
 +-check_include_files(sys/inotify.h SYS_INOTIFY_H_FOUND)
 + check_function_exists(mmap HAVE_MMAP)
 + macro_bool_to_01(SYS_INOTIFY_H_FOUND HAVE_SYS_INOTIFY_H)
 + 
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: analyzed->closed 
State-Changed-By: avilla 
State-Changed-When: Sat Aug 25 01:43:07 UTC 2012 
State-Changed-Why:  
Checks for inotify.h were removed. The reason is explained in the commit 
message which is about to be attached to the PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170209 
>Unformatted:
