Bug 247487 - dev-util/git-1.6.0.4 tries to install git-cvsserver with USE="-perl"
|
Bug#:
247487
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: ferdy@gentoo.org
|
Reported By: bernd@lommerzheim.com
|
|
Component: Development
|
|
|
URL:
|
|
Summary: dev-util/git-1.6.0.4 tries to install git-cvsserver with USE="-perl"
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2008-11-18 19:28 0000
|
Today I wanted to upgrade dev-util/git on my ~x86 box:
[ebuild U ] dev-util/git-1.6.0.4 [1.6.0.3] USE="iconv -bash-completion -cgi
-curl -cvs -doc -emacs -gtk -mozsha1 -perl (-ppcsha1) -subversion -threads -tk
-vim-syntax -webdav -xinetd" 0 kB
That fails with the following error:
>>> Install git-1.6.0.4 into /var/tmp/portage/dev-util/git-1.6.0.4/image/ category dev-util
SUBDIR templates
install -d -m 755 '/var/tmp/portage/dev-util/git-1.6.0.4/image//usr/bin'
install -d -m 755
'/var/tmp/portage/dev-util/git-1.6.0.4/image//usr/libexec/git-core'
install git-fast-import git-fetch-pack git-hash-object git-index-pack
git-merge-index git-merge-tree git-mktag git-mktree git-pack-redundant
git-patch-id git-receive-pack git-send-pack git-show-index git-unpack-file
git-update-server-info git-upload-pack git-var git-daemon git-imap-send
git-shell git-am git-bisect git-filter-branch git-lost-found git-merge-octopus
git-merge-one-file git-merge-resolve git-mergetool git-parse-remote git-pull
git-quiltimport git-rebase--interactive git-rebase git-repack git-request-pull
git-sh-setup git-stash git-submodule git-web--browse
'/var/tmp/portage/dev-util/git-1.6.0.4/image//usr/libexec/git-core'
install git git-upload-pack git-receive-pack git-upload-archive git-shell
git-cvsserver '/var/tmp/portage/dev-util/git-1.6.0.4/image//usr/bin'
install: cannot stat `git-cvsserver': No such file or directory
make: *** [install] Error 1
*
* ERROR: dev-util/git-1.6.0.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 2640: Called die
* The specific snippet of code:
* emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || die "make
install failed";
* The die message:
* make install failed
*
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/environment'.
*
* Messages for package dev-util/git-1.6.0.4:
*
* ERROR: dev-util/git-1.6.0.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 2640: Called die
* The specific snippet of code:
* emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || die "make
install failed";
* The die message:
* make install failed
*
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/environment'.
*
Although I do not want to install the cvs parts of git "make install" tries to
install them. As there were no changes in the ebuild and patches between the
1.6.0.3 und .4 release I reviewed the git history and found the following
commit:
http://repo.or.cz/w/git.git?a=commitdiff;h=1df2a1ce806de11d382816644cc971d16aab06b7
I think this change in the Makefile introduced that bug. A solution would be to
revert that commit when the USE flag "cvs" is not set:
if ! use cvs ; then
sed -i -e '1358s/$X git-cvsserver//' Makefile
fi
Or something like that. (Sorry, I did not test that code.)
Hope that this bug can be fixed soon. Thanks.
Reproducible: Always
Steps to Reproduce:
1. dev-util/git with the only USE flag "iconv"
2. emerge -1 =dev-util/git-1.6.0.4
Actual Results:
error while "make install"
Reassigning to maintainer...
Same problem here:
emerge -av git
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-util/git-1.6.0.4 [1.5.6.3] USE="bash-completion iconv
vim-syntax -cgi -curl -cvs -doc -emacs -gtk -mozsha1 -perl (-ppcsha1)
-subversion -threads -tk -webdav -xinetd" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No]
--------------snip-----------------------
install: cannot stat `git-cvsserver': No such file or directory
make: *** [install] Error 1
*
* ERROR: dev-util/git-1.6.0.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 2642: Called die
* The specific snippet of code:
* emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || die "make
install failed";
* The die message:
* make install failed
*
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/environment'.
*
-------------------------------------
emerge --info:
Portage 2.1.4.5 (hardened/linux/x86/2008.0, gcc-3.4.6, glibc-2.6.1-r0,
2.6.25-hardened-r3 i686)
=================================================================
System uname: 2.6.25-hardened-r3 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Timestamp of tree: Tue, 18 Nov 2008 21:00:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r2
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl bash-completion berkdb bzip2 cli cracklib crypt dri gdbm hardened
iconv isdnlog midi mmx mudflap ncurses nptl nptlonly openmp pam pcre perl pic
pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode
urandom vim-syntax x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY
Same problem here:
emerge -av git
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-util/git-1.6.0.4 [1.5.6.3] USE="bash-completion iconv
vim-syntax -cgi -curl -cvs -doc -emacs -gtk -mozsha1 -perl (-ppcsha1)
-subversion -threads -tk -webdav -xinetd" 0 kB
Total: 1 package (1 upgrade), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No]
--------------snip-----------------------
install: cannot stat `git-cvsserver': No such file or directory
make: *** [install] Error 1
*
* ERROR: dev-util/git-1.6.0.4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_install
* environment, line 2642: Called die
* The specific snippet of code:
* emake ${MY_MAKEOPTS} DESTDIR="${D}" prefix=/usr install || die "make
install failed";
* The die message:
* make install failed
*
* If you need support, post the topmost build error, and the call stack if
relevant.
* A complete build log is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/build.log'.
* The ebuild environment file is located at
'/var/tmp/portage/dev-util/git-1.6.0.4/temp/environment'.
*
-------------------------------------
emerge --info:
Portage 2.1.4.5 (hardened/linux/x86/2008.0, gcc-3.4.6, glibc-2.6.1-r0,
2.6.25-hardened-r3 i686)
=================================================================
System uname: 2.6.25-hardened-r3 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Timestamp of tree: Tue, 18 Nov 2008 21:00:01 +0000
app-shells/bash: 3.2_p33
dev-lang/python: 2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.61-r2
sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl bash-completion berkdb bzip2 cli cracklib crypt dri gdbm hardened
iconv isdnlog midi mmx mudflap ncurses nptl nptlonly openmp pam pcre perl pic
pppd python readline reflection session spl sse sse2 ssl sysfs tcpd unicode
urandom vim-syntax x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp
atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968
fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx
via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY
*** Bug 247592 has been marked as a duplicate of this bug. ***
Same here, when trying to rebuild without the perl USE flag to avoid the
current perl package breakage, but I took the additional step of adding the cvs
USE flag and trying to rebuild git with the same results:
$ sudo paludis -i1 dev-util/git
Building target list...
Building dependency list...
These packages will be installed:
* dev-util/git [R 1.6.0.4] <target>
bash-completion -cgi curl cvs* -doc -emacs gtk iconv -mozsha1 -perl*
(-ppcsha1) -subversion -threads -tk -vim-syntax -webdav -xinetd
Total: 1 package (1 rebuild)
Use flags:
* cvs: Enable CVS (Concurrent Versions System) integration
* perl: Adds support/bindings for the Perl language
(1 of 1) Installing dev-util/git-1.6.0.4:0::gentoo
---snip---
>>> Starting src_install
make -j8 NO_EXPAT=YesPlease NO_TCLTK=YesPlease NO_PERL=YesPlease
NO_SVN_TESTS=YesPlease DESTDIR=/var/tmp/paludis/dev-util-git-1.6.0.4/image/
prefix=/usr install
SUBDIR templates
install -d -m 755 '/var/tmp/paludis/dev-util-git-1.6.0.4/image//usr/bin'
install -d -m 755
'/var/tmp/paludis/dev-util-git-1.6.0.4/image//usr/libexec/git-core'
install git-fast-import git-fetch-pack git-hash-object git-index-pack
git-merge-index git-merge-tree git-mktag git-mktree git-pack-redundant
git-patch-id git-receive-pack git-send-pack git-show-index git-unpack-file
git-update-server-info git-upload-pack git-var git-daemon git-imap-send
git-shell git-am git-bisect git-filter-branch git-lost-found git-merge-octopus
git-merge-one-file git-merge-resolve git-mergetool git-parse-remote git-pull
git-quiltimport git-rebase--interactive git-rebase git-repack git-request-pull
git-sh-setup git-stash git-submodule git-web--browse
'/var/tmp/paludis/dev-util-git-1.6.0.4/image//usr/libexec/git-core'
install git git-upload-pack git-receive-pack git-upload-archive git-shell
git-cvsserver '/var/tmp/paludis/dev-util-git-1.6.0.4/image//usr/bin'
install: cannot stat `git-cvsserver': No such file or directory
make: *** [install] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2
Portage 2.2_rc14 (default/linux/amd64/2008.0/desktop, gcc-4.3.2,
glibc-2.8_p20080602-r0, 2.6.27-gentoo-r2 x86_64)
=================================================================
System uname:
Linux-2.6.27-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-glibc2.2.5
Timestamp of tree: Wed, 19 Nov 2008 23:16:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python: 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild
/etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs
protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/
http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/zugaina /usr/local/overlays/paludis-extras
/usr/local/overlays/sunrise /usr/local/overlays/gnome
/usr/local/overlays/desktop-effects /usr/local/overlays/vmware
/usr/local/overlays/ikelos /usr/local/overlays/java-overlay
/usr/local/overlays/berkano /usr/local/overlays/myoverlay"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr bash-completion berkdb bluetooth
branding bzip2 cairo cdda cdr cli cracklib crypt css cups dbus dri dts dvd dvdr
dvdread eds emboss encode esd evo fam ffmpeg flac fortran gdbm gif glitz gnome
gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap
libnotify mad midi mikmod mmx mono mp3 mpeg mudflap multilib ncurses nls nptl
nptlonly ogg opengl openmp pam pcre pdf perl pic png ppds pppd python
qt3support qt4 quicktime readline reflection ruby samba sdl session spell spl
sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype
unicode usb userlocales vcd vorbis x264 xml xorg xulrunner xv xvid zlib"
ALSA_CARDS="cmipci hdaintel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="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 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" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en"
USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Fixing summary as this bug gets triggered by the perl USE flag being unset and
thus git-cvsserver isn't created by the build system.
Created an attachment (id=172433) [details]
git-1.6.0.4-install-cvsserver-fix.patch
How about this possible fix? I just moved installation of git-cvsserver into
the "ifndef NO_PERL" condition of the Makefile's install target which fixes the
problem for me.
I had the problem and the patch worked here, too.
*** Bug 248516 has been marked as a duplicate of this bug. ***