[csw-maintainers] inoperant reinplace
Peter FELECAN
pfelecan at opencsw.org
Sat Jan 12 16:31:10 CET 2013
Dagobert Michelsen <dam at opencsw.org> writes:
> Hi Peter,
>
> Am 11.01.2013 um 09:02 schrieb pfelecan:
>> Still struggling to finish the packaging of TeXLive...
>>
>> Here is what I do:
>>
>> cd ~/opencsw/texlive/trunk
>> find work -type f -name 'post-install-reinplace*' -print -exec rm {} \;
>> nohup mgar platforms-remerge platforms-repackage < /dev/null > ~/logs/texlive 2>&1 &
>>
>> I got the following errors reported by checkpkg, with the afferent proposal of overriding:
>>
>> CHECKPKG_OVERRIDES_CSWtexlive-base += file-with-bad-content|/usr/local|root/opt/csw/share/texmf/scripts/simpdftex/simpdftex
>> CHECKPKG_OVERRIDES_CSWtexlive-latex-extra += file-with-bad-content|/usr/local|root/opt/csw/share/texmf-dist/scripts/pax/pdfannotextractor.pl
>> CHECKPKG_OVERRIDES_CSWtexlive-publishers-doc += file-with-bad-content|/usr/local|root/opt/csw/share/texmf-dist/doc/latex/confproc/buildpapers.sh
>> CHECKPKG_OVERRIDES_CSWtexlive-publishers-doc += file-with-bad-content|/usr/local|root/opt/csw/share/texmf-dist/doc/latex/confproc/example/buildpapers.sh
>>
>> However, in the recipe I have the following stanzas:
>>
>> REINPLACE_WHEN_USRLOCAL = postinstall
>> ...
>> REINPLACE_USRLOCAL += /opt/csw/share/texmf/scripts/simpdftex/simpdftex
>> REINPLACE_USRLOCAL += /opt/csw/share/texmf-dist/scripts/pax/pdfannotextractor.pl
>> REINPLACE_USRLOCAL += /opt/csw/share/texmf-dist/doc/latex/confproc/buildpapers.sh
>> REINPLACE_USRLOCAL += /opt/csw/share/texmf-dist/doc/latex/confproc/example/buildpapers.sh
>> ...
>>
>> I don't understand why, on this specific files, the "reinplace" mechanism doesn't work.
>
> There are two things to check:
>
> 1. Is the reinplacement called on these files? Please take a look at your build log if this is the case
> or if there are errors. The command is always printed.
I don't know. Which is the stanza to look for in the log file?
Note that the log file is available as /home/pfelecan/logs/texlive
> 2. Does the replacement work? It is done with a simple perl-replacement here:
> http://sourceforge.net/apps/trac/gar/browser/csw/mgar/gar/v2/gar.mk#L718
> Please try perl -p -i.bak -e 's(/usr/local)(/opt/csw)g' <thefile>
> if it works manually.
Yes, tried on:
/home/pfelecan/opencsw/texlive/trunk/work/solaris10-sparc/install-isa-sparcv8plus/opt/csw/share/texmf/web2c/texmf.cnf
--
Peter
More information about the maintainers
mailing list