Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549734 - net-libs/libproxy-0.4.11-r2: No CMAKE_CSharp_COMPILER could be found.
Summary: net-libs/libproxy-0.4.11-r2: No CMAKE_CSharp_COMPILER could be found.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
: 559268 (view as bug list)
Depends on: 574046
Blocks: 580316
  Show dependency tree
 
Reported: 2015-05-17 15:05 UTC by jospezial
Modified: 2016-05-08 09:26 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,5.52 KB, text/plain)
2015-05-17 15:05 UTC, jospezial
Details
libproxy-0.4.11-r2.ebuild (libproxy-0.4.11-r2.ebuild,3.32 KB, text/plain)
2015-09-20 10:33 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2015-05-17 15:05:05 UTC
Created attachment 403492 [details]
build.log

-- The C compiler identification is GNU 5.1.0
-- The CXX compiler identification is GNU 5.1.0
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building with bundled libmodman
-- Found PythonInterp: /usr/bin/python (found version "2.7.9") 
-- Found python version 2.7
-- Using PYTHON_SITEPKG_DIR=/usr/lib64/python2.7/site-packages
-- Path of mono: /usr/bin/mono
-- Path of gmcs: GMCS_EXECUTABLE-NOTFOUND
-- Path of gacutil: /usr/bin/gacutil
-- Looking for csc: CMAKE_CSharp_COMPILER-NOTFOUND
-- Couldn't find a valid C# compiler. Set either CMake_CSharp_COMPILER or the CSC environment variable to a valid path.
-- Using GAC dir: 
CMake Error at bindings/csharp/CMakeLists.txt:3 (enable_language):
  No CMAKE_CSharp_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CSC" or the CMake cache entry CMAKE_CSharp_COMPILER to the full
  path to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log".
 * ERROR: net-libs/libproxy-0.4.11-r2::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4368:  Called multilib-minimal_src_configure
 *   environment, line 2757:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2964:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2688:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2686:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  485:  Called multilib-minimal_abi_src_configure
 *   environment, line 2751:  Called multilib_src_configure
 *   environment, line 3184:  Called cmake-utils_src_configure
 *   environment, line 1106:  Called _execute_optionally 'src_configure'
 *   environment, line  276:  Called enable_cmake-utils_src_configure
 *   environment, line 1431:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
Comment 1 jospezial 2015-05-17 15:07:17 UTC
emerge --info cmake gcc
Portage 2.2.19 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-5.1.0, glibc-2.20-r2, 4.1.0-rc3 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.0-rc3-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-gentoo-2.2
KiB Mem:     4047328 total,   2433804 free
KiB Swap:    7103480 total,   7103480 free
Timestamp of repository gentoo: Sun, 17 May 2015 11:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.1) 2.25
ccache version 3.2.2 [enabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2-r1::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.2::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.16.3::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            5.1.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000

overlay_jl
    location: /usr/local/portage
    masters: gentoo
    priority: 0

betagarden
    location: /var/lib/layman/betagarden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/betagarden.git
    masters: gentoo
    priority: 50

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

wine-overlay
    location: /var/lib/layman/wine-overlay
    sync-type: laymansync
    sync-uri: git://github.com/NP-Hardass/wine-overlay.git
    masters: gentoo
    priority: 50

Installed sets: @kde-applications-live, @kde-frameworks-live, @kde-plasma-live
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --quiet-build=y"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext 64bit X Xaw3d a52 aac aacplus aacs aalib accessibility ace acl acpi activefilter aften alsa amd64 ap apm apng archive arping audacious audiofile automount bazaar bdplus berkdb binary-drivers bluetooth bluray boost bzip2 bzr cairo canusb ccache cdda cddb cdio cdparanoia cdr cdrdao cdrom cgi charconv chm chroot cjk clang cli client colordiff colors compress consolekit corefonts cpio cracklib crypt css cue cups curl curlwrappers cvs cxx daemon dbus declarative device-mapper dga dhcp doom doomsday dos download-subs dri dri3 dts dump dv dvb dvd dvdnav eap eap-sim eap-tls ebook egl emerald emoticon enca encode enscript equalizer evdev exif extensions extras faac faad fam farstream fat fax fbcon fdformat ffmpeg fftw firefox flac fluidsynth fontconfig foomaticdb fortran freedoom ftp fuse g3dvl gadu gallium gbm gd gdbm geoip gif gimp git glamor glut gme gnutls gpg gphoto2 gpm graphite gsm gstreamer gtk gtk3 gtkstyle gudev gui gzip hddtemp hdf hdf5 heretic hexen hid highlight hpcups hpijs http hwdb iconv icq icu id3tag idn imagemagick introspection ios ipc ipod ipv6 jack java javascript jit jpeg jpeg2k kate keymap ladspa lame lcms lensfun libass libcanberra libkms libnotify libsamplerate libssh2 libtiger libv4l libwww live llvm-shared-libs lm_sensors logrotate lua lzma lzo mad madwifi magic man matroska md5sum meanwhile mercurial metalink midi mikmod mime minizip mixer mjpeg mmap mms mmx mmxext mng mobi mod modplug modules mono mouse mozilla mp3 mp4 mpeg mpeg2 mplayer mtp multilib multimedia multislot musepack musicbrainz nano-syntax ncat ncurses ndiff network nfs nfsidmap nfsv4 nfsv41 nls nmap-update nokia normalize nowlistening nping nptl nsplugin ntfs ntfsprogs ntp nvidia nvram obex ocr ogg ogm openal opencl opengl openmax openmp openssl oscar osdmenu otr p2p pam pango panorama parport parse-clocks pcap pci pcre pcre16 pdf pipes plugins pm-utils png policykit postproc postscript ppds printsupport privacy projectm pulseaudio pvr python python3 qalculate qml qt5 quicktime r600-llvm-compiler radio rar raw rdesktop readline recording redeyes reiser4 reiserfs remote-access replaygain rpm rtc rtmp rtsp rubberband s3tc sbsms scanner schroedinger scripttools sdl secure-delete sensord session sftp sha512 shorten shout skins slang smi sndfile snowberry sockets sound soundtouch sox speex spell sql sqlite sqlite3 sse sse2 ssh ssl startup-notification statistics stk stream subtitles subversion svg swat symlink sync-plugin-portage syslog szip taglib tcpd texteffect tftp tftpd theora threads thumbnail tiff timidity tracepath traceroute translator truetype twolame udev udisks unicode upower urlpicpreview usb v4l vaapi vamp vcd vcdx vdpau video videos virtualbox vlm vnc vorbis vpx vroot vst wad wav wavpack webgl webkit webm webp webpresence widgets wifi winbind winpopup wmf wps wxwidgets x264 xa xattr xcb xcomposite xfs xine xinerama xinetd xkb xml xmp xorg xosd xpm xrandr xscreensaver xv xvid xvmc yahoo zenmap zip zlib zvbi" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="fbdev vesa svga vga radeon modesetting r100 r200 r300 r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-util/cmake-3.2.2::gentoo was built with the following:
USE="ncurses qt5 -doc -emacs -internal-jsoncpp -qt4 -test" ABI_X86="64"


sys-devel/gcc-5.1.0::gentoo was built with the following:
USE="cxx fortran graphite (multilib) nls nptl openmp sanitize (-altivec) (-awt) -cilk -doc (-fixed-point) -gcj -go (-hardened) (-libssp) (-multislot) -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla" ABI_X86="64"
Comment 2 jospezial 2015-05-17 15:20:17 UTC
=================================================================
                        Package Settings
=================================================================

dev-lang/mono-4.0.1::gentoo was built with the following:
USE="nls -debug -doc -minimal -pax_kernel -xen" ABI_X86="64"
CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
Comment 3 Pacho Ramos gentoo-dev 2015-05-26 20:49:13 UTC
(In reply to jospezial from comment #2)
> =================================================================
>                         Package Settings
> =================================================================
> 
> dev-lang/mono-4.0.1::gentoo was built with the following:
> USE="nls -debug -doc -minimal -pax_kernel -xen" ABI_X86="64"
> CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
> CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"

This is impossible, we don't have 4.0.1 in "gentoo" main tree !?
Comment 4 Torsten Kurbad 2015-09-01 10:36:21 UTC
I've had the same problem with mono 4.0.3 and cmake 3.3.1

I could emerge libproxy successfully by issuing:

export CSC=/usr/bin/mcs ; emerge -v1 net-libs/libproxy
Comment 5 jospezial 2015-09-01 12:31:07 UTC
(In reply to Pacho Ramos from comment #3)
> (In reply to jospezial from comment #2)
> > =================================================================
> >                         Package Settings
> > =================================================================
> > 
> > dev-lang/mono-4.0.1::gentoo was built with the following:
> > USE="nls -debug -doc -minimal -pax_kernel -xen" ABI_X86="64"
> > CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
> > CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
> 
> This is impossible, we don't have 4.0.1 in "gentoo" main tree !?

mono-4.0.3.20 is in the tree.

CSC=/usr/bin/mcs could be set in the ebuild.
Comment 6 Brian Evans (RETIRED) gentoo-dev 2015-09-01 18:21:19 UTC
*** Bug 559268 has been marked as a duplicate of this bug. ***
Comment 7 Greg Turner 2015-09-01 19:43:23 UTC
(In reply to jospezial from comment #5)
> (In reply to Pacho Ramos from comment #3)
> > (In reply to jospezial from comment #2)
> > > =================================================================
> > >                         Package Settings
> > > =================================================================
> > > 
> > > dev-lang/mono-4.0.1::gentoo was built with the following:
> > > USE="nls -debug -doc -minimal -pax_kernel -xen" ABI_X86="64"
> > > CFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
> > > CXXFLAGS="-march=native -O2 -pipe -fno-strict-aliasing"
> > 
> > This is impossible, we don't have 4.0.1 in "gentoo" main tree !?
> 
> mono-4.0.3.20 is in the tree.
> 
> CSC=/usr/bin/mcs could be set in the ebuild.

There may have been some legitimate reason for using gmcs in the <mono-4 era.  Regardless, the existing ebuild behavior works for <mono-4; someone should at least test that the new behavior would work for it as well.  A safer alternative might be something like (untested):

    has_version '>=dev-lang/mono-4.0.0' && \
        export CSC=${EPREFIX}/usr/bin/mcs
Comment 8 Juergen Rose 2015-09-20 10:33:39 UTC
Created attachment 412324 [details]
libproxy-0.4.11-r2.ebuild

An ebuild using the patch using the patch of Comment7, which worked here.
Comment 9 Roman Gruber 2015-10-20 17:49:45 UTC
libproxy did not built here for ages

ASUS-G75VW roman # qlist -Iv libproxy
net-libs/libproxy-0.4.11-r2
ASUS-G75VW roman # qlist -Iv mono
dev-dotnet/mono-addins-1.0-r1
dev-lang/mono-4.0.3.20

The following line fixed it for myself.
export CSC=/usr/bin/mcs ; emerge -v1 net-libs/libproxy

Please change the ebuild or fix it, thanks.
Comment 10 jospezial 2015-10-24 01:59:05 UTC
The affected ebuilds of mono should set this in an env file.
Comment 11 Roman Gruber 2015-10-28 12:27:46 UTC
Still broken since weeks

    

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_32.x86
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64"
cmake --no-warn-unused-cli -C /var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DPERL_VENDORINSTALL=ON -DCMAKE_C_FLAGS=-march=native -O2 -pipe -fomit-frame-pointer -DCMAKE_CXX_FLAGS=-march=native -O2 -pipe -fomit-frame-pointer -DWITH_GNOME3=OFF -DWITH_KDE4=OFF -DWITH_DOTNET=ON -DWITH_NM=OFF -DWITH_PERL=ON -DWITH_PYTHON=ON -DWITH_MOZJS=OFF -DWITH_WEBKIT=OFF -DWITH_WEBKIT3=OFF -DWITH_VALA=ON -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64/gentoo_toolchain.cmake  /var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64/gentoo_common_config.cmake
-- The C compiler identification is GNU 5.2.0
-- The CXX compiler identification is GNU 5.2.0
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building with bundled libmodman
-- Found PythonInterp: /usr/bin/python (found version "2.7.10") 
-- Found python version 2.7
-- Using PYTHON_SITEPKG_DIR=/usr/lib64/python2.7/site-packages
-- Path of mono: /usr/bin/mono
-- Path of gmcs: GMCS_EXECUTABLE-NOTFOUND
-- Path of gacutil: /usr/bin/gacutil
-- Looking for csc: CMAKE_CSharp_COMPILER-NOTFOUND
-- Couldn't find a valid C# compiler. Set either CMake_CSharp_COMPILER or the CSC environment variable to a valid path.
-- Using GAC dir: 
CMake Error at bindings/csharp/CMakeLists.txt:3 (enable_language):
  No CMAKE_CSharp_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CSC" or the CMake cache entry CMAKE_CSharp_COMPILER to the full
  path to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log".
 * ERROR: net-libs/libproxy-0.4.11-r2::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   90:  Called src_configure
 *   environment, line 4212:  Called multilib-minimal_src_configure
 *   environment, line 2604:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2811:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2535:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2533:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  504:  Called multilib-minimal_abi_src_configure
 *   environment, line 2598:  Called multilib_src_configure
 *   environment, line 3028:  Called cmake-utils_src_configure
 *   environment, line  945:  Called _execute_optionally 'src_configure'
 *   environment, line  292:  Called enable_cmake-utils_src_configure
 *   environment, line 1275:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=net-libs/libproxy-0.4.11-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libproxy-0.4.11-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/libproxy-0.4.11-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libproxy-0.4.11-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11-abi_x86_64.amd64'
 * S: '/var/tmp/portage/net-libs/libproxy-0.4.11-r2/work/libproxy-0.4.11'

--

Fix needed as soon as possible please.
Comment 12 Juergen Rose 2015-12-21 11:01:54 UTC
'perl-cleaner --all' fails now due to this bug. The patch corresponding to comment 7 helps again. Could it not be added to portage tree?
Comment 13 DJ Dunn 2016-02-20 16:55:56 UTC
hit this bug today
Comment 14 DJ Dunn 2016-02-20 16:56:37 UTC
hit this bug today on ~amd64
Comment 15 Billy DeVincentis 2016-03-17 18:40:26 UTC
export CSC=/usr/bin/mcs ; emerge -v1 net-libs/libproxy

This worked for me, wanted to emerge this as it was virtually the only package not to recompile on my gcc5 rebuild
Comment 16 Juergen Rose 2016-04-03 16:41:08 UTC
I hit the issue again. It would be nice to have a working version in the portage tree.
Comment 17 Michael Palimaka (kensington) gentoo-dev 2016-04-03 17:25:04 UTC
With stable mono and the solutions suggested above I notice several items disappearing from the image:

<<<          sym /usr/lib64/mono/libproxy-sharp/libproxy-sharp.dll
<<<          obj /usr/lib64/mono/gac/libproxy-sharp/0.4.6.0__2876a40fef762f62/libproxy-sharp.dll.config
<<<          obj /usr/lib64/mono/gac/libproxy-sharp/0.4.6.0__2876a40fef762f62/libproxy-sharp.dll

I tried a different approach by adding the following to mycmakeargs:

-DGMCS_EXECUTABLE="${EPREFIX}/usr/bin/mcs"

Can anyone confirm this works for testing mono too?
Comment 18 Mark Nowiasz 2016-04-22 11:58:40 UTC
Same here - BTW, is there *any* good reason why the bug has been marked as "Unconfirmed" and seems to be totally ignored by Gentoo? :-/
Comment 19 Michael Palimaka (kensington) gentoo-dev 2016-04-22 15:19:38 UTC
(In reply to Mark Nowiasz from comment #18)
> Same here - BTW, is there *any* good reason why the bug has been marked as
> "Unconfirmed" and seems to be totally ignored by Gentoo? :-/

Please see comment #17. I have proposed a new solution that works for me with stable mono, but requires feedback from someone to confirm that it works correctly with testing mono too.
Comment 20 Denis Dupeyron (RETIRED) gentoo-dev 2016-05-06 18:21:52 UTC
(In reply to Michael Palimaka (kensington) from comment #19)
> Please see comment #17. I have proposed a new solution that works for me
> with stable mono, but requires feedback from someone to confirm that it
> works correctly with testing mono too.

It worked here on unstable (mono-4.4.0.40).
Comment 21 Mark Nowiasz 2016-05-08 08:54:33 UTC
net-libs/libproxy-0.4.13 fails, same problem again.

Could someone *please* fix this stupid bug or at least acknowledge it? (status is still "Unconfirmed").

Granted, the bug is very fresh - just about 1 year old, so I guess it's too much to expect to have it fixed in such short timespam :-]

Still, it's *extremely* annoying to manually emerge libproxy each time it pops up.
Comment 22 Pacho Ramos gentoo-dev 2016-05-08 09:26:10 UTC
[master bd2a59b] net-libs/libproxy: Fix gmcs detection (#549734) and webkit dependencies (#574046#c10)
 1 file changed, 15 insertions(+), 16 deletions(-)
 rename net-libs/libproxy/{libproxy-0.4.13.ebuild => libproxy-0.4.13-r1.ebuild} (87%)