Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178558 - media-sound/gpodder-0.9.1 install fails
Summary: media-sound/gpodder-0.9.1 install fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-14 20:03 UTC by goeland86
Modified: 2007-05-16 21:27 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 goeland86 2007-05-14 20:03:18 UTC
gpodder has issues with character sets that I'm trying to debug with the help of the lead dev. However, I don't want to do a manual install, since there is not much different in the install process for 0.9.1. It installs fine when done manually, but the version bump of the ebuild fails. error below:


Reproducible: Always

Steps to Reproduce:
1.gpodder/ # cp gpodder-0.9.0.ebuild gpodder-0.9.1.ebuild
2.gpodder/ # ebuild gpodder-0.9.1.ebuild digest
3.gpodder/ # emerge gpodder

Actual Results:  
>>> Unpacking source...
>>> Unpacking gpodder-0.9.1.tar.gz to /var/tmp/portage/media-sound/gpodder-0.9.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/media-sound/gpodder-0.9.1/work/gpodder-0.9.1 ...
running build
running build_py
creating build
creating build/lib
creating build/lib/gpodder
copying src/gpodder/SimpleGladeApp.py -> build/lib/gpodder
copying src/gpodder/__init__.py -> build/lib/gpodder
copying src/gpodder/console.py -> build/lib/gpodder
copying src/gpodder/gpodder.py -> build/lib/gpodder
copying src/gpodder/libconverter.py -> build/lib/gpodder
copying src/gpodder/libgpodder.py -> build/lib/gpodder
copying src/gpodder/libipodsync.py -> build/lib/gpodder
copying src/gpodder/liblocaldb.py -> build/lib/gpodder
copying src/gpodder/liblocdbreader.py -> build/lib/gpodder
copying src/gpodder/liblocdbwriter.py -> build/lib/gpodder
copying src/gpodder/liblogger.py -> build/lib/gpodder
copying src/gpodder/libopmlreader.py -> build/lib/gpodder
copying src/gpodder/libopmlwriter.py -> build/lib/gpodder
copying src/gpodder/libplayers.py -> build/lib/gpodder
copying src/gpodder/libpodcasts.py -> build/lib/gpodder
copying src/gpodder/librssreader.py -> build/lib/gpodder
copying src/gpodder/libtagupdate.py -> build/lib/gpodder
copying src/gpodder/libwget.py -> build/lib/gpodder
running build_scripts
creating build/scripts-2.4
copying and adjusting bin/gpodder -> build/scripts-2.4
changing mode of build/scripts-2.4/gpodder from 644 to 755
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/gpodder-0.9.1

>>> Install gpodder-0.9.1 into /var/tmp/portage/media-sound/gpodder-0.9.1/image/ category media-sound
./doc/dev/tepache --no-helper --glade=data/gpodder.glade --output=src/gpodder/gpodder.py
patching file src/gpodder/gpodder.py
written file src/gpodder/gpodder.py
chmod -x src/gpodder/gpodder.py src/gpodder/gpodder.py.orig
convert -bordercolor Transparent -border 1x1 data/icons/22/gpodder.png data/icons/24/gpodder.png
make -C data/po update
make[1]: Entering directory `/var/tmp/portage/media-sound/gpodder-0.9.1/work/gpodder-0.9.1/data/po'
for langfile in *.po; do echo 'Compiling translation:' ${langfile}; mkdir -p ../locale/`basename ${langfile} .po`/LC_MESSAGES/; msgfmt ${langfile} -o ../locale/`basename ${langfile} .po`/LC_MESSAGES/gpodder.mo; done
Compiling translation: de.po
Compiling translation: es.po
Compiling translation: fr.po
Compiling translation: it.po
Compiling translation: nl.po
Compiling translation: pt.po
Compiling translation: sv.po
make[1]: Leaving directory `/var/tmp/portage/media-sound/gpodder-0.9.1/work/gpodder-0.9.1/data/po'
python setup.py install --root=/ --prefix=/usr
running install
running build
running build_py
copying src/gpodder/gpodder.py -> build/lib/gpodder
running build_scripts
running install_lib
copying build/lib/gpodder/gpodder.py -> /usr/lib/python2.4/site-packages/gpodder
error: /usr/lib/python2.4/site-packages/gpodder/gpodder.py: Permission denied
make: *** [install] Error 1

!!! ERROR: media-sound/gpodder-0.9.1 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_install
  ebuild.sh, line 1061:   Called qa_call 'src_install'
  ebuild.sh, line 44:   Called src_install
  gpodder-0.9.1.ebuild, line 24:   Called einstall
  ebuild.sh, line 617:   Called die

!!! einstall 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/media-sound/gpodder-0.9.1/temp/build.log'.



Expected Results:  
Emerge should have finished cleanly.

My machine ran into an earlier error because of a problem in setting the default python VM (2.5 instead of 2.4 which I wanted), which I fixed and couldn't get past this error. dcoats on #gentoo ran into my earlier error, but didn't upgrade to 2.5. The upgrade to 0.9.1 needs a bit of attention from a good ebuild dev, which I am not.
Comment 1 goeland86 2007-05-14 20:13:12 UTC
Forgot to mention that while looking for the gpodder.py file in the indicated folder, the file was not present.

emerge --info:

Portage 2.1.2.7 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r1, 2.6.19-suspend2-r1 i686)
=================================================================
System uname: 2.6.19-suspend2-r1 i686 mobile AMD Athlon(tm) XP2200+
Gentoo Base System release 1.12.10
Timestamp of tree: Sun, 13 May 2007 19:00:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4, 2.5-r1
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acpi aim alsa anthy asf ati avi berkdb bitmap-fonts bluetooth browserplugin bzip2 canna cdr cjk cli cpudetection cracklib crypt divx divx4linux dlloader dri dts dv dvd dvdread esd exif firefox flac flash fortran gdbm geck-sdk gif gimp gmedia gnome gpm gtk gtk2 iconv ieee1394 imap ipv6 isdnlog java joystick jpeg libg++ logrotate mad matroska midi mime mmx mmxext mozilla mp3 mpeg mplayer msn ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcmcia pcre pda pdf perl png ppds pppd python quicktime readline realmedia reflection samba sdk sdl seamonkey see2 server session spell spl sse ssl svg tcpd tga theory tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis win32codecs wma wmf wmp x264 x86 xml2 xorg xosd xv xvid xvmc yahoo 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 2 goeland86 2007-05-14 21:27:13 UTC
(In reply to comment #1)
> Forgot to mention that while looking for the gpodder.py file in the indicated
> folder, the file was not present.

Also just realized what caused the different error. I had inserted a basic src_install () method inspired by other ebuilds, and all it contained was
src_install() {
        einstall || die
}

The other error, without this src_install method is about a .mo file for german that is missing. I hope that is more indication.
Comment 3 Hanno Böck gentoo-dev 2007-05-16 21:27:43 UTC
Erh, why do you report bugs for your own bumped ebuilds??

0.9.1 is in the tree and the install-issues are resolved.