pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48803: lang/mono2 fails to build on i386



>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/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:



Home | Main Index | Thread Index | Old Index