Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 688722

Summary: media-gfx/pinta-1.6-r2: Classes/IExtension.cs(5,12): error CS0234: The type or namespace name `Addins' does not exist in the namespace `Mono'. Are you missing an assembly reference?
Product: Gentoo Linux Reporter: Quentin Retornaz <gentoo>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED OBSOLETE    
Severity: normal CC: david.reiher, treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
environment
workdir.tar.xz

Description Quentin Retornaz 2019-06-25 21:36:32 UTC
Created attachment 580938 [details]
build.log

emerge --info :

Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.1, gcc-8.3.0, glibc-2.29-r2, 4.19.52-gentoo x86_64)
=================================================================
System uname: Linux-4.19.52-gentoo-x86_64-Intel-R-_Core-TM-_i5-4690_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:    16365740 total,   9833696 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 25 Jun 2019 13:30:01 +0000
Head commit of repository gentoo: 8aa24fc2b82a9bcb8abc59890325d824691e8959
Head commit of repository Case_Of: 45ec7d44357266b064842df7346edbb73270920b

Timestamp of repository libressl: Sun, 23 Jun 2019 09:13:08 +0000
Head commit of repository libressl: 8cf66b17008e956e1b077b0f8fd21fbf012d5352

Head commit of repository palemoon: 760bf1e6ee4aac28da8395514272ad70fedf1208

Head commit of repository palemoon-l10n-overlay: bb9760c234438f97b53647be3ab8bd69fb79060b

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

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

Case_Of
    location: /var/db/repos/Case_Of
    sync-type: git
    sync-uri: https://framagit.org/Case_Of/gentoo-overlay.git
    masters: gentoo

libressl
    location: /var/db/repos/libressl
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/libressl.git
    masters: gentoo

localrepo
    location: /usr/local/portage
    masters: gentoo

palemoon
    location: /var/db/repos/palemoon
    sync-type: git
    sync-uri: https://github.com/deu/palemoon-overlay.git
    masters: gentoo

palemoon-l10n-overlay
    location: /var/db/repos/palemoon-l10n-overlay
    sync-type: git
    sync-uri: https://github.com/CaseOf/palemoon-l10n-gentoo-overlay.git
    masters: gentoo palemoon

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
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"
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="--keep-going --quiet-build"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 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"
INSTALL_MASK=" /usr/lib64/thunderbird/distribution/extensions /etc/systemd /etc/tmpfiles.d /lib*/systemd /usr/lib*/systemd /usr/lib*/tmpfiles.d /usr/lib/modules-load.d /usr/share/icons/breeze /usr/share/icons/breeze-dark /opt/palemoon"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="acl alsa amd64 bash-completion berkdb bzip2 cli crypt cxx dri fortran gdbm gif iconv idn ipv6 jpeg libnotify libressl libtirpc multilib ncurses nls nptl openmp pam pcre png policykit readline seccomp ssl tcpd udisks unicode xattr zlib" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" 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" INPUT_DEVICES="libinput evdev joystick" KERNEL="linux" L10N="fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" XFCE_PLUGINS="clock power" 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, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Quentin Retornaz 2019-06-25 21:37:26 UTC
Created attachment 580940 [details]
environment
Comment 2 Quentin Retornaz 2019-06-25 21:40:19 UTC
Created attachment 580942 [details]
workdir.tar.xz
Comment 3 nvaert1986 2019-07-29 12:54:54 UTC
I can confirm this bug. This happened after mono was updated to 4.8.0, since then pinta didn't want to start anymore. Trying to re-compile pinta results in the error described.
Comment 4 nvaert1986 2019-07-29 13:04:22 UTC
When trying to start an existing installation the following error appears:

Can't find custom attr constructor image: /usr/lib64/pinta/Pinta.Core.dll mtoken: 0x0a0003d8 due to: Could not load file or assembly 'Mono.Addins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. assembly:Mono.Addins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:<unknown type> member:<none>

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
Comment 5 nvaert1986 2019-07-29 13:12:31 UTC
Sorry another update: 

It seems to go wrong in the package build:

One of the directories it searches for is:
/usr/lib/gtk-sharp-2.0/

But that directory doesn't exist it should be:
/usr/lib64/gtk-sharp-2.0/

The same happens when emerging gio-sharp
Comment 6 nvaert1986 2019-07-29 13:20:43 UTC
(In reply to nvaert1986 from comment #5)
> Sorry another update: 
> 
> It seems to go wrong in the package build:
> 
> One of the directories it searches for is:
> /usr/lib/gtk-sharp-2.0/
> 
> But that directory doesn't exist it should be:
> /usr/lib64/gtk-sharp-2.0/
> 
> The same happens when emerging gio-sharp

Please ignore this comment, this is a separate issue, was watching a few terminals at the same time, but do look at the previous comments.
Comment 7 M8R-u38wij 2019-10-27 10:11:58 UTC
I've just stepped on that right after updating to 17.1 profile with no SYMLINK_LIB.

emerge fails with the same error and existing pinta fails to launch with the next error:

Can't find custom attr constructor image: /usr/lib64/pinta/Pinta.Core.dll mtoken: 0x0a0003d8 due to: Could not load file or assembly 'Mono.Addins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. assembly:Mono.Addins, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756 type:<unknown type> member:<none>

Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f'
Comment 8 Larry the Git Cow gentoo-dev 2020-10-03 18:34:37 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152ec7695b6b399f6a80f898edc5176660f27900

commit 152ec7695b6b399f6a80f898edc5176660f27900
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-10-03 18:34:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-03 18:34:13 +0000

    package.mask: Last rite dev-dotnet/mono-addins and revdep
    
    Bug: https://bugs.gentoo.org/612592
    Bug: https://bugs.gentoo.org/644232
    Bug: https://bugs.gentoo.org/659436
    Bug: https://bugs.gentoo.org/688722
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 8 ++++++++
 1 file changed, 8 insertions(+)
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-11-03 08:50:08 UTC
Package removed.