Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733250 - dev-dotnet/gtk-sharp-2.12.21 fails to build `Range' is an ambiguous reference between `System.Range' and `Gtk.Range'
Summary: dev-dotnet/gtk-sharp-2.12.21 fails to build `Range' is an ambiguous reference...
Status: RESOLVED DUPLICATE of bug 697108
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-19 23:29 UTC by Javantea
Modified: 2020-07-19 23:43 UTC (History)
1 user (show)

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


Attachments
gtk-sharp-2.12.45 ebuild (gtk-sharp-2.12.45.ebuild,1.20 KB, text/plain)
2020-07-19 23:31 UTC, Javantea
Details
patch to fix the bug (3faabd7 from git) (3faabd7-gtk-sharp-range-build.patch,201 bytes, patch)
2020-07-19 23:32 UTC, Javantea
Details | Diff
build.log showing the error (gtk-sharp-2.12.21_build.log,144.31 KB, text/x-log)
2020-07-19 23:36 UTC, Javantea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Javantea 2020-07-19 23:29:26 UTC
Emerging gtk-sharp results in a failure in compiling TestRange.cs. This bug (Issue 282 https://github.com/mono/gtk-sharp/issues/282) was fixed in git, but no release contains the fix. Therefore a patch is needed.

Reproducible: Always

Steps to Reproduce:
1. sudo emerge -av =dev-dotnet/gtk-sharp-2.12.21

Actual Results:  
Emerge fails.

Expected Results:  
Emerge succeeds.

emerge --info =dev-dotnet/gtk-sharp-2.12.21
Portage 2.3.103 (python 3.6.11-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.31-r5, 5.7.4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.7.4-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.7
KiB Mem:    16354868 total,   5368176 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Fri, 10 Jul 2020 22:00:01 +0000
Head commit of repository gentoo: 98d7c17a5ef2d3ee26265dba57b6ec1b5178394e
sh bash 5.0_p17
ld GNU ld (Gentoo 2.34 p4) 2.34.0
ccache version 3.7.10 [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.11-r1::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo
dev-util/ccache:          3.7.10::gentoo
dev-util/cmake:           3.17.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r1::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 8.3.0-r3::gentoo, 9.3.0-r1::gentoo, 10.1.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers)
sys-libs/glibc:           2.31-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

crossdev
    location: /home/gentoo/overlay1
    masters: gentoo

overlay2
    location: /home/gentoo/overlay2
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 Introversion RTCW-ETEULA skype-eula AdobeFlash-10 AdobeFlash-10.1 Oracle-BCLA-JavaSE AdobeFlash-10.3 AdobeFlash-11.x google-chrome Intel-SDP phrack intel-ucode no-source-code freedist xgraph MSttfEULA free-noncomm grass-ipafonts unRAR bh-luxi MPEG-4 lha cadsoft-2 linux-firmware linux-fw-redistributable CC-BY-NC-4.0"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/var/tmp"
USE="X a52 aac acl acpi activities allegro alsa amd64 amr amrnb amrwb ao apache2 ass audiofile avx_256 berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdio cdparanoia cdr cjk cli corefonts cpudetection crypt cups curl dbus declarative dirac dot dri dts dv dvd dvdnav dvdr elogind emboss enca encode exif extras faac faad filter flac fontconfig fortran fts3 g3dvl gallium gbm gd gdbm gif gimp glade glamor gmp gnutls gpm graphviz gsm gtk hash http2 iconv id3tag ipv6 ithreads jack jadetex joystick jpeg json kde kdenlive kipi kwallet ladspa lapack lastfm lcms libevent libinput libnotify libsamplerate libtirpc libtommath libv4l2 live llvm-gcc lzma mad matroska melt mhash midi mikmod mng mod mp2 mp3 mp4 mpeg mpi multilib mysql ncat ncurses nemesi net nethack network nls nptl numpy objc octave ogg opencl openexr opengl openmp pam pango pcntl pcre pcre16 pdf phonon plasma png policykit portaudio ppds python qml qt5 quicktime rar raw readline real romio rtc rtmp sasl schroedinger sdl seccomp sharedmem simplexml sip smp sndfile soap socks5 speex spell split-usr sql sqlite ssl startup-notification static-libs svg tcpd theora threads tiff timidity tomsfastmath tools tordns tremor truetype twolame udev udisks unicode upnp upower usb uxa v4l v4l2 vaapi vdpau vorbis vulkan wav widgets win32codecs winbind wmf wordperfect wxwidgets x264 xattr xcb xcomposite xft xml xmlrpc xscreensaver xv xvfb xvid xvmc zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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="http2 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 unique_id vhost_alias" APACHE2_MPMS="event" CALLIGRA_FEATURES="author braindump flow kexi krita sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse mmxext sse2 sse3 ssse3 sse4_1 sse4_2 avx" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc coreboot efi-32 multiboot qemu" INPUT_DEVICES="libinput evdev" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86 AArch64 ARM Hexagon MSP430 Mips PowerPC Sparc WebAssembly" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="x86_64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 sparc sparc64 aarch64 alpha cris lm32 microblaze microblazeel moxie nios2 or1k ppcemb s390x sh4 sh4eb tricore unicore32 xtensa xtensaeb" QEMU_USER_TARGETS="x86_64 arm i386 m68k mips mips64 mips64el mipsel ppc ppc64 sparc sparc64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu intel i965 i915" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Javantea 2020-07-19 23:31:25 UTC
Created attachment 649900 [details]
gtk-sharp-2.12.45 ebuild

gtk-sharp-2.12.45 ebuild example of how to fix this bug by upgrading and patching.
Comment 2 Javantea 2020-07-19 23:32:24 UTC
Created attachment 649902 [details, diff]
patch to fix the bug (3faabd7 from git)

Fixes the bug, see the ebuild to see how it can be integrated into the ebuild.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-07-19 23:34:35 UTC
(In reply to Javantea from comment #0)
> Emerging gtk-sharp results in a failure in compiling TestRange.cs. This bug
> (Issue 282 https://github.com/mono/gtk-sharp/issues/282) was fixed in git,
> but no release contains the fix. Therefore a patch is needed.
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> 1. sudo emerge -av =dev-dotnet/gtk-sharp-2.12.21
> 
> Actual Results:  
> Emerge fails.
> 
> Expected Results:  
> Emerge succeeds.
> 
> emerge --info =dev-dotnet/gtk-sharp-2.12.21
> Portage 2.3.103 (python 3.6.11-final-0,
> default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.31-r5, 5.7.4
> x86_64)
> =================================================================
>                          System Settings
> =================================================================
> System uname:
> Linux-5.7.4-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.7
> KiB Mem:    16354868 total,   5368176 free
> KiB Swap:          0 total,         0 free
> Timestamp of repository gentoo: Fri, 10 Jul 2020 22:00:01 +0000
> Head commit of repository gentoo: 98d7c17a5ef2d3ee26265dba57b6ec1b5178394e

Please sync, as I committed a fix for this on the 18th: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b28d37bb050204162e4854346cc87d0960dec923

*** This bug has been marked as a duplicate of bug 697108 ***
Comment 4 Javantea 2020-07-19 23:36:28 UTC
Created attachment 649904 [details]
build.log showing the error