@Zepman: Thanks, I'll have a look.
But first:
Do you build in a Chroot?
Do you use makepkg manually or do you use an aur helper?
If an aur helper, which one?
| Git Clone URL: | https://aur.archlinux.org/ttf-ms-win10-auto.git (read-only, click to copy) |
|---|---|
| Package Base: | ttf-ms-win10-auto |
| Description: | Microsoft Windows 10 Traditional Chinese TrueType fonts |
| Upstream URL: | http://www.microsoft.com/typography/fonts/product.aspx?PID=164 |
| Licenses: | custom |
| Conflicts: | ttf-ms-win10-zh_tw |
| Provides: | ttf-ms-win10-zh_tw |
| Submitter: | Zepman |
| Maintainer: | RubenKelevra |
| Last Packager: | RubenKelevra |
| Votes: | 43 |
| Popularity: | 1.47 |
| First Submitted: | 2021-02-24 16:44 (UTC) |
| Last Updated: | 2024-07-23 00:51 (UTC) |
@Zepman: Thanks, I'll have a look.
But first:
Do you build in a Chroot?
Do you use makepkg manually or do you use an aur helper?
If an aur helper, which one?
I think this package is broken, because when I try to install this via yay everything went fine but after I believe the near end it returns with an error saying it failed to make ttf-ms-win10-auto-exit
@knuxyl thanks for the report. Do you call makepkg manually or do you use an AUR helper?
Do you use a clean chroot?
This doesn't work. It errors saying /dev/loop0 or whichever is already mounted, which was mounted by this pkgbuild. I had to manually umount the http and /dev/loop mounts, restarted, tried again, same problem. The loop device is mounted with the iso file this script downloads, and then complains it's already mounted and fails.
Hey @carlosal1015,
while not pretty there's no way to prevent this warnings to appear at the moment.
Please read the instructions in the PKGBUILD before reporting:
Please ignore any 'ln' errors when building this package. This is expected behavior.
Thanks!
Hi, I have the following message during installation
==> Removing existing $srcdir/ directory...
==> Extracting sources...
ln: failed to create symbolic link '/tmp/makepkg/ttf-ms-win10-auto/src/' -> '': No such file or directory
ln: failed to create symbolic link '/tmp/makepkg/ttf-ms-win10-auto/src/' -> '': No such file or directory
ln: failed to create symbolic link '/tmp/makepkg/ttf-ms-win10-auto/src/' -> '': No such file or directory
ln: failed to create symbolic link '/tmp/makepkg/ttf-ms-win10-auto/src/' -> '': No such file or directory
ln: failed to create symbolic link '/tmp/makepkg/ttf-ms-win10-auto/src/' -> '': No such file or directory
ln: failed to create symbolic link '/tmp/makepkg/ttf-ms-win10-auto/src/' -> '': No such file or directory
ln: failed to create symbolic link '/tmp/m
To whom it may concern: Don't feed the troll. Thanks :)
@RubenKelevra Noob? It sounds like you're the noob here since you can't even manage to make a working PKGBUILD.
@boyd8444 yeah, I end the discussion here. This is not the place for noobs to ask basic questions.
Have a nice day.
@RubenKelevra If I were an official package maintainer I might make the effort to use a chroot build environment, but yay uses a normal user to build and has the option to remove build dependencies which is all I need.
Your needs may be different, but claiming that a chroot build environment is more serure is just false. A chroot in no way protects you from installing malicious code if that is what you mean by security.
Pinned Comments
Zepman commented on 2021-02-24 16:49 (UTC) (edited on 2021-03-24 22:08 (UTC) by Zepman)
This package is based on ttf-ms-win10. It differs in that it automatically downloads the fonts from Microsoft, if possible without downloading an entire ISO file.
If Polkit allows the user to create loop devices and mount files using udisks, around 200 MB of (mostly compressed) data will be downloaded. This can be a slow download method even over the fastest connections, since the fonts are taken from a large ISO file without downloading the entire file.
If Polkit is not available or it does not allow the user to use udisks, the entire ISO file will be downloaded and install.wim will be extracted. A check ensures that enough temporary disk space is available, which can be up to twice the size of the ISO file. This can happen if either Polkit or an authentication agent is not running, or when a user is logged in remotely (e.g. through SSH).