NetBSD Problem Report #42085
From kre@munnari.OZ.AU Thu Sep 17 17:34:39 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id 52AC063C2E4
for <gnats-bugs@gnats.NetBSD.org>; Thu, 17 Sep 2009 17:34:39 +0000 (UTC)
Message-Id: <200909171734.n8HHYX5t011448@jade.coe.psu.ac.th>
Date: Fri, 18 Sep 2009 00:34:33 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: sysutils/toshutils misses a dependency upon x11/libXt (pkgsrc modular xorg)
X-Send-Pr-Version: 3.95
>Number: 42085
>Category: pkg
>Synopsis: sysutils/toshutils misses a dependency upon x11/libXt (pkgsrc modular xorg)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: obache
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 17 17:35:00 +0000 2009
>Closed-Date: Fri Sep 18 21:42:23 +0000 2009
>Last-Modified: Fri Sep 18 21:42:23 +0000 2009
>Originator: Robert Elz
>Release: NetBSD 4.0 / i386 pkgsrc current 2009-09-17
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
sysutils/toshutils fails to configure, claims that X libraries
or include files not found. The one it detects is X11/Intrinsic,h
which is supposed to be provided by x11/libXt which is not
installed as a dependency required by sysutils/toshutils
>How-To-Repeat:
I use pkg_comp with libkver and NetBSD 4.0 sets installed.
I do not use the x* sets (if native X11 was in use this problem
would probably not be obsrerved), I use pkgsrc modular xorg
instead.
In that environment ...
checking for X... (cached) no
configure: error:
*** X libraries or include files not found. Check 'config.log' for
*** more details.
*** Error code 1
The config.log file says ...
configure:928: checking for X
configure:995: cc -E -I/usr/pkg/include -I/usr/include conftest.c >/dev/null 2>conftest.out
configure:991:27: error: X11/Intrinsic.h: No such file or directory
configure: failed program was:
#line 990 "configure"
#include "confdefs.h"
#include <X11/Intrinsic.h>
configure:1071: cc -o conftest -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -s conftest.c -lXt 1>&5
ld: cannot find -lXt
configure: failed program was:
#line 1064 "configure"
#include "confdefs.h"
int main() {
XtMalloc()
; return 0; }
And there is no X11/Intrinsic.h installed anywhere,
and nor is x11/libXt installed.
>Fix:
I have no idea how the pkgsrc modular xorg dependencies
are handled in a way that makes them transparent to native
X11 installs, so I will leave this one entirely for someone
who has a clue.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Fri, 18 Sep 2009 09:39:11 +0000
Responsible-Changed-Why:
Should be fixed. I've comfirmed on NetBSD-5.0.1 with X11_TYPE=modular.
Could you confirm the fix on your environment?
State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Fri, 18 Sep 2009 09:39:11 +0000
State-Changed-Why:
From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/42085 CVS commit: pkgsrc/sysutils/toshutils
Date: Fri, 18 Sep 2009 09:37:01 +0000
Module Name: pkgsrc
Committed By: obache
Date: Fri Sep 18 09:37:01 UTC 2009
Modified Files:
pkgsrc/sysutils/toshutils: Makefile distinfo
pkgsrc/sysutils/toshutils/patches: patch-ad patch-am
Log Message:
Some fixes and improvements:
* configure require libXt to check X11, as PR 42085
* Set LICENSE=gnu-gpl-v2
* add DESTDIR support.
* need lex and yacc
* marked as MAKE_JOBS_SAFE=no
* set SETUID_ROOT_PERMS to executables.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/sysutils/toshutils/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/sysutils/toshutils/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/toshutils/patches/patch-ad
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/sysutils/toshutils/patches/patch-am
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Robert Elz <kre@munnari.OZ.AU>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/42085 (sysutils/toshutils misses a dependency upon x11/libXt (pkgsrc modular xorg))
Date: Sat, 19 Sep 2009 04:38:23 +0700
Yes, thanks, confirmed, it builds fine now thanks.
kre
State-Changed-From-To: feedback->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Fri, 18 Sep 2009 21:42:23 +0000
State-Changed-Why:
Fixed.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.