You are not logged in.
Hi,
a package I use recently got updated with a patch due to a bug. The PKGBUILD file reflects this change. However when I install the package using pacman it is not being built, and so the bug remains. I can see that it's not being built because the install is very quick, and I have manually patched and built the source to confirm this and that the patch does fix the bug. Do I have to do something special to get pacman to actually build the package?
Thanks, Jamie
Offline
However when I install the package using pacman it is not being built
Pacman doesn't build anything ever, it installs pre-built packages.
Can you post the output of
pacman -Q flickcurlSakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
The package has just been updated, maybe you're installing it from a mirror that hasn't synced yet.
Offline
Thanks both. I think it was even more basic than the mirror not having synced, I hadn't synced(!)
Incidentally if pacman never builds anything, what's the build section for?
prepare() {
cd "$srcdir/$pkgname-$pkgver"
patch -p1 <$srcdir/a5cc2a5d2fc7074f50fbaa772232b6e0fea7ce89.patch
}
build() {
cd "$srcdir/$pkgname-$pkgver"
sed -i 's|#include <curl/types.h>||' src/flickcurl_internal.h
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}Offline
makepkg does the building, pacman does the installing.
Offline
The package has just been updated, maybe you're installing it from a mirror that hasn't synced yet.
This is probably it.
makepkg does the building, pacman does the installing.
I saw that coming as soon as I read the thread title. At least I wasn't the only one splitting hairs over it. ;-)
@JamieKitson
If you want to test the theory, you can try syncing with the ABS (or downloading the PKGBUILD), and running makepkg yourself after verifying the PKGBUILD includes the patch in question.
Offline
The ABS usually takes a day to sync, so using the ABS tool may not be the best way to go about this if the pkgbuild has just been uploaded.
Offline
The ABS usually takes a day to sync, so using the ABS tool may not be the best way to go about this if the pkgbuild has just been uploaded.
Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby
Offline