The value of makepkg_command should be "/usr/bin/makepkg -scf" only.
Additionally, try to comment out the line PKGDEST=/home/lpc123/packages in makepkg.conf to see if it changes anything.
I read the thread: https://github.com/trizen/trizen/issues/166
In trizen.conf, I have:
clone_dir => "/tmp/trizen-lpc123",
makepkg_command => "PKGDEST= /usr/bin/makepkg -scf"
movepkg => 0,
movepkg_dir => "/var/cache/pacman/pkg",
In makepkg.conf, I have:
PKGDEST=/home/lpc123/packages
I do not understand what is wrong, but when I try to do the upgrade, trizen says this before attempting to upgrade:
HEAD is now at d41b80f Version 1.50
Already up to date.
@lpc123 I suspect it's something related to pacman 5.1 and some settings in /etc/makepkg.conf, especially the PKGDEST option (see: https://github.com/trizen/trizen/issues/166).
If this is the case, you can update to version 1.50 manually, which includes a fix for this particular issue:
git clone https://aur.archlinux.org/trizen.git
cd trizen
makepkg -si
I checked all dependencies and optional dependencies, and I even tried manually with makepkg, but no go. Previous version works fine; just thought you should know it did not work for me. Sorry, not sure what details you need to see. Let me know and I will post.
@lpc123 can you provide more details, please?
Version 1:1.50-1 update will not install correctly as configured.
@dawcek: There is definitely something wrong. Check out the wiki page: https://wiki.archlinux.org/index.php/Locale for how to correctly set the locale.
Once the locale is set correctly, there should be no warning messages.
@trizen:
with polish locale:
[dawid@dawcek ~]$ trizen -S code
błąd: pakiet code nie został znaleziony
=>> Try again? [y/N]:
when I will switch to english locale:
[dawid@dawcek ~]$ export LANG=en_US.UTF-8
[dawid@dawcek ~]$ trizen -S code <br>
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "pl",
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
And I am able to build package.
Am I doing sth wrong or this is some kind of bug?
@dawcek: Could you, please, post the error message you are getting? Thanks!
@OriginCode: Yes, please feel free to do so.
Can I package this to archlinuxcn community repository?
Thank you all.
The value of
makepkg_commandshould be "/usr/bin/makepkg -scf" only.Additionally, try to comment out the line
PKGDEST=/home/lpc123/packagesin makepkg.conf to see if it changes anything.