Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497018 - dev-util/anjuta-3.10.2 compilation fails
Summary: dev-util/anjuta-3.10.2 compilation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: gnome-3.10
  Show dependency tree
 
Reported: 2014-01-04 21:58 UTC by Mark R. Pariente
Modified: 2014-01-21 23:57 UTC (History)
1 user (show)

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


Attachments
Patch to bump up VALA_MIN_API_VERSION to 0.22 (anjuta-3.10.2-min-vala-version.patch,517 bytes, patch)
2014-01-04 22:04 UTC, Mark R. Pariente
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark R. Pariente 2014-01-04 21:58:45 UTC
Trying to emerge dev-util/anjuta-3.10.2 fails for me with:

Making all in language-support-vala
make[3]: Entering directory '/var/tmp/portage/dev-util/anjuta-3.10.2/work/anjuta-3.10.2/plugins/language-support-vala'
/usr/bin/valac-0.20  --vapidir . --pkg libvala-0.22 --pkg libanjuta-3.0 --pkg gtk+-3.0 -C config.vapi locator.vala plugin.vala provider.vala report.vala
LC_ALL=C /usr/bin/intltool-merge  -x -u --no-translations org.gnome.anjuta.plugins.vala.gschema.xml.in org.gnome.anjuta.plugins.vala.gschema.xml
error: Package `libvala-0.22' not found in specified Vala API directories or GObject-Introspection GIR directories
Compilation failed: 1 error(s), 0 warning(s)
Makefile:933: recipe for target 'libanjuta_language_vala_la_vala.stamp' failed
make[3]: *** [libanjuta_language_vala_la_vala.stamp] Error 1
make[3]: *** Waiting for unfinished jobs....
Merging translations into org.gnome.anjuta.plugins.vala.gschema.xml.
CREATED org.gnome.anjuta.plugins.vala.gschema.xml
make[3]: Leaving directory '/var/tmp/portage/dev-util/anjuta-3.10.2/work/anjuta-3.10.2/plugins/language-support-vala'
Makefile:523: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-util/anjuta-3.10.2/work/anjuta-3.10.2/plugins'
Makefile:668: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-util/anjuta-3.10.2/work/anjuta-3.10.2'
Makefile:534: recipe for target 'all' failed
make: *** [all] Error 2

Looks like the cmdline is using valac-0.20 but passing --pkg libvala-0.22 to it. On my system both dev-lang/vala-0.20.1:0/0.20 and dev-lang/vala:0.22.0:0/0.22 are installed.

Reproducible: Always




Portage 2.2.7 (default/linux/amd64/13.0/desktop/gnome, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo x86_64)
=================================================================
System uname: Linux-3.12.6-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.2
KiB Mem:    12281448 total,   2682192 free
KiB Swap:   16787888 total,  16787888 free
Timestamp of tree: Sat, 04 Jan 2014 21:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24
sys-devel/gcc:            4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo vmware mrpdaemon steam-overlay sunrise r3pek megacoffee Mark-s-local-portage-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf"
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 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.gossamerhost.com http://gentoo.mirrors.hoobly.com/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l9"
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/vmware /var/lib/layman/mrpdaemon /var/lib/layman/steam /var/lib/layman/sunrise /var/lib/layman/r3pek /var/lib/layman/megacoffee /usr/local/portage"
SYNC="rsync://rsync27.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluray branding bzip2 cairo cdda cdr cli clutter colord cracklib crypt cscope cups cxx dbus dri dts dv dvd dvdr eds emboss encode evo exif faac fam ffmpeg firefox flac fortran gdbm gif git glade gnome gnome-keyring gnome-online-accounts gphoto2 gpm gstreamer gtk iconv introspection ipv6 jabber jpeg lcms libnotify libsecret mad mmx mmxext mng modules mp3 mp4 mpeg msn mudflap multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline rtmp sdl session socialweb spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb v4l vala vdpau vim-syntax vorbis vpx wxwidgets x264 xcb xml xv xvid xvmc 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 access_compat" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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 1 Mark R. Pariente 2014-01-04 22:04:17 UTC
Created attachment 367018 [details, diff]
Patch to bump up VALA_MIN_API_VERSION to 0.22

It compiles fine when I bump up VALA_MIN_API_VERSION to 0.22. Patch attached.
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-01-21 23:57:55 UTC
+  21 Jan 2014; Gilles Dartiguelongue <eva@gentoo.org> anjuta-3.10.2.ebuild:
+  Raise vala to latest version proposed by configure, bug #497018.
+

Got tricked by the logic of this test. It actually tries to find the greatest possible vala installed, not just one that it can find via our eclass tricks so we need to set this version if it exists otherwise there is an inconsistency between the detected libvala and the available valac which breaks the build.

The ebuild is now fixed, thanks for reporting.