NetBSD Problem Report #16029
Received: (qmail 16405 invoked from network); 24 Mar 2002 01:15:35 -0000
Message-Id: <200203240115.g2O1FRJ24449@mail.neutralgood.org>
Date: Sat, 23 Mar 2002 20:15:27 -0500 (EST)
From: kpn@neutralgood.org
To: gnats-bugs@gnats.netbsd.org
Subject: wmakerconf doesn't build
X-Send-Pr-Version: 3.95
>Number: 16029
>Category: pkg
>Synopsis: wmakerconf won't build - configure failure
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: rh
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Mar 24 01:16:01 +0000 2002
>Closed-Date: Wed Mar 27 20:54:16 +0000 2002
>Last-Modified: Wed May 13 13:27:44 +0000 2015
>Originator: Kevin P. Neal
>Release: NetBSD 1.5.2
>Organization:
--
Kevin P. Neal http://www.pobox.com/~kpn/
"You know, I think I can hear the machine screaming from here... \
'help me! hellpp meeee!'" - Heather Flanagan, 14:52:23 Wed Jun 10 1998
>Environment:
System: NetBSD tome.neutralgood.org 1.5.2 NetBSD 1.5.2 (TOME) #51: Tue Jan 15 18:25:56 EST 2002 kpn@tome.neutralgood.org:/local/kernel/compile/TOME alpha
>Description:
The wmakerconf package fails when running configure. The config.log sez:
configure:2126: cc -o conftest -I/usr/pkg/obj/wm/wmakerconf/work/.buildlink/incl
ude -O2 -I/usr/pkg/share/x11-links/include -I/usr/pkg/obj/wm/wmakerconf/work/.bu
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ildlink/obj/wm/wmakerconf/work/.buildlink/include/gtk-1.2 -I/usr/pkg/obj/wm/wmak
i^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
erconf/work/.buildlink/include/glib/glib-1.2 -I/usr/pkg/obj/wm/wmakerconf/work/.
buildlink/lib/glib/include -I/usr/pkg/share/x11-links/include -I/usr/pkg/obj/wm/
wmakerconf/work/.buildlink/include -I/usr/pkg/share/x11-links/include -I/usr/pk
g/share/x11-links/include -L/usr/pkg/obj/wm/wmakerconf/work/.buildlink/lib -L/u
sr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/sh
are/x11-links/lib conftest.c -lPropList -lm -L/usr/pkg/obj/wm/wmakerconf/work/.b
uildlink/lib -Wl,-R/usr/pkg/lib -lintl -L/usr/pkg/obj/wm/wmakerconf/work/.buildl
ink/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/share/x11-links/lib -
L/usr/pkg/share/x11-links/lib -lgtk -lgdk -lgmodule -lglib -L/usr/pkg/obj/wm/wma
kerconf/work/.buildlink/lib -Wl,-R/usr/pkg/lib -lintl -lXi -lXext -lX11 -lm 1>&5
configure:2118: gtk/gtk.h: No such file or directory
configure: failed program was:
#line 2116 "configure"
#include "confdefs.h"
#include <gtk/gtk.h>
#include <stdio.h>
int main() {
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
; return 0; }
I marked the problem line above. The correct path is:
-I/usr/pkg/obj/wm/wmakerconf/work/.buildlink/include/gtk-1.2
Am I the only one with a /usr/pkg partition, with /usr/pkg/src and
/usr/pkg/obj directories?
>How-To-Repeat:
Attempt to build wmakerconf in pkgsrc.
>Fix:
Sorry.
>Release-Note:
>Audit-Trail:
From: "Jeremy C. Reed" <reed@reedmedia.net>
To: kpn@neutralgood.org
Cc: gnats-bugs@gnats.netbsd.org, <netbsd-bugs@netbsd.org>
Subject: Re: pkg/16029: wmakerconf doesn't build
Date: Sat, 23 Mar 2002 20:38:42 -0800 (PST)
On Sat, 23 Mar 2002 kpn@neutralgood.org wrote:
> configure:2126: cc -o conftest -I/usr/pkg/obj/wm/wmakerconf/work/.buildlink/incl
> ude -O2 -I/usr/pkg/share/x11-links/include -I/usr/pkg/obj/wm/wmakerconf/work/.bu
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ildlink/obj/wm/wmakerconf/work/.buildlink/include/gtk-1.2 -I/usr/pkg/obj/wm/wmak
> i^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
> configure:2118: gtk/gtk.h: No such file or directory
This is just like my PR pkg/15999. I assume it is the exact same problem.
> I marked the problem line above. The correct path is:
> -I/usr/pkg/obj/wm/wmakerconf/work/.buildlink/include/gtk-1.2
Mine does
-I/usr/pkg/pkgsrc/x11/gnome-libs/work/.buildlink/pkgsrc/x11/gnome-libs/work/
.buildlink/include/gtk-1.2
Which doesn't exist.
For me the symlink is at
/usr/pkgsrc/x11/gnome-libs/work/.buildlink/include/gtk-1.2/gtk/gtk.h
> Am I the only one with a /usr/pkg partition, with /usr/pkg/src and
> /usr/pkg/obj directories?
So I see the problem probably has something do with non-standard path: I
use /usr/pkg/pkgsrc.
(I blind-carbon copied this to Masao since you had been helping me; I hope
you don't mind.)
Jeremy C. Reed
http://www.reedmedia.net/
State-Changed-From-To: open->feedback
State-Changed-By: rh
State-Changed-When: Sun Mar 24 13:45:07 PST 2002
State-Changed-Why:
The package system doesn't allow for any unmanaged files to go in
/usr/pkg (or wherever PREFIX points to). Could you please try moving
your object directory away from /usr/pkg/obj to something like
/usr/obj or /usr/pkgobj and tell me if it works then?
Thanks
,
Rene
Responsible-Changed-From-To: pkg-manager->rh
Responsible-Changed-By: rh
Responsible-Changed-When: Sun Mar 24 13:45:07 PST 2002
Responsible-Changed-Why:
rh took responsibility for this PR
State-Changed-From-To: feedback->closed
State-Changed-By: rh
State-Changed-When: Wed Mar 27 12:54:02 PST 2002
State-Changed-Why:
The restriction not to mix package and non-package files is documented
in section 2.4 of Packages.txt. To clarify this some more, I have now
made this a little bit more explicit and added some examples there.
>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.