Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 735284 - dev-lang/ispc: need py3 port
Summary: dev-lang/ispc: need py3 port
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: py3-tracker, python-3-incompatible
  Show dependency tree
 
Reported: 2020-08-02 13:52 UTC by Michał Górny
Modified: 2020-09-10 00:48 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Updated ispc ebuild (ispc-1.14.0.ebuild,1.10 KB, text/plain)
2020-08-27 14:43 UTC, Sebastian Parborg
Details
Updated cmake patch (ispc-1.14.0-cmake-gentoo-release.patch,507 bytes, patch)
2020-08-27 14:54 UTC, Sebastian Parborg
Details | Diff
Updated llvm build patch (ispc-1.14.0-llvm-10.patch,4.58 KB, patch)
2020-08-27 14:54 UTC, Sebastian Parborg
Details | Diff
Updated werror patch (ispc-1.14.0-werror.patch,737 bytes, patch)
2020-08-27 14:55 UTC, Sebastian Parborg
Details | Diff
Updated ispc live ebuild (ispc-9999.ebuild,1.12 KB, text/plain)
2020-08-27 14:55 UTC, Sebastian Parborg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-02 13:52:10 UTC
Please port to py3.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-03 08:09:58 UTC
@junghans, did you mean to drop it to maintainer-needed while 'adding -9999 ebuild'?  It seems a bit weird to be part of that commit.  Also I can't grep 'up for grabs' email for this.
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2020-08-03 13:24:35 UTC
I haven't used ispc in years, go ahead and do whatever you want with it.
Comment 3 Sebastian Parborg 2020-08-27 14:43:18 UTC
Created attachment 657116 [details]
Updated ispc ebuild
Comment 4 Sebastian Parborg 2020-08-27 14:54:23 UTC
Created attachment 657118 [details, diff]
Updated cmake patch
Comment 5 Sebastian Parborg 2020-08-27 14:54:54 UTC
Created attachment 657120 [details, diff]
Updated llvm build patch
Comment 6 Sebastian Parborg 2020-08-27 14:55:17 UTC
Created attachment 657122 [details, diff]
Updated werror patch
Comment 7 Sebastian Parborg 2020-08-27 14:55:42 UTC
Created attachment 657124 [details]
Updated ispc live ebuild
Comment 8 Sebastian Parborg 2020-08-27 14:59:57 UTC
I'm using ispc to build oidn which is used for denoising in blender.

I am working as a developer for the Blender foundation, perhaps I can do some work to make sure that blender and its deps are in the main portage tree?
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-27 15:14:21 UTC
(In reply to Sebastian Parborg from comment #8)
> I'm using ispc to build oidn which is used for denoising in blender.
> 
> I am working as a developer for the Blender foundation, perhaps I can do
> some work to make sure that blender and its deps are in the main portage
> tree?

Woudl you mind submitting a github PR for this? It's not mandatory, but it's way easier to review from my end.

Re blender: yes, you almost certainly can help. We have a proxied maintainer for Blender and some of its deps already, but more help on this front would be quite appreciated, especially given some of the complexities sometimes. 

Feel free to email me and Adrian (agrigo2001@yahoo.com.au) about this, or ping me on IRC (sam_).
Comment 10 Sebastian Parborg 2020-08-27 15:36:42 UTC
I will submit a github PR, certainly! :)
Comment 11 Alex 2020-08-30 06:17:50 UTC
ispc is fully compatible with Python3! It is not correct information, that it doesn't.

The issue with ispc is different it can't be compiled due to:

undefined reference to `clang::PCHContainerOperations::PCHContainerOperations()

Don't no what to do with that. Developers claim one need to build llvm with their patches with help of alloy.py tool. It actually works well and produces working llvm, but how to integrate it into Gentoo?

For both llvm and clang one need to build them with USE=debug enabled, otherwise it fails earlier.

At the end I downloaded linux binary they provide and it works well.

Gentoo can ship ispc-bin instead. A lot easier task.
Comment 12 Larry the Git Cow gentoo-dev 2020-09-10 00:42:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=232c67eb537528e7eab8275c93c4e45d50ea8807

commit 232c67eb537528e7eab8275c93c4e45d50ea8807
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-09-10 00:40:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-09-10 00:42:14 +0000

    profiles/package.mask: unmask dev-lang/ispc
    
    A new Python 3 version has been added, and
    old Python 2 versions have been cleaned up.
    
    Closes: https://bugs.gentoo.org/735284
    Bug: https://bugs.gentoo.org/730062
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 1 -
 1 file changed, 1 deletion(-)