Hi Georges,

I set up a VM with buster. I did some minor changes to the sourcecode of mediawiki2latex and everything compiles now on buster without warnings. The only thing is that I can not test it on buster since something seems to be wrong with xelatex on buster in general, I get some warning like "I can't find the format file xelatex.fmt". I also get errors when I try to install xelatex with apt-get, especially about language packs. What do you propose? Should I just publish a new release  of mediawiki2latex. I think its currently the best thing to do, since this will keep mediawiki2latex in debian, an there will be a realistic chance that the problems with xelatex will be solved by others.

Yours Dirk


On 18.08.2018 17:38, Georges Khaznadar wrote:
Dear Dirk,

I created a git repository to manage debian packaging at salsa.debian.org,
and then modified slightly one debain patch to take your proposition in
account.

Unfortunately, the package still FTNFS.

Maybe you would like to create an account at https://salsa.debian.org
and either fork and request some pulls or become a direct maintainer of
https://salsa.debian.org/georgesk/mediawiki2latex

Please find attached the build log for my last build attempt, which is
synchronized with the current state of the repository mentioned above.

Best regards,                           Georges.

Dirk Hünniger a écrit :
Hi Georges,

Hi Santiago,

to me it looks that the line "Font" in the section "Other-Modules:" in the
file "mediawiki2latex.cabal" needs to be removed to fix the issue. @Georges
is it easy for you to create a patch to fix that, or should I better release
a new version?

Yours Dirk


On 17.08.2018 21:22, Santiago Vila wrote:
Package: src:mediawiki2latex
Version: 7.29-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
   debian/rules build-arch
dh build-arch
     dh_update_autotools_config -a
     debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
ghc /<<PKGBUILDDIR>>/Setup.lhs
[1 of 1] Compiling Main             ( /<<PKGBUILDDIR>>/Setup.lhs, 
/<<PKGBUILDDIR>>/Setup.o )
Linking /<<PKGBUILDDIR>>/Setup ...
/<<PKGBUILDDIR>>/Setup configure
Configuring mediawiki2latex-7.29...
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
     debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/<<PKGBUILDDIR>>/Setup build
Preprocessing executable 'mediawiki2latex' for mediawiki2latex-7.29..
Building executable 'mediawiki2latex' for mediawiki2latex-7.29..

src/Font.hs:1:1: error:
      File name does not match module name:
      Saw: `Main'
      Expected: `Font'
    |
1 | import Data.Tuple
    | ^
make[1]: *** [debian/rules:9: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:14: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -B" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/mediawiki2latex.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to