Bug 1146028 - texdoc missing package database
texdoc missing package database
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
x86-64 openSUSE Factory
: P5 - None : Normal (vote)
: ---
Assigned To: Dr. Werner Fink
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-08-19 00:20 UTC by Tejas Guruswamy
Modified: 2022-03-23 10:15 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tejas Guruswamy 2019-08-19 00:20:25 UTC
New install of TeXLive on Tumbleweed does not have a functional texdoc:

> texdoc texdoc
texdoc error: No texlive.tlpdb nor shipped tlpdb data found.

I believe this is to do with the warning in the texdoc v3.0 release notes:

> One more thing (IMPORTANT for dis­trib­u­tors): from v3.0, we won't
> in­clude Data.tlpdb.lua (the pseudo cache file) in our repos­i­tory.
> If your dis­tri­bu­tion do not ship the tlpdb, you have to pre-gen­er­ate
> the pseudo cache file to make Tex­doc work­able.


According to https://github.com/TeX-Live/texdoc,

$ rake gen_datafile

needs to be run from the build directory. But I couldn't figure out the structure of the package to make the change myself :)
Comment 1 Tejas Guruswamy 2019-08-19 00:21:33 UTC
> rpm -qa | grep texlive-texdoc*
texlive-texdoctk-bin-2019.20190407.svn29741-57.1.x86_64
texlive-texdoc-2019.163.3.1svn50627-40.1.noarch
texlive-texdoctk-2019.163.0.0.6.0svn50602-40.1.noarch
texlive-texdoc-bin-2019.20190407.svn47948-57.1.x86_64
texlive-texdoc-doc-2019.163.3.1svn50627-40.1.noarch
texlive-texdoctk-doc-2019.163.0.0.6.0svn50602-40.1.noarch
Comment 2 Dr. Werner Fink 2019-08-19 11:18:43 UTC
(In reply to Tejas Guruswamy from comment #0)
> New install of TeXLive on Tumbleweed does not have a functional texdoc:
> 
> > texdoc texdoc
> texdoc error: No texlive.tlpdb nor shipped tlpdb data found.
> 
> I believe this is to do with the warning in the texdoc v3.0 release notes:
> 
> > One more thing (IMPORTANT for dis­trib­u­tors): from v3.0, we won't
> > in­clude Data.tlpdb.lua (the pseudo cache file) in our repos­i­tory.
> > If your dis­tri­bu­tion do not ship the tlpdb, you have to pre-gen­er­ate
> > the pseudo cache file to make Tex­doc work­able.
> 
> 
> According to https://github.com/TeX-Live/texdoc,
> 
> $ rake gen_datafile
> 
> needs to be run from the build directory. But I couldn't figure out the
> structure of the package to make the change myself :)

This would require a rake file:

  noether:texdoc # rake gen_datafile
  rake aborted!
  No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

seems TeXLive upstream does not support distrubtions anymore ... the to go is described here https://tex-live.tug.narkive.com/T9J7Mfl6/texdoc-texlive-tlpdb-cache-tlpdb-lua

I've written a script which now adds scripts/texdoc/Data.tlpdb.lua
Comment 3 Dr. Werner Fink 2019-08-19 12:07:24 UTC
Seems to work now, SR#724565 ... please report if this helps!
Comment 4 Swamp Workflow Management 2019-08-19 12:40:07 UTC
This is an autogenerated message for OBS integration:
This bug (1146028) was mentioned in
https://build.opensuse.org/request/show/724565 Factory / texlive-specs-w
Comment 5 Tejas Guruswamy 2019-08-19 13:43:11 UTC
(In reply to Swamp Workflow Management from comment #4)
> This is an autogenerated message for OBS integration:
> This bug (1146028) was mentioned in
> https://build.opensuse.org/request/show/724565 Factory / texlive-specs-w

texlive-texdoc-2019.166.3.1svn50627-161.1.noarch.rpm from Publishing:TeXLive works for me. Thanks!
Comment 6 Dr. Werner Fink 2019-08-20 07:06:53 UTC
(In reply to Tejas Guruswamy from comment #5)
> (In reply to Swamp Workflow Management from comment #4)
> > This is an autogenerated message for OBS integration:
> > This bug (1146028) was mentioned in
> > https://rudin.suse.de:8894/request/show/724565 Factory / texlive-specs-w
> 
> texlive-texdoc-2019.166.3.1svn50627-161.1.noarch.rpm from Publishing:TeXLive
> works for me. Thanks!

Thanks a lot for your feedback!