Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 770760 - media-gfx/nvidia-texture-tools last-rites
Summary: media-gfx/nvidia-texture-tools last-rites
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL: https://github.com/castano/nvidia-tex...
Whiteboard:
Keywords: PullRequest
Depends on: 645518
Blocks: EAPI6Removal cmake-utils-removal
  Show dependency tree
 
Reported: 2021-02-15 08:58 UTC by Andreas Sturmlechner
Modified: 2022-06-10 08:02 UTC (History)
4 users (show)

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 Andreas Sturmlechner gentoo-dev 2021-02-15 08:58:57 UTC
Would be nice to get rid of another cmake-utils.eclass (deprecated) revdep.
Comment 1 Torsten Kaiser 2021-02-16 07:26:27 UTC
I would strongly recommend against this.

Only two packages depend on media-gfx/nvidia-texture-tools:
games-strategy/0ad: nvtt? ( media-gfx/nvidia-texture-tools )
media-libs/devil: nvtt? ( media-gfx/nvidia-texture-tools )

I do not see any hard dependencies on devil[nvtt], but 0ad[nvtt] is needed when building snapshots of 0ad-data:
if [[ ${PV} == 9999 || ${PV} == *_pre* ]]; then
          BDEPEND="~games-strategy/0ad-${PV}[nvtt]"

And version 2.1.2 breaks 0ad:
https://bugs.gentoo.org/735352#c12

As written in the following comment 13, I was able to successfully build the new 0ad-data set after downgrading to 2.1.1 of the nvidia-texture-tools package.

The problem seems to be caused by the switch of the default encoder that happend in 2.1.2. There is even an upstream bug with the same / similar segfault:
https://github.com/castano/nvidia-texture-tools/issues/332
Comment 2 Andreas Sturmlechner gentoo-dev 2021-02-16 08:52:09 UTC
Seems like no one else was packaging 2.1.2 indeed:

https://repology.org/project/nvidia-texture-tools/versions
Comment 3 NATTkA bot gentoo-dev 2021-04-19 09:16:30 UTC Comment hidden (obsolete)
Comment 4 NATTkA bot gentoo-dev 2021-07-29 17:24:07 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2021-07-29 17:32:33 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2021-07-29 17:40:27 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2021-07-29 17:48:37 UTC Comment hidden (obsolete)
Comment 8 NATTkA bot gentoo-dev 2021-07-29 18:04:33 UTC Comment hidden (obsolete)
Comment 9 NATTkA bot gentoo-dev 2021-07-29 18:12:51 UTC
Package list is empty or all packages have requested keywords.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-12 21:57:50 UTC
In any case, it looks like the ilmbase dep is either obsolete or automagic.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-30 01:34:45 UTC
@voyageur: Could you port to EAPI 7+ (ideally 8) and cmake.eclass?
Comment 12 Larry the Git Cow gentoo-dev 2022-05-11 14:14:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=256f1b1d7e3b1a38a604ff6df176d22dd38284a3

commit 256f1b1d7e3b1a38a604ff6df176d22dd38284a3
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-05-11 14:14:41 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-05-11 14:14:41 +0000

    profiles: last-rite media-gfx/nvidia-texture-tools
    
    Closes: https://github.com/gentoo/gentoo/pull/25444
    Bug: https://bugs.gentoo.org/741846
    Bug: https://bugs.gentoo.org/770760
    Signed-off-by: David Seifert <soap@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)

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

commit fedbebb26ce07664502175740d5d8dfd34725785
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-05-11 14:14:40 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-05-11 14:14:40 +0000

    media-libs/devil: remove USE=nvtt
    
    Bug: https://bugs.gentoo.org/770760
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...devil-1.7.8-r3.ebuild => devil-1.7.8-r4.ebuild} | 24 +++++++++++++---------
 media-libs/devil/metadata.xml                      | 21 +++++++++----------
 2 files changed, 24 insertions(+), 21 deletions(-)
Comment 13 Bernard Cafarelli gentoo-dev 2022-05-24 16:18:37 UTC
Personal facepalm here, I was 100% sure that I had done the last rites... turns out there was only the bug title, thanks soap for handling it!
Comment 14 Larry the Git Cow gentoo-dev 2022-06-10 08:02:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2074b5a9bed7a014ab800d89b77f813e93ddcc9e

commit 2074b5a9bed7a014ab800d89b77f813e93ddcc9e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-10 08:01:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-10 08:01:50 +0000

    media-gfx/nvidia-texture-tools: treeclean
    
    Closes: https://bugs.gentoo.org/741846
    Closes: https://bugs.gentoo.org/770760
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/nvidia-texture-tools/Manifest            |  3 -
 .../files/nvidia-texture-tools-2.0.8-cg.patch      | 39 ---------
 .../files/nvidia-texture-tools-2.0.8-clang.patch   | 18 ----
 .../files/nvidia-texture-tools-2.0.8-cpp14.patch   | 58 -------------
 .../nvidia-texture-tools-2.0.8-drop-qt4.patch      | 12 ---
 .../files/nvidia-texture-tools-2.0.8-gcc-4.7.patch | 16 ----
 .../files/nvidia-texture-tools-2.0.8-openexr.patch | 93 ---------------------
 .../files/nvidia-texture-tools-2.1.2-cmake.patch   | 97 ----------------------
 .../nvidia-texture-tools-2.1.2-test_path.patch     | 29 -------
 media-gfx/nvidia-texture-tools/metadata.xml        | 15 ----
 .../nvidia-texture-tools-2.0.8-r4.ebuild           | 65 ---------------
 .../nvidia-texture-tools-2.1.2.ebuild              | 52 ------------
 profiles/package.mask                              |  5 --
 13 files changed, 502 deletions(-)