Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 514628 - dev-libs/libgit2-glib-0.0.12 fails to build with dev-libs/libgit2-0.21.0
Summary: dev-libs/libgit2-glib-0.0.12 fails to build with dev-libs/libgit2-0.21.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 514856 (view as bug list)
Depends on: 514468
Blocks:
  Show dependency tree
 
Reported: 2014-06-23 06:56 UTC by Justin Lecher (RETIRED)
Modified: 2014-06-24 11:55 UTC (History)
3 users (show)

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


Attachments
libgit2-glib-0.0.12:20140623-063824.log (libgit2-glib-0.0.12:20140623-063824.log,25.06 KB, text/plain)
2014-06-23 06:57 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-23 06:56:00 UTC
ibtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -pthread -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\" -O2 -pipe -ftracer -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration -c ggit-clone-options.c  -fPIC -DPIC -o .libs/ggit-clone-options.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:51: note: declared here
 GIT_EXTERN(int) git_branch_move(
                                                   ^
Makefile:714: recipe for target 'ggit-branch.lo' failed
make[3]: *** [ggit-branch.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
ggit-config.c: In function 'ggit_config_find_global':
ggit-config.c:182:2: warning: passing argument 1 of 'git_config_find_global' from incompatible pointer type [enabled by default]
  if (git_config_find_global (path, GIT_PATH_MAX) != GIT_OK)
  ^
In file included from /usr/include/git2.h:21:0,
                 from ggit-config.h:26,
                 from ggit-config.c:21:
/usr/include/git2/config.h:97:51: note: expected 'struct git_buf *' but argument is of type 'gchar *'
 GIT_EXTERN(int) git_config_find_global(git_buf *out);
                                                   ^
ggit-config.c:182:2: error: too many arguments to function 'git_config_find_global'
  if (git_config_find_global (path, GIT_PATH_MAX) != GIT_OK)
  ^
In file included from /usr/include/git2.h:21:0,
                 from ggit-config.h:26,
                 from ggit-config.c:21:
/usr/include/git2/config.h:97:51: note: declared here
 GIT_EXTERN(int) git_config_find_global(git_buf *out);
                                                   ^
ggit-config.c: In function 'ggit_config_find_system':
ggit-config.c:211:2: warning: passing argument 1 of 'git_config_find_system' from incompatible pointer type [enabled by default]
  if (git_config_find_system (path, GIT_PATH_MAX) != GIT_OK)
  ^
In file included from /usr/include/git2.h:21:0,
                 from ggit-config.h:26,
                 from ggit-config.c:21:
/usr/include/git2/config.h:126:51: note: expected 'struct git_buf *' but argument is of type 'gchar *'
 GIT_EXTERN(int) git_config_find_system(git_buf *out);
                                                   ^
ggit-config.c:211:2: error: too many arguments to function 'git_config_find_system'
  if (git_config_find_system (path, GIT_PATH_MAX) != GIT_OK)
  ^
In file included from /usr/include/git2.h:21:0,
                 from ggit-config.h:26,
                 from ggit-config.c:21:
/usr/include/git2/config.h:126:51: note: declared here
 GIT_EXTERN(int) git_config_find_system(git_buf *out);
                                                   ^
Makefile:714: recipe for target 'ggit-config.lo' failed
make[3]: *** [ggit-config.lo] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-libs/libgit2-glib-0.0.12/work/libgit2-glib-0.0.12/libgit2-glib'
Makefile:561: recipe for target 'all' failed



$ einfo dev-libs/libgit2
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.14.6-lh x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.14.6-lh-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16401216 total,   4154008 free
KiB Swap:    8388600 total,   8388600 free
Timestamp of tree: Mon, 23 Jun 2014 06:00:01 +0000
ld GNU ld (GNU Binutils) 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.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.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 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 Neurogeek docker sunrise betagarden dummy science last-hope
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh /var/spool/torque"
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 -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/mnt/system/portage/distfiles"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer   -march=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 -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 -l8"
PKGDIR="/mnt/system/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="/var/db/portage"
PORTDIR_OVERLAY="/var/lib/layman/neurogeek /var/lib/layman/docker /local/overlays/sunrise-reviewed /local/overlays/betagarden /local/overlays/dummy /local/overlays/sci /local/overlays/lh-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cups cxx dbus dri fortran gdbm gif gmp gstreamer gtk gtk3 iconv icu ipv6 jpeg jpeg2k ldap logrotate mmx mmxext modules multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4_2 sse4a sse5 ssl ssse3 startup-notification 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-32 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" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="clock trash" 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.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND

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

dev-libs/libgit2-0.21.0 was built with the following:
USE="threads -examples -ssh -test -trace"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-06-23 06:56:48 UTC
it works with dev-libs/libgit2-glib-0.0.14
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2014-06-23 06:57:03 UTC
Created attachment 379452 [details]
libgit2-glib-0.0.12:20140623-063824.log

build.log
Comment 3 Tim Harder gentoo-dev 2014-06-23 14:55:04 UTC
I don't see why this is assigned to me if it works with dev-libs/libgit2-glib-0.0.14 (and probably even better with what appears to be a brown paper bag release 0.0.16). Major API changes occurred in dev-libs/libgit2-0.21.0 so obviously it will break older releases.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-06-24 00:59:08 UTC
I suppose for now we will have to follow the example of pygit2 and depend only on the compatible version range of libgit2.

This will be fixed properly when upstream releases gitg-0.3.3 and libgit2-glib-0.0.18.

+*libgit2-glib-0.0.16 (24 Jun 2014)
+
+  24 Jun 2014; Alexandre Rostovtsev <tetromino@gentoo.org>
+  libgit2-glib-0.0.12.ebuild, -libgit2-glib-0.0.14.ebuild,
+  +libgit2-glib-0.0.16.ebuild:
+  Version bump with crasher fix. Require <libgit2-0.21 for 0.0.12 due to API
+  changes.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2014-06-24 11:55:13 UTC
*** Bug 514856 has been marked as a duplicate of this bug. ***