Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1232010 > unrolled thread

Bug#1092427: latex-cjk-chinese-arphic: FTBFS: dh_install: error: missing files, aborting

Started byDanai SAE-HAN (韓達耐) <danai.saehan@gmail.com>
First post2025-02-06 17:10 +0100
Last post2025-02-06 17:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1092427: latex-cjk-chinese-arphic: FTBFS: dh_install: error: missing files, aborting Danai SAE-HAN (韓達耐) <danai.saehan@gmail.com> - 2025-02-06 17:10 +0100

#1232010 — Bug#1092427: latex-cjk-chinese-arphic: FTBFS: dh_install: error: missing files, aborting

FromDanai SAE-HAN (韓達耐) <danai.saehan@gmail.com>
Date2025-02-06 17:10 +0100
SubjectBug#1092427: latex-cjk-chinese-arphic: FTBFS: dh_install: error: missing files, aborting
Message-ID<KdcBY-eS2x-3@gated-at.bofh.it>
A note to myself:
There is a race condition in my debian/rules file that causes
dh_install to search for AFM files, even though they have not been
built yet.
A temporary fix is to pass the argument "-j1" in "pbuilder" or
"debuild" to only allow a single thread to work on building the
package, until I have found the culprit.

-- 
Danai

On Thu, 16 Jan 2025 at 18:44, Danai SAE-HAN (韓達耐)
<danai.saehan@gmail.com> wrote:
>
> I believe I can reproduce the bug as follows:
>
> $ sudo pbuilder create --debootstrapopts --variant=buildd
> --distribution unstable
> $ sudo pbuilder build latex-cjk-chinese-arphic_2.0.dsc
>
> Time to set up a few pbuilder hooks to do some APT pinning.  Possible
> packages: fontforge (even though the difference between unstable and
> testing is just a binary re-upload, hence +b1), or tex-common /
> texlive-font-utils.
>
> --
> Danai
>
> On Fri, 10 Jan 2025 at 13:02, Danai SAE-HAN (韓達耐)
> <danai.saehan@gmail.com> wrote:
> >
> > Note to forgetful self: missing AFM font files during Fontforge build.
> > A quick debuild on my Debian/testing machine works out fine.
> >
> > From Lucas' build log:
> > =====================================================================================
> > dh_installexamples -platex-cjk-chinese-arphic-bkai00mp
> > -Pdebian/latex-cjk-chinese-arphic-bkai00mp
> > dh_install: warning: Cannot find (any matches for)
> > "build/gbsn00lp/*.afm" (tried in ., debian/tmp)
> >
> > dh_install: warning: latex-cjk-chinese-arphic-gbsn00lp missing files:
> > build/gbsn00lp/*.afm
> > dh_install: warning: Cannot find (any matches for)
> > "build/bsmi00lp/*.afm" (tried in ., debian/tmp)
> >
> > dh_install: warning: latex-cjk-chinese-arphic-bsmi00lp missing files:
> > build/bsmi00lp/*.afm
> > dh_install: error: missing files, aborting
> > dh_install: error: missing files, aborting
> > make: *** [debian/rules:262: binary_bsmi] Error 255
> > make: *** Waiting for unfinished jobs....
> > make: *** [debian/rules:262: binary_gbsn] Error 255
> > dh_install -platex-cjk-chinese-arphic-bkai00mp
> > -Pdebian/latex-cjk-chinese-arphic-bkai00mp build/bkai00mp/*.afm
> > usr/share/texmf/fonts/afm/arphic/bkaiu/
> > dh_install: warning: Cannot find (any matches for)
> > "build/gkai00mp/*.afm" (tried in ., debian/tmp)
> >
> > dh_install: warning: latex-cjk-chinese-arphic-gkai00mp missing files:
> > build/gkai00mp/*.afm
> > dh_install: error: missing files, aborting
> > make: *** [debian/rules:263: binary_gkai] Error 255
> > dh_install: warning: Cannot find (any matches for)
> > "build/bkai00mp/*.afm" (tried in ., debian/tmp)
> >
> > dh_install: warning: latex-cjk-chinese-arphic-bkai00mp missing files:
> > build/bkai00mp/*.afm
> > dh_install: error: missing files, aborting
> > make: *** [debian/rules:263: binary_bkai] Error 255
> > =====================================================================================
> >
> > AFM files are created after "Generating font..." and "Generating
> > subfonts...", generated by Fontforge .pe scripts.
> > Time to compare my build log with that of Lucas.
> > Then I'll try cowbuilder or pbuilder, and check out Debian/unstable.
> >
> >
> > --
> > Danai

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web