NetBSD Problem Report #40958

From www@NetBSD.org  Wed Mar  4 09:41:03 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 52E9F63BD3B
	for <gnats-bugs@gnats.netbsd.org>; Wed,  4 Mar 2009 09:41:03 +0000 (UTC)
Message-Id: <20090304094102.D9B3963BAB8@www.NetBSD.org>
Date: Wed,  4 Mar 2009 09:41:02 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: x11/lesstif depends on libXft
X-Send-Pr-Version: www-1.0

>Number:         40958
>Category:       pkg
>Synopsis:       x11/lesstif depends on libXft
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 04 09:45:00 +0000 2009
>Closed-Date:    Thu Jun 18 18:21:19 +0000 2015
>Last-Modified:  Thu Jun 18 18:21:19 +0000 2015
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc

>Description:
x11/lesstif uses libXft, but does mention it as dependency.
>How-To-Repeat:

>Fix:
--- Makefile.orig       Mon Jul 14 05:56:18 2008
+++ Makefile    Tue Mar  3 23:45:49 2009
@@ -68,6 +68,7 @@

 .include "../../fonts/fontconfig/buildlink3.mk"
 .include "../../x11/libXext/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
 .include "../../x11/libXp/buildlink3.mk"
 .include "../../x11/libXrender/buildlink3.mk"
 .include "../../x11/libXt/buildlink3.mk"

>Release-Note:

>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/40958
Date: Fri, 6 Mar 2009 19:37:15 -0600 (CST)

 What type of error do you get regarding lesstif missing dependency of
 libXft?

 (I looked at lesstif 0.95.0nb1 libraries and binaries and they don't link 
 with libXft as far as I see.)


From: =?ISO-8859-1?Q?J=F6rn_Clausen?= <joern@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/40958
Date: Mon, 09 Mar 2009 09:44:51 +0100

 Use the source...

 gmake[2]: Entering directory 
 `/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/lesstif-0.95.0/lib/Xm-2.1'
 [...]
 /opt/pkg/ssc/bin/pdksh ../../libtool --tag=CC --mode=compile cc 
 -DHAVE_CONFIG_H -I. -I. -I../../include  -I../../include/Motif-2.1 
 -I../../include/Motif-2.1 -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include 
 -I/opt/pkg/ssc/include/freetype2 -I/opt/pkg/ssc/include/freetype2 
 -I/opt/pkg/ssc/include -I/opt/pkg/ssc/include  -O -I/opt/pkg/ssc/include 
 -I/opt/pkg/ssc/include/freetype2 -c -o Print.lo Print.c
   cc -DHAVE_CONFIG_H -I. -I../../include -I../../include/Motif-2.1 
 -I/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/.buildlink/include 
 -I/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/.buildlink/include/freetype2 
 -O -c Print.c  -KPIC -DPIC -o .libs/Print.o
 "../../include/Motif-2.1/XmI/XmI.h", line 50: cannot find include file: 
 <X11/Xft/Xft.h>
 "../../include/Motif-2.1/XmI/XmI.h", line 101: syntax error before or 
 at: XftPattern
 "../../include/Motif-2.1/XmI/XmI.h", line 502: warning: old-style 
 declaration or incorrect type for: XftDraw
 "../../include/Motif-2.1/XmI/XmI.h", line 502: syntax error before or at: *
 "../../include/Motif-2.1/XmI/XmI.h", line 502: warning: old-style 
 declaration or incorrect type for: _XmXftDrawCreate
 "../../include/Motif-2.1/XmI/XmI.h", line 503: syntax error before or 
 at: XftDraw
 "../../include/Motif-2.1/XmI/XmI.h", line 503: warning: undefined or 
 missing type for: XftDraw
 cc: acomp failed for Print.c
 gmake[2]: *** [Print.lo] Error 1
 gmake[2]: Leaving directory 
 `/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/lesstif-0.95.0/lib/Xm-2.1'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 `/opt/pkgsrc/pkgsrc/x11/lesstif/work.ssc/lesstif-0.95.0/lib'
 gmake: *** [all-recursive] Error 1
 *** Error code 2

 I tried this on OpenSolaris 11, and it happens only with the Sun Studio 
 Compiler, not with GCC. Ah, because USE_XFT is not defined in the latter 
 case. Hmm, even when adding the dependency on libXft in Makefile, when 
 using GCC, configure does not pick up libXft.

 -- 
   Jörn Clausen                             joern.clausen@uni-bielefeld.de
   Hochschulrechenzentrum                 http://www.uni-bielefeld.de/hrz/
   Universität Bielefeld

From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40958 CVS commit: pkgsrc/x11/lesstif
Date: Thu, 18 Jun 2015 06:02:42 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Thu Jun 18 06:02:42 UTC 2015

 Modified Files:
 	pkgsrc/x11/lesstif: Makefile PLIST

 Log Message:
 Add libXft per PR 40958, and while here also remove libXp as
 it's deprecated/useless. PKGREVISION -> 5.


 To generate a diff of this commit:
 cvs rdiff -u -r1.102 -r1.103 pkgsrc/x11/lesstif/Makefile
 cvs rdiff -u -r1.11 -r1.12 pkgsrc/x11/lesstif/PLIST

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 06:18:15 +0000
State-Changed-Why:
Change committed; let us know if the build problem is still happening.


From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org
Cc: dholland@NetBSD.org, pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org,
 gnats-admin@NetBSD.org
Subject: Re: pkg/40958 (x11/lesstif depends on libXft)
Date: Thu, 18 Jun 2015 10:21:08 +0200

 Thanks! Unfortunately, I don't use Sun Studio any more, so I can't 
 comment on it.

 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 Hochschulrechenzentrum

 Universität Bielefeld
 Universitätsstraße 25
 33615 Bielefeld
 Telefon: +49 521 106-12601
 E-Mail: joern.clausen@uni-bielefeld.de

 http://www.uni-bielefeld.de/hrz

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 18 Jun 2015 18:21:19 +0000
State-Changed-Why:
submitter can't test; assume it's ok until proven otherwise


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.