Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511770 - dev-vcs/git-2.0.0 fails to build with USE="-perl"
Summary: dev-vcs/git-2.0.0 fails to build with USE="-perl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
: 511758 511842 512086 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-29 09:58 UTC by Tom Li
Modified: 2014-06-02 04:04 UTC (History)
11 users (show)

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


Attachments
build.log (build.log,54.32 KB, text/x-log)
2014-05-29 09:59 UTC, Tom Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Li 2014-05-29 09:58:17 UTC
x86_64-pc-linux-gnu-gcc -o credential-cache--daemon.o -c -MF ./.depend/credential-cache--daemon.o.d -MQ credential-cache--daemon.o -MMD -MP  -O2 -pipe -march=native -Wall -I. -DUSE_LIBPCRE  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DXDL_FAST_HASH -DSHA1_HEADER='"block-sha1/sha1.h"'  -DNO_STRLCPY -DNO_MKSTEMPS -DSHELL_PATH='"/bin/sh"'  credential-cache--daemon.c
x86_64-pc-linux-gnu-gcc -o remote-curl.o -c -MF ./.depend/remote-curl.o.d -MQ remote-curl.o -MMD -MP  -O2 -pipe -march=native -Wall -I. -DUSE_LIBPCRE  -DHAVE_PATHS_H -DHAVE_DEV_TTY -DXDL_FAST_HASH -DSHA1_HEADER='"block-sha1/sha1.h"'  -DNO_STRLCPY -DNO_MKSTEMPS -DSHELL_PATH='"/bin/sh"'  remote-curl.c
make: *** No rule to make target 'git-add--interactive'.  Stop.
make: *** Waiting for unfinished jobs....
    * new script parameters
 * ERROR: dev-vcs/git-2.0.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/git-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/git-2.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/git-2.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/git-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/git-2.0.0/work/git-2.0.0'
 * S: '/var/tmp/portage/dev-vcs/git-2.0.0/work/git-2.0.0'

>>> Failed to emerge dev-vcs/git-2.0.0, Log file:

>>>  '/var/tmp/portage/dev-vcs/git-2.0.0/temp/build.log'

 * Messages for package dev-vcs/git-2.0.0:

 * ERROR: dev-vcs/git-2.0.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/git-2.0.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/git-2.0.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/git-2.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/git-2.0.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/git-2.0.0/work/git-2.0.0'
 * S: '/var/tmp/portage/dev-vcs/git-2.0.0/work/git-2.0.0'


git -add --interactive depends on Perl. Disable Perl support will make it unusable. But the build shouldn't fail.

But since git-2.0.0 released, it seems to have changed.
Comment 1 Tom Li 2014-05-29 09:59:28 UTC
Created attachment 377802 [details]
build.log
Comment 2 Tom Li 2014-05-29 10:01:08 UTC
localhost biergaizi # emerge -pv git

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-vcs/git-2.0.0 [1.9.2] USE="blksha1 curl gpg iconv nls pcre python threads webdav -cgi -cvs -doc -emacs -gnome-keyring -gtk -highlight -mediawiki -perl (-ppcsha1) -subversion {-test} -tk -xinetd" PYTHON_SINGLE_TARGET="python2_7 (-python2_6)" PYTHON_TARGETS="python2_7 (-python2_6)" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Comment 3 Tom Li 2014-05-29 10:01:37 UTC
localhost biergaizi # emerge --info
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19, 3.14.4-e-gaizi x86_64)
=================================================================
System uname: Linux-3.14.4-e-gaizi-x86_64-Intel-R-_Celeron-R-_CPU_440_@_2.00GHz-with-gentoo-2.2
KiB Mem:     1525652 total,    117564 free
KiB Swap:     976556 total,    909548 free
Timestamp of tree: Thu, 29 May 2014 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.5
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
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.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            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.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo gentoo-zh mate-overlay miramir local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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://mirrors.aliyun.com/gentoo/"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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/gentoo-zh /var/lib/layman/mate /var/lib/layman/miramir /usr/local/portage"
SYNC="rsync://mirrors.xmu.edu.cn/gentoo-portage"
USE="X acl alsa amd64 bash-completion berkdb branding bzip2 c++0x cjk cli cracklib crypt cups cxx dbus dri fontconfig fortran gdbm gif gpm gstreamer iconv infinality jpeg libnotify mmx modules multilib ncurses nls nptl opengl openmp pam pcre png policykit pulseaudio python qt3support readline session sse sse2 ssl ssse3 startup-notification svg systemd tcpd truetype udev udisks unicode vim-syntax xdg 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en zh_CN" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel i915" 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 3.4"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Albert W. Hopkins 2014-05-29 10:22:55 UTC
Dupes #511758
Comment 5 Agostino Sarubbo gentoo-dev 2014-05-29 11:08:35 UTC

*** This bug has been marked as a duplicate of bug 511758 ***
Comment 6 Agostino Sarubbo gentoo-dev 2014-05-29 11:09:10 UTC
*** Bug 511758 has been marked as a duplicate of this bug. ***
Comment 7 Sven Wegener gentoo-dev 2014-05-30 04:08:41 UTC
There was a bug in the optional-cvs patch that broke perl handling. I've fixed the patch for another sympton, but this should be fixed as well.
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-05-30 11:24:02 UTC
*** Bug 511842 has been marked as a duplicate of this bug. ***
Comment 9 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2014-05-31 17:44:32 UTC
(In reply to Sven Wegener from comment #7)
> There was a bug in the optional-cvs patch that broke perl handling. I've
> fixed the patch for another sympton, but this should be fixed as well.

That change was enough to warrant a -r1 bump IMO.

Because otherwise, everyone who installed git 2.0.0 with USE="perl" ( the default ) will have a silently broken git installation which they'll have to trip over to realize is there when they get

> fatal: git was built without support for git-add--interactive (NO_PERL=)

And be confused why that conflicts with their USE choices.
Comment 10 Martin Wegner 2014-06-01 01:53:14 UTC
(In reply to Kent Fredric from comment #9)
> (In reply to Sven Wegener from comment #7)
> > There was a bug in the optional-cvs patch that broke perl handling. I've
> > fixed the patch for another sympton, but this should be fixed as well.
> 
> That change was enough to warrant a -r1 bump IMO.
> 
> Because otherwise, everyone who installed git 2.0.0 with USE="perl" ( the
> default ) will have a silently broken git installation which they'll have to
> trip over to realize is there when they get
> 
> > fatal: git was built without support for git-add--interactive (NO_PERL=)
> 
> And be confused why that conflicts with their USE choices.

Signed, I just ran into this problem, about git giving the error ("built without support for git-add--interactive") and had to find my way over a duplicate bug to this comment to find out that I just need to recompile git. A version bump would be justified IMHO.
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-06-02 04:04:56 UTC
*** Bug 512086 has been marked as a duplicate of this bug. ***