bash build

Hello to everyone !

I have a problem with this build, this is my first contact with OBS or building package in systems. After I create a bash.spec, I upload to my home project, and start building. And in every build I have on problem

  208s] /.build/build: //usr/lib/build/checks/01-check-debuginfo: /bin/bash: bad interpreter: No such file or directory

when I am building local, I’ve got problem with rpmlint. So what I am doing wrong ?

On Fri 11 Apr 2014 07:56:01 AM CDT, syskozor wrote:

Hello to everyone !

I have a problem with this build, this is my first contact with OBS or
building package in systems. After I create a ‘bash.spec’
(http://tinyurl.com/lm3r9td), I upload to my home project, and start
lm3r9td ->
https://build.opensuse.org/package/view_file/home:syskozor/bash4.3/bash.spec?expand=1
building. And in every build I have on problem

Code:

208s] /.build/build: //usr/lib/build/checks/01-check-debuginfo: /bin/bash:
bad interpreter: No such file or directory --------------------

when I am building local, I’ve got problem with rpmlint. So what I am
doing wrong ?

Hi
The problem is you missing the / in your %files list;


%{_prefix}bin/bash

Should be;

%{_prefix}/bin/bash

If you use the %configure macro it will add the prefix, then your %file
section can also use %{_bindir} %{_datadir} etc. You also need to
split out adding a %lang_package.


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-7-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!

hmm. Ok, I add the /. Now I can build package localy, but when I upload to OSC, I’ve got the same message as in first post.

Hi
Not sure then, when you build locally, do the debuginfo rpms get produced?

Maybe look at this build, much more complex than your spec file though…
https://build.opensuse.org/package/view_file/home:AndreasSchwab/bash/bash.spec?expand=1

thanks, I saw that spec build and I was basing on it. Maybe I choose a little bit difficult package to create :wink: but thanks for replays.

On Sat 12 Apr 2014 02:46:01 PM CDT, syskozor wrote:

malcolmlewis;2636483 Wrote:
> Hi
> Not sure then, when you build locally, do the debuginfo rpms get
> produced?
>
> Maybe look at this build, much more complex than your spec file
> though…
> http://tinyurl.com/o6p77g7

thanks, I saw that spec build and I was basing on it. Maybe I choose a
little bit difficult package to create :wink: but thanks for replays.

Hi
I think so, even I would shudder at that…

An FYI, 4.3 is ready for testing;
http://lists.opensuse.org/opensuse-factory/2014-04/msg00300.html
https://build.opensuse.org/package/show/shells/bash43


Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-7-desktop
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!