Subject: pkg/33863: Failed to build x11/gtk2 package
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <ianzag@mail.ru>
List: pkgsrc-bugs
Date: 06/29/2006 08:20:00
>Number: 33863
>Category: pkg
>Synopsis: Failed to build x11/gtk2 package
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 29 08:20:00 +0000 2006
>Originator: Ian Zagorskih
>Release: NetBSD 3.99.21/i386
>Organization:
Asempra Technologies
>Environment:
NetBSD NBSD1 3.99.21 NetBSD 3.99.21 (GENERIC) #0: Wed Jun 28 00:21:39 NOVST 2006 toor@NBSD1:/usr/build/obj/i386/sys/arch/i386/compile/GENERIC i386
>Description:
Failed to build x11/gtk2 package due to problems with buildlink3.mk dependency for x11/xcursor package:
--- cut ---
===> Checking for vulnerabilities in gtk2+-2.8.19
=> Checksum SHA1 OK for gtk+-2.8.19.tar.bz2.
=> Checksum RMD160 OK for gtk+-2.8.19.tar.bz2.
===> Installing dependencies for gtk2+-2.8.19
==========================================================================
The supported build options for this package are:
debug
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.gtk2+ (not defined)
==========================================================================
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
=> Required installed package gmake>=3.78: gmake-3.81 found
=> Required installed package pkg-config>=0.19: pkg-config-0.20 found
=> Required installed package x11-links>=0.25: x11-links-0.30 found
=> Required installed package fixesproto>=3.0.0: fixesproto-3.0.2 found
=> Required installed package renderproto>=0.9.1: renderproto-0.9.2 found
=> Required installed package xdg-dirs>=1.1: xdg-dirs-1.3 found
=> Required installed package atk>=1.11.4: atk-1.11.4 found
=> Required installed package pango>=1.12.1nb1: pango-1.12.3 found
=> Required installed package glib2>=2.10.1: glib2-2.10.3 found
=> Required installed package cairo>=1.0.4nb1: cairo-1.0.4nb1 found
=> Required installed package Xft2>=2.1.7nb2: Xft2-2.1.7nb2 found
=> Required installed package fontconfig>=2.3.2nb2: fontconfig-2.3.2nb3 found
=> Required installed package expat>=2.0.0nb1: expat-2.0.0nb1 found
=> Required installed package glitz>=0.4.4nb2: glitz-0.4.4nb3 found
=> Required installed package libpixman>=0.1.4: libpixman-0.1.6 found
=> Required installed package freetype2>=2.1.10nb1: freetype2-2.2.1 found
=> Required installed package png>=1.2.9nb2: png-1.2.10 found
=> Required installed package tiff>=3.7.2nb1: tiff-3.8.2nb2 found
=> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
=> Required installed package Xfixes>=2.0.1nb2: Xfixes-2.0.1nb3 found
===> Overriding tools for gtk2+-2.8.19
===> Extracting for gtk2+-2.8.19
===> Patching for gtk2+-2.8.19
=> Applying pkgsrc patches for gtk2+-2.8.19
===> Creating toolchain wrappers for gtk2+-2.8.19
ERROR: xcursor is not installed; can't buildlink files.
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/gtk2
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/x11/gtk2
--- cut ---
$ ident /usr/pkgsrc/x11/gtk2/Makefile
/usr/pkgsrc/x11/gtk2/Makefile:
$NetBSD: Makefile,v 1.123 2006/06/13 15:59:32 drochner Exp $
$ ident /usr/pkgsrc/x11/xcursor/buildlink3.mk
/usr/pkgsrc/x11/xcursor/buildlink3.mk:
$NetBSD: buildlink3.mk,v 1.17 2006/04/06 06:23:04 reed Exp $
$ gcc -v
Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long --disable-multilib --enable-threads --disable-symvers --enable-newlib --build=i386-unknown-netbsdelf3.99.17 --host=i386--netbsdelf --target=i386--netbsdelf
Thread model: posix
gcc version 4.1.2 20060603 prerelease (NetBSD nb1 20060602)
Content of /etc/mk.conf:
--- cut ---
HAVE_GCC=4
PREFER_PKGSRC= freetype2 Xrender render Xft2 fontconfig
USE_CUPS=YES
USE_PAM=YES
SAMBA_USE_LDAP=YES
PKG_OPTIONS.mc= x11
PKG_DEFAULT_OPTIONS+= pam cups samba ssl
--- cut ---
pkgsrc tree was completely updated from today's CVS tree (6/29/2006).
// wbr
>How-To-Repeat:
# cd /usr/pkgsrc/x11/gtk2 && make package
>Fix:
AFAIR this problem can be solved by rolling back to some (which?) previous version of x11/xcursor/buildlink3.mk.