Subject: pkg/33674: libgsf-1.14.1 fails to build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <scole@sdf.lonestar.org>
List: pkgsrc-bugs
Date: 06/09/2006 04:55:00
>Number:         33674
>Category:       pkg
>Synopsis:       libgsf-1.14.1 fails to build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 09 04:55:00 +0000 2006
>Originator:     s
>Release:        darwin pkgsrc
>Organization:
>Environment:
Darwin goofy 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
>Description:
libgsf fails to build:


===> Checking for vulnerabilities in libgsf-1.14.1
=> Checksum SHA1 OK for libgsf-1.14.1.tar.bz2.
=> Checksum RMD160 OK for libgsf-1.14.1.tar.bz2.
===> Installing dependencies for libgsf-1.14.1
==========================================================================
The following variables will affect the build process of this package,
libgsf-1.14.1.  Their current value is shown below:

        * FAMBASE (defined)
        * FAM_TYPE = fam
        * KRB5BASE (defined)
        * KRB5_TYPE = mit-krb5

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/Volumes/NetBSD/pkg/bin/bmake clean' after
the changes.
==========================================================================
=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb3 found
=> Required installed package perl>=5.8.0: perl-5.8.8nb2 found
=> Required installed package pkg-config>=0.19: pkg-config-0.20 found
=> Required installed package intltool>=0.34.1nb2: intltool-0.35.0 found
=> Required installed package bzip2>=1.0.3: bzip2-1.0.3 found
=> Required installed package gnome-mime-data>=2.4.2nb2: gnome-mime-data-2.4.2nb2 found
=> Required installed package libbonobo>=2.10.1nb2: libbonobo-2.14.0 found
=> Required installed package fam>=2.7.0nb7: fam-2.7.0nb7 found
=> Required installed package gnutls>=1.3.4nb1: gnutls-1.4.0 found
=> Required installed package lzo>=2.01: lzo-2.02 found
=> Required installed package libcfg+>=0.6.2nb1: libcfg+-0.6.2nb3 found
=> Required installed package libtasn1>=0.3.0: libtasn1-0.3.4nb1 found
=> Required installed package opencdk>=0.5.8nb1: opencdk-0.5.8nb1 found
=> Required installed package libgcrypt>=1.2.2nb1: libgcrypt-1.2.2nb1 found
=> Required installed package libgpg-error>=1.0nb1: libgpg-error-1.0nb1 found
=> Required installed package GConf2>=2.12.1nb1: GConf2-2.14.0 found
=> Required installed package ORBit2>=2.12.4nb1: ORBit2-2.14.0 found
=> Required installed package popt>=1.7nb6: popt-1.7nb6 found
=> Required installed package libIDL>=0.8.6nb1: libIDL-0.8.6nb1 found
=> Required installed package glib2>=2.8.6nb1: glib2-2.10.3 found
=> Required installed package gettext-lib>=0.14.5: gettext-lib-0.14.5 found
=> Required installed package libxml2>=2.6.23nb1: libxml2-2.6.24nb1 found
=> Required installed package zlib>=1.2.3: zlib-1.2.3 found
=> Required installed package xmlcatmgr>=2.0beta1: xmlcatmgr-2.2nb1 found
===> Overriding tools for libgsf-1.14.1
===> Extracting for libgsf-1.14.1
===> Patching for libgsf-1.14.1
pkg_info: missing package name(s)
usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVvX] [-e package] [-K pkg_dbdir] [-l prefix]
                pkg-name [...]
       pkg_info [-a | -u] [flags]
       pkg_info -Q variable pkg-name [pkg-name ...]
bmake: "../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" line 327: warning: Couldn't read shell's output for "true Computing BUILDLINK_PREFIX.gnome-vfs2;                    /Volumes/NetBSD/pkg/sbin/pkg_info -K . -qp  |   /usr/bin/sed  -e "s,^[^/]*,,;q""
===> Creating toolchain wrappers for libgsf-1.14.1
/bin/sh: -c: line 1: syntax error near unexpected token `*not_found'
/bin/sh: -c: line 1: `case  in                           *not_found)            echo 1>&2 "ERROR:" "gnome-vfs2 is not installed; can't buildlink files.";  exit 1;                                                       ;;                     esac'
*** Error code 2

Stop.
bmake: stopped in /Volumes/NetBSD/pkgsrc/devel/libgsf
*** Error code 1

*******************************************

There seems to be something fishy with gnome-vfs2 (which I also cannot build) and buildlink.   In libgsf/work/.wrapper_makevars.mk.tmp, there
is a line like:

BUILDLINK_PREFIX.gnome-vfs2=  

It looks like it missing all after the "=".  Every other line in that file has something such as:

BUILDLINK_PREFIX.gnutls=        /Volumes/NetBSD/pkg

If I remove the gnome-vfs2 line in .wrapper_makevars.mk.tmp, libgsf will build but complain about libgsf-gnome at the end.

I don't have gnome-vfs2 installed, so in my uninformed opinion, there seems to be some problem correctly determining whether gnome-vfs2 is installed with buildlink.

I can submit another pr about gnome-vfs2 failing its build if that would be helpful,

Thanks.


>How-To-Repeat:
cd .../pkgsrc/devel/libgsf && sudo bmake

I did a cvs update of pkgsrc around Jun 8, 2006.
>Fix: