You are not logged in.

#1 2015-04-10 18:37:06

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

Pacman not building package

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

#2 2015-04-10 18:42:21

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,547
Website

Re: Pacman not building package

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 flickcurl

Sakura:-
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

#3 2015-04-10 18:54:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman not building package

The package has just been updated, maybe you're installing it from a mirror that hasn't synced yet.

Offline

#4 2015-04-10 19:08:25

JamieKitson
Member
From: UK
Registered: 2010-10-18
Posts: 161
Website

Re: Pacman not building package

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

#5 2015-04-10 19:09:51

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: Pacman not building package

makepkg does the building, pacman does the installing.

Offline

#6 2015-04-11 00:25:28

EscapedNull
Member
Registered: 2013-12-04
Posts: 129

Re: Pacman not building package

karol wrote:

The package has just been updated, maybe you're installing it from a mirror that hasn't synced yet.

This is probably it.

circleface wrote:

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

#7 2015-04-11 08:55:51

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Pacman not building package

EscapedNull wrote:

@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.

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

#8 2015-04-11 09:11:10

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: Pacman not building package

runical wrote:

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.

https://aur.archlinux.org/packages/asp-git/


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

Board footer

Powered by FluxBB