Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38343 - mol-0.9.69_pre7 has bad digest file and gives error while patching
Summary: mol-0.9.69_pre7 has bad digest file and gives error while patching
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 14:46 UTC by Jake Hamby
Modified: 2006-02-04 06:04 UTC (History)
0 users

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 Jake Hamby 2004-01-15 14:46:59 UTC
The digest file for the latest mol ebuild seems to be wrong. The file I downloaded is:

MD5 44624610420c96f92f835788fcfe8154 mol-0.9.69_pre7.tar.bz2 2344729

Then, when it tries to patch the configure.in file, I get:

..
PATCH COMMAND:  patch  -p1 < /usr/portage/app-emulation/mol/files/26-arch-fix.pa
tch

=============================
Get file configure.in from Perforce with lock? [y]
patching file configure.in
=============================

ACTUALLY APPLYING 26-arch-fix.patch...

=============================
Get file configure.in from Perforce with lock? [y]
sh: line 1: p4: command not found
patch: **** Can't get file configure.in from Perforce

I'm guessing that /usr/bin/patch is trying to be clever b/c configure.in is marked as read-only in the .tar.bz2 file and I have some Perforce-related env. variables set (P4PASSWD, P4USER, P4PORT).  I added:

        chmod u+w configure.in

 before the epatch line and the patch worked properly.

emerge info gives:

Portage 2.0.50_pre16 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.6.1-benh1)
=================================================================
System uname: 2.6.1-benh1 ppc 7450, altivec supported
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/lib/pbbuttonsd /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=7450 -maltivec -mabi=altivec"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.oregonstate.edu/pub/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib alsa altivec apache2 arts berkdb bidi crypt cups curl dga doc dvd dvdr emacs encode esd evo foomaticdb gb gd gdbm gif gnome gnome-libs gphoto2 gpm gtk gtk2 guile imap imlib innodb java jikes joystick jpeg junit kde ldap libwww mad mbox mcal memlimit mikmod mitshm motif mpeg mysql ncurses nls nocd oggvorbis opengl oss pam pcmcia pdflib perl png pnp ppc ppds python qt quicktime readline samba sdl slang spell ssl tcltk tcpd tetex tiff truetype unicode usb videos xml xml2 xmms xv zlib video_cards_radeon"
Comment 1 Luca Barbato gentoo-dev 2004-01-15 19:53:44 UTC
What happens if you disable those variables?
Comment 2 Jake Hamby 2004-01-17 23:08:07 UTC
Ok, the ebuild works correctly when I unset the P4* variables.

-Jake
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2004-01-29 20:45:02 UTC
The digests are fixed.

For the other problem I will set the resolution to wontfix.