Package Details: miktex 23.12-1

Git Clone URL: https://aur.archlinux.org/miktex.git (read-only, click to copy)
Package Base: miktex
Description: a distribution of the TeX/LaTeX typesetting system
Upstream URL: https://miktex.org
Licenses: custom
Submitter: heavysink
Maintainer: heavysink (lilac)
Last Packager: lilac
Votes: 10
Popularity: 0.160108
First Submitted: 2020-06-14 02:01 (UTC)
Last Updated: 2023-12-28 13:13 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

Richardk2n commented on 2021-09-22 16:32 (UTC)

@5sdstyrofoam Could you be a little more specific about how it does not work? (Error messages for example?)

5sdstyrofoam commented on 2021-09-19 20:53 (UTC)

@Richardk2n @Erim : None of your workarounds worked. I removed -Werror=format-security from /etc/makepkg.conf ; And when it didn't work I added options=("!buildflags") in the PKGBUILD, after the md5sums line.

None of that worked. Does anyone know why everything I tried failed ? Hopefully I once again made a small mistake and it's not some big problem that'll be impossible to find in the near future.

Erim commented on 2021-09-14 14:55 (UTC) (edited on 2021-09-14 14:55 (UTC) by Erim)

@Richardk2n: I filed a bug report at MiKTeX, but unfortunately, since arch and it's derivatives are not officially supported, they won't fix it in the near future (unless one of the supported distributions decides on a similar policy soon, I guess) However, I managed to compile it by adding options=("!buildflags") after the md5sums... line to the PKGBUILD. Unfortunately that removes all buildflags.

I tried get rid of the flag through the PKGBUILD but that doesn't work (yet). See https://forum.manjaro.org/t/how-to-use-options-to-add-compile-flags-in-a-pkgbuild/82385/4 for more information. I will let you know here if I find a better solution.

Richardk2n commented on 2021-09-07 07:33 (UTC)

@Erim I know a workaround: In /etc/makepkg.conf line 42 the CFLAGS are defined, if you just remove -Werror=format-security from there miktex builds (change works as soon as the file is saved) I would recommend putting it back afterwards, but I don't think it is too important. As far as I know, there is an option to disable certain CFLAGS within the PKGBUILD but I don't know enough to do that/recommend the change myself. Unless someone wants to go fix MiKTeXs code, this would be the way to go in my opinion.

Erim commented on 2021-09-06 21:44 (UTC) (edited on 2021-09-06 21:50 (UTC) by Erim)

I also get the build error and it seems (at least in my case) to be connected to the global compile flag -Werror=format-security Not sure, though how to work around that, without fixing the issues in MiKTeXs code.

Shoot, just noticed that that was mentioned before already...

zeeshanali1993 commented on 2021-08-28 22:02 (UTC) (edited on 2021-08-28 22:03 (UTC) by zeeshanali1993)

Receiving error when trying to build: [ 70%] Built target miktex-dvisvgm make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...

Richardk2n commented on 2021-08-12 20:45 (UTC)

So as it turns out the build failed for me, because manjaro added the default build flag -Werror=format-security and miktex does not build with that. Is there a proper way to turn this of (only for this package)?

Richardk2n commented on 2021-07-14 18:23 (UTC) (edited on 2021-07-14 18:25 (UTC) by Richardk2n)

Apparently the end is not what details the error, so here is the full log. I am sorry, but it is partially in German. If anyone could point me in the right direction to fix this, i would be very thankful.

https://pastebin.com/Hq6HiYRn

theov3rc0mer commented on 2021-07-05 09:49 (UTC) (edited on 2021-07-05 09:49 (UTC) by theov3rc0mer)

Getting error while building the package:

[ 69%] Linking CXX executable ../../../sandbox/miktex/bin/linux-x86_64/miktex-dvisvgm
[ 69%] Built target miktex-dvisvgm
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...