Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 784842 - app-accessibility/caribou-0.4.21-r3 - Caribou-1.0.gir:In NullAdapter: error: Cant resolve type _Caribou.DisplayAdapter for field C
Summary: app-accessibility/caribou-0.4.21-r3 - Caribou-1.0.gir:In NullAdapter: error: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Matthew Turnbull
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-04-21 17:36 UTC by Toralf Förster
Modified: 2021-05-31 15:27 UTC (History)
7 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.14 KB, text/plain)
2021-04-21 17:36 UTC, Toralf Förster
Details
app-accessibility:caribou-0.4.21-r3:20210421-161856.log (app-accessibility:caribou-0.4.21-r3:20210421-161856.log,74.54 KB, text/plain)
2021-04-21 17:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,222.98 KB, text/plain)
2021-04-21 17:36 UTC, Toralf Förster
Details
environment (environment,110.64 KB, text/plain)
2021-04-21 17:36 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.67 KB, application/x-bzip)
2021-04-21 17:36 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.83 KB, application/x-bzip)
2021-04-21 17:37 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.69 KB, application/x-bzip)
2021-04-21 17:37 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-21 17:36:50 UTC
/usr/bin/python3.8 -B ../tools/fix_gir.py _Caribou-1.0.gir > Caribou-1.0.gir
/usr/bin/g-ir-compiler --shared-library=libcaribou.so.0 -o Caribou-1.0.typelib Caribou-1.0.gir
Caribou-1.0.gir:In NullAdapter: error: Can't resolve type '_Caribou.DisplayAdapter' for field Caribou.NullAdapter.parent_instance
make[1]: *** [Makefile:1207: Caribou-1.0.typelib] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-accessibility/caribou-0.4.21-r3/work/caribou-0.4.21/libcaribou'
make: *** [Makefile:474: all-recursive] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20210415-101632

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-10.3.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.18.0 [icedtea-8]
2)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   jamvm 
  [3]   openjdk-bin-8  system-vm


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 21 16:05:02 UTC 2021

emerge -qpvO app-accessibility/caribou
[ebuild  N    ] app-accessibility/caribou-0.4.21-r3  PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2021-04-21 17:36:52 UTC
Created attachment 701520 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-21 17:36:53 UTC
Created attachment 701523 [details]
app-accessibility:caribou-0.4.21-r3:20210421-161856.log
Comment 3 Toralf Förster gentoo-dev 2021-04-21 17:36:56 UTC
Created attachment 701526 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-21 17:36:57 UTC
Created attachment 701529 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-21 17:36:58 UTC
Created attachment 701532 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-21 17:37:00 UTC
Created attachment 701535 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-21 17:37:01 UTC
Created attachment 701538 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-05-15 12:47:24 UTC
Seems fine with VALA_MAX_API_VERSION="0.50"
Comment 9 cmcgregor 2021-05-15 14:34:30 UTC
Downgrading vala to 0.50.7 and using VALA_MAX_API_VERSION="0.50" emerge caribou does in fact make it install in ~amd64, using vala 0.53 fails with the original error. Not a great fix but better than nothing while waiting for a version that compiles with newer vala.
Comment 10 Adam Jones 2021-05-15 15:28:48 UTC
Can confirm that VALA_MAX_API_VERSION="0.50" works around this issue for me.
Comment 11 Larry the Git Cow gentoo-dev 2021-05-31 15:27:25 UTC
The bug has been closed via the following commit(s):

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

commit daceb717f3b577a091b3d5f719ae197d60788eff
Author:     Matthew S. Turnbull <sparky@bluefang-logic.com>
AuthorDate: 2021-05-30 05:16:01 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-05-31 15:25:40 +0000

    app-accessibility/caribou: Set vala max api version to fix build
    
    Pr: https://github.com/gentoo/gentoo/pull/21047
    Closes: https://bugs.gentoo.org/784842
    Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com>
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 app-accessibility/caribou/caribou-0.4.21-r3.ebuild | 2 ++
 1 file changed, 2 insertions(+)