Search Criteria
Package Details: miktex 26.5-1
Package Actions
| 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:MiKTeX license |
| Submitter: | heavysink |
| Maintainer: | heavysink (lilac) |
| Last Packager: | lilac |
| Votes: | 13 |
| Popularity: | 0.056604 |
| First Submitted: | 2020-06-14 02:01 (UTC) |
| Last Updated: | 2026-05-14 12:54 (UTC) |
Dependencies (39)
- apr
- apr-util
- boost-libs
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- expat (expat-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoled-aw3225qfAUR, freetype2-qdoled-gen3AUR, freetype2-gitAUR, freetype2-macosAUR, freetype2-qdoledAUR, freetype2-woledAUR)
- fribidi (fribidi-gitAUR)
- gd (gd-gitAUR)
- gmp (gmp-hgAUR)
- graphite (graphite-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- hunspell (hunspell-gitAUR)
- icu (icu-gitAUR)
- libjpeg (mozjpeg-gitAUR, mozjpegAUR)
- libmspack
- libpng (libpng-gitAUR, libpng-apngAUR)
- log4cxx (log4cxx-gitAUR)
- mpfi
- Show 19 more dependencies...
Latest Comments
1 2 3 4 5 Next › Last »
airaqi commented on 2026-07-05 08:35 (UTC) (edited on 2026-07-05 08:38 (UTC) by airaqi)
During build I got two errors:
it has been fixed by adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to the make command in PKGBUILD.
cmake -DCMAKE_BUILD_TYPE='None' -DCMAKE_INSTALL_PREFIX=/opt/miktex -DWITH_UI_QT=ON -DUSE_SYSTEM_POPPLER=TRUE -DUSE_SYSTEM_POPPLER_QT=TRUE -DUSE_SYSTEM_HARFBUZZ=FALSE -DUSE_SYSTEM_HARFBUZZ_ICU=FALSE -DCMAKE_POLICY_VERSION_MINIMUM=3.5 ..Then:
and it has been fixed by replacing 'libjpeg-turbo' instread of 'libjpeg' thanks to @cuysaurus.
I hope that helps.
pqatsi commented on 2026-07-03 15:20 (UTC)
Can @heavysink apply this patch?
cuysaurus commented on 2026-07-03 00:31 (UTC)
Seems like " the virtual package libjpeg was intentionally removed from Arch Linux's official libjpeg-turbo update. Official repository packages now depend on libjpeg.so or libjpeg-turbo "
attilatiti commented on 2025-08-21 13:26 (UTC)
Hi! Thanks for maintaining this package.
While installing I that the following packages were missing in the build-dependencies: - bison - flex
Before installing these 2, the installation failed on my system. Afterwards it worked!
mundi commented on 2025-05-22 18:26 (UTC) (edited on 2025-05-22 18:27 (UTC) by mundi)
Thank you for maintaining this package I'm not sure what version exactly this started to happen but I'm unable to install the package, it gives diffrent error every time. I don'understand why
here some of them
another time it gave
``` | ^
~ /home/abdou/.cache/paru/clone/miktex/src/miktex-25.4/build/Programs/TeXAndFriends/omega/omegaware/odvicopy.cc:4879:43: warning: unsigned conversion from ‘int’ to ‘odvicopyProgram::int16u’ {aka ‘short unsigned int’} changes value from ‘1000000’ to ‘16960’ [-Woverflow] 4879 | overflow (strbytes, maxbytes); | ^~ [ 74%] Linking CXX static library ../../../../sandbox/miktex/bin/linux-x86_64/libodvicopy.a [ 74%] Built target odvicopy make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'miktex-25.4-1': error: packages failed to build: miktex-25.4-1```
vitaliikuzhdin commented on 2025-05-18 11:44 (UTC)
@Richardk2n, the patch is accessible via this link: https://github.com/MiKTeX/miktex/pull/1624.patch?full_index=1
The current state of the package includes
options=('!buildflags')to avoid a build error. However, this also disables user-defined build flags, potentially compromising security and performance optimizations. This option should be removed, and a patch like the following should be applied: https://aur.archlinux.org/cgit/aur.git/tree/miktex_format_security.patch?h=miktex-gitGrzzlwmpf commented on 2025-05-18 10:06 (UTC) (edited on 2025-05-18 10:08 (UTC) by Grzzlwmpf)
@Richardk2n Never used patches either tbh, but a quick skim of the wiki page seems to suggest that for a single-line change like this sed is probably more useful:
sed -i '16i #include <cstdint>' Programs/DviWare/dvisvgm/source/libs/woff2/include/woff2/output.hIncluding that into prepare() seemed to do the trick, at least for me locally
Richardk2n commented on 2025-05-18 09:52 (UTC) (edited on 2025-05-18 09:53 (UTC) by Richardk2n)
@Grzzlwmpf could you please make a patch for the include (I don't have enough experience with using patches this way to do it myself)?
@heavysink would you please include said patch?
As it stands now, the package does not build aka is broken, so I think this is warranted. Given the track record of the MikTeX maintainer, he will probably not fix it (in a timely manner).
PR for reference: https://github.com/MiKTeX/miktex/pull/1624
OSDVF commented on 2025-05-14 06:01 (UTC)
cmake --buildshould be used instead ofmake -j2because user may have changed the default CMake generator.Grzzlwmpf commented on 2025-05-04 15:55 (UTC) (edited on 2025-05-04 15:55 (UTC) by Grzzlwmpf)
Also just tested, and manually adding
#include <cstdint>toPrograms/DviWare/dvisvgm/source/libs/woff2/include/woff2/output.hseems to fully resolve the build issue @mapatrapa mentioned. I've submitted an issue on the GitHub already, but until upstream updates, maybe this could be manually patched in via the PKGBUILD?1 2 3 4 5 Next › Last »