You are not logged in.

#1 2011-04-21 05:11:28

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

[SOLVED] AUR package doesn't re-build with makepkg -ef

Both the ABS version and the AUR (xscreensaver-arch-logo) compile just fine first time around.
However, the moment I want to recompile them I get the following error:

$ makepkg -ef
==> Making package: xscreensaver 5.12-2 (Thu Apr 21 15:06:32 EST 2011)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Skipping source retrieval        -- using existing src/ tree
==> WARNING: Skipping source integrity checks -- using existing src/ tree
==> WARNING: Skipping source extraction       -- using existing src/ tree
==> Removing existing pkg/ directory...
==> Starting build()...
patching file driver/XScreenSaver.ad.in
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file driver/XScreenSaver.ad.in.rej
==> ERROR: A failure occurred in build().
    Aborting...

Don't have the faintest what might be wrong. Thanks in advance for any help.

Last edited by JackH79 (2011-04-21 07:03:18)

Offline

#2 2011-04-21 05:27:01

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] AUR package doesn't re-build with makepkg -ef

Clear ./src before recompiling.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-04-21 06:43:53

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] AUR package doesn't re-build with makepkg -ef

...or comment out the patch in the PKGBUILD


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2011-04-21 07:02:43

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: [SOLVED] AUR package doesn't re-build with makepkg -ef

ngoonee wrote:

Clear ./src before recompiling.

Thanks, but that actually defeats the purpose of using "makepkg -ef". ./src is where you do changes to the source files to then recompile.

jasonwryan wrote:

...or comment out the patch in the PKGBUILD

That's done the trick. Thanks a billion.

Offline

#5 2011-04-21 08:05:30

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] AUR package doesn't re-build with makepkg -ef

JackH79 wrote:
ngoonee wrote:

Clear ./src before recompiling.

Thanks, but that actually defeats the purpose of using "makepkg -ef". ./src is where you do changes to the source files to then recompile.

I'm blind, then, sorry about that smile.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB