NetBSD Problem Report #31086

From www@netbsd.org  Mon Aug 29 11:28:58 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 1492C63B872; Mon, 29 Aug 2005 11:28:58 +0000 (UTC)
Message-Id: <20050829112858.1492C63B872@narn.netbsd.org>
Date: Mon, 29 Aug 2005 11:28:58 +0000 (UTC)
From: segv@netctl.net
Reply-To: segv@netctl.net
To: gnats-bugs@netbsd.org
Subject: x11/Xfixes fails to build on Solaris 10
X-Send-Pr-Version: www-1.0

>Number:         31086
>Category:       pkg
>Synopsis:       x11/Xfixes fails to build on Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    reed
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 29 11:29:00 +0000 2005
>Closed-Date:    Thu Jan 14 22:20:16 +0000 2021
>Last-Modified:  Thu Jan 14 22:20:16 +0000 2021
>Originator:     segv
>Release:        
>Organization:
>Environment:
SunOS dhcli-192-168-0-5.netctl.net 5.10 Generic sun4u sparc SUNW,Ultra-5_10

>Description:
x11/Xfixes fails to build on Solaris 10

checking for fixesext >= 2.0... sh: gnome-config: not found
sh: gnome-config: not found
Package fixesext was not found in the pkg-config search path. Perhaps you
should add the directory containing `fixesext.pc' to the PKG_CONFIG_PATH
environment variable No package 'fixesext' found configure: error: Library
requirements (fixesext >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH
environment variable if your libraries are in a nonstandard prefix so
pkg-config can find them. *** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/x11/Xfixes
===> 
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===>      * config.log
===>      * /opt/pkg32.obj/x11/Xfixes/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/x11/Xfixes
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/www/firefox
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/www/firefox



>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: gnats-bugs@netbsd.org
Cc: segv@netctl.net
Subject: Re: pkg/31086
Date: Sat, 17 Dec 2005 22:30:16 +0900

 Hello,

 I installed gnome-libs-1.4.2nb4 and the error message changed:

 checking for fixesext >= 2.0... Package fixesext was not found in the pkg-config search path. Perhaps you should add the directory containing `fixesext.pc' to the PKG_CONFIG_PATH environment variable No package 'fixesext' found
 configure: error: Library requirements (fixesext >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
 *** Error code 1

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/Xfixes

 The scenario seems,

 1. pkg-config is x11/Xfixes/work/.tools/bin/pkg-config because
    USE_TOOLS+=pkg-config is set in x11/Xfixes/Makefile
 2. It uses /usr/pkg/bin/pkg-config with
    PKG_CONFIG_LIBDIR=/usr/pkgsrc/x11/Xfixes/work/.buildlink/lib/pkgconfig
 3. But, there is no
    /usr/pkgsrc/x11/Xfixes/work/.buildlink/lib/pkgconfig directory
 4. Consequently, pkg-config fails

 I made a symbolic link,

 # ln -s /usr/pkg/lib/pkgconfig /usr/pkgsrc/x11/Xfixes/work/.buildlink/lib/

 and this error had gone.

 I think buildlink3/bsd.buildlink3.mk needs change. But I have no idea
 about how it should be.

 Thanks.
 -- 
 NAKAJI Hiroyuki

From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: gnats-bugs@netbsd.org, segv@netctl.net
Cc: 
Subject: Re: pkg/31086
Date: Sat, 17 Dec 2005 23:21:59 +0900

 >>>>> In <20051217133503.5DA2B63B88D@narn.netbsd.org> 
 >>>>>	NAKAJI Hiroyuki <nakaji@jp.freebsd.org> wrote:

 >  I think buildlink3/bsd.buildlink3.mk needs change. But I have no
 >  idea about how it should be.

 Here is a workaround.

 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/x11/Xfixes/Makefile,v
 retrieving revision 1.16
 diff -u -r1.16 Makefile
 --- Makefile	7 Sep 2005 16:49:41 -0000	1.16
 +++ Makefile	17 Dec 2005 14:19:47 -0000
 @@ -20,6 +20,9 @@

  PKGCONFIG_OVERRIDE+=    xfixes.pc.in

 +pre-configure:
 +	${LN} -sf ${LOCALBASE}/lib/pkgconfig ${BUILDLINK_DIR}/lib
 +
  .include "../../x11/fixesext/buildlink3.mk"
  .include "../../mk/x11.buildlink3.mk"
  .include "../../mk/bsd.pkg.mk"

 -- 
 NAKAJI Hiroyuki

From: Juan RP <juan@xtrarom.org>
To: gnats-bugs@netbsd.org
Cc: nakaji@jp.freebsd.org
Subject: Re: pkg/31086
Date: Sat, 17 Dec 2005 16:14:19 +0100

 On Sat, 17 Dec 2005 14:25:01 +0000 (UTC)
 NAKAJI Hiroyuki <nakaji@jp.freebsd.org> wrote:

 >  Here is a workaround.
 >  
 >  Index: Makefile
 >  ===================================================================
 >  RCS file: /cvsroot/pkgsrc/x11/Xfixes/Makefile,v
 >  retrieving revision 1.16
 >  diff -u -r1.16 Makefile
 >  --- Makefile	7 Sep 2005 16:49:41 -0000	1.16
 >  +++ Makefile	17 Dec 2005 14:19:47 -0000
 >  @@ -20,6 +20,9 @@
 >   
 >   PKGCONFIG_OVERRIDE+=    xfixes.pc.in
 >   
 >  +pre-configure:
 >  +	${LN} -sf ${LOCALBASE}/lib/pkgconfig ${BUILDLINK_DIR}/lib
 >  +
 >   .include "../../x11/fixesext/buildlink3.mk"
 >   .include "../../mk/x11.buildlink3.mk"
 >   .include "../../mk/bsd.pkg.mk"

 This is not correct.

 What version of pkgconfig pkg do you have installed?

From: joerg@britannica.bec.de
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31086
Date: Sat, 17 Dec 2005 16:25:59 +0100

 On Sat, Dec 17, 2005 at 03:15:04PM +0000, Juan RP wrote:
 > 
 >  On Sat, 17 Dec 2005 14:25:01 +0000 (UTC)
 >  NAKAJI Hiroyuki <nakaji@jp.freebsd.org> wrote:
 >  
 >  >  +pre-configure:
 >  >  +	${LN} -sf ${LOCALBASE}/lib/pkgconfig ${BUILDLINK_DIR}/lib
 >  >  +
 >  >   .include "../../x11/fixesext/buildlink3.mk"
 >  
 >  This is not correct.
 >  
 >  What version of pkgconfig pkg do you have installed?

 The real question is, does the system consider fixesext a builtin and
 does Solaris provide the .pc file for it?

 Joerg

From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: Juan RP <juan@xtrarom.org>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/31086
Date: Sun, 18 Dec 2005 09:12:22 +0900

 >>>>> In <20051217161419.c6711679.juan@xtrarom.org> 
 >>>>>	Juan RP <juan@xtrarom.org> wrote:

 > >  Here is a workaround.
 > >  
 > >  Index: Makefile

 > This is not correct.

 Oops. Thank you.

 > What version of pkgconfig pkg do you have installed?

 $ pkg_info pkg-config
 Information for pkg-config-0.20:
 ...

 I removed incorrect pre-configure lines from x11/Xfixes/Makefile, and
 still have got same error.

 $ cd /usr/pkgsrc/x11/Xfixes
 $ sudo bmake all
 ...
 checking for XTHREADS in Xlib... yes
 checking for fixesext >= 2.0... Package fixesext was not found in the pkg-config search path. Perhaps you should add the directory containing `fixesext.pc' to the PKG_CONFIG_PATH environment variable No package 'fixesext' found
 configure: error: Library requirements (fixesext >= 2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
 *** Error code 1

 Stop.
 bmake: stopped in /usr/pkgsrc/x11/Xfixes
 ===> 
 ===> There was an error during the ``configure'' phase.
 ===> Please investigate the following for more information:
 ===>      * config.log
 ===>      * /usr/pkgsrc/x11/Xfixes/work/.work.log
 ===> 
 *** Error code 1

 I put .work.log and config.log in
 http://heimat.jp/~nakaji/solaris/10/pkgsrc_with_cc/Xfixes/.work.log
 and
 http://heimat.jp/~nakaji/solaris/10/pkgsrc_with_cc/Xfixes/config.log
 -- 
 NAKAJI Hiroyuki

From: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31086
Date: Sun, 18 Dec 2005 14:36:12 +0900

 >>>>> In <20051217153002.CDB8963B88D@narn.netbsd.org> 
 >>>>>	joerg@britannica.bec.de wrote:

 >  The real question is, does the system consider fixesext a builtin and
 >  does Solaris provide the .pc file for it?

 No. There is no /usr/lib/pkgconfig/fixesext.pc.

 I installed pkg-config-0.20 using pkgsrc/devel/pkg-config. And
 fixesext and Xfixes use /usr/pkg/bin/pkg-config, not
 /usr/bin/pkg-config. And, there IS /usr/pkg/lib/pkgconfig/fixesext.pc.

 My question is why ${WRKDIR}/.tools/bin/pkg-config fails while it
 executes /usr/pkg/bin/pkg-config.
 -- 
 NAKAJI Hiroyuki

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 09 Jan 2006 17:39:40 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.


From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31086 x11/Xfixes fails to build on Solaris 10
Date: Mon, 26 Jun 2006 22:28:59 +1200

 A workaround is to set "PREFER.fixesproto=pkgsrc" in mk.conf.

 cheers
 mark

State-Changed-From-To: open->feedback
State-Changed-By: reed@netbsd.org
State-Changed-When: Sat, 07 Oct 2006 17:11:11 +0000
State-Changed-Why:
Sent a question.


Responsible-Changed-From-To: solaris-pkg-people->reed
Responsible-Changed-By: reed@netbsd.org
Responsible-Changed-When: Mon, 09 Oct 2006 15:32:24 +0000
Responsible-Changed-Why:
I will handle this.


From: "Jeremy C. Reed" <reed@reedmedia.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31086
Date: Tue, 10 Oct 2006 09:27:25 -0500 (CDT)

 On Mon, 9 Oct 2006, Mark Davies wrote:

 > Yes its still needed. I just tried a build on Solaris 10 starting from a 
 > clean pkgsrc installation and it still fails with:
 > 
 > checking for shmat... yes
 > checking for IceConnectionNumber in -lICE... yes
 > checking for XTHREADS in Xlib... yes
 > checking for fixesext >= 2.0... sh: gnome-config: not found
 > sh: gnome-config: not found
 > Package fixesext was not found in the pkg-config search path. Perhaps you 
 > should add the directory containing `fixesext.pc' to the PKG_CONFIG_PATH 
 > environment variable No package 'fixesext' found
 > configure: error: Library requirements (fixesext >= 2.0) not met; consider 
 > adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
 > nonstandard prefix so pkg-config can find them.
 > *** Error code 1
 > 
 > Stop.
 > bmake: stopped in /export/pkgsrc/x11/Xfixes

 Please provide the following:

 ls -l work/.build_makevars.mk

 grep -i fixe work/.build_makevars.mk

 cat work/.buildlink/.buildlink_fixesproto_done

 ls -l work/.buildlink/lib/pkgconfig

 I may need other details later.

 Thanks,

 Jeremy C. Reed

From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31086
Date: Wed, 11 Oct 2006 09:23:23 +1300

 On Wednesday 11 October 2006 03:30, Jeremy C. Reed wrote:
 > The following reply was made to PR pkg/31086; it has been noted by GNATS.

 >  Please provide the following:
 >
 >  ls -l work/.build_makevars.mk
 >
 >  grep -i fixe work/.build_makevars.mk
 >
 >  cat work/.buildlink/.buildlink_fixesproto_done
 >
 >  ls -l work/.buildlink/lib/pkgconfig
 >
 >  I may need other details later.

 You can grab a copy of the full Xfixes/work... subtree at
 	http://www.mcs.vuw.ac.nz/~mark/Xfixes.tgz

 cheers
 mark

From: "Jeremy C. Reed" <reed@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/31086
Date: Tue, 10 Oct 2006 16:17:23 -0500 (CDT)

 On Tue, 10 Oct 2006, Mark Davies wrote:

 >  You can grab a copy of the full Xfixes/work... subtree at
 >  	http://www.mcs.vuw.ac.nz/~mark/Xfixes.tgz

 Thanks.

 Maybe x11-links needs to be improved. I notice your 
 work.pod/.buildlink/.buildlink_x11-links_done doesn't even list any "fix" 
 file.

 Also does your native X include a pkg-config file for fixesext.pc or 
 fixesproto.pc?

 Does your native X have a Xregion.h header? (Not related to this but tells 
 me what X you are using or how recent.)

 This may give me some ideas on either improving the x11-links or to add a 
 pkg-config dummy.

     Jeremy C. Reed
                         ``Of course it runs NetBSD.''
                             http://www.NetBSD.org/

From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31086
Date: Wed, 11 Oct 2006 11:46:22 +1300

 On Wednesday 11 October 2006 10:20, Jeremy C. Reed wrote:

 >  Maybe x11-links needs to be improved. I notice your
 >  work.pod/.buildlink/.buildlink_x11-links_done doesn't even list any "fix"
 >  file.

 Yes there may well be some things missing for the openwin case. I haven't 
 looked to closely at it.

 >  Also does your native X include a pkg-config file for fixesext.pc or
 >  fixesproto.pc?

 No there don't appear to be any *.pc files related to any of X.

 >  Does your native X have a Xregion.h header? (Not related to this but tells
 >  me what X you are using or how recent.)

 No.

 >  This may give me some ideas on either improving the x11-links or to add a
 >  pkg-config dummy.

 cheers
 mark

From: "Jeremy C. Reed" <reed@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/31086
Date: Tue, 10 Oct 2006 17:56:02 -0500 (CDT)

 Also can you send me:

 grep XFIXES_M /usr/openwin/include/X11/extensions/xfixeswire.h

 ?

 That will tell me the version you have.

 Thanks

     Jeremy C. Reed
                         ``Of course it runs NetBSD.''
                             http://www.NetBSD.org/

From: Mark Davies <mark@mcs.vuw.ac.nz>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/31086
Date: Wed, 11 Oct 2006 14:30:19 +1300

 On Wednesday 11 October 2006 12:00, Jeremy C. Reed wrote:
 >  grep XFIXES_M /usr/openwin/include/X11/extensions/xfixeswire.h
 >  That will tell me the version you have.

 =46rom Solaris 10 x86 01/06:

 # grep XFIXES_M /usr/openwin/include/X11/extensions/xfixeswire.h
 #define XFIXES_MAJOR    3
 #define XFIXES_MINOR    0

 Solaris 9 doesn't have the file at all.

 cheers
 mark

State-Changed-From-To: feedback->open
State-Changed-By: markd@netbsd.org
State-Changed-When: Mon, 20 Nov 2006 08:14:06 +0000
State-Changed-Why:
feedback was provided.


From: Volker Stolz <vs@iist.unu.edu>
To: gnats-bugs@NetBSD.org
Cc: mark@mcs.vuw.ac.nz
Subject: Re: pkg/31086
Date: Fri, 20 Jun 2008 11:06:43 +0800

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-16--599197888
 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
 Content-Transfer-Encoding: 7bit

 This is still an issue with Solaris 10/x86 and pkgsrc-2008Q1. Also the  
 workaround PREFER.fixesproto=pkgsrc" doesn't help. I'll be travelling  
 for a while, but I'd be happy to provide feedback to track this one  
 further down as far as I can.

 Volker
 -- 
 United Nations University -                                       http://rcos.iist.unu.edu/~vs/
 International Institute for Software Technology                    
 Macau SAR, China


 --Apple-Mail-16--599197888
 content-type: application/pgp-signature; x-mac-type=70674453;
 	name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.7 (Darwin)

 iQCVAwUBSFsewxLpPok/0ba1AQKE7QQAtIJlSg/0BBVFIt/Qt18YvjC8uT50+WbV
 HBMyh6F7NJwcFJ97qeKX3Uo67IyIeEEpJhDPi8rPd0Q0iMBIoCbojrCyKZXXTN2O
 oAT3KObCq/VteCsMMQDPo0/AsZ8kDP/Q6mMbWG1hKad7irGLfKbiK3pp0eGVHZ4+
 wbsTQ9oG2KM=
 =DEeH
 -----END PGP SIGNATURE-----

 --Apple-Mail-16--599197888--

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Thu, 14 Jan 2021 22:20:16 +0000
State-Changed-Why:
Xfixes has been removed. You could try if there are any remaining issues with the successor, libXfixes.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.