[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#712244: FTBFS: cp: cannot stat '/usr/share/texlive/texmf/tex/generic/hyphen/hyphen.tex': No such file or directory



Package: hyphen
Version: 2.8.6-2
Severity: serious
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu saucy ubuntu-patch

Hi,

hyphen FTBFS in unstable:

,----
| cp -f /usr/share/texlive/texmf/tex/generic/hyphen/hyphen.tex hyphen.us
| cp: cannot stat '/usr/share/texlive/texmf/tex/generic/hyphen/hyphen.tex': No such file or directory
| make[2]: *** [hyphen.us3] Error 1
| make[2]: Leaving directory `/build/buildd/hyphen-2.8.6'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/build/buildd/hyphen-2.8.6'
| make: *** [build-stamp] Error 2
| dpkg-buildpackage: error: debian/rules build gave error exit status 2
`----

Looks like texlive-base moved the location of this file.

Patch attached.

Cheers,

-- 
Iain Lane                                  [ iain@orangesquash.org.uk ]
Debian Developer                                   [ laney@debian.org ]
Ubuntu Developer                                   [ laney@ubuntu.com ]
diff -u hyphen-2.8.6/debian/changelog hyphen-2.8.6/debian/changelog
diff -u hyphen-2.8.6/debian/control hyphen-2.8.6/debian/control
--- hyphen-2.8.6/debian/control
+++ hyphen-2.8.6/debian/control
@@ -2,7 +2,7 @@
 Priority: optional
 Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
 Uploaders: Rene Engelhard <rene@debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, texlive-base (>= 2011~), dpatch, gawk
+Build-Depends: debhelper (>= 5), autotools-dev, texlive-base (>= 2013.20130520), dpatch, gawk
 Build-Depends-Indep: dictionaries-common-dev
 Standards-Version: 3.7.2
 Section: libs
diff -u hyphen-2.8.6/debian/patches/01_hyphen_tex_from_TeXLive.dpatch hyphen-2.8.6/debian/patches/01_hyphen_tex_from_TeXLive.dpatch
--- hyphen-2.8.6/debian/patches/01_hyphen_tex_from_TeXLive.dpatch
+++ hyphen-2.8.6/debian/patches/01_hyphen_tex_from_TeXLive.dpatch
@@ -13,7 +13,7 @@
  
  hyphen.us3:
 -	cp -f $(srcdir)/hyphen.tex hyphen.us
-+	cp -f /usr/share/texlive/texmf/tex/generic/hyphen/hyphen.tex hyphen.us
++	cp -f /usr/share/texlive/texmf-dist/tex/generic/hyphen/hyphen.tex hyphen.us
  	patch < $(srcdir)/hyphen.patch
  	$(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2
  	cat hyphen.us hyphen.us2 >hyphen.us3
@@ -25,7 +25,7 @@
  
  hyphen.us3:
 -	cp -f $(srcdir)/hyphen.tex hyphen.us
-+	cp -f /usr/share/texlive/texmf/tex/generic/hyphen/hyphen.tex hyphen.us
++	cp -f /usr/share/texlive/texmf-dist/tex/generic/hyphen/hyphen.tex hyphen.us
  	patch < $(srcdir)/hyphen.patch
  	$(srcdir)/tbhyphext.sh <$(srcdir)/tbhyphext.tex >hyphen.us2
  	cat hyphen.us hyphen.us2 >hyphen.us3

Reply to: