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 ?
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!
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 but thanks for replays.
–
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!