NetBSD Problem Report #36597

From khorben@defora.org  Mon Jul  2 23:42:35 2007
Return-Path: <khorben@defora.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 91CD363B882
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  2 Jul 2007 23:42:35 +0000 (UTC)
Message-Id: <20070703014240.4A450FC6D@syn.defora.rom>
Date: Tue,  3 Jul 2007 03:42:40 +0200 (CEST)
From: khorben@defora.org
Reply-To: khorben@defora.org
To: gnats-bugs@NetBSD.org
Subject: sysutils/wmSMPmon does not compile with X11_TYPE=modular
X-Send-Pr-Version: 3.95

>Number:         36597
>Category:       pkg
>Synopsis:       sysutils/wmSMPmon does not compile with X11_TYPE=modular
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    obache
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 02 23:45:00 +0000 2007
>Closed-Date:    Tue Jul 03 11:24:57 +0000 2007
>Last-Modified:  Tue Jul 03 11:25:00 +0000 2007
>Originator:     khorben@defora.org
>Release:        NetBSD 4.0_BETA2
>Organization:
khorben
>Environment:
System: NetBSD syn.defora.rom 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC.MP) #6: Mon Jul 2 02:25:25 CEST 2007 khorben@syn.defora.rom:/usr/obj/sys/arch/amd64/compile/GENERIC.MP amd64
Architecture: x86_64
Machine: amd64
>Description:

Compilation of sysutils/wmSMPmon fails when X11_TYPE is set to
"modular", with the following error:
X11/extensions/shape.h not found

Working around this error by manually linking to the relevant file in
work/.buildlink is not enough, it then fails like this:
ld: cannot find -lXext

This error has a similar workaround, which allows compilation of the
package.

>How-To-Repeat:

Compile sysutils/wmSMPmon with X11_TYPE=modular.

>Fix:

Manual fix involves symbolically linking the missing files in
work/.buildlink, but the actual fix is unknown.

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/36597: sysutils/wmSMPmon does not compile with X11_TYPE=modular
Date: Tue, 03 Jul 2007 09:22:58 +0900

 On Tue, 03 Jul 2007 08:45:00 +0900, <khorben@defora.org> wrote:

 > Compilation of sysutils/wmSMPmon fails when X11_TYPE is set to
 > "modular", with the following error:
 > X11/extensions/shape.h not found
 >
 > Working around this error by manually linking to the relevant file in
 > work/.buildlink is not enough, it then fails like this:
 > ld: cannot find -lXext

 Adding following lines to Makefile fixes this problem?

 .include "../../x11/libXext/buildlink3.mk"
 .include "../../x11/xextproto/buildlink3.mk"

 -- 
 "Of course I love NetBSD":-)
 OBATA Akio / obache@NetBSD.org

From: Pierre Pronchery <khorben@defora.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36597: sysutils/wmSMPmon does not compile with X11_TYPE=modular
Date: Tue, 03 Jul 2007 14:56:44 +0200

 OBATA Akio wrote:
 >  Adding following lines to Makefile fixes this problem?
 >  
 >  .include "../../x11/libXext/buildlink3.mk"
 >  .include "../../x11/xextproto/buildlink3.mk"

 It does indeed, thanks.

 -- 
 khorben

Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@netbsd.org
Responsible-Changed-When: Tue, 03 Jul 2007 11:24:57 +0000
Responsible-Changed-Why:
I commited the fix.


State-Changed-From-To: open->closed
State-Changed-By: obache@netbsd.org
State-Changed-When: Tue, 03 Jul 2007 11:24:57 +0000
State-Changed-Why:
Fix commited.  Thanks for the report and confirm!


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: PR/36597 CVS commit: pkgsrc/sysutils/wmSMPmon
Date: Tue,  3 Jul 2007 11:23:17 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Tue Jul  3 11:23:16 UTC 2007

 Modified Files:
 	pkgsrc/sysutils/wmSMPmon: Makefile

 Log Message:
 Fix build problem with modular Xorg.

 Problem reported and fix confirmed by Pierre Pronchery in PR 36597.


 To generate a diff of this commit:
 cvs rdiff -r1.8 -r1.9 pkgsrc/sysutils/wmSMPmon/Makefile

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

>Unformatted:
 pkgsrc from June 30 18:17 CEST

NetBSD Home
NetBSD PR Database Search

(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.