NetBSD Problem Report #48803

From www@NetBSD.org  Mon May 12 11:31:44 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id E955DA5811
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 12 May 2014 11:31:44 +0000 (UTC)
Message-Id: <20140512113143.85D0FA5857@mollari.NetBSD.org>
Date: Mon, 12 May 2014 11:31:43 +0000 (UTC)
From: vs@nifelheim.info
Reply-To: vs@nifelheim.info
To: gnats-bugs@NetBSD.org
Subject: lang/mono2 fails to build on i386
X-Send-Pr-Version: www-1.0

>Number:         48803
>Category:       pkg
>Synopsis:       lang/mono2 fails to build on i386
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon May 12 11:35:00 +0000 2014
>Last-Modified:  Mon May 12 11:40:00 +0000 2014
>Originator:     Volkmar Seifert
>Release:        NetBSD 6.1_STABLE
>Organization:
>Environment:
NetBSD cheetah 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #1: Fri May  9 12:48:47 CEST 2014  mjoellnir@cheetah:/work/netbsd/v6/work/i386/GENERIC/obj/work/netbsd/v6/src/sys/arch/i386/compile/GENERIC i386
>Description:
While trying to build meta-pkgs/gnome, I noticed that lang/mono2 fails to build, thus breaking the build of devel/gnome-sharp, which in turns then breaks the build of meta-pkgs/gnome.

When I was doing the same build a few days back on an NetBSD/amd64 6.1_STABLE, it just worked fine. I will check the behavior on the amd64 platform later, today, to see if it has changed there.

However, these are the errors that occur on NetBSD/i386 6.1_STABLE:

---->8------

gmake[3]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
/usr/pkg/bin/gmake profile-do--net_2_0--all profile-do--net_3_5--all profile-do--net_4_0--all
gmake[4]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
/usr/pkg/bin/gmake PROFILE=basic all
gmake[5]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
gmake[6]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
gmake[6]: gmcs: Command not found
build/profiles/basic.make:91: recipe for target 'build/deps/basic-profile-check.exe' failed
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127
gmake[6]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
gmake[6]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** Trying the 'monolite' directory.
gmake[7]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
gmake[8]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
[1]   Abort trap (core dumped) MONO_PATH=".//cl...
build/profiles/basic.make:91: recipe for target 'build/deps/basic-profile-check.exe' failed
gmake[8]: *** [build/deps/basic-profile-check.exe] Error 134
gmake[8]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
gmake[8]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
*** The contents of your 'monolite' directory may be out-of-date
*** You may want to try 'make get-monolite-latest'
build/profiles/basic.make:75: recipe for target 'do-profile-check-monolite' failed
gmake[8]: *** [do-profile-check-monolite] Error 1

---->8------

It seems that monolite is outdated. However, running the suggested make-command manually to get the latest version leads to a "503 Service Unavailabe", because mono.ximian.org is not really up and running, and after a quick check using google, this seems to be the case for quite a while - there are lots of bug-reports concerning this problem.
Most of the time, the solution was to download monolite-XXX-latest.tar.gz from another host, with XXX being either 110 or 111. That version does not lead to a working monolite, though.

The first attempt ended in this error-messge:

---->8------
gmake[6]: gmcs: Command not found
build/profiles/basic.make:91: recipe for target 'build/deps/basic-profile-check.exe' failed
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 127
gmake[6]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
*** The compiler 'gmcs' doesn't appear to be usable.
*** You need Mono version 2.4 or better installed to build MCS
*** Read INSTALL.txt for information on how to bootstrap a Mono installation.
build/profiles/basic.make:58: recipe for target 'do-profile-check' failed
gmake[5]: *** [do-profile-check] Error 1
---->8------

this was a simple "make package" in lang/mono2. Since gmcs.exe has been renamed to basic.exe in version 111, it was bound to fail.

the second in this (the asterisks are replacement for binary garbage):

---->8------
gmake[6]: Entering directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
MZ****@****: not found
**: not found
/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs/class/lib/monolite/basic.exe: 1: Syntax error: word unexpected (expecting ")")
build/profiles/basic.make:91: recipe for target 'build/deps/basic-profile-check.exe' failed
gmake[6]: *** [build/deps/basic-profile-check.exe] Error 2
gmake[6]: Leaving directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
*** The compiler '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs/class/lib/monolite/basic.exe' doesn't appear to be usable.
*** You need Mono version 2.4 or better installed to build MCS
*** Read INSTALL.txt for information on how to bootstrap a Mono installation.
---->8------

This time, I used 'make make EXTERNAL_MCS="${WORKOBJDIR}/lang/mono2/default/mono-2.10.9/mcs/class/lib/monolite/basic.exe"  package'. Sadly, it failed, too.

As meta-pkgs/gnome requires devel/gnome-sharp, which won't build without lang/mono2, This is a major show-stopper in building gnome on i386 using the meta-pkg.
>How-To-Repeat:
# cd <pkgsrc-dir>/lang/mono2
# make

...go drink some tea, coffee or whatever you like :) ...

When you come back, you'll see the errors.

>Fix:

>Audit-Trail:
From: Volkmar Seifert <vs@nifelheim.info>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48803: lang/mono2 fails to build on i386
Date: Mon, 12 May 2014 13:38:11 +0200

 --Signature=_Mon__12_May_2014_13_38_11_+0200_xvoEoxYGDPonEUiQ
 Content-Type: text/plain; charset=US-ASCII
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable

 I forgot to mention one important thing:=20

 My pkgsrc-repository a fresh pkgsrc-current checkout from yesterday
 morning.

 On Mon, 12 May 2014 11:35:00 +0000 (UTC)
 vs@nifelheim.info wrote:

 > >Number:         48803
 > >Category:       pkg
 > >Synopsis:       lang/mono2 fails to build on i386
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          support
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon May 12 11:35:00 +0000 2014
 > >Originator:     Volkmar Seifert
 > >Release:        NetBSD 6.1_STABLE
 > >Organization:
 > >Environment:
 > NetBSD cheetah 6.1_STABLE NetBSD 6.1_STABLE (GENERIC) #1: Fri May  9
 > 12:48:47 CEST 2014
 > mjoellnir@cheetah:/work/netbsd/v6/work/i386/GENERIC/obj/work/netbsd/v6/sr=
 c/sys/arch/i386/compile/GENERIC
 > i386
 > >Description:
 > While trying to build meta-pkgs/gnome, I noticed that lang/mono2
 > fails to build, thus breaking the build of devel/gnome-sharp, which
 > in turns then breaks the build of meta-pkgs/gnome.
 >=20
 > When I was doing the same build a few days back on an NetBSD/amd64
 > 6.1_STABLE, it just worked fine. I will check the behavior on the
 > amd64 platform later, today, to see if it has changed there.
 >=20
 > However, these are the errors that occur on NetBSD/i386 6.1_STABLE:
 >=20
 > ---->8------
 >=20
 > gmake[3]: Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' /usr/pkg/bin/gm=
 ake
 > profile-do--net_2_0--all profile-do--net_3_5--all
 > profile-do--net_4_0--all gmake[4]: Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' /usr/pkg/bin/gm=
 ake
 > PROFILE=3Dbasic all gmake[5]: Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' gmake[6]:
 > Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' gmake[6]:
 > gmcs: Command not found build/profiles/basic.make:91: recipe for
 > target 'build/deps/basic-profile-check.exe' failed gmake[6]: ***
 > [build/deps/basic-profile-check.exe] Error 127 gmake[6]: Leaving
 > directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
 > gmake[6]: Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' *** The
 > compiler 'gmcs' doesn't appear to be usable. *** Trying the
 > 'monolite' directory. gmake[7]: Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' gmake[8]:
 > Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' [1]   Abort
 > trap (core dumped) MONO_PATH=3D".//cl... build/profiles/basic.make:91:
 > recipe for target 'build/deps/basic-profile-check.exe' failed gmake
 > [8]: *** [build/deps/basic-profile-check.exe] Error 134 gmake[8]:
 > Leaving directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' gmake[8]:
 > Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs' *** The
 > contents of your 'monolite' directory may be out-of-date *** You may
 > want to try 'make get-monolite-latest' build/profiles/basic.make:75:
 > recipe for target 'do-profile-check-monolite' failed gmake[8]: ***
 > [do-profile-check-monolite] Error 1
 >=20
 > ---->8------
 >=20
 > It seems that monolite is outdated. However, running the suggested
 > make-command manually to get the latest version leads to a "503
 > Service Unavailabe", because mono.ximian.org is not really up and
 > running, and after a quick check using google, this seems to be the
 > case for quite a while - there are lots of bug-reports concerning
 > this problem. Most of the time, the solution was to download
 > monolite-XXX-latest.tar.gz from another host, with XXX being either
 > 110 or 111. That version does not lead to a working monolite, though.
 >=20
 > The first attempt ended in this error-messge:
 >=20
 > ---->8------
 > gmake[6]: gmcs: Command not found
 > build/profiles/basic.make:91: recipe for target
 > 'build/deps/basic-profile-check.exe' failed gmake[6]: ***
 > [build/deps/basic-profile-check.exe] Error 127 gmake[6]: Leaving
 > directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
 > *** The compiler 'gmcs' doesn't appear to be usable. *** You need
 > Mono version 2.4 or better installed to build MCS *** Read
 > INSTALL.txt for information on how to bootstrap a Mono installation.
 > build/profiles/basic.make:58: recipe for target 'do-profile-check'
 > failed gmake[5]: *** [do-profile-check] Error 1
 > ---->8------
 >=20
 > this was a simple "make package" in lang/mono2. Since gmcs.exe has
 > been renamed to basic.exe in version 111, it was bound to fail.
 >=20
 > the second in this (the asterisks are replacement for binary garbage):
 >=20
 > ---->8------
 > gmake[6]: Entering directory
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
 > MZ****@****: not found **: not found
 > /pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs/class/lib/monolit=
 e/basic.exe:
 > 1: Syntax error: word unexpected (expecting ")")
 > build/profiles/basic.make:91: recipe for target
 > 'build/deps/basic-profile-check.exe' failed gmake[6]: ***
 > [build/deps/basic-profile-check.exe] Error 2 gmake[6]: Leaving
 > directory '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs'
 > *** The compiler
 > '/pkg_comp/obj/pkgsrc/lang/mono2/default/mono-2.10.9/mcs/class/lib/monoli=
 te/basic.exe'
 > doesn't appear to be usable. *** You need Mono version 2.4 or better
 > installed to build MCS *** Read INSTALL.txt for information on how to
 > bootstrap a Mono installation.
 > ---->8------
 >=20
 > This time, I used 'make make
 > EXTERNAL_MCS=3D"${WORKOBJDIR}/lang/mono2/default/mono-2.10.9/mcs/class/li=
 b/monolite/basic.exe"
 > package'. Sadly, it failed, too.
 >=20
 > As meta-pkgs/gnome requires devel/gnome-sharp, which won't build
 > without lang/mono2, This is a major show-stopper in building gnome on
 > i386 using the meta-pkg.
 > >How-To-Repeat:
 > # cd <pkgsrc-dir>/lang/mono2
 > # make
 >=20
 > ...go drink some tea, coffee or whatever you like :) ...
 >=20
 > When you come back, you'll see the errors.
 >=20
 > >Fix:
 >=20


 --=20
 http://www.dimensionv.de/
 http://tech.nifelheim.info/
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 OpenPGP
 Fingerprint: E03D 33DB B409 2E99 C2DA 7D64 145F 0A76 D252 7078
 Key: http://www.dimensionv.de/pgp (+ all public key-servers)
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 --Signature=_Mon__12_May_2014_13_38_11_+0200_xvoEoxYGDPonEUiQ
 Content-Type: application/pgp-signature

 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1

 iQGcBAEBAgAGBQJTcLKjAAoJEBRfCnbSUnB4fvgMAJHhwTLjFniaBDp/OOKTR1Lb
 uh4Z/RjFJZ5MlwkTHJ+6VSbkNxae/4NzjRTR2OuBJNdeto5yz35F7bA2Fzv0JKM4
 3oPg9AVpG+1IORVNJCQEZKP9N05CQjZ54QqBPE1pQQbsiV5vXXRKIPYN6j0f2fau
 wcrTlH1fZzy/mOS56fYUOcJDTNQrGGtGi0UXHZ9yA9Wb/DwY09XkxPSOd18O6Xr+
 uhvDL7RnZzIn9D3NcBtOyz3CCHu+AI8H2Rk17pSAJ9l7yuefd8GriWqFE6V65nyQ
 oIqJLShiC8sb4L82w8MOH1rd8lhC0kUtIRjZHRc0JdJ7iJk4dMmHn/gzF4py8P+S
 Sl/wLVbyWrpyjGJnvbwjtr8noT2fjMtjk6pNhmGWFbGsyYpndMTxbB3wdgexhMVY
 jdmvmLOm5hSO6QYVrineCp+Aq5fm4/DJQxr2nUYFR6w1jKK0OjgfKx3TQZ4u2gsq
 klwyoPEK7kwqXvFkMeAS1G/DcmrcGy4NlN72mJydtA==
 =kNmS
 -----END PGP SIGNATURE-----

 --Signature=_Mon__12_May_2014_13_38_11_+0200_xvoEoxYGDPonEUiQ--

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.