Subject: Re: pkg/24669
To: None <wiz@netbsd.org>
From: Florence HENRY <florence.henry@obspm.fr>
List: pkgsrc-bugs
Date: 01/05/2005 11:31:18
wiz@netbsd.org wrote:

> Synopsis: Compilation of ORBit2-2.8.3 fails
> 
> State-Changed-From-To: feedback->open
> State-Changed-By: wiz@netbsd.org
> State-Changed-When: Wed, 05 Jan 2005 09:20:44 +0000
> State-Changed-Why:
> Feedback supplied.
> Since this works on 2.0 and -current (see bulk builds)
> this is probably one of:
> . dependency not up-to-date
> . local configuration/setup problem
> . problem in particular version of -current
> So let's get to them in this order:
> Are the other packages that it depends on up-to-date?

Looking at the pkgsrc/net/ORBit2/Readme.html, ORBit2 depends on

* glib2>=2.4.0
	I have glib2-2.4.6
* libtool-base>=1.5.10nb6
	libtool-base-1.5.10nb6
* gmake>=3.78
	gmake-3.80nb3
* pkgconfig>=0.15.0
	pkgconfig-0.15.0nb1
* popt>=1.7nb5
	popt-1.7nb5
* libIDL>=0.8.4nb1
	libIDL-0.8.4nb1
* bison>=1.0
	bison-1.875nb1
* m4>=1.4
	m4-1.4nb1

> Any particular settings in /etc/mk.conf?

Here is my /etc/mk.conf

PKG_CONFIG=             YES
PKG_RCD_SCRIPTS=        YES
ACCEPTABLE_LICENSES+=pine-license
ACCEPTABLE_LICENSES+=adobe-acrobat-license
ACCEPTABLE_LICENSES+=no-commercial-use
ACCEPTABLE_LICENSES+=ms-ttf-license
ACCEPTABLE_LICENSES+=jdk-license
ACCEPTABLE_LICENSES+=jdk13-license
ACCEPTABLE_LICENSES+=fee-based-commercial-use
PKG_GCC3_JAVA=          1
# .include "/usr/pkg/gcc3/mk/c.mk"
MOZILLA_USE_LINUX=      1
LOCALPATCHES=           /usr/pkg/localpatches/
KDE3_NSPLUGINS=         YES
PREFER_PKGSRC+=fontconfig
PKG_JAVA_HOME=/usr/pkg/java/kaffe
PKG_JVM=kaffe
ACCEPTABLE_LICENSES+=shareware

I tried to comment/uncommment the use of gcc3, but the result is equal.


> Can you update to a newer -current and try again (after rebuilding
> dependencies)?

I made a cvs update this morning on the pkgsrc, installed the newest 
pkg_comp, and tried a compilation of ORBit2 within the clean and new 
sandbox. I got exactly the same error. Here are the last messages :

source='giop-endian.c' object='giop-endian.lo' libtool=yes \
depfile='.deps/giop-endian.Plo' tmpdepfile='.deps/giop-endian.TPlo' \
depmode=gcc3 /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../../../include - ./../../include -DORBIT2_INTERNAL_API 
-Wall -Wunused -Wmissing-prototypes -Wmissing-declarations 
G_DISABLE_DEPRECATED -I../../../linc2/include -I../../../linc2/include 
-pthread -I/usr/pkg/include
lib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include    -I/usr/pkg/include 
-I/usr/include  -O2 -I/usr/pkg/
clude -I/usr/include -c -o giop-endian.lo `test -f 'giop-endian.c' || 
echo './'`giop-endian.c
  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include 
-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissi
-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED 
-I../../../linc2/include -pthread -I/pkg
omp/obj/pkgsrc/net/ORBit2/default/.buildlink/include/glib/glib-2.0 
-I/pkg_comp/obj/pkgsrc/net/ORBi
/default/.buildlink/lib/glib-2.0/include 
-I/pkg_comp/obj/pkgsrc/net/ORBit2/default/.buildlink/incl
e -O2 -c giop-endian.c -MT giop-endian.lo -MD -MP -MF 
.deps/giop-endian.TPlo  -fPIC -DPIC -o .libs
iop-endian.o
  cc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include 
-DORBIT2_INTERNAL_API -Wall -Wunused -Wmissi
-prototypes -Wmissing-declarations -DG_DISABLE_DEPRECATED 
-I../../../linc2/include -pthread -I/pkg
omp/obj/pkgsrc/net/ORBit2/default/.buildlink/include/glib/glib-2.0 
-I/pkg_comp/obj/pkgsrc/net/ORBi
/default/.buildlink/lib/glib-2.0/include 
-I/pkg_comp/obj/pkgsrc/net/ORBit2/default/.buildlink/incl
e -O2 -c giop-endian.c -MT giop-endian.lo -MD -MP -MF 
.deps/giop-endian.TPlo -o giop-endian.o >/de
null 2>&1
/bin/sh ../../../libtool --mode=link cc  -O2 -I/usr/pkg/include 
-I/usr/include  -L/usr/pkg/lib -Wl
R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -o libGIOP.la 
giop-connection.lo giop-server.lo giop.lo
op-send-buffer.lo giop-recv-buffer.lo giop-endian.lo  -lintl
ar cru .libs/libGIOP.a .libs/giop-connection.o .libs/giop-server.o 
.libs/giop.o .libs/giop-send-bu
er.o .libs/giop-recv-buffer.o .libs/giop-endian.o
ranlib .libs/libGIOP.a
creating libGIOP.la
(cd .libs && rm -f libGIOP.la && ln -s ../libGIOP.la libGIOP.la)
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/ORBit2/default/ORBit2-2.12.0/src/orb/GIOP'
Making all in poa
gmake[4]: Entering directory 
`/pkg_comp/obj/pkgsrc/net/ORBit2/default/ORBit2-2.12.0/src/orb/poa'
gmake[4]: *** No rule to make target `poa-defs-common.c', needed by 
`all'.  Stop.
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/ORBit2/default/ORBit2-2.12.0/src/orb/poa'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/ORBit2/default/ORBit2-2.12.0/src/orb'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/ORBit2/default/ORBit2-2.12.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/net/ORBit2/default/ORBit2-2.12.0'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/net/ORBit2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/ORBit2
===> Cleaning for m4-1.4.2
===> Cleaning for bison-1.875nb1
===> Cleaning for perl-5.8.6
===> Cleaning for pkgconfig-0.15.0nb2
===> Cleaning for gmake-3.80nb4
===> Cleaning for libtool-base-1.5.10nb9
===> Cleaning for libIDL-0.8.4nb1
===> Cleaning for popt-1.7nb5
===> Cleaning for glib2-2.6.0
===> Cleaning for ORBit2-2.12.0nb1
PKG_COMP ==> Unmounting sandboxed filesystems
PKG_COMP ==> Build error summary
Build failed for:
     net/ORBit2


-- 
Florence Henry
florence.henry@obspm.fr