You are not logged in.
The patch is in the same directory but the makepkg reports cannot find patch...
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
bump
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Can you post the PKGBUILD?
Offline
Elastic Dog;
# Contributor: Darwin Bautista <djclue917@gmail.com>
pkgname=unsermake-svn
pkgver=661033
pkgrel=1
pkgdesc="A replacement for automake"
arch=('i686' 'x86_64')
url="http://wiki.kde.org/tiki-index.php?page=unsermake"
license=('GPL')
depends=('python>=2.5')
makedepends=('subversion')
provides=('unsermake')
conflicts=('unsermake')
source=(unsermake-python25.patch)
md5sums=('18e55a3d7838e2b04e6a7c79e07df947')
_svntrunk=svn://anonsvn.kde.org/home/kde/trunk/kdenonbeta
_svnmod=unsermake
build() {
# Checkout SVN repository
msg "Checking out SVN repository..."
svn co ${_svntrunk}/${_svnmod}@${pkgver} --config-dir ./ -r ${pkgver} ${_svnmod}
msg "SVN checkout finished or server timed out..."
cd ${startdir}/src/unsermake/
patch -Np1 -i ../unsermake-python25.patch || return 1
install -D -m755 unsermake ${startdir}/pkg/usr/bin/unsermake
mkdir -p ${startdir}/pkg/usr/lib/python2.5/site-packages/unsermake
install -m644 *.py *.um ${startdir}/pkg/usr/lib/python2.5/site-packages/unsermake/
}
EDIT------------------------------------------------------------------------------------------------------------------
Patch:::::::::::::::::::::::
--- unsermake-20060706.orig/unsermake 2006-07-07 01:07:51.000000000 +0800
+++ unsermake-20060706/unsermake 2007-07-24 11:35:39.000000000 +0800
@@ -1,16 +1,12 @@
-#! /bin/sh
+#!/bin/bash
-self="$0"
-if test -L "$self"; then
- try=`readlink $self 2>/dev/null` && self=$try
-fi
-mods=`dirname $self`
-directory=`dirname $mods`
-mod=`basename $mods`
+mods=/usr/lib/python2.5/site-packages/unsermake
+directory=/usr/lib/python2.5/site-packages/unsermake
+mod=unsermake
if test -n "$PYTHONPATH"; then
export PYTHONPATH=$directory:$PYTHONPATH
else
export PYTHONPATH=$directory
fi
-exec python -c "import $mod; $mod.main()" --modules $mods "$@"
+exec python2.5 -c "import $mod; $mod.main()" --modules $mods "$@"
Last edited by lilsirecho (2007-11-14 04:27:53)
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Bump
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Just from looking at the PKGBUILD, I'd say it's because you never did "cd $stardir/src" at the beginning of the build, and your patch command then looks in the parent directory, which of course, is not the correct location.
Last edited by elasticdog (2007-11-14 16:25:34)
Offline
My understanding of PKGBUILD and makepkg has been that it performs within the directory that holds all the data.
I have been mistaken about the use of PKGBUILD therefore since it doesn't always "makepkg" directly from the PKGBUILD script.......
Thanx for the info!!!
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
The pkgbuild shows the following:
cd #{startdir}/src/unsermake
What is meant by the term {startdir}?
When is this entry made? The makepkg stops at ....File to patch.... Is it here that I enter the cd$,etc?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
bump
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
bump
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
ok lets make this easier: can you just archive the entire dir and post it somewhere? it's a lot easier that way.
Offline
tardo;
Posted PKGBUILD and Patch in earlier post....
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
Run PKGBUILD...
Halts at .... File to patch....
Directory now has ...PKG....SRC...
SRC has the patch included.
What procedure is required to makepkg with this PKGBUILD?
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline
OMG stop bumping. People will help you out when they have the time - bumping constantly won't help.
The message "File to patch" means that the patch command can't find the _FILE_ you want to patch, not the patch itself.
Offline
Yea, for the record, the post above that contains the patch and pkgbuild is a PITA to read. I asked for the contents of the package so I could try to build the package myself and see which -Np# option you need.
If you're still reluctant, try changing the patch -Np# in the pkgbuild to 0 or 2 and see if that helps.
Offline
Tardo;
I am not aware of what you requested since the data contained in the -svn is just the PKGBUILD and the PATCH as provided in my post.
I have decided to close this posting and skip the package altogether.
Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit! X-ray confirms Iam spineless!
Offline