Gnome-calculator fails to emerge. Reproducible: Always Steps to Reproduce: 1.emerge gnome-calculator 2. 3. Actual Results: /usr/bin/valac-0.36 -C --pkg posix --pkg gee-0.8 --pkg libsoup-2.4 --pkg libxml-2.0 --pkg posix --pkg gio-2.0 --directory gcalc/35aae3b@@gcalc-1@sha --basedir ../gnome-calculator-3.34.1/gcalc --library gcalc-1 --header gcalc/gcalc.h --vapi ../gcalc-1.vapi --gir ../GCalc-1.gir --vapidir=/var/tmp/portage/gnome-extra/gnome-calculator-3.34.1/work/gnome-calculator-3.34.1/vapi --pkg=mpc --pkg=mpfr ../gnome-calculator-3.34.1/gcalc/gcalc-assign.vala ../gnome-calculator-3.34.1/gcalc/gcalc-binary-operator.vala ../gnome-calculator-3.34.1/gcalc/gcalc-constant.vala ../gnome-calculator-3.34.1/gcalc/gcalc-division.vala ../gnome-calculator-3.34.1/gcalc/gcalc-expression.vala ../gnome-calculator-3.34.1/gcalc/gcalc-expression-container.vala ../gnome-calculator-3.34.1/gcalc/gcalc-expression-hash-map.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-acos.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-acosh.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-asin.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-asinh.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-atan.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-atanh.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-cos.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-cosh.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-exp.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-log.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-sin.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-sinh.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-sqrt.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-tan.vala ../gnome-calculator-3.34.1/gcalc/gcalc-function-tanh.vala ../gnome-calculator-3.34.1/gcalc/gcalc-error-result.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gexpression.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gassign.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gconstant.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gdivision.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gerror-result.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gfunction.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gmath-equation.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gmath-equation-manager.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gminus.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gmultiply.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gparser.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gplus.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gpolynomial.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gpow.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gresult.vala ../gnome-calculator-3.34.1/gcalc/gcalc-group.vala ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gsolver.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gterm.vala ../gnome-calculator-3.34.1/gcalc/gcalc-gvariable.vala ../gnome-calculator-3.34.1/gcalc/gcalc-hashable.vala ../gnome-calculator-3.34.1/gcalc/gcalc-math-equation.vala ../gnome-calculator-3.34.1/gcalc/gcalc-math-equation-manager.vala ../gnome-calculator-3.34.1/gcalc/gcalc-minus.vala ../gnome-calculator-3.34.1/gcalc/gcalc-multiply.vala ../gnome-calculator-3.34.1/gcalc/gcalc-operator.vala ../gnome-calculator-3.34.1/gcalc/gcalc-plus.vala ../gnome-calculator-3.34.1/gcalc/gcalc-polynomial.vala ../gnome-calculator-3.34.1/gcalc/gcalc-pow.vala ../gnome-calculator-3.34.1/gcalc/gcalc-result.vala ../gnome-calculator-3.34.1/gcalc/gcalc-solver.vala ../gnome-calculator-3.34.1/gcalc/gcalc-term.vala ../gnome-calculator-3.34.1/gcalc/gcalc-variable.vala gcalc/namespace-info.vala gcalc/mpfrg.vapi ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:27.12-27.14: error: The name `ONE' does not exist in the context of `GCalc.GGroup.to_string' case ONE: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:27.12-27.14: error: Expression must be constant case ONE: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:30.12-30.14: error: The name `TWO' does not exist in the context of `GCalc.GGroup.to_string' case TWO: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:30.12-30.14: error: Expression must be constant case TWO: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:33.12-33.16: error: The name `THREE' does not exist in the context of `GCalc.GGroup.to_string' case THREE: ^^^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:33.12-33.16: error: Expression must be constant case THREE: ^^^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:41.12-41.14: error: The name `ONE' does not exist in the context of `GCalc.GGroup.to_string' case ONE: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:41.12-41.14: error: Expression must be constant case ONE: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:44.12-44.14: error: The name `TWO' does not exist in the context of `GCalc.GGroup.to_string' case TWO: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:44.12-44.14: error: Expression must be constant case TWO: ^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:47.12-47.16: error: The name `THREE' does not exist in the context of `GCalc.GGroup.to_string' case THREE: ^^^^^ ../gnome-calculator-3.34.1/gcalc/gcalc-ggroup.vala:47.12-47.16: error: Expression must be constant case THREE: ^^^^^ Compilation failed: 12 error(s), 0 warning(s) Expected Results: compile succeeds, and it installs and works Portage 2.3.53 (python 3.6.6-final-0, default/linux/amd64/17.1/desktop, gcc-8.2.0, glibc-2.28-r4, 4.20.0-gentoo x86_64) ================================================================= System uname: Linux-4.20.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.6 KiB Mem: 16045720 total, 9359212 free KiB Swap: 33554428 total, 32572912 free Timestamp of repository gentoo: Thu, 26 Mar 2020 14:00:01 +0000 Head commit of repository gentoo: 53dbf2b5cbe93d769365b5a4794f4c9da5aae495 sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p5) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo dev-util/cmake: 3.13.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.14::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r4::gentoo, 2.31.1-r3::gentoo sys-devel/gcc: 7.3.0-r3::gentoo, 8.2.0-r6::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r4::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-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mfpmath=sse -mtls-dialect=gnu2 -finline-functions-called-once" 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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mfpmath=sse -mtls-dialect=gnu2 -finline-functions-called-once" DISTDIR="/usr/portage/distfiles" 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="-O2 -pipe -march=native -fomit-frame-pointer -mfpmath=sse -mtls-dialect=gnu2 -finline-functions-called-once" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -fomit-frame-pointer -mfpmath=sse -mtls-dialect=gnu2 -finline-functions-called-once" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" 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 alsa amd64 archive bash-completion berkdb binfilter bluetooth bluray branding bzip2 cairo cdda cddb cdr cli consolekit crypt cups dbus dri dts dvb dvd dvdr dvi eds emboss encode exif ffmpeg fftw firebird firefox flac fortran fuse g3dvl gdbm gif gimp glitz gnome gnome-keyring gnomecd gnutls gpm graphite gsm gstreamer gtk gtk2 gtk3 gtkstyle iconv icu idea ipv6 irda jingle jpeg jpeg2k jrtplib laptop lcms ldap libnotify libtirpc lirc lzma mad man mmx mng mp3 mp4 mpeg multilib musepack nautilus ncurses nls nptl nptl-only nsplugin ntptl ogg opengl openmp pam pango pcmcia pcre pda pdf png policykit ppds pulseaudio qt5 readline sdl seccomp sensord smp sound speex spell split-usr sqlite sse sse2 sse3 sse4_1 ssl startup-notification svg systemd tcpd templates theora tiff truetype udev udisks unicode upower usb v4l v4l2 vcd vim-syntax vorbis wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xpm xprint xulrunner xv xvid xvmc yahoo 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="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="mmx mmxext sse sse2" 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" INPUT_DEVICES="evdev keyboard" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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" USERLAND="GNU" VIDEO_CARDS="intel" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 626118 [details, diff] fix_compilation This is a patch that fixes the compilation
Isn't vala-0.36 a bit old ? gnome-calculator-3.34.1 compiles fine for me using vala-0.44
Yes you are right. But then I have a newer vala installed: $ eix vala [I] dev-lang/vala Verfügbare Versionen: (0.36) 0.36.20^t (0.40) 0.40.16^t 0.40.18^t (~)0.40.19^t (0.44) 0.44.9^t 0.44.11^t (0.46) (~)0.46.6^t (0.48) [M](~)0.48.1^t {test valadoc} Installierte Versionen: 0.36.20(0.36)^t(21:31:44 25.03.2020)(-test) 0.46.6(0.46)^t(20:55:29 25.03.2020)(-test -valadoc) Startseite: https://wiki.gnome.org/Projects/Vala Beschreibung: Compiler for the GObject type system Maybe the ebuild should be fixed to use the newer vala version then...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=237542cf8879d8b22c1aeeec4f710fd45088100c commit 237542cf8879d8b22c1aeeec4f710fd45088100c Author: Mart Raudsepp <leio@gentoo.org> AuthorDate: 2020-08-23 13:17:37 +0000 Commit: Mart Raudsepp <leio@gentoo.org> CommitDate: 2020-08-23 16:02:04 +0000 gnome-extra/gnome-calculator: require >=vala-0.40 Fails compilation with vala:0.36 Closes: https://bugs.gentoo.org/714858 Package-Manager: Portage-2.3.103, Repoman-2.3.20 Signed-off-by: Mart Raudsepp <leio@gentoo.org> gnome-extra/gnome-calculator/gnome-calculator-3.34.1.ebuild | 1 + 1 file changed, 1 insertion(+)