Subject: Re: pkg/36724: modular-xorg package seems to assume GNOME is installed
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: John R. Shannon <john@johnrshannon.com>
List: pkgsrc-bugs
Date: 08/02/2007 22:45:02
The following reply was made to PR pkg/36724; it has been noted by GNATS.
From: "John R. Shannon" <john@johnrshannon.com>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
Subject: Re: pkg/36724: modular-xorg package seems to assume GNOME is installed
Date: Thu, 02 Aug 2007 14:41:51 -0600
The setting for modular Xorg in mk.conf is:
X11_TYPE=modular
x11-links is not used with modular Xorg.
tls@coyotepoint.com wrote:
>> Number: 36724
>> Category: pkg
>> Synopsis: modular-xorg package seems to assume GNOME is installed
>> Confidential: no
>> Severity: serious
>> Priority: medium
>> Responsible: pkg-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Thu Aug 02 20:35:00 +0000 2007
>> Originator: Thor Lancelot Simon
>> Release: NetBSD 4.99.26
>> Organization:
> Coyote Point Systems, Inc.
>> Environment:
>
>
> System: NetBSD mini-netbsd.ny.coyotepoint.com 4.99.26 NetBSD 4.99.26 (PRIAM) #2: Thu Aug 2 12:17:46 EDT 2007 root@mini-netbsd.ny.coyotepoint.com:/lfs/src/sys/arch/i386/compile/PRIAM i386
> Architecture: i386
> Machine: i386
>> Description:
> "make install" for the modular-xorg-server package explodes
> while running some component's configure script because it can't
> find "gnome-config".
>
>> How-To-Repeat:
> try to build modular-xorg-server. Note that build system does
> not have the NetBSD distribution X sets installed but does have
> X11_TYPE=xorg in mk.conf and xorg-libs and x11-links packages
> installed immediately prior to the attempt to build/install
> modular-xorg-server.
>
> See following output from make install:
> => Required installed package digest>=20010302: digest-20070703 found
> ===> Skipping vulnerability checks.
> WARNING: No /lfs/pkgsrc/distfiles/pkg-vulnerabilities file found.
> WARNING: To fix, install the pkgsrc/security/audit-packages
> WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
> ===> Installing dependencies for modular-xorg-server-1.2.0nb2
> ==========================================================================
> The supported build options for modular-xorg-server are:
>
> dri
>
> You can select which build options to use by setting PKG_DEFAULT_OPTIONS
> or the following variable. Its current value is shown:
>
> PKG_OPTIONS.xorg-server (not defined)
>
> ==========================================================================
> ==========================================================================
> The following variables will affect the build process of this package,
> modular-xorg-server-1.2.0nb2. Their current value is shown below:
>
> * VARBASE = /var
>
> You may want to abort the process now with CTRL-C and change their value
> before continuing. Be sure to run `/usr/bin/make clean' after
> the changes.
> ==========================================================================
> => Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb4 found
> => Required installed package gmake>=3.78: gmake-3.81 found
> => Required installed package perl>=5.0: perl-5.8.8nb4 found
> => Required installed package pkg-config>=0.19: pkg-config-0.21nb1 found
> => Required installed package x11-links>=0.25: x11-links-0.31 found
> => Required installed package bigreqsproto>=1.0: bigreqsproto-1.0.2 found
> => Required installed package compositeproto>=0.3.1: compositeproto-0.3.1 found
> => Required installed package damageproto>=1.1.0: damageproto-1.1.0 found
> => Required installed package evieext>=1.0.2: evieext-1.0.2 found
> => Required installed package fixesproto>=4.0: fixesproto-4.0 found
> => Required installed package fontsproto>=2.0: fontsproto-2.0.2 found
> => Required installed package randrproto>=1.2.0: randrproto-1.2.1 found
> => Required installed package renderproto>=0.9.1: renderproto-0.9.2 found
> => Required installed package resourceproto>=1.0.1: resourceproto-1.0.2 found
> => Required installed package scrnsaverproto>=1.1.0: scrnsaverproto-1.1.0 found
> => Required installed package trapproto>=3.4.3: trapproto-3.4.3 found
> => Required installed package videoproto>=2.2.1: videoproto-2.2.2 found
> => Required installed package xcmiscproto>=1.1: xcmiscproto-1.1.2 found
> => Required installed package xextproto>=7.0: xextproto-7.0.2 found
> => Required installed package inputproto>=1.4: inputproto-1.4.2 found
> => Required installed package xf86bigfontproto>=1.1: xf86bigfontproto-1.1.2 found
> => Required installed package xf86dgaproto>=2.0.2: xf86dgaproto-2.0.2 found
> => Required installed package xf86driproto>=2.0.3: xf86driproto-2.0.3 found
> => Required installed package glproto>=1.4.6: glproto-1.4.8 found
> => Required installed package xf86miscproto>=0.9.2: xf86miscproto-0.9.2 found
> => Required installed package xf86vidmodeproto>=2.2.1: xf86vidmodeproto-2.2.2 found
> => Required installed package xineramaproto>=1.1.1: xineramaproto-1.1.2 found
> => Required installed package xproto>=7.0.9: xproto-7.0.10 found
> => Required installed package xtrans>=1.0.3: xtrans-1.0.3 found
> => Required installed package xkbdata-[0-9]*: NOT found
> => Verifying reinstall for ../../x11/xkbdata
> => Required installed package digest>=20010302: digest-20070703 found
> ===> Skipping vulnerability checks.
> WARNING: No /lfs/pkgsrc/distfiles/pkg-vulnerabilities file found.
> WARNING: To fix, install the pkgsrc/security/audit-packages
> WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
> ===> Installing dependencies for xkbdata-1.0.1nb1
> => Required installed package xkbcomp-[0-9]*: NOT found
> => Verifying reinstall for ../../x11/xkbcomp
> => Required installed package digest>=20010302: digest-20070703 found
> ===> Skipping vulnerability checks.
> WARNING: No /lfs/pkgsrc/distfiles/pkg-vulnerabilities file found.
> WARNING: To fix, install the pkgsrc/security/audit-packages
> WARNING: package and run: ``/usr/pkg/sbin/download-vulnerability-list''.
> ===> Configuring for xkbcomp-1.0.3
> => Modifying GNU configure scripts to avoid --recheck
> => Replacing config-guess with pkgsrc versions
> => Replacing config-sub with pkgsrc versions
> => Replacing install-sh with pkgsrc version
> configure: WARNING: If you wanted to set the --build type, don't use --host.
> If a cross compiler is detected then cross compile mode will be used.
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
> checking whether build environment is sane... yes
> checking for gawk... /usr/bin/awk
> checking whether make sets $(MAKE)... yes
> checking for i386--netbsdelf-strip... no
> checking for strip... strip
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for i386--netbsdelf-gcc... cc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for cc option to accept ISO C89... none needed
> checking for style of include used by make... GNU
> checking dependency style of cc... gcc3
> checking for bison... no
> checking for byacc... no
> checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
> checking pkg-config is at least version 0.9.0... yes
> checking for XKBCOMP... gnome-config: not found
> gnome-config: not found
> configure: error: Package requirements (x11 xkbfile) were not met:
>
> No package 'x11' found
> No package 'xkbfile' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables XKBCOMP_CFLAGS
> and XKBCOMP_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> *** Error code 1
>
> Stop.
> make: stopped in /lfs/pkgsrc/x11/xkbcomp
> *** Error code 1
>
> Stop.
> make: stopped in /lfs/pkgsrc/x11/xkbcomp
> *** Error code 1
>
> Stop.
> make: stopped in /lfs/pkgsrc/x11/xkbdata
> *** Error code 1
>
> Stop.
> make: stopped in /lfs/pkgsrc/x11/modular-xorg-server
>> Fix:
> <how to correct or work around the problem, if known (multiple
> lines)>
>
>> Unformatted:
>
>
--
John R. Shannon, CISSP
Chief Scientist
DSCI, Information Assurance Division
jshannon@dsci-usa.com
john.r.shannon@us.army.mil
shannonjr@NetBSD.org
(208)522-4506