You are not logged in.

#1 2009-05-08 05:19:04

KCE
Member
From: SoCal
Registered: 2007-06-26
Posts: 41

makepkg failing in yaourt [SOLVED]

Hi. Every package I attempt to install with yaourt seems to fail at the makepkg point right after you're asked to install it. They all compile fine but it stops at that point. I'm not sure what to do. I think it might have had something to do with me deleting /home...eh. It was from a fresh install so there was nothing in it. I've been running as root since the setup (yea I know).

make[2]: Leaving directory `/tmp/yaourt-tmp-root/aur-lxpanel-svn/lxpanel-svn/src/lxpanel'
make[1]: Leaving directory `/tmp/yaourt-tmp-root/aur-lxpanel-svn/lxpanel-svn/src/lxpanel'
==> Tidying install...
  -> Compressing man pages...
  -> Stripping debugging symbols from binaries and libraries...
==> Creating package...
  -> Generating .PKGINFO file...
  -> Compressing package...
==> Finished making: lxpanel-svn 1433-1 i686 (Thu May  7 22:38:46 PDT 2009)

==>  Continue installing lxpanel-svn? [Y/n]
==>  [v]iew package contents [c]heck package with namcap
==>   ----------------------------------------------
==>y

loading package data...
error: './lxpanel-svn-1227-1-i686.pkg.tar.gz': cannot open package file
==> WARNING: Your package is saved in /tmp/yaourt-tmp-root/lxpanel-svn-1227-1-i686.pkg.tar.gz
cp: cannot stat `./lxpanel-svn-1227-1-i686.pkg.tar.gz': No such file or directory
==> WARNING: Unable to copy lxpanel-svn-1-i686.pkg.tar.gz to /tmp/yaourt-tmp-root/ directory
If you like this package, please install aurvote
and vote for its inclusion/keeping in [community]

SOLVED:http://bbs.archlinux.org/viewtopic.php?pid=477368

Last edited by KCE (2009-05-08 06:03:52)

Offline

#2 2009-05-08 05:46:19

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: makepkg failing in yaourt [SOLVED]

The error you have posted does not match the description you have given i.e. it is not failling on install. In this case, the build function expects to execute a sed command on Makefile.am, but that file does not exist. You need to find out why it's not there.

More generally - recreate /home, add a user, stop running as root.

Offline

#3 2009-05-08 06:03:10

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

Re: makepkg failing in yaourt [SOLVED]

Yep - yaourt needs to resource the PKGBUILD before attempting to copy svn/git/etc packages:

Finished making: lxpanel-svn 1433-1 i686 (Thu May  7 22:38:46 PDT 2009)

and notice the different pkgname/pkgver used here:

error: './lxpanel-svn-1227-1-i686.pkg.tar.gz': cannot open package file
==> WARNING: Your package is saved in /tmp/yaourt-tmp-root/lxpanel-svn-1227-1-i686.pkg.tar.gz
cp: cannot stat `./lxpanel-svn-1227-1-i686.pkg.tar.gz': No such file or directory
==> WARNING: Unable to copy lxpanel-svn-1-i686.pkg.tar.gz to /tmp/yaourt-tmp-root/ directory

yaourt bug...

Offline

#4 2009-05-08 06:54:48

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: makepkg failing in yaourt [SOLVED]

KCE - thanks for changing your post, and not mentioning it. Makes my last post irrelevant. smile

Offline

Board footer

Powered by FluxBB