Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18522 - Povray-3.50c Ebuild produces broken render, config setup problem
Summary: Povray-3.50c Ebuild produces broken render, config setup problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Philip Walls (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-31 05:46 UTC by Gary Stein
Modified: 2003-04-18 09:30 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 Gary Stein 2003-03-31 05:46:57 UTC
I previously had povray-3.5 installed not sure if it was 3.50c
After reinstalling system, resynced to current today and tried to install
povray, however the Ebuild has some issues with the install that it doesn't
configure the ini file properly.
Mostly the symlink it makes from /etc/povray.ini -> /usr/share/povray-3.50c
boinks out the installed povray.ini that is created by the make file and
installed to /etc/povray.ini during the Ebuilds copy from the image to actual

On top of that even when extracting that ini by breaking the build the:
sed -e "s:\(/usr/\)local/\(lib\):\1share:" povray.ini.orig > povray.ini
doesn't work as planned, I replaced that with the working:
sed -e "s:/usr/local/:/usr/:" povray.ini.orig > povray.ini


so either, deleting the dosym line in the Ebuild, or doing the following near
the begining
cp Makefile Makefile.orig
sed -e "s:povconfdir = /etc:povconfdir = /usr/share/povray-3.5:" Makefile.orig >
Makefile
should fixed that

although it is easier to copy and edit the file and move it to the right place
for the symlink to hit...



Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge povray
3.povray "some file"

Actual Results:  
fails with unable to locate INI and inc files

Expected Results:  
rendered whever test file in advanced I gave it
(specifically skyvase.pov, did it to others)

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r0)
=================================================================
System uname: 2.4.20 i686 Intel(R) Xeon(TM) CPU 2.40GHz
GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu
ftp://ftp.oregonstate.edu/pub/gentoo http://distro.ibiblio.org/gentoo "
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg gnome libg++ mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm
berkdb slang readline arts tetex aalib svga tcltk java guile sdl gpm tcpd pam
libwww ssl perl python esd imlib oggvorbis qt motif mozilla cdr X gtk kde alsa
radeon gatos opengl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe"
CXXFLAGS="-march=pentium3 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j5"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Philip Walls (RETIRED) gentoo-dev 2003-04-18 09:30:57 UTC
Okay, I've commited a fix, thanks for the bug report!
- Phil