You are not logged in.

#1 2009-08-10 18:20:54

gav616
Member
Registered: 2008-01-16
Posts: 182

makepkg gone weird

I have a PKGBUILD for a SVN package that i manually edit to change the 'pkgver' to build as I want,
after the new pacman update, things seem broken (or vastly different to pre 3.3.0):

because I'm updating svn i could previously just miss out the 'md5sums' but now it seems it needs it, and even if i do do a 'makepkg -g' to get the sums, it still doesn't build.

using '${pkgver}' in the url for the package doesn't seem to work now.

even if i have the right package version in the pkgbuild directory it doesn't check that file but it re-downloads it every-time.

Last edited by gav616 (2009-08-10 18:22:33)

Offline

#2 2009-08-10 18:34:00

tadzik
Member
From: &tadzik
Registered: 2009-07-17
Posts: 91

Re: makepkg gone weird

Ignoring md5sums variable has alredy been discussed and there's even an issue somewhere around.

Offline

#3 2009-08-10 19:09:38

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: makepkg gone weird

I really don't get you are saying, but I would guess there is a problem with your PKGBUILD.
Are you sure you are following the guidelines : http://wiki.archlinux.org/index.php/Arc … N_PKGBUILD ?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#4 2009-08-15 00:53:28

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: makepkg gone weird

Hello gav616!

Which package do you speaking about so that we can check the exact case.

Offline

#5 2009-08-15 01:13:18

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: makepkg gone weird

This has bothered me too. With the newest pacman, it appearantly forces you to include correct md5sums in the PKGBUILD. I often build slightly customized packages from ABS/AUR, and it's a chore to always do makepkg -g >> PKGBUILD && makepkg everytime tongue

Offline

#6 2009-08-15 01:22:20

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: makepkg gone weird

argh, i keep hitting quote instead of edit

Last edited by tdy (2009-08-15 01:25:06)

Offline

#7 2009-08-15 01:24:22

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 440

Re: makepkg gone weird

tadzik wrote:

Ignoring md5sums variable has alredy been discussed and there's even an issue somewhere around.

Themaister wrote:

With the newest pacman, it appearantly forces you to include correct md5sums in the PKGBUILD. I often build slightly customized packages from ABS/AUR, and it's a chore to always do makepkg -g >> PKGBUILD && makepkg everytime tongue

VCS packages are a separate issue when it comes to md5sums.  If you follow the proper guidelines for making svn/git/cvs/etc packages, source/md5sums aren't required even with the new pacman.

That being said, I'm with shining.. I don't really get what gav616 is saying either.

Offline

Board footer

Powered by FluxBB