Bug 4706

Summary: Steam is missing libtxc_dxtn.i686 dependency
Product: Fedora Reporter: Andy Wang <dopey>
Component: steamAssignee: Simone Caronni <negativo17>
Status: RESOLVED FIXED    
Severity: normal CC: acgimael, knutjbj, sergio, vitaly
Priority: P1    
Version: f27   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Andy Wang 2017-11-13 17:41:23 CET
Can't install steam due to missing dependency:

$ sudo dnf install steam
Last metadata expiration check: 0:05:40 ago on Mon 13 Nov 2017 10:31:01 AM CST.
Error: 
 Problem: conflicting requests
  - nothing provides libtxc_dxtn(x86-32) needed by steam-1.0.0.54-11.fc27.i686
Comment 1 Vitaly 2017-11-14 15:34:11 CET
Same problem.
Comment 2 knutjbj 2017-11-14 16:23:41 CET
I fixed by rebuilding libtxc_dxtn for i686 and x86_64. I was then able to install Steam.
Comment 3 Sérgio Basto 2017-11-15 18:14:47 CET
in steam.spec we have [1] but mesa now have libtxc_dxtn ,  Simone Caronni may we drop this requirement ? 



[1] 
# Required for S3 compressed textures on free drivers (intel/radeon/nouveau)
Requires:       libtxc_dxtn%{?_isa}

[2]
https://cgit.freedesktop.org/mesa/mesa/commit/?id=04396a134f003aece573df593acfa1ab4418ffe8 
F26 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979594
F27 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979591
F28 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979562
Comment 4 Andy Wang 2017-11-15 20:01:23 CET
It appears someone fixed this"

$ dnf info libtxc_dxtn
Last metadata expiration check: 1:35:32 ago on Wed 15 Nov 2017 11:28:07 AM CST.
Installed Packages
Name         : libtxc_dxtn
Epoch        : 1
Version      : 1.0.1
Release      : 3.gitef072983.fc27
Arch         : i686
Size         : 19 k
Source       : libtxc_dxtn-1.0.1-3.gitef072983.fc27.src.rpm
Repo         : @System
From repo    : rpmfusion-free-updates
Summary      : Free implementation of the s3tc texture compression algorithm
URL          : http://cgit.freedesktop.org/~mareko/libtxc_dxtn/
License      : BSD
Description  : Free implementation of the s3tc texture compression algorithm.

Name         : libtxc_dxtn
Epoch        : 1
Version      : 1.0.1
Release      : 3.gitef072983.fc27
Arch         : x86_64
Size         : 20 k
Source       : libtxc_dxtn-1.0.1-3.gitef072983.fc27.src.rpm
Repo         : @System
From repo    : rpmfusion-free-updates
Summary      : Free implementation of the s3tc texture compression algorithm
URL          : http://cgit.freedesktop.org/~mareko/libtxc_dxtn/
License      : BSD
Description  : Free implementation of the s3tc texture compression algorithm.
Comment 5 Steve 2017-11-15 20:21:38 CET
Yep, it is fixed. Thank You very much!
Comment 6 acg 2017-11-15 20:58:37 CET
I am getting a very weird behavior with this issue:

Searching for this package:

dnf search libtxc_dxtn
Last metadata expiration check: 1:50:33 ago on qua 15 nov 2017 16:03:03 -02.
================================================================================= Name Exactly Matched: libtxc_dxtn =================================================================================
libtxc_dxtn.i686 : Free implementation of the s3tc texture compression algorithm
libtxc_dxtn.x86_64 : Free implementation of the s3tc texture compression algorithm

So, I get a match, the package seems all right.

But then,

sudo dnf install libtxc_dxtn
Last metadata expiration check: 0:00:25 ago on qua 15 nov 2017 17:53:18 -02.
No match for argument: libtxc_dxtn
Error: Unable to find a match

Weirder still,

dnf info libtxc_dxtn
Last metadata expiration check: 1:58:02 ago on qua 15 nov 2017 16:03:03 -02.
Available Packages
Name         : libtxc_dxtn
Epoch        : 1
Version      : 1.0.1
Release      : 3.gitef072983.fc27
Arch         : i686
Size         : 19 k
Source       : libtxc_dxtn-1.0.1-3.gitef072983.fc27.src.rpm
Repo         : rpmfusion-free-updates
Summary      : Free implementation of the s3tc texture compression algorithm
URL          : http://cgit.freedesktop.org/~mareko/libtxc_dxtn/
License      : BSD
Description  : Free implementation of the s3tc texture compression algorithm.

Name         : libtxc_dxtn
Epoch        : 1
Version      : 1.0.1
Release      : 3.gitef072983.fc27
Arch         : x86_64
Size         : 19 k
Source       : libtxc_dxtn-1.0.1-3.gitef072983.fc27.src.rpm
Repo         : rpmfusion-free-updates
Summary      : Free implementation of the s3tc texture compression algorithm
URL          : http://cgit.freedesktop.org/~mareko/libtxc_dxtn/
License      : BSD
Description  : Free implementation of the s3tc texture compression algorithm.

dnf info with the package's name works. What can I do to fix this issue?
Comment 7 Simone Caronni 2017-11-16 11:16:18 CET
(In reply to Sérgio Basto from comment #3)
> in steam.spec we have [1] but mesa now have libtxc_dxtn ,  Simone Caronni
> may we drop this requirement ? 
> 
> 
> 
> [1] 
> # Required for S3 compressed textures on free drivers (intel/radeon/nouveau)
> Requires:       libtxc_dxtn%{?_isa}
> 
> [2]
> https://cgit.freedesktop.org/mesa/mesa/commit/
> ?id=04396a134f003aece573df593acfa1ab4418ffe8 
> F26 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979594
> F27 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979591
> F28 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979562

Good point, I forgot that the patent was about to expire. We can drop the dependency where Mesa it is already at a version that contains S3TXC support, which seems to be 17.3.0:

https://cgit.freedesktop.org/mesa/mesa/commit/?id=d400348c73f0901eb24ff4d1562043d3119ef439

So far, only in rawhide. I will prepare an update.

Thanks for remembering this!
Comment 8 Sérgio Basto 2017-11-16 11:26:10 CET
(In reply to Simone Caronni from comment #7)
> (In reply to Sérgio Basto from comment #3)
> > in steam.spec we have [1] but mesa now have libtxc_dxtn ,  Simone Caronni
> > may we drop this requirement ? 

> > 
> > [1] 
> > # Required for S3 compressed textures on free drivers (intel/radeon/nouveau)
> > Requires:       libtxc_dxtn%{?_isa}
> > 
> > [2]
> > https://cgit.freedesktop.org/mesa/mesa/commit/
> > ?id=04396a134f003aece573df593acfa1ab4418ffe8 
> > F26 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979594
> > F27 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979591
> > F28 task: https://koji.fedoraproject.org/koji/buildinfo?buildID=979562
> 
> Good point, I forgot that the patent was about to expire. We can drop the
> dependency where Mesa it is already at a version that contains S3TXC
> support, which seems to be 17.3.0:
> 
> https://cgit.freedesktop.org/mesa/mesa/commit/
> ?id=d400348c73f0901eb24ff4d1562043d3119ef439
> 
> So far, only in rawhide. I will prepare an update.
> 
> Thanks for remembering this!

Hi !, 

Ajax had already backport it for Fedora packages, he wrote that in Fedora-legal mailing list  [1], my question is that I don't find any libtxc_ in new mesa packages ... 


[1] 
https://www.spinics.net/linux/fedora/fedora-legal/msg03025.html
Comment 9 Simone Caronni 2017-11-16 15:43:14 CET
Sorry, missed Adam's changelog in Mesa. Rebuilding.
Build without dependency is steam-1.0.0.54-13.
Comment 10 Simone Caronni 2017-11-16 15:45:05 CET
(In reply to Sérgio Basto from comment #8)
> my question is that I don't find any libtxc_
> in new mesa packages ...

It has been merged in other files:

https://cgit.freedesktop.org/mesa/mesa/log/?qt=grep&q=txc
Comment 11 Sérgio Basto 2017-11-16 21:37:08 CET
(In reply to Simone Caronni from comment #10)
> (In reply to Sérgio Basto from comment #8)
> > my question is that I don't find any libtxc_
> > in new mesa packages ...
> 
> It has been merged in other files:
> 
> https://cgit.freedesktop.org/mesa/mesa/log/?qt=grep&q=txc

I mean in pratical way .
1 - I may have mesa and libtxc_dxtn-1.0.1-2.gitef072983.fc26.i686 installed without conflict because /usr/lib/libtxc_dxtn.so only exist in libtxc_dxtn 
2 - None of the 20 packages of mesa got the same libtxc.so, if mesa already have libtxc, I don't see where , neither I know how I test the existence and good working of libtxc .