Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514468 - dev-vcs/gitg-0.3.2 incompatible with >=dev-libs/libgit2-glib-0.0.14, fails to configure with error: no, please recompile a threadsafe version of libgit2 (-DTHREADSAFE:BOOL=ON)
Summary: dev-vcs/gitg-0.3.2 incompatible with >=dev-libs/libgit2-glib-0.0.14, fails to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Auty (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 514628
  Show dependency tree
 
Reported: 2014-06-22 16:08 UTC by Justin Lecher (RETIRED)
Modified: 2014-11-24 05:30 UTC (History)
4 users (show)

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


Attachments
config.log (config.log,52.67 KB, text/plain)
2014-06-22 16:09 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2014-06-22 16:08:50 UTC
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for sinf in -lm... yes
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBGITG... yes
checking for libgit2-glib threading support... configure: error: no, please recompile a threadsafe version of libgit2 (-DTHREADSAFE:BOOL=ON)

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-vcs/gitg-0.3.2/work/gitg-0.3.2/config.log
 * ERROR: dev-vcs/gitg-0.3.2::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *          ebuild.sh, line   93:  Called src_configure


$ einfo gitg
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.3-asneeded, glibc-2.19-r1, 3.15.1-lh-nvidia x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.15.1-lh-nvidia-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16344036 total,   5362108 free
KiB Swap:    3987452 total,   3987452 free
Timestamp of tree: Sun, 22 Jun 2014 15:00:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.6.9, 2.7.6-r1, 3.2.5-r4, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
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.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.4, 4.7.4, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.15 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo sunrise bicatali betagarden dummy Neurogeek science Raspberry-Pi-Overlay last-hope g-ctan
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer   -march=native -mtune=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/systemd/system /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh"
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="-O2 -pipe -ftracer   -march=native -mtune=native -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer   -march=native -mtune=native -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache cgroup collision-protect compressdebug distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ftracer   -march=native -mtune=native -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j12 -l9"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--omit-dir-times"
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="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/gen2pi /local/overlays/lh-overlay /local/overlays/g-ctan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cxx dbus dri fortran gdbm gif gmp gnome gnome-keyring gstreamer gtk iconv icu ipv6 jpeg jpeg2k mmx mmxext modules multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support raw readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification systemd tcpd threads tiff truetype unicode vaapi vdpau xattr xinerama zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport scripting-javascript wiki-publisher nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4 pypy" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND

=================================================================
                        Package Settings
=================================================================

dev-vcs/gitg-0.3.2 was built with the following:
USE="python -debug -glade" PYTHON_TARGETS="python3_2 python3_3"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-06-22 16:09:06 UTC
Created attachment 379414 [details]
config.log

config.log
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-06-22 21:05:41 UTC
Justin, that's what happens when bumping libgit2-glib without checking reverse dependencies :)

libgit2-glib-0.0.14 changed its API [1], and there is no corresponding gitg release yet. Masking until gitg-0.3.3 (or whatever the next version number will be) is released.

[1] https://git.gnome.org/browse/libgit2-glib/commit/?id=91db08d3bd25dabe967865894ee8645e6e661d11

+  22 Jun 2014; Alexandre Rostovtsev <tetromino@gentoo.org> package.mask:
+  Mask >=dev-libs/libgit2-glib-0.0.14 until a compatible gitg version is
+  released (bug #514468).
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-06-22 21:20:26 UTC
Reported upstream: https://bugzilla.gnome.org/show_bug.cgi?id=732062
Comment 4 PhobosK 2014-06-24 06:42:38 UTC
The problem is that now after dev-libs/libgit2-0.21.0 is in portage, dev-libs/libgit2-glib-0.0.12 fails to compile too (because of API changes) with this error:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -pthread -I/usr/kerberos/include -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi-3.1/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -DDATADIR=\"/usr/share\" -DLIBDIR=\"/usr/lib64\" -march=native -O2 -pipe -c ggit-branch.c  -fPIC -DPIC -o .libs/ggit-branch.o
ggit-branch.c: In function ‘ggit_branch_move’:
ggit-branch.c:104:25: error: too few arguments to function ‘git_branch_move’
                         force ? 1 : 0);
                         ^
In file included from /usr/include/git2.h:14:0,
                 from ../libgit2-glib/ggit-ref.h:25,
                 from ggit-branch.h:24,
                 from ggit-branch.c:21:
/usr/include/git2/branch.h:132:17: note: declared here
 GIT_EXTERN(int) git_branch_move(
                 ^
Makefile:714: recipe for target 'ggit-branch.lo' failed

Thus bumping dev-libs/libgit2 to 0.21.0 leads to unusable/broken:
dev-libs/libgit2-glib and dev-vcs/gitg
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-06-24 11:57:24 UTC
(In reply to PhobosK from comment #4)

Please resync; libgit2-glib-0.0.12 now depends on <libgit2-0.21 (see bug #514628).
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-11-24 05:30:10 UTC
Fixed by a non-maintainer commit:

+*gitg-3.14.0 (24 Nov 2014)
+
+  24 Nov 2014; Alexandre Rostovtsev <tetromino@gentoo.org> gitg-0.3.2.ebuild,
+  +gitg-3.14.0.ebuild:
+  Non-maintainer version bump for compatibility with current versions of
+  libgit2-glib; see bug #514468.

Mike, note that libgit2-glib and gitg have the same upstream developer team which is part of gnome, so you should probably add gnome@gentoo.org to gitg maintainers list.