Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547140 - dev-lang/mono-3.2.8 has invalid symlinks
Summary: dev-lang/mono-3.2.8 has invalid symlinks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-19 21:31 UTC by Nick Pershyn
Modified: 2016-09-21 11:02 UTC (History)
2 users (show)

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 Nick Pershyn 2015-04-19 21:31:28 UTC
Emerging this package results in following warnings:

 * QA Notice: Symbolic link /usr/lib/mono/xbuild/12.0/bin/Microsoft.Build.Tasks.v12.0.dll points to /usr/lib/mono/xbuild/12.0/gac/Microsoft.Build.Tasks.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v12.0.dll which does not exist.
 * QA Notice: Symbolic link /usr/lib/mono/xbuild/12.0/bin/Microsoft.Build.Engine.dll points to /usr/lib/mono/xbuild/12.0/gac/Microsoft.Build.Engine/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll which does not exist.
 * QA Notice: Symbolic link /usr/lib/mono/xbuild/12.0/bin/Microsoft.Build.Utilities.v12.0.dll points to /usr/lib/mono/xbuild/12.0/gac/Microsoft.Build.Utilities.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v12.0.dll which does not exist.
 * QA Notice: Symbolic link /usr/lib/mono/xbuild/12.0/bin/Mono.XBuild.Tasks.dll points to /usr/lib/mono/xbuild/12.0/gac/Mono.XBuild.Tasks/4.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll which does not exist.
 * QA Notice: Symbolic link /usr/lib/mono/xbuild/12.0/bin/Microsoft.Build.dll points to /usr/lib/mono/xbuild/12.0/gac/Microsoft.Build/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll which does not exist.
 * QA Notice: Symbolic link /usr/lib/mono/xbuild/12.0/bin/Microsoft.Build.Framework.dll points to /usr/lib/mono/xbuild/12.0/gac/Microsoft.Build.Framework/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll which does not exist.


Reproducible: Always

Steps to Reproduce:
1. emerge =dev-lang/mono-3.2.8::gentoo
2. ls -l /usr/lib/mono/xbuild/12.0/bin/
3.
Actual Results:  
The symlinks are broken...

Listing of corresponding directory:
# ls -l /usr/lib/mono/xbuild/12.0/bin/
total 188
lrwxrwxrwx 1 root root    69 Apr 19 12:03 Microsoft.Build.dll -> ../gac/Microsoft.Build/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.dll
lrwxrwxrwx 1 root root    83 Apr 19 12:03 Microsoft.Build.Engine.dll -> ../gac/Microsoft.Build.Engine/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll
lrwxrwxrwx 1 root root    89 Apr 19 12:03 Microsoft.Build.Framework.dll -> ../gac/Microsoft.Build.Framework/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
lrwxrwxrwx 1 root root    93 Apr 19 12:03 Microsoft.Build.Tasks.v12.0.dll -> ../gac/Microsoft.Build.Tasks.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v12.0.dll
lrwxrwxrwx 1 root root   101 Apr 19 12:03 Microsoft.Build.Utilities.v12.0.dll -> ../gac/Microsoft.Build.Utilities.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v12.0.dll
-rw-r--r-- 1 root root  2287 Apr 19 12:03 Microsoft.Build.xsd
-rw-r--r-- 1 root root 41165 Apr 19 12:03 Microsoft.Common.targets
-rw-r--r-- 1 root root  5775 Apr 19 12:03 Microsoft.Common.tasks
-rw-r--r-- 1 root root  5355 Apr 19 12:03 Microsoft.CSharp.targets
-rw-r--r-- 1 root root  5792 Apr 19 12:03 Microsoft.VisualBasic.targets
lrwxrwxrwx 1 root root    72 Apr 19 12:03 Mono.XBuild.Tasks.dll -> ../gac/Mono.XBuild.Tasks/4.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll
drwxr-xr-x 2 root root  4096 Apr 19 12:03 MSBuild
-rwxr-xr-x 1 root root 62976 Apr 19 12:03 xbuild.exe
-rw-r--r-- 1 root root   690 Apr 19 12:03 xbuild.exe.config
-rwxr-xr-x 1 root root 12618 Apr 19 12:03 xbuild.exe.mdb
-rw-r--r-- 1 root root   142 Apr 19 12:03 xbuild.rsp

The whole directory '../gac' does not exist.

Expected Results:  
Correct symlinks and no warnings from portage.

There is no '../gac' directory, but there is a directory called '../../../gac'. That directory seem to contain all the needed files.
Its absolute path is '/usr/lib/mono/gac/', not the '/usr/lib/mono/xbuild/12.0/gac/' as indicated by portage. So there is a works-for-me fix. Just recreate those links by hand. So now I have:

 # ls -l /usr/lib/mono/xbuild/12.0/bin/
total 184
lrwxrwxrwx 1 root root    89 Apr 19 14:50 Microsoft.Build.Engine.dll -> ../../../gac/Microsoft.Build.Engine/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Engine.dll
lrwxrwxrwx 1 root root    95 Apr 19 14:51 Microsoft.Build.Framework.dll -> ../../../gac/Microsoft.Build.Framework/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Framework.dll
lrwxrwxrwx 1 root root    99 Apr 19 14:52 Microsoft.Build.Tasks.v12.0.dll -> ../../../gac/Microsoft.Build.Tasks.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Tasks.v12.0.dll
lrwxrwxrwx 1 root root   107 Apr 19 14:53 Microsoft.Build.Utilities.v12.0.dll -> ../../../gac/Microsoft.Build.Utilities.v12.0/12.0.0.0__b03f5f7f11d50a3a/Microsoft.Build.Utilities.v12.0.dll
-rw-r--r-- 1 root root  2287 Apr 19 12:03 Microsoft.Build.xsd
-rw-r--r-- 1 root root 41165 Apr 19 12:03 Microsoft.Common.targets
-rw-r--r-- 1 root root  5775 Apr 19 12:03 Microsoft.Common.tasks
-rw-r--r-- 1 root root  5355 Apr 19 12:03 Microsoft.CSharp.targets
-rw-r--r-- 1 root root  5792 Apr 19 12:03 Microsoft.VisualBasic.targets
lrwxrwxrwx 1 root root    78 Apr 19 14:53 Mono.XBuild.Tasks.dll -> ../../../gac/Mono.XBuild.Tasks/4.0.0.0__0738eb9f132ed756/Mono.XBuild.Tasks.dll
drwxr-xr-x 2 root root  4096 Apr 19 12:03 MSBuild
-rwxr-xr-x 1 root root 62976 Apr 19 12:03 xbuild.exe
-rw-r--r-- 1 root root   690 Apr 19 12:03 xbuild.exe.config
-rwxr-xr-x 1 root root 12618 Apr 19 12:03 xbuild.exe.mdb
-rw-r--r-- 1 root root   142 Apr 19 12:03 xbuild.rsp

I do not know yet where these links are defined. Whether it is in .ebuild or in some Makefile.
Comment 1 Nick Pershyn 2015-04-19 21:36:25 UTC
$ emerge --info
Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.18.7-gentoo x86_64)
=================================================================
System uname: Linux-3.18.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-4710MQ_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:    16350160 total,   3614024 free
KiB Swap:   17380348 total,  17366868 free
Timestamp of tree: Sun, 12 Apr 2015 04:45:02 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo anders-larsson slyfox-gentoo science
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://gentoo.llarian.net/pub/gentoo http://gentoo.iteam.net.ua/ ftp://ftp.df.lth.se/pub/gentoo/ http://ftp.swin.edu.au/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/anders-larsson /var/lib/layman/slyfox /var/lib/layman/science"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aes alsa amd64 avx avx2 berkdb bittorrent bluetooth branding bzip2 cairo cdda cdr clang cli consolekit corefonts cracklib crypt cups cxx dbus djvu dri dts dvd dvdr ebook egl emboss encode exif fam firefox flac fma3 fortran gallium gbm gdbm gif git glamor glew glu glut gnutls gpm grypt gstreamer gtk iconv icu ipv6 jpeg jpeg2k kate kde kipi lapack latex lcms ldap libav libkms libnotify lm_sensors lzma lzo mad matroska minizip mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nepomuk nls nptl obdc ogg openal opencl openexr opengl openmax openmp openvg pam pango pcre pdf plasma png policykit popcnt postscript ppds pulseaudio python qalculate qt3support qt4 quvi readline sdl semantic-desktop session smp spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg taglib tcpd tga tiff tk truetype udev udisks unicode upower usb v4l vaapi vdpau vorbis wmf wxwidgets x264 xa xcb xml xmp xpm xv xvfb xvid xvmc zip 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="keyboard mouse evdev evdev mutouch synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Pacho Ramos gentoo-dev 2016-09-21 11:02:23 UTC
looks fixed in 4.4.1.0