NetBSD Problem Report #40958

From  Wed Mar  4 09:41:03 2009
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 52E9F63BD3B
	for <>; Wed,  4 Mar 2009 09:41:03 +0000 (UTC)
Message-Id: <>
Date: Wed,  4 Mar 2009 09:41:02 +0000 (UTC)
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
University of Bielefeld
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc

x11/lesstif uses libXft, but does mention it as dependency.

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

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


From: "Jeremy C. Reed" <>
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

 (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?= <>
Subject: Re: pkg/40958
Date: Mon, 09 Mar 2009 09:44:51 +0100

 Use the source...

 gmake[2]: Entering directory 
 /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 
 -O -c Print.c  -KPIC -DPIC -o .libs/Print.o
 "../../include/Motif-2.1/XmI/XmI.h", line 50: cannot find include file: 
 "../../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 
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 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                   
   Universität Bielefeld

From: "David A. Holland" <>
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-When: Thu, 18 Jun 2015 06:18:15 +0000
Change committed; let us know if the build problem is still happening.

From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <>
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

 Universität Bielefeld
 Universitätsstraße 25
 33615 Bielefeld
 Telefon: +49 521 106-12601

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


NetBSD Home
NetBSD PR Database Search

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