Summary: | =app-backup/deja-dup-34.3 fails to build: widgets/ConfigList.vala:336.39-336.42: error: Argument 1: Cannot pass value to reference or output parameter | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Wegner <gentoo-bugs> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | cafaia, fedeliallalinea, gentoo-bugs, mgorny, paul, sspreitz, treecleaner, troxor0 |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-03-25 | ||
Attachments: |
build.log
Ebuild for deja-dup 38.0 Ebuild for deja-dup 38.4 |
Description
Martin Wegner
2017-09-15 12:58:06 UTC
I've just hit this one too Portage 2.3.14 (python 2.7.14-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-7.2.0, glibc-2.26-r3, 4.14.0-gentoo x86_64) ================================================================= System uname: Linux-4.14.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.4.1 KiB Mem: 8081064 total, 292080 free KiB Swap: 8388928 total, 5605664 free Timestamp of repository gentoo: Mon, 20 Nov 2017 07:00:01 +0000 Head commit of repository gentoo: 43f12cee5009303ea52000cfc507b16621143e6b sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p2) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.6-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.8::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: 5.4.0-r3::gentoo, 6.4.0::gentoo, 7.2.0::gentoo sys-devel/gcc-config: 1.9.0::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r3::gentoo Repositories: nelz location: /mnt/portage/nelz masters: gentoo priority: 15 gentoo location: /var/portage sync-type: rsync sync-uri: rsync://portage.digimed.co.uk/portage priority: 20 sync-rsync-extra-opts: sunrise location: /mnt/portage/layman/sunrise masters: gentoo priority: 50 digimed location: /mnt/portage/local masters: gentoo priority: 100 Installed sets: @dependencies, @kde, @kernels, @laptop, @temp ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /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/init.d /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="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --jobs --load-average 7 --quiet-unmerge-warn --backtrack=20" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg 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" GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://tux.rainside.sk/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://gentoo.localhost.net.ar/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="--jobs 8 --load 10" PKGDIR="/mnt/portage/packages/fenchurch" 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="X a52 aac aalib acpi activities alsa amd64 apng audiofile bluetooth bluray branding btrfs bzip2 cairo cdda cddb cdr cli cracklib crypt cryptsetup cups curl cxx dbus declarative device-mapper djvu dri dts dvb dvd dvdr ebook emacs encode exif fam ffmpeg flac gdbm gif gimp glamor gmp gnutls gpg gphoto2 gpm gtk iconv id3 imagemagick imap java jpeg jpeg2k kde kdeenablefinal kdeprefix kipi kwallet laptop libnotify libwww lzma lzo mad mmx mmxext mng modules mp3 mp4 mpeg mplayer mtp multilib musicbrainz ncurses network-cron nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf phonon plasma png policykit pulseaudio qml qt3support qt4 qt5 quicktime rdesktop readline real scanner sdl seccomp semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb v4l v4l2 vorbis webkit widgets wifi win32codecs wxwidgets x264 xattr xcb xcomposite xinerama xml xmp xulrunner xv xvid zlib zsh-completion" 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="braindump flow karbon kexi krita sheets stage words" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="apache apcups battery cgroups cpu cpufreq curl df disk ethstat exec filecount interface load logfile md memory network nfs notify_desktop notify_email ntpd ping processes python rrdtool sensors syslog tail thermal uptime vmem wireless" 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 isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22 ruby22" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="vesa 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Patch available upstrem https://git.launchpad.net/deja-dup/patch/?id=0b445d58ec72f3e3991cef139e2b2a4e802ae42f Reference: https://bugs.launchpad.net/deja-dup/+bug/1668915 Confirmed, experiencing exact same problem /var/tmp/portage/app-backup/deja-dup-34.3/work/deja-dup-34.3/deja-dup/widgets/ConfigList.vala:336.39-336.42: error: Argument 1: Cannot pass value to reference or output parameter (model as Gtk.ListStore).remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:400.18-400.21: error: Argument 1: Cannot pass value to reference or output parameter store.remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:405.22-405.29: error: Argument 1: Cannot pass value to reference or output parameter store.remove(sep_iter); ^^^^^^^^ Created attachment 554808 [details]
Ebuild for deja-dup 38.0
Version 38.0 builds successfully. Ebuild attached.
Created attachment 576264 [details]
Ebuild for deja-dup 38.4
Ebuild for deja-dup 38.4
Version 38.4 builds successfully with this ebuild. It also updates the project source which moved to Gnome gitlab.
Confirmed, experiencing exact same problem Does the old version build fine with some versions of vala? I know it doesn't build with 0.44 or newer, but I didn't realize it has problems with other versions too (I haven't installed the external deps it needs to my main computer and so hadn't really tested fully). Could someone test what vala versions are fine for the old version, so we can fix that up too? You can do so by editing the deja-dup-34.3.ebuild (and re-manifesting if from rsync) and going through the available vala versions with VALA_MIN_API_VERSION and VALA_MAX_API_VERSION (note that there's already a MAX for the known breakage with 0.44, hence you modify that for this test) So to test if it works with 0.36, you'd edit it to VALA_MIN_API_VERSION="0.36" VALA_MAX_API_VERSION="0.36" before the inherit line, and test it (perhaps also see from configure run that it picked 0.36, if a previous failure is around in PORTAGE_TMPDIR, you may need to remove it for it to not reuse the old environment with different vala version). Do that for all of 0.36, 0.40 and 0.42 and report back, so we can fix the old stable version too - if one or more of these actually work still (but maybe it's broken ever since 0.36, needing 0.34 to build, which isn't available anymore). Of course the bump needs to still be made, but then we don't need to worry about stabling a huge version bump immediately with its own can of worms. I've tested with Vala versions 0.36, 0.40 and 0.42 by setting VALA_MIN_API_VERSION and VALA_MAX_API_VERSION, they all result with build failures with similar errors. I've verified in the build log that the expected valac version is being used. 0.36 ERROR /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigList.vala:336.39-336.42: error: Argument 1: Cannot pass value to reference or output parameter (model as Gtk.ListStore).remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:400.18-400.21: error: Argument 1: Cannot pass value to reference or output parameter store.remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:405.22-405.29: error: Argument 1: Cannot pass value to reference or output parameter store.remove(sep_iter); ^^^^^^^^ 0.40 ERROR 6.42: error: Argument 1: Cannot pass value to reference or output parameter cd /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3_build/libdeja/tests/unit && /usr/bin/x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3_build/libdeja -DNDEBUG -O2 -march=native -pipe -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -pthread -I/usr/include/libpeas-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gobject-introspection-1.0 -pthread -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi-3.3_rc0/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -w -DPACKAGE=\"deja-dup\" -DGETTEXT_PACKAGE=\"deja-dup\" -DVERSION=\"34.3\" -DLOCALE_DIR=\"/usr/share/locale\" -DTHEME_DIR=\"/usr/share/icons\" -DPKG_DATA_DIR=\"/usr/share/deja-dup\" -DPKG_LIBEXEC_DIR=\"/usr/libexec/deja-dup\" -o CMakeFiles/network-test.dir/unit-tests.c.o -c /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3_build/libdeja/tests/unit/unit-tests.c (model as Gtk.ListStore).remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:400.18-400.21: error: Argument 1: Cannot pass value to reference or output parameter store.remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:405.22-405.29: error: Argument 1: Cannot pass value to reference or output parameter store.remove(sep_iter); 0.42 ERROR /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigList.vala:336.39-336.42: error: Argument 1: Cannot pass value to reference or output parameter (model as Gtk.ListStore).remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:400.18-400.21: error: Argument 1: Cannot pass value to reference or output parameter store.remove(iter); ^^^^ /var/tmp/portage/app-backup/deja-dup-34.3-r1/work/deja-dup-34.3/deja-dup/widgets/ConfigLocation.vala:405.22-405.29: error: Argument 1: Cannot pass value to reference or output parameter store.remove(sep_iter); Package removed. |