Search Criteria
Package Details: miktex 25.4-2
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 |
Submitter: | heavysink |
Maintainer: | heavysink (lilac) |
Last Packager: | lilac |
Votes: | 11 |
Popularity: | 0.076650 |
First Submitted: | 2020-06-14 02:01 (UTC) |
Last Updated: | 2025-06-09 04:23 (UTC) |
Dependencies (40)
- apr
- apr-util
- boost-libs
- bzip2 (bzip2-gitAUR)
- cairo (cairo-gitAUR)
- expat (expat-gitAUR)
- fontconfig (fontconfig-gitAUR, fontconfig-ubuntuAUR)
- freetype2 (freetype2-qdoledAUR, freetype2-gitAUR, freetype2-qdoled-aw3225qfAUR, freetype2-macosAUR)
- fribidi (fribidi-gitAUR)
- gd (gd-gitAUR)
- gmp (gmp-hgAUR)
- graphite (graphite-gitAUR)
- harfbuzz-icu (harfbuzz-icu-gitAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- hunspell (hunspell-gitAUR)
- icu (icu-gitAUR)
- libjpeg (mozjpeg-gitAUR, libjpeg-turbo-gitAUR, mozjpegAUR, libjpeg-turbo)
- libmspack
- libpng (libpng-gitAUR, libpng-apngAUR)
- log4cxx (log4cxx-gitAUR)
- Show 20 more dependencies...
Latest Comments
1 2 3 4 5 Next › Last »
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.h
Including 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 --build
should be used instead ofmake -j2
because 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.h
seems 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?Grzzlwmpf commented on 2025-05-04 15:30 (UTC) (edited on 2025-05-04 15:32 (UTC) by Grzzlwmpf)
curl also seems to sometimes fail while building:
That target is executing
/usr/bin/curl -o /home/user/.cache/yay/miktex/src/miktex-25.4/build/miktex-zzdb3-2.9.tar.lzma -fsSL https://ctan.org/tex-archive/systems/win32/miktex/tm/packages/miktex-zzdb3-2.9.tar.lzma
When running the command directly from the console, it threw up the error only once out of five tries. Maybe ctan is rate-limiting or something?
mapatrapa commented on 2025-05-03 18:32 (UTC)
Since the last update there is a build error:
File /home/user/.cache/yay/miktex/src/miktex-25.4/Programs/DviWare/dvisvgm/source/libs/woff2/src/woff2_out.cc:9: /home/user/.cache/yay/miktex/src/miktex-25.4/Programs/DviWare/dvisvgm/source/libs/woff2/include/woff2/output.h:73:25: error: expected ‘)’ before ‘’ token 73 | WOFF2MemoryOut(uint8_t buf, size_t buf_size); | ~ ^ | ) /home/user/.cache/yay/miktex/src/miktex-25.4/Programs/DviWare/dvisvgm/source/libs/woff2/include/woff2/output.h:79:3: error: ‘uint8_t’ no nombra a un tipo 79 | uint8_t buf_; | ^
~~ /home/user/.cache/yay/miktex/src/miktex-25.4/Programs/DviWare/dvisvgm/source/libs/woff2/include/woff2/output.h:16:1: nota: ‘uint8_t’ is defined in header ‘<cstdint>’; this is probably fixable by adding ‘#include <cstdint>’ 15 | #include <string> +++ |+#include <cstdint> 16 | /home/user/.cache/yay/miktex/src/miktex-25.4/Programs/DviWare/dvisvgm/source/libs/woff2/src/woff2_out.cc:44:31: error: expected constructor, destructor, or type conversion before ‘(’ token 44 | WOFF2MemoryOut::WOFF2MemoryOut(uint8_t buf, size_t buf_size) | ^ /home/user/.cache/yay/miktex/src/miktex-25.4/Programs/DviWare/dvisvgm/source/libs/woff2/src/woff2_out.cc: In member function ‘virtual bool woff2::WOFF2MemoryOut::Write(const void*, size_t, size_t)’: /home/user/.cache/yay/miktex/src/miktex-25.4/Programs/DviWare/dvisvgm/source/libs/woff2/src/woff2_out.cc:57:15: error: ‘buf_’ was not declared in this scope; did you mean ‘buf’? 57 | std::memcpy(buf_ + offset, buf, n); | ^~~~ | bufvitaliikuzhdin commented on 2024-12-29 13:17 (UTC) (edited on 2025-01-25 22:58 (UTC) by vitaliikuzhdin)
@heavysink, would you mind adopting some of the fixes I just pushed to miktex-git? They include:
Fixed
hicolor-icon-theme
icons installation directory:/usr/share/applications/icons -> /usr/share/icons
Fixed
polkit
execution path:/usr/bin -> /opt/miktex/bin
Fixed graphical sudo frontend execution path via symlinks:
/usr/bin/{pkexec,kdesu,gksu} -> /opt/miktex/bin/
. This also resolves the error reported by @zeeshanali1993 and @jolitp:Fixed compilation error due to
-Wformat-security
enabled via a patch. This also allows removal ofoptions=('!buildflags')
.Symlinked non-conflicting binaries:
/opt/miktex/bin/miktex* -> /usr/bin/
. I am also considering creating a separate package for all binaries (not justmiktex*
), which would conflict withtexlive
.Updated dependencies according to
namcap
. While I'm not entirely certain about all of them, it builds in a clean chroot and normally, and appears to be fully functional in my workflow.Thanks!
mateusm commented on 2024-11-08 12:27 (UTC) (edited on 2024-11-08 12:28 (UTC) by mateusm)
build is giving a 404 error:
-- Generating done (0.6s) -- Build files have been written to: /home/mateus/.cache/yay/miktex/src/miktex-24.4/build [ 0%] Generating miktex-zzdb1-2.9.tar.lzma [ 0%] Building CXX object Libraries/3rd/fmt/shared/CMakeFiles/miktex-fmt.dir/__/source/src/format.cc.o curl: (22) The requested URL returned error: 404 make[2]: *** [CMakeFiles/gen-bootstrapping-files.dir/build.make:95: miktex-zzdb1-2.9.tar.lzma] Error 22 make[1]: *** [CMakeFiles/Makefile2:3953: CMakeFiles/gen-bootstrapping-files.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 1%] Building CXX object Libraries/3rd/fmt/shared/CMakeFiles/miktex-fmt.dir/__/source/src/os.cc.o [ 1%] Linking CXX shared library ../../../../sandbox/miktex/bin/linux-x86_64/libmiktex-fmt.so [ 1%] Built target miktex-fmt make: *** [Makefile:166: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: miktex-exit status 4
1 2 3 4 5 Next › Last »