Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300498 - Rebuild of app-crypt/mit-krb5-1.6.3-r6 fails because of missing Patch
Summary: Rebuild of app-crypt/mit-krb5-1.6.3-r6 fails because of missing Patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major with 1 vote (vote)
Assignee: Gentoo Kerberos Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-10 22:32 UTC by Frank Krömmelbein
Modified: 2010-01-12 16:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Krömmelbein 2010-01-10 22:32:54 UTC
After the stabilization of a new glibc Version, I tried to rebuild system and later than world
But the stable mit-krb5 Version fails:

[ebuild   R   ] app-crypt/mit-krb5-1.6.3-r6  USE="-doc -krb4"

CPV:  app-crypt/mit-krb5-1.6.3-r6
REPO: gentoo
USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking krb5-1.6.3-signed.tar to /var/tmp/portage/app-crypt/mit-krb5-1.6.3-r6/work
>>> Unpacking mit-krb5-1.6.3-patches-0.5.tar.bz2 to /var/tmp/portage/app-crypt/mit-krb5-1.6.3-r6/work
>>> Unpacking ./krb5-1.6.3.tar.gz to /var/tmp/portage/app-crypt/mit-krb5-1.6.3-r6/work

Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:

  
  (  )

ERROR: app-crypt/mit-krb5-1.6.3-r6 failed:
  Cannot find $EPATCH_SOURCE!
Call stack:
    ebuild.sh, line   48:  Called src_unpack
  environment, line 3430:  Called epatch ''
  environment, line 1769:  Called die
The specific snippet of code:
              die "Cannot find \$EPATCH_SOURCE!";

If you need support, post the output of 'emerge --info =app-crypt/mit-krb5-1.6.3-r6',
the complete build log and the output of 'emerge -pqv =app-crypt/mit-krb5-1.6.3-r6'.
The complete build log is located at '/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r6/temp/build.log'.
The ebuild environment file is located at '/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r6/temp/environment'.
S: '/var/tmp/portage/app-crypt/mit-krb5-1.6.3-r6/work/krb5-1.6.3/src'



Portage 2.2_rc61 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.32-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 10 Jan 2010 22:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r2
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.1.0_beta1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LANG="de_DE"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/portage/layman/vdr-testing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi additions alsa amd64 atmo automount berkdb bidi bluetooth bzip2 cairo cdaudio cdda cddb cdio cdparanoia cdr chipcard cli consolekit cracklib crypt css cups cupsddk cxx daap dbus dc1394 dhcp dri dts dv dvb dvd dvdr eds embedded emboss encode evo exif faac faad fam fat fax ffmpeg firefox flac fortran fts3 gdbm geldkarte gif gimp git glib glitz gphoto2 gpm gstreamer gtk hal hbci htmlhandbook httpd iconv id3tag ieee1394 ifp intel ipv6 java joystick jpeg kde kde4 kerberos kipi lame lcms ldap libnotify libv4l2 lightning lirc live lm_sensors loop-aes lzma mad matroska melt mikmod mjpeg mmx mng modules mp3 mp4 mpeg mtp mudflap multilib mysql ncurses network-cron networkmanager nls nptl nptlonly nsplugin ntfs ntp oav ogg openexr opengl openmp oss pam pcmcia pcre pda pdf perl plasma png policykit ppds pppd python qt3support qt4 quicktime rar raw rdesktop rdp readline reflection reiserfs remoteosd rss samba scanner schroedinger sdl server session skins spell spl sqlite srt sse sse2 ssl ssse3 startup-notification stream svg sysfs taglib tcpd thumbnail thunar tiff tordns truetype twolame unicode unsupported upnp usb v4l v4l2 vcd vcdinfo vdpau visualization vlm vnc vorbis webcam webinterface webkit wifi wma wps wxwidgets wxwindows x264 xattr xcb xcomposite xfs xine xinerama xml xorg xrandr xscreensaver xulrunner xv xvid xvmc zlib" 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" 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="evdev keyboard mouse joystick synaptics vmmouse virtualbox" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="all" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev intel nv radeon v4l vesa vga via vmware fglrx nvidia radeonhd virtualbox" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Dmitry Ivankov 2010-01-10 23:34:52 UTC
Same here.
Buggy line is
    EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
with PATCHDIR undefined. Should it be "${FILESDIR}"?
Comment 2 Dmitry Ivankov 2010-01-10 23:47:52 UTC
(In reply to comment #1)
> Same here.
> Buggy line is
>     EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
> with PATCHDIR undefined. Should it be "${FILESDIR}"?
No, it shouldn't, should be "${WORKDIR}/patch" to where the mit-krb5-1.6.3-patches-0.5.tar.bz2 unpacks.
Comment 3 Larry D. Pyeatt 2010-01-11 05:49:57 UTC
Here is a context diff that fixes the problem.
Apply with patch from / or use -p to strip leading path.

*** /usr/portage/app-crypt/mit-krb5/mit-krb5-1.7-r1.ebuild	Wed Jul 29 03:27:48 2009
--- /usr/portage/app-crypt/mit-krb5/mit-krb5-1.7-r2.ebuild	Sun Jan 10 23:19:06 2010
***************
*** 1,6 ****
! # Copyright 1999-2009 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
! # $Header: /var/cvsroot/gentoo-x86/app-crypt/mit-krb5/mit-krb5-1.7-r1.ebuild,v 1.1 2009/07/29 08:27:48 ssuominen Exp $
  
  inherit eutils flag-o-matic versionator
  
--- 1,6 ----
! # Copyright 1999-2010 Gentoo Foundation
  # Distributed under the terms of the GNU General Public License v2
! # $Header: $
  
  inherit eutils flag-o-matic versionator
  
***************
*** 32,38 ****
  	unpack ./${MY_P}.tar.gz
  	cd "${S}"
  	EPATCH_EXCLUDE="0001_all_lazyldflags.patch" EPATCH_SUFFIX="patch" \
! 		epatch "${PATCHDIR}"
  	einfo "Regenerating configure scripts (be patient)"
  	./util/reconf --force
  }
--- 32,38 ----
  	unpack ./${MY_P}.tar.gz
  	cd "${S}"
  	EPATCH_EXCLUDE="0001_all_lazyldflags.patch" EPATCH_SUFFIX="patch" \
! 		epatch "${WORKDIR}"
  	einfo "Regenerating configure scripts (be patient)"
  	./util/reconf --force
  }
(In reply to comment #2)
> (In reply to comment #1)
> > Same here.
> > Buggy line is
> >     EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
> > with PATCHDIR undefined. Should it be "${FILESDIR}"?
> No, it shouldn't, should be "${WORKDIR}/patch" to where the
> mit-krb5-1.6.3-patches-0.5.tar.bz2 unpacks.
> 

(In reply to comment #2)
> (In reply to comment #1)
> > Same here.
> > Buggy line is
> >     EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
> > with PATCHDIR undefined. Should it be "${FILESDIR}"?
> No, it shouldn't, should be "${WORKDIR}/patch" to where the
> mit-krb5-1.6.3-patches-0.5.tar.bz2 unpacks.
> 

(In reply to comment #2)
> (In reply to comment #1)
> > Same here.
> > Buggy line is
> >     EPATCH_SUFFIX="patch" epatch "${PATCHDIR}"
> > with PATCHDIR undefined. Should it be "${FILESDIR}"?
> No, it shouldn't, should be "${WORKDIR}/patch" to where the
> mit-krb5-1.6.3-patches-0.5.tar.bz2 unpacks.
> 

Comment 4 Kevin Blackwell 2010-01-11 22:50:42 UTC
Well, I've applied the patch, but now I get.

Calculating dependencies - * Digest verification failed:
 * /usr/portage/app-crypt/mit-krb5/mit-krb5-1.7-r1.ebuild
 * Reason: Filesize does not match recorded size
 * Got: 2301
 * Expected: 2407                                                                                                                                     ... done!

>>> Verifying ebuild manifests

!!! Digest verification failed:
!!! /usr/portage/app-crypt/mit-krb5/mit-krb5-1.7-r1.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 2301
!!! Expected: 2407
Comment 5 Alex Orange 2010-01-12 03:02:23 UTC
To fix that do the following:

cd /usr/portage/app-crypt/mit-krb5
sudo ebuild <file>.ebuild manifest

That will recalculate the manifests.
Comment 6 Michael Hammer (RETIRED) gentoo-dev 2010-01-12 09:35:08 UTC
Fixed the bug in portage. Thx for the convenience.

greets, mueli
Comment 7 Kevin Blackwell 2010-01-12 16:01:58 UTC
YEA!!1  :)