Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 105498

Summary: emerge ghostscript doesn't work
Product: Gentoo/Alt Reporter: Dirk Schoenberger <dirk.schoenberger>
Component: Mac OSXAssignee: Gentoo for Mac OS X <ppc-macos>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dirk Schoenberger 2005-09-10 08:44:25 UTC
- unmasked and emerged successfully gnu-gs-fonts-std-8.11 (prerequisite for ghostscript)
- cd $PORTAGEDIR/app-text/ghostscript
- ekeyword ppc-macos ghostscript-7.07.1-r10.ebuild
- ebuild ghostscript-7.07.1-r10.ebuild digest

the following lines were printed

>>> Generating digest file...
<<< espgs-7.07.1-source.tar.bz2
<<< adobe-cmaps-200204.tar.gz
Traceback (most recent call last):
  File "/usr/bin/ebuild", line 49, in ?
    a=portage.doebuild(pargs[0],x,getroot(),tmpsettings,debug=debug,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 2520, in doebuild
    return (not digestgen(aalist,mysettings,overwrite=1))
  File "/usr/lib/portage/pym/portage.py", line 1950, in digestgen
    mydigests=digestCreate(myarchives, basedir, oldDigest=myolddigest)
  File "/usr/lib/portage/pym/portage.py", line 1886, in digestCreate
    raise portage_exception.DigestException, "Size mismatch during checksums"
portage_exception.DigestException: 'Size mismatch during checksums'


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r3 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.0.0 Power Macintosh)
===============================================================
==
System uname: 8.0.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
Autoconf: 
Automake: 
Binutils: 
Headers:  sys-libs/libsystem-7.1
Libtools: 
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss png ppc-macos userland_BSD kernel_Darwin elibc_Darwin"
Comment 1 Fabian Groffen gentoo-dev 2005-09-10 11:07:40 UTC
ghostscript-7.07.1-r10.ebuild is already ~ppc-macos (unstable)

The error you have is not ppc-macos specific, but it sounds like you're
operating on a network device or a filesystem that is updated.  Are you able to
repeat this?  What filesystem do you run your portage tree on?  I see you have
an old version of portage, can you upgrade it and try again?

(I run 2.0.51.22-r2)
Comment 2 Dirk Schoenberger 2005-09-10 11:23:56 UTC
> Are you able to repeat this?  
Yes

> What filesystem do you run your portage tree on?  
Normal Mac OS Extended (Journaled), I suppose (MacOSX Tiger on a Mac Mini)

> I see you have an old version of portage, can you upgrade it and try again?
> (I run 2.0.51.22-r2)
Unfortunately no. There is some CANTFIX bug related to some .pyo files which 
cannot be copied which keep me on -r1.
Comment 3 Fabian Groffen gentoo-dev 2005-09-10 11:26:13 UTC
read the comments on the bug your bug was duplicated to.  You need to manually
disable colission-protect for once.
Comment 4 Dirk Schoenberger 2005-09-10 12:19:46 UTC
after upgrading to portage 2.0.51.22-r2
ghostscript (7.07.1-r10) emerges fine
Comment 5 Fabian Groffen gentoo-dev 2005-09-10 12:25:05 UTC
ok, nice.  Thanks for trying.
Comment 6 Dirk Schoenberger 2005-09-10 13:31:58 UTC
> ok, nice.  Thanks for trying.

Could you please enable ghostscript (and some prerequisites like gnu-gs-fonts-
std-8.11) for ppc-macos? In stock gentoo they are disabled...

 
Comment 7 Fabian Groffen gentoo-dev 2005-09-11 00:34:27 UTC
Packages are bound to be marked unstable first.  You can manually switch to the
unstable packages using:
% env ACCEPT_KEYWORDS="~ppc-macos" emerge -pv ghostscript
or make it permanent by editing /etc/make.conf

I'd advice you yo use the first method, but the second would make sense too,
since we only mark 'unstable' in general.  Up to you to decide, just be aware
that many packages are only available as 'unstable'.