Subject: Re: pkgsrc on solaris 8/sparc + bmake gnome2
To: adam morley <adam-netbsd-techpkg@gmi.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 06/25/2003 02:46:13
--6SWS31fp4apnN2Tf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
On Tue, Jun 24, 2003 at 05:00:28PM -0700, adam morley wrote:
>
> =3D=3D=3D> Configuring for libtool-base-1.4.20010614nb14
> set -x;/usr/bin/true
> + /usr/bin/true=20
> set -x;/usr/bin/true
> + /usr/bin/true=20
> set -x;cd /usr/pkgsrc/devel/libtool-base/work/libtool-ml &&
> /usr/bin/env AWK=3D"/usr/bin/nawk" CC=3D"gcc" CFLAGS=3D"-O
> -I/usr/pkg/include" CPPFLAGS=3D" -I/usr/pkg/include" CXX=3D"g++"
> CXXFLAGS=3D"-O -I/usr/pkg/include" FC=3D"f77" F77=3D"f77" FFLAGS=3D"-O"
> INSTALL=3D"`/usr/bin/type /usr/ucb/install | /usr/bin/nawk '{ print $NF
> }'` -c -o root -g root" ac_given_INSTALL=3D"`/usr/bin/type
> /usr/ucb/install | /usr/bin/nawk '{ print $NF }'` -c -o root -g root"
> INSTALL_DATA=3D"/usr/ucb/install -c -o root -g root -m 444"
> INSTALL_PROGRAM=3D"/usr/ucb/install -c -s -o root -g root -m 555"
> INSTALL_SCRIPT=3D"/usr/ucb/install -c -o root -g root -m 555"
> MAKE=3D"bmake" LIBS=3D"" CONFIG_SHELL=3D/bin/ksh LDFLAGS=3D"
> -Wl,-R/usr/pkg/lib -L/usr/pkg/lib" M4=3D"/usr/ccs/bin/m4" YACC=3D"yacc"
> RPATH_FLAG=3D"-R"
> PATH=3D/usr/pkgsrc/devel/libtool-base/work/.buildlink/bin:/usr/bin:/usr/s=
bin:/sbin:/usr/ccs/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin:/usr/pkg/b=
in:/usr/openwin/bin
> PKG_SYSCONFDIR=3D"/usr/pkg/etc"
> BUILDLINK_DIR=3D"/usr/pkgsrc/devel/libtool-base/work/.buildlink"
> BUILDLINK_X11_DIR=3D"/usr/pkgsrc/devel/libtool-base/work/.buildlink-x11"
> BUILDLINK_UPDATE_CACHE=3Dno BUILDLINK_CACHE_ALL=3Dyes
> BUILDLINK_CPPFLAGS=3D"-I/usr/pkg/include"
> BUILDLINK_LDFLAGS=3D"-L/usr/pkg/lib -Wl,-R/usr/pkg/lib" CC=3D"gcc"
> CXX=3D"g++" LD=3D"ld" ./configure --enable-ltdl-install
> --host=3D-sun-solaris --prefix=3D/usr/pkg
^^^^^^^^^^^^^^^^^^^
here is the problem first exposed, so it's actually the do-configure
tartet which pass the wrong value to configure script.
tracking down:
- it's from ${CONFIGURE_ARGS} in do-configure, bsd.pkg.mk
CONFIGURE_ARGS+=3D --host=3D${MACHINE_GNU_PLATFORM}
- MACHINE_GNU_PLATFORM is set in bsd.prefs.mk
MACHINE_GNU_PLATFORM?=3D ${LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}${AP=
PEND_ELF}
LOWER_ARCH is what we are after.
we are running on Solaris:
.elif ${OPSYS} =3D=3D "SunOS"
...
. if !defined(LOWER_ARCH)
LOWER_ARCH!=3D ${UNAME} -p
. endif # !defined(LOWER_ARCH)
so it should be "sparc"..
please try in devel/libtool-base:
bmake show-var VARNAME=3DLOWER_ARCH
and
bmake -d v show-var VARNAME=3DLOWER_ARCH
you don't need to post full output of the latter, just the relevant
parts (and url to whole, if you want).
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--6SWS31fp4apnN2Tf
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (NetBSD)
iD8DBQE++PDViwjDDlS8cmMRAoaNAJ9lZb+fezHzeq7f2+aNfjkuBlJlbwCfQS0R
x2woeVgEXEvjVu0n6WUWajI=
=vrY2
-----END PGP SIGNATURE-----
--6SWS31fp4apnN2Tf--