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

Bug 663522

Summary: media-gfx/yafaray-3.3.0 : * doins failed
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: herbmillerjr, vena.dewinter, waebbl-gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/9801
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
media-gfx:yafaray-3.3.0:20180813-011333.log
temp.tbz2
Added python version to mycmakeargs

Description Toralf Förster gentoo-dev 2018-08-13 16:09:48 UTC
 * ERROR: media-gfx/yafaray-3.3.0::gentoo failed (install phase):
 *   doins failed
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20180811-095538

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv media-gfx/yafaray
[ebuild  N    ] media-gfx/yafaray-3.3.0  USE="blender fastmath fasttrig python -jpeg -opencv -openexr -png -tiff -truetype" PYTHON_SINGLE_TARGET="python3_6 -python3_5" PYTHON_TARGETS="python3_6 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2018-08-13 16:09:51 UTC
Created attachment 543272 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-13 16:09:54 UTC
Created attachment 543274 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-13 16:09:56 UTC
Created attachment 543276 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-13 16:09:59 UTC
Created attachment 543278 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-13 16:10:02 UTC
Created attachment 543280 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-13 16:10:05 UTC
Created attachment 543282 [details]
media-gfx:yafaray-3.3.0:20180813-011333.log
Comment 7 Toralf Förster gentoo-dev 2018-08-13 16:10:08 UTC
Created attachment 543284 [details]
temp.tbz2
Comment 8 vena.dewinter 2018-09-01 18:55:25 UTC
Created attachment 545740 [details]
Added python version to mycmakeargs

yafaray's cmake defaults to python 3.5 if nothing is specified. If python 3.5 is not installed, then it can't find any python instance and doesn't compile the bindings.

The default python version can be changed with YAF_PY_VERSION. Adding -DYAF_PY_VERSION=${EPYTHON#python} to the mycmakeargs allows it to compile and install.

An ebuild with this change applied is attached.
Comment 9 Herb Miller Jr. 2018-09-07 16:13:20 UTC
Thanks for the updated ebuild! I'll get a pull request open for this.
Comment 10 Larry the Git Cow gentoo-dev 2018-10-20 18:51:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d532c453bbfafd32c78e4886cb95969f961ffe6

commit 3d532c453bbfafd32c78e4886cb95969f961ffe6
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2018-10-20 17:45:24 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2018-10-20 18:51:01 +0000

    media-gfx/yafaray: Fix building (#663522)
    
    Thanks-to: Toralf Förster
    Thanks-to: vena.dewinter
    Thanks-to: Herb Miller Jr.
    Closes: https://bugs.gentoo.org/663522
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 media-gfx/yafaray/yafaray-3.3.0-r1.ebuild | 110 ++++++++++++++++++++++++++++++
 1 file changed, 110 insertions(+)