Subject: pkg/18493: sysutils/rox does not compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Julio Merino <jmmv@hispabsd.org>
List: netbsd-bugs
Date: 10/01/2002 22:39:54
>Number: 18493
>Category: pkg
>Synopsis: sysutils/rox does not compile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 01 13:37:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Julio Merino
>Release: NetBSD 1.6H
>Organization:
HispaBSD
>Environment:
System: NetBSD darkstar.local 1.6H NetBSD 1.6H (DARKSTAR) #0: Sat Sep 28 19:58:50 CEST 2002 jmmv@darkstar.local:/var/build/kernel/DARKSTAR i386
Architecture: i386
Machine: i386
>Description:
The package sysutils/rox is not buildling in my system. It fails
when including "tree.h", which belongs to the libxml2 package.
By some reason, the compiler is not getting the right -I's.
Here is the log:
Script started on Tue Oct 1 22:22:33 2002
$ make ; exit
=> Checksum OK for rox/rox-1.2.0.tgz.
work.i386 -> /var/build/obj/pkgsrc/sysutils/rox/work.i386
===> Extracting for rox-1.2.0nb3
===> Required installed package rox-base>=1.0.2nb1: rox-base-1.0.2nb1 found
===> Required installed package libxml2>=2.4.24nb1: libxml2-2.4.24nb1 found
===> Required installed package libiconv>=1.8: libiconv-1.8 found
===> Required installed package gtk2+>=2.0.6nb1: gtk2+-2.0.6nb2 found
===> Required installed package atk>=1.0.3nb2: atk-1.0.3nb2 found
===> Required installed package glib2>=2.0.6nb1: glib2-2.0.6nb1 found
===> Required installed package ptl>=2.1.7: ptl-2.1.8 found
===> Required installed package pango>=1.0.4nb1: pango-1.0.4nb1 found
===> Required installed package jpeg-6b: jpeg-6b found
===> Required installed package png>=1.2.4: png-1.2.4 found
===> Required installed package tiff>=3.5.4: tiff-3.5.7 found
===> Required installed package pkgconfig-[0-9]*: pkgconfig-0.13.0 found
===> Required installed package x11-links>=0.6: x11-links-0.8 found
===> Patching for rox-1.2.0nb3
===> Applying NetBSD patches for rox-1.2.0nb3
/usr/bin/sed -e "s:@PREFIX@:"/usr/pkg":g" < /s/pkgsrc/sysutils/rox/files/rox > /var/build/obj/pkgsrc/sysutils/rox/work.i386/rox-1.2.0/rox
===> Configuring for rox-1.2.0nb3
=> Linking zlib files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking iconv files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking libxml2 files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Creating wrapper script /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/bin/xml2-config.
=> Creating wrapper script /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/bin/pkg-config.
=> Linking atk files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking gettext files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking ptl2 files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking glib2 files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking pango files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking freetype2 files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Creating wrapper script /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/bin/freetype-config.
=> Linking jpeg files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking png files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking tiff files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
=> Linking gtk2 files into /var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink.
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -I/var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -L/var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/lib -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -I/var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -L/var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/lib -L/usr/pkg/share/x11-links/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for xml2-config... xml2-config
configure: warning: Using EXPERIMENTAL Gtk+-2.0 API
checking that xml2-config runs... yes
checking whether file -b works... yes
checking for large file support... no
checking how to run the C preprocessor... cc -E
checking for X... libraries /usr/pkg/share/x11-links/lib, headers /usr/pkg/share/x11-links/include
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for mntent.h... no
checking for sys/ucred.h... yes
checking for sys/mntent.h... no
checking for regex.h... yes
checking for iconv.h... yes
checking for working const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking for gethostname... yes
checking for unsetenv... yes
checking for mkdir... yes
checking for rmdir... yes
checking for strdup... yes
checking for strtol... yes
checking for getopt_long... yes
checking for vfs library... no
checking extracting version information... version 1.2.0
checking for mc_stat in -lvfs... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
=> Removing rpath references to buildlink directories.
===> Building for rox-1.2.0nb3
cc -I/var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -Wall `/var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/bin/pkg-config gtk+-2.0 --cflags` `xml2-config --cflags` -I/var/build/obj/pkgsrc/sysutils/rox/work.i386/.buildlink/include -I/usr/pkg/share/x11-links/include -c action.c
In file included from action.c:40:
global.h:122: tree.h: Fichero o directorio no existente
*** Error code 1
Stop.
make: stopped in /var/build/obj/pkgsrc/sysutils/rox/work.i386/rox-1.2.0/ROX-Filer/src
*** Error code 1
Stop.
make: stopped in /s/pkgsrc/sysutils/rox
*** Error code 1
Stop.
make: stopped in /s/pkgsrc/sysutils/rox
Script done on Tue Oct 1 22:26:44 2002
>How-To-Repeat:
cd sysutils/rox
make
>Fix:
I've solved the problem by adding this line to rox's makefile:
CPPFLAGS+= -I${LOCABASE}/include/libxml2/libxml
but I think this is not the right solution. Maybe the solution
should be included in libxml2's buildlink? Or a patch to the
sources?
>Release-Note:
>Audit-Trail:
>Unformatted: