Bug#906491: mediawiki2latex: FTBFS in buster/sid (File name does not match module name)
Hi Georges, I just published mediawiki2atex version 7.30. I think this solves this bug. 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 '/<>' ghc /<>/Setup.lhs [1 of 1] Compiling Main ( /<>/Setup.lhs, /<>/Setup.o ) Linking /<>/Setup ... /<>/Setup configure Configuring mediawiki2latex-7.29... make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' /<>/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 '/<>' 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.
Bug#906491: mediawiki2latex: FTBFS in buster/sid (File name does not match module name)
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 '/<>' ghc /<>/Setup.lhs [1 of 1] Compiling Main ( /<>/Setup.lhs, /<>/Setup.o ) Linking /<>/Setup ... /<>/Setup configure Configuring mediawiki2latex-7.29... make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' /<>/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 '/<>' 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.
Bug#906491: mediawiki2latex: FTBFS in buster/sid (File name does not match module name)
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 '/<>' > > ghc /<>/Setup.lhs > > [1 of 1] Compiling Main ( /<>/Setup.lhs, > > /<>/Setup.o ) > > Linking /<>/Setup ... > > /<>/Setup configure > > Configuring mediawiki2latex-7.29... > > make[1]: Leaving directory '/<>' > > debian/rules override_dh_auto_build > > make[1]: Entering directory '/<>' > > /<>/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 '/<>' > > 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. > -- Georges KHAZNADAR et Jocelyne FOURNIER 22 rue des mouettes, 59240 Dunkerque France. Téléphone +33 (0)3 28 29 17 70 dpkg-checkbuilddeps: error: Unmet build dependencies: ghc libghc-x509-dev libghc-pem-dev libghc-regex-compat-dev libghc-http-dev cabal-install libghc-hxt-dev libghc-split-dev libghc-blaze-html-dev libghc-file-embed-dev libghc-highlighting-kate-dev libghc-hxt-http-dev libghc-regex-pcre-dev libghc-temporary-dev libghc-url-dev libghc-utf8-string-dev libghc-utility-ht-dev libghc-http-conduit-dev libghc-happstack-server-dev libghc-directory-tree-dev libghc-zip-archive-dev libghc-strict-dev libghc-network-uri-dev [1;33mW: Unmet build-dependency in source[0m dpkg-source: info: applying 10-Makefile.patch dpkg-source: info: applying 20-network-uri.patch dpkg-source: info: applying 30-typos.patch dh clean dh_auto_clean make -j1 clean make[1]: Entering directory '/home/georgesk/developpement/mediawiki2latex/collab/mediawiki2latex' rm -rf mediawiki2latex Setup Setup.hi Setup.o ./dist/ mediawiki2latex.1.gz mediawiki2latex.1 make[1]: Leaving directory '/home/georgesk/developpement/mediawiki2latex/collab/mediawiki2latex' dh_clean dpkg-source: info: using source format '3.0 (quilt)' dpkg-source: info: building mediawiki2latex using existing ./mediawiki2latex_7.29.orig.tar.gz dpkg-source: info: building mediawiki2latex in mediawiki2latex_7.29-2.debian.tar.xz dpkg-source: info: building mediawiki2latex in mediawiki2latex_7.29-2.dsc [0mI: Generated dsc will be overwritten by build result; not generating changes file[0m dpkg-source: info: unapplying 30-typos.patch dpkg-source: info: unapplying 20-network-uri.patch dpkg-source: info: unapplying 10-Makefile.patch [0mI: Copying COW directory[0m [0mI: forking: rm -rf /var/cache/pbuilder/build/cow.32451[0m [0mI: forking: cp -al /var/cache/pbuilder/base.cow /var/cache/pbuilder/build/cow.32451[0m [0mI: removed stale ilistfile /var/cache/pbuilder/build/cow.32451/.ilist[0m [0mI: forking: chroot /var/cache/pbuilder/build/cow.32451 cowdancer-ilistcreate /.ilist 'find . -xdev -path ./home -prune -
Bug#906491: mediawiki2latex: FTBFS in buster/sid (File name does not match module name)
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 '/<>' ghc /<>/Setup.lhs [1 of 1] Compiling Main ( /<>/Setup.lhs, /<>/Setup.o ) Linking /<>/Setup ... /<>/Setup configure Configuring mediawiki2latex-7.29... make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' /<>/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 '/<>' 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.
Bug#906491: mediawiki2latex: FTBFS in buster/sid (File name does not match module name)
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 '/<>' ghc /<>/Setup.lhs [1 of 1] Compiling Main ( /<>/Setup.lhs, /<>/Setup.o ) Linking /<>/Setup ... /<>/Setup configure Configuring mediawiki2latex-7.29... make[1]: Leaving directory '/<>' debian/rules override_dh_auto_build make[1]: Entering directory '/<>' /<>/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 '/<>' 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.