Mailinglist Archive: opensuse-ia64 (10 mails)
| < Previous | Next > |
Re: [suse-ia64] Packaging problems
- From: sudarshan <sudarshan12s@xxxxxxxxx>
- Date: Wed, 19 Oct 2005 06:56:27 -0700 (PDT)
- Message-id: <20051019135627.99936.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Hi,
I am building my own sample package. I added few files and tried to build rpm package.
Iam adding some more infn on my scripts.These scripts are really not written by me , These were working for Redhat and iam trying them on SUSE.
In example.spec file its this way
%prep
# nothing
%build
#cd $RPM_BUILD_ROOT/../..
#make P=%{ras_ver}
%install
cd $RPM_BUILD_ROOT/../..
Then after executing spec file it runs %prep and %build properly and fails at %install as below.
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.51045
+ umask 022
+ cd /usr/src/packages/BUILD
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.51045
+ umask 022
+ cd /usr/src/packages/BUILD
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.51045
shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
+ umask 022
+ cd /usr/src/packages/BUILD
chdir: could not get current directory: getcwd: cannot access parent director
Thanks in advance,
Sudarshan
Jeff Hanson <jhanson@xxxxxxx> wrote:
sudarshan wrote:
> Hi, iam trying create packages in SUSE 9 IA64 machine. Iam getting the
> error below.
>
> " Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.23940
> shell-init: could not get current directory: getcwd: cannot access
> parent direct
> ories: No such file or directory "
>
> Has anybody come across with such an error. Please let me know if there
> are good links to know abt packagin in SUSE.
What rpm are you trying to build?
http://www.novell.com/coolsolutions/feature/11256.html is a discussion of
How To Create RPMs and Init Scripts That Are Compatible On Both SUSE Linux and Red Hat Linux
--
-----------------------------------------------------------------------
Jeff Hanson - jhanson@xxxxxxx - Field Technical Analyst
You can choose a ready guide in some celestial voice.
If you choose not to decide, you still have made a choice.
You can choose from phantom fears and kindness that can kill;
I will choose a path that's clear
I will choose freewill. - Lee/Lifeson/Peart
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
I am building my own sample package. I added few files and tried to build rpm package.
Iam adding some more infn on my scripts.These scripts are really not written by me , These were working for Redhat and iam trying them on SUSE.
In example.spec file its this way
%prep
# nothing
%build
#cd $RPM_BUILD_ROOT/../..
#make P=%{ras_ver}
%install
cd $RPM_BUILD_ROOT/../..
Then after executing spec file it runs %prep and %build properly and fails at %install as below.
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.51045
+ umask 022
+ cd /usr/src/packages/BUILD
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.51045
+ umask 022
+ cd /usr/src/packages/BUILD
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.51045
shell-init: could not get current directory: getcwd: cannot access parent directories: No such file or directory
+ umask 022
+ cd /usr/src/packages/BUILD
chdir: could not get current directory: getcwd: cannot access parent director
Thanks in advance,
Sudarshan
Jeff Hanson <jhanson@xxxxxxx> wrote:
sudarshan wrote:
> Hi, iam trying create packages in SUSE 9 IA64 machine. Iam getting the
> error below.
>
> " Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.23940
> shell-init: could not get current directory: getcwd: cannot access
> parent direct
> ories: No such file or directory "
>
> Has anybody come across with such an error. Please let me know if there
> are good links to know abt packagin in SUSE.
What rpm are you trying to build?
http://www.novell.com/coolsolutions/feature/11256.html is a discussion of
How To Create RPMs and Init Scripts That Are Compatible On Both SUSE Linux and Red Hat Linux
--
-----------------------------------------------------------------------
Jeff Hanson - jhanson@xxxxxxx - Field Technical Analyst
You can choose a ready guide in some celestial voice.
If you choose not to decide, you still have made a choice.
You can choose from phantom fears and kindness that can kill;
I will choose a path that's clear
I will choose freewill. - Lee/Lifeson/Peart
---------------------------------
Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
| < Previous | Next > |