Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503282 - =dev-tex/luatex-0.79.1 version bump
Summary: =dev-tex/luatex-0.79.1 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 513666
  Show dependency tree
 
Reported: 2014-03-03 02:55 UTC by Manuel Rüger (RETIRED)
Modified: 2019-11-27 06:54 UTC (History)
7 users (show)

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


Attachments
luatex-0.79.1.ebuild.patch (luatex-0.79.1.ebuild.patch,3.15 KB, text/plain)
2014-08-12 12:50 UTC, Manuel Rüger (RETIRED)
Details
luatex-0.79.1 ebuild patch (luatex-0.79.1-r1.patch,3.17 KB, patch)
2014-08-14 20:10 UTC, Franz Trischberger
Details | Diff
kpathsea-6.2.0_p20140523.ebuild.patch (kpathsea-6.2.0_p20140523.ebuild.patch,883 bytes, patch)
2014-08-14 20:14 UTC, Franz Trischberger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2014-03-03 02:55:05 UTC
Announcement from:  Mon Jan 13 14:36:56 CET 2014 
Luatex 0.78.2
https://www.tug.org/pipermail/luatex/2014-January/004726.html

Luatex 0.78.0:
https://www.tug.org/pipermail/luatex/2013-December/004700.html
Comment 1 Manuel Rüger (RETIRED) gentoo-dev 2014-04-24 03:26:20 UTC
Luatex 0.79.0
https://www.tug.org/pipermail/luatex/2014-March/004803.html
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2014-04-27 23:58:28 UTC
https://www.tug.org/pipermail/luatex/2014-March/004813.html
Comment 3 Manuel Rüger (RETIRED) gentoo-dev 2014-08-12 12:50:33 UTC
Created attachment 382746 [details]
luatex-0.79.1.ebuild.patch

This is a WIP (but I'm currently stuck).
It bundles Lua5.2 (not sure if this is what we want, but we're building static only, iirc).
No idea how to work with luajit here (it is marked as experimental, maybe we want to ignore it?)
It probably needs an updated kpathsea snapshot, too, because it fails for me with:


libff.a(libff_a-encoding.o): In function `EncMapFromEncoding':
encoding.c:(.text+0x1f39): warning: memset used with constant zero length parameter; this could be due to transposed parameters
libluatex.a(libluatex_a-luainit.o): In function `init_kpse':
luainit.c:(.text+0x26d): undefined reference to `kpse_program_basename'
luainit.c:(.text+0x29d): undefined reference to `kpse_program_basename'
libluatex.a(libluatex_a-luainit.o): In function `lua_initialize':
luainit.c:(.text+0x726): undefined reference to `kpse_program_basename'
collect2: error: ld returned 1 exit status
Comment 4 Franz Trischberger 2014-08-14 19:24:39 UTC
I tried to bump the kpathsea ebuild to 6.2.0_p20140523, bumping the string TL_VERSION to 2014. Seems there are some tarballs that need to be generated or downloaded from some place I don't know. e.g. texlive-module-kpathsea.doc-2014.tar.xz
Are there some docs on how to manage/bump texlive packages in gentoo?
Comment 5 Franz Trischberger 2014-08-14 20:10:58 UTC
Created attachment 382906 [details, diff]
luatex-0.79.1 ebuild patch

You had to errors in deps (libpng and pixman), and poppler026.patch seems to be applied upstream.
Comment 6 Franz Trischberger 2014-08-14 20:14:07 UTC
Created attachment 382908 [details, diff]
kpathsea-6.2.0_p20140523.ebuild.patch

I am not entirely sure about TEXMFD_VERSION="5", but it merged fine ;)
I took the missing files from exherbo.
http://git.exherbo.org/summer/packages/dev-libs/kpathsea/index.html
Comment 7 Martin Väth 2014-09-07 16:28:59 UTC
(In reply to Manuel Rüger from comment #3)
> It probably needs an updated kpathsea snapshot, too

Maybe, but the first warning

> encoding.c:(.text+0x1f39): warning: memset used with constant zero length

also hints to possibly two other possibly related problems:

1. It might be that -flto is used with a non-patched current toolchain.
Perhaps passing -ffat-lto-objects helps.
2. It might be that gentoo's automatic -D_FORTIFY_SOURCE=2 causes trouble.
Perhaps passing -U_FORTIFY_SOURCE helps.
Comment 8 Manuel Rüger (RETIRED) gentoo-dev 2014-10-05 18:46:14 UTC
(In reply to Franz Fellner from comment #6)
> Created attachment 382908 [details, diff] [details, diff]
> kpathsea-6.2.0_p20140523.ebuild.patch
> 
> I am not entirely sure about TEXMFD_VERSION="5", but it merged fine ;)
> I took the missing files from exherbo.
> http://git.exherbo.org/summer/packages/dev-libs/kpathsea/index.html

I added a kpathsea ebuild based on your changes to the tree.
Comment 9 Alexis Ballier gentoo-dev 2014-10-10 13:28:33 UTC
(In reply to Manuel Rüger from comment #8)
> (In reply to Franz Fellner from comment #6)
> > Created attachment 382908 [details, diff] [details, diff] [details, diff]
> > kpathsea-6.2.0_p20140523.ebuild.patch
> > 
> > I am not entirely sure about TEXMFD_VERSION="5", but it merged fine ;)
> > I took the missing files from exherbo.
> > http://git.exherbo.org/summer/packages/dev-libs/kpathsea/index.html
> 
> I added a kpathsea ebuild based on your changes to the tree.

Manuel, please don't touch kpathsea if you don't intend to bump texlive and don't have a bump ready for it. paths, abi, patches & co are really touchy here.
Comment 10 Manuel Rüger (RETIRED) gentoo-dev 2014-10-10 13:41:28 UTC
(In reply to Alexis Ballier from comment #9)
> (In reply to Manuel Rüger from comment #8)
> > (In reply to Franz Fellner from comment #6)
> > > Created attachment 382908 [details, diff] [details, diff] [details, diff] [details, diff]
> > > kpathsea-6.2.0_p20140523.ebuild.patch
> > > 
> > > I am not entirely sure about TEXMFD_VERSION="5", but it merged fine ;)
> > > I took the missing files from exherbo.
> > > http://git.exherbo.org/summer/packages/dev-libs/kpathsea/index.html
> > 
> > I added a kpathsea ebuild based on your changes to the tree.
> 
> Manuel, please don't touch kpathsea if you don't intend to bump texlive and
> don't have a bump ready for it. paths, abi, patches & co are really touchy
> here.

That is why I put it in p.mask. If my actions delay inclusion of texlive-2014, I'll stop them. I was hoping to speed up the process.
Comment 11 Alexis Ballier gentoo-dev 2014-10-10 13:50:58 UTC
(In reply to Manuel Rüger from comment #10)
> That is why I put it in p.mask. If my actions delay inclusion of
> texlive-2014, I'll stop them. I was hoping to speed up the process.


it won't slow it down, but i'll likely have to overwrite your changes to fit tl2014; luatex help is much appreciated though. (but don't expect it to work nicely with tl2013)

also, i think exherbo people use my scripts so their distfiles should be ok, but even then, upstream doesnt provide versioned distfiles so if upstream updated them between their "snapshot" and mine we'll have a problem...
Comment 12 Manuel Rüger (RETIRED) gentoo-dev 2014-10-10 13:57:21 UTC
(In reply to Alexis Ballier from comment #11)
> (In reply to Manuel Rüger from comment #10)
> > That is why I put it in p.mask. If my actions delay inclusion of
> > texlive-2014, I'll stop them. I was hoping to speed up the process.
> 
> 
> it won't slow it down, but i'll likely have to overwrite your changes to fit
> tl2014; luatex help is much appreciated though. (but don't expect it to work
> nicely with tl2013)
> 

I don't think I'm able to provide a full bump, so I won't add things to the tree and continue my attempts in an overlay.
A small remark about the kpathsea ebuild I put into the tree: It still uses generated docs from kpathsea around 2010. I wasn't able to update them properly (probably texlive-2014 is necessary to build them?).

> also, i think exherbo people use my scripts so their distfiles should be ok,
> but even then, upstream doesnt provide versioned distfiles so if upstream
> updated them between their "snapshot" and mine we'll have a problem...

Can you point me to your scripts?
Comment 13 N. Andrew Walsh 2014-11-22 11:29:32 UTC
texlive-core-2014-r1 now blocks luatex (which in the tree is still 0.76.x). Will this update enable me to use the luatex package under texlive again?
Comment 14 Manuel Rüger (RETIRED) gentoo-dev 2014-11-22 12:59:46 UTC
(In reply to N. Andrew Walsh from comment #13)
> texlive-core-2014-r1 now blocks luatex (which in the tree is still 0.76.x).
> Will this update enable me to use the luatex package under texlive again?

luatex is bundled in texlive-core for the moment, so if you want to use luatex just install texlive-core-2014-r1
Comment 15 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-11-27 06:54:56 UTC
Will be removed in a week.