You are not logged in.

#1 2014-01-15 05:17:37

solar
Member
Registered: 2011-03-01
Posts: 77

pacman bug or?

Heya..

I download muffin-git from aur, and then edit the recipe to contain , replaces, provides and conflicts=("${_pkgname}") which is muffin.

Even so, when doing makepkg -si, say, pacman doesn't resolve correctly, and exits with files already exists. If I remove muffin, it works obviously.

It's a bit odd, but I don't know if my system is for some reason borked in the db, or if someone can replicate (this particular package).

I cannot replicate the issue with other packages, only this one.

EDIT: and before the foaming mouth appear.. yes I am perfectly sure it is just me not understanding the resolving tree path here.. but just want someone with a helpful feedback on it. ,x

Last edited by solar (2014-01-15 05:23:15)


I am hilariously insane. yup. you won't notice though.. I promise...I think.

Offline

#2 2014-01-15 05:37:56

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,701

Re: pacman bug or?

Did you read the pacman manual ?

man pacman wrote:

ewaller$@$odin ~ 1007 %man pacman  | tail -30 | head -4
BUGS
       Bugs? You must be kidding, there are no bugs in this software. But if we happen to be wrong,
       send us an email with as much detail as possible to pacman-dev@archlinux.org.

ewaller$@$odin ~ 1008 %

tongue

Perhaps if you were to share your PKGBUILD...

Edit: Moving to AUR issues, Discussion and PKGBUILD requests

Last edited by ewaller (2014-01-15 05:39:21)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2014-01-15 05:46:24

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: pacman bug or?

What if you actually put conflicts=('muffin')?  Does it still do it then?

Offline

#4 2014-01-15 05:49:44

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

Re: pacman bug or?

I think he used the one from the AUR. I did get the errors too.
I'll try with 'muffin' instead of '${_pkgname}'


Edit: It worked.

Last edited by karol (2014-01-15 05:55:46)

Offline

#5 2014-01-15 06:58:29

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: pacman bug or?

Can someone provide the PKGBUILD that is "broken" so I take take a look at it.   bonus points for extracting the .PKGINFO from the built package and posting it too!

Offline

#6 2014-01-15 07:21:55

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

Offline

#7 2014-01-15 07:27:00

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: pacman bug or?

Not a pacman bug, but a bad PKGBUILD. Single quotes don't allow the variables to expand, they should be double quotes.

Last edited by Scimmia (2014-01-15 07:28:00)

Offline

#8 2014-01-15 08:45:59

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: pacman bug or?

@ Scimmia, but the OP does use double quotes. Or maybe he used double quotes only for the post...

Last edited by x33a (2014-01-15 08:46:36)

Offline

#9 2014-01-15 09:00:37

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

Re: pacman bug or?

Double quotes work.

Offline

#10 2014-01-15 16:53:13

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: pacman bug or?

Indeed, there are single quotes around the variable in the package.

@solar, look up the difference between single an double quotes in bash.  Then you'll see why this was borked and why your original post caused confusion.

Offline

#11 2014-01-15 17:03:55

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

Re: pacman bug or?

"Trust no one", as the Eskimos say ;-)

Offline

#12 2014-01-15 18:58:37

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: pacman bug or?

But what if I don't trust Eskimos?

</off topic>


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB