Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130689 - nant-0.85_rc3-r1 fails to build on AMD64
Summary: nant-0.85_rc3-r1 fails to build on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-20 22:46 UTC by Evan Deaubl
Modified: 2006-09-16 11:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evan Deaubl 2006-04-20 22:46:53 UTC
When attempting to build nant-0.85_rc3-r1 on AMD64, it fails with the following error:

     [nant] /var/tmp/portage/nant-0.85_rc3-r1/work/nant-0.85-nightly-2005-12-13/tests/NAnt.Console/NAnt.Console.build build

BUILD FAILED

The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.
    Function call failed.
    Expression: ${path::combine(prefix, 'lib/mono/1.0')}
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        Illegal characters in path
        Parameter name: path1

Total time: 29.7 seconds.

make: *** [build-nant] Error 1

Not sure if this is because AMD64 has the split lib directory structure, but sounds like it might have something to do with it.

---

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Opteron(tm) Processor 240
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 cdr cli crypt cups curl dri dvd dvdr dvdread emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib ipv6 isdnlog jabber java jpeg junit kde lcms logitech-mouse lzw lzw-tiff mad mhash mng mono mp3 mpeg msn musicbrainz mysql ncurses nls nptl nsplugin ofx ogg opengl pam pcre pda pdf pdflib perl png pppd python qt quicktime readline reflection ruby samba sdl session spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev usb vcd vorbis xine xinerama xml xml2 xpm xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Daniel Murray 2006-04-24 09:34:30 UTC
I got this working by removing the path fix patch and the change from prefix->libdir from the mono-1.1.13.4 ebuild. pkg-config --variable=prefix mono reports /usr/lib64/pkgconfig/../.. and the path fix patch added dots to System.IO.Path.InvalidPathChars (forgive me if that's not exactly right, it's late).

I also got nant compiling (without those changes) by changing some hard-coded directories in the nant build files, but it was a lot more annoying because there are other issues too.

What I did breaks a bunch of other packages, and I couldn't be bothered recompiling them, so if someone who knows what they're doing could have a look at this I'd be grateful :P.
Comment 2 Evan Deaubl 2006-04-27 22:32:23 UTC
The recently added mono-1.1.13.6 ebuild appears to have fixed the problem.  After updating, the same nant ebuild succeeds.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2006-09-16 11:34:12 UTC
Ok, marking this FIXED, please feel free to re-open if you hit this again.