Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dotnet overlay, cannot emerge xdt-for-monodevelop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Warped_Dragon
Apprentice
Apprentice


Joined: 16 Sep 2004
Posts: 158
Location: Canada Eh?

PostPosted: Thu Feb 01, 2018 6:57 pm    Post subject: dotnet overlay, cannot emerge xdt-for-monodevelop Reply with quote

Good day all,

I'm trying to install monodevelop from the dotnet overlay, but one of the dependencies, dev-dotnet/xdt-for-monodevelop, is failing to install.

The most promising lead I have found so far is a line in the build log: "/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/temp/environment: line 2221: exbuild: command not found". At first I assumed it was some sort of internal emerge/portage function, but I have been working at this since early yesterday morning, off and on, and despite much time spent with google I haven't been able to find any relevant references to exbuild, gentoo-specific or otherwise.

Can anyone point me in the right direction?

The build log:
Code:

 * Package:    dev-dotnet/xdt-for-monodevelop-2.8.1-r2
 * Repository: dotnet
 * Maintainer: dotnet@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc gac kernel_linux net45 pkg-config userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 *  -- USING .NET 4.5 FRAMEWORK --
>>> Unpacking source...
>>> Unpacking xdt-for-monodevelop-2.8.1.tar.gz to /tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/work
>>> Source unpacked in /tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/work
>>> Preparing source in /tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/work/xdt-Release-NuGet-2.8.1-Mono ...
 * Applying disable-testproject-build-in-sln-r1.patch ...
 [ ok ]
 * Applying add-keyfile-option-to-csproj-r1.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/work/xdt-Release-NuGet-2.8.1-Mono ...
>>> Source configured.
>>> Compiling source in /tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/work/xdt-Release-NuGet-2.8.1-Mono ...
/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/temp/environment: line 2221: exbuild: command not found
 * Signing XmlTransform.dll with rsa-4096.snk
Mono StrongName - version 5.4.1.6
StrongName utility for signing assemblies
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

Unable to load assembly: XmlTransform/bin/Release/Microsoft.Web.XmlTransform.dll
>>> Source compiled.
>>> Test phase [not enabled]: dev-dotnet/xdt-for-monodevelop-2.8.1-r2

>>> Install xdt-for-monodevelop-2.8.1-r2 into /tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/image/ category dev-dotnet
 * Installing Microsoft.Web.XmlTransform.dll to GAC
Failure adding assembly XmlTransform/bin/Release/Microsoft.Web.XmlTransform.dll to the cache: The system cannot find the file specified.
 * ERROR: dev-dotnet/xdt-for-monodevelop-2.8.1-r2::dotnet failed (install phase):
 *   installing XmlTransform/bin/Release/Microsoft.Web.XmlTransform.dll into the Global Assembly Cache failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_install
 *   environment, line 2232:  Called egacinstall 'XmlTransform/bin/Release/Microsoft.Web.XmlTransform.dll'
 *   environment, line  659:  Called die
 * The specific snippet of code:
 *               gacutil -i "${1}" -root "${ED}"/usr/$(get_libdir) -gacdir /usr/$(get_libdir) -package ${2:-${GACPN:-${PN}}} || die "installing ${1} into the Global Assembly Cache failed";
 *
 * If you need support, post the output of `emerge --info '=dev-dotnet/xdt-for-monodevelop-2.8.1-r2::dotnet'`,
 * the complete build log and the output of `emerge -pqv '=dev-dotnet/xdt-for-monodevelop-2.8.1-r2::dotnet'`.
 * The complete build log is located at '/var/log/portage/build/dev-dotnet:xdt-for-monodevelop-2.8.1-r2:20180201-184250.log.gz'.
 * For convenience, a symlink to the build log is located at '/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/temp/build.log.gz'.
 * The ebuild environment file is located at '/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/temp/environment'.
 * Working directory: '/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/work/xdt-Release-NuGet-2.8.1-Mono'
 * S: '/tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/work/xdt-Release-NuGet-2.8.1-Mono'
^[[33;01m * ^[[39;49;00mQA Notice: command not found:
^[[33;01m * ^[[39;49;00m
^[[33;01m * ^[[39;49;00m    /tmp/portage/dev-dotnet/xdt-for-monodevelop-2.8.1-r2/temp/environment: line 2221: exbuild: command not found



My emerge --info:
Code:

exodus /etc/portage # emerge --info
Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/hardened, gcc-6.4.0, glibc-2.25-r9, 4.9.76-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-AMD_FX-tm-9590_Eight-Core_Processor-with-gentoo-2.4.1
KiB Mem:    32901392 total,  21604664 free
KiB Swap:   40959996 total,  40959996 free
Timestamp of repository gentoo: Wed, 31 Jan 2018 10:30:01 +0000
Head commit of repository gentoo: dca844ed582e369708a7769d4e84abf6e9b5fb0d
Head commit of repository trolltoo: 1b9fad9f989dc71da487ba87de4252f3ee494dd9

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://192.168.1.40/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

trolltoo
    location: /var/lib/layman/trolltoo
    sync-type: git
    sync-uri: https://github.com/dallenwilson/trolltoo
    masters: gentoo
    priority: 10

bitcoin
    location: /var/lib/layman/bitcoin
    masters: gentoo
    priority: 50

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

hossie
    location: /var/lib/layman/hossie
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 50

srcshelton
    location: /var/lib/layman/srcshelton
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    masters: gentoo
    priority: 50

voyageur
    location: /var/lib/layman/voyageur
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CC="gcc"
CFLAGS="-march=bdver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
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 /usr/bin/startx"
CXX="g++"
CXXFLAGS="-march=bdver2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --load-average=6.0"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
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 --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
USE="7z X a52 aac acl acpi alsa amd64 avahi bash bonic branding bzip2 cairo cdda cddb cdparanoia cdr cdrom cinnamon colord consolekit crypt cuda cups cxx dbus directx distcc dri dts dvd dvdr encode exif fam firefox flac fontconfig gdbm gif glade glamor gnupg gsm gssapi gstreamer gtk gtk3 gudev hardened iconv icu introspection ipv6 javafx jit jpeg lcms ldap libnotify libsamplerate libsecret lm_sensors lua luajit lzma mad matroska mng mono mp3 mp4 mpeg mtp multilib musicbrainz nautilus ncurses net40 net45 nls nntp nptl nvidia obdc ogg openal opencl opengl openmp openssl opus pam pango pcap pcre pdf perl pie pkcs11 pkg-config png policykit ppds pulseaudio python qml qt3support readline samba scanner sdl seccomp sftp sip smartcard snmp speex spell ssh ssl ssp startup-notification svg symlink theora threads thunderbird tiff tracker truetype udev udisks unicode upower usb v4l vaapi vala vdpau vlc vlm vorbis wav wma wma-fixed wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xtpax xv xvid xvmc zlib" ABI_X86="64 32" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" 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

exodus /etc/portage #

_________________
No.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Fri Feb 02, 2018 3:21 am    Post subject: Reply with quote

Generally, if you need help with an overlay package, you should include a link to the overlay so that interested readers can find it without guessing. In this case, I guessed it to be https://github.com/gentoo/dotnet, which contains an ebuild of the correct path and version. This post is written assuming that guess to be correct.
Warped_Dragon wrote:
At first I assumed it was some sort of internal emerge/portage function, but I have been working at this since early yesterday morning, off and on, and despite much time spent with google I haven't been able to find any relevant references to exbuild, gentoo-specific or otherwise.
Google: exbuild mono gives as its third hit Gentoo Development Guide: dotnet.eclass. Based on the content of that page, I opened /usr/portage/eclass/dotnet.eclass and found a shell function exbuild, which seems to be exactly what you need. Unfortunately, the dotnet overlay defines a version of this eclass that lacks that function, so you only have the function if you disable the overlay; if you disable the overlay, then you do not have the ebuild that needs the function.
Back to top
View user's profile Send private message
Warped_Dragon
Apprentice
Apprentice


Joined: 16 Sep 2004
Posts: 158
Location: Canada Eh?

PostPosted: Fri Feb 02, 2018 3:44 am    Post subject: Reply with quote

Thank you for the reply!

Hu wrote:
Generally, if you need help with an overlay package, you should include a link to the overlay so that interested readers can find it without guessing.


Given that the dotnet overlay is an official gentoo overlay, I assumed it would be unambiguous. I'll keep it in mind in the future.


Hu wrote:
Google: exbuild mono gives as its third hit Gentoo Development Guide: dotnet.eclass.


In hindsight, that combination of search terms is obvious and I should have tried it. What I searched for was Google: exbuild xdg-for-monodevelop gentoo and variations of it, which do not have that link in the results. Thanks for the fresh set of eyes.

Hu wrote:
Based on the content of that page, I opened /usr/portage/eclass/dotnet.eclass and found a shell function exbuild, which seems to be exactly what you need. Unfortunately, the dotnet overlay defines a version of this eclass that lacks that function, so you only have the function if you disable the overlay; if you disable the overlay, then you do not have the ebuild that needs the function.


I'm surprised something like that has slipped through the cracks. I'll see about filing a bug report, and then finding a local work-around for it. So far, I'm glad getting mono and monodevelop installed hasn't been quite as bad as the internet lead me to believe, but it hasn't been nearly as easy as I expected, either.
_________________
No.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21431

PostPosted: Sat Feb 03, 2018 1:49 am    Post subject: Reply with quote

I started with the Gentoo overlay as a first step, but it would've saved me a minute or so if you had included the link. ;) You're right that it wasn't particularly ambiguous in this case. My remark was standard for any time I respond to an uncited overlay, since some of them are harder to locate quickly.

As for the fresh eyes, that's why I explained how I got there. I expected you had tried the combinations you considered obvious, so if you were asking, it must be something you did not consider. :)
Back to top
View user's profile Send private message
V10lator
Apprentice
Apprentice


Joined: 11 Jul 2004
Posts: 207

PostPosted: Thu Jul 26, 2018 7:09 am    Post subject: Reply with quote

Warped_Dragon wrote:
I'll see about filing a bug report

Did you do that yet? If so could you please share the link?
Quote:
and then finding a local work-around for it

Would be great if you could share your workaround as I'm stuck.

//EDIT: Found a workaround:
Code:
mv /var/lib/layman/dotnet/eclass/dotnet.eclass /var/lib/layman/dotnet/eclass/dotnet.eclass.bkup
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum