Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 142498
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: EzInKy <ezinky@windstream.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
3.6.1-find-egrep.diff patch patch David Leverton 2006-11-15 08:04 0000 2.41 KB Details | Diff
povray-3.6.1-r1.ebuild.patch2 ebuild patch patch David Leverton 2006-11-15 08:06 0000 276 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 142498 depends on: Show dependency tree
Bug 142498 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-01 22:36 0000
$emerge --info

Portage 2.1.1_pre4-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla,
glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Opteron(tm) Processor 246
Gentoo Base System version 1.12.2
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-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/eselect/compiler
/etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib accessibility alsa arts audiofile avi berkdb
bitmap-fonts bzip2 cdr cli crypt cups divx4linux dlloader doc dri dv dvd dvdr
dvdread eds emboss encode esd fbcon ffmpeg flac foomaticdb fortran gcj gif glut
gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 isdnlog
ithreads joystick jpeg kde kdeenablefinal kqemu lm_sensors lzw lzw-tiff mad
mikmod mime mng mozilla mp3 mpeg ncurses nls nptl nptlonly nsplugin objc ogg
oggvorbis openal opengl pam pcre pdflib perl png posix ppds pppd python qt qt3
qt4 quicktime readline reflection scanner sdl session slang sndfile snmp spell
spl ssl svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts
unicode usb v4l vcd videos vorbis xine xinerama xml2 xmms xorg xpm xv xvid zlib
elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev
kernel_linux userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Povray fails with weird configure errors such as...

"checking whether x86_64-pc-linux-gnu-g++ accepts -march=k8 -mtune=k8...
./configure: line 17726: "\-m|arch=k8|\-m|tune=k8": command not found" 

...yet the source tarball compiles fine by hand.

------- Comment #1 From EzInKy 2006-08-03 19:12:45 0000 -------
Commenting out eautoconf in the ebuild allows the package to build, and povray
successfully rendered a scene.

------- Comment #2 From Alexis Ballier 2006-09-09 10:23:49 0000 -------
Hi, 
I'm having the same problem; however removing eautoconf is not the solution,
have a look at bug #118156 .

It seems to be a problem with autotools that does not define ac_cv_prog_egrep.
It is supposed to be defined by autotools macros, but for some reason it's not.

A workaround I've found is to apply this to the ebuild : 

-       econf COMPILED_BY="${USER} (on `uname -n`)" ${myconf} || die
+       ac_cv_prog_egrep="egrep" econf COMPILED_BY="${USER} (on `uname -n`)"
${myconf} || die



This is not the best solution, but it works, may be somebody skilled with the
autotools can have a look at this and fix it, but I've not been able to do so.

------- Comment #3 From Simon Stelling (RETIRED) 2006-10-13 01:50:58 0000 -------
*** Bug 141910 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jakub Moc (RETIRED) 2006-10-29 22:46:00 0000 -------
*** Bug 153385 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2006-11-02 01:12:15 0000 -------
*** Bug 153783 has been marked as a duplicate of this bug. ***

------- Comment #6 From David Leverton 2006-11-15 08:04:34 0000 -------
Created an attachment (id=101990) [details]
patch

Problem is that it tries to use $ac_cv_prog_egrep in a subshell (presumably
only with newer autoconfs, which would explain why it works when built outside
Portage), but that variable isn't exported.  It works when using $EGREP
instead.

------- Comment #7 From David Leverton 2006-11-15 08:06:03 0000 -------
Created an attachment (id=101991) [details]
ebuild patch

First patch changes acinclude.m4, so need to run eaclocal.

------- Comment #8 From Jakub Moc (RETIRED) 2006-12-03 05:25:04 0000 -------
*** Bug 156979 has been marked as a duplicate of this bug. ***

------- Comment #9 From Jakub Moc (RETIRED) 2007-01-16 20:49:36 0000 -------
*** Bug 157905 has been marked as a duplicate of this bug. ***

------- Comment #10 From Stephen Bridges 2007-02-25 16:48:34 0000 -------
This fixed it for me.

Portage 2.1.2-r10 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0,
2.6.20-gentoo x86_64)
=================================================================
System uname: 2.6.20-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 24 Feb 2007 16:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
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.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-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/gconf /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac alsa amd64 berkdb bitmap-fonts blender-game cairo cdinstall
cdparanoia cdr cdrom cli cracklib crypt cvs dbus deprecated divx dvd dvdr
dvdread eds emboss encode fam ffmpeg firefox fortran gdbm gif gmedia gphoto2
gpm graphviz gtk gtk2 hal history iconv imlib jpeg kde libg++ libsamplerate
live lm_sensors mad midi mikmod mp3 mpeg ncurses nls nptl nptlonly nsplugin
nvidia ofx ogg openal opengl oss pam pcre perl png ppds pppd python qt3 qt4
quicktime quotes readline realmedia reflection sdl session smp spell spl sql
ssl subversion svg tcpd theora truetype truetype-fonts type1-fonts unicode usb
vorbis wmp x264 xcomposite xml xorg xscreensaver xv xvid 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 mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #11 From Satan Claus 2007-03-04 08:45:46 0000 -------
Problem is still existing in portage, had to apply the patches myself (dirty:
copy first patch to /usr/portage/media-gfx/povray/files/3.6.1-find-egrep.diff,
merge second with /usr/portage/media-gfx/povray/povray-3.6.1-r1.ebuild and run
ebuild povray-3.6.1-r1.ebuild digest manifest).

Would be nice, if a dev could apply the patches to the ebuild which is in
stable tree and doesn't work ;)

In cases where povray is in your useflags kde-meta draws this package in via
kdegraphics-meta, so I guess there are quite a few users having problems with
this ebuild.

thx

------- Comment #12 From Anant Narayanan (RETIRED) 2007-03-04 18:01:03 0000 -------
Thanks, fixed in CVS.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug