Results 1 to 6 of 6

Thread: bash build

  1. #1
    Join Date
    Jul 2013
    Location
    Warsaw
    Posts
    8

    Default 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

    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 ?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,339
    Blog Entries
    15

    Default Re: bash build

    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/v....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;
    Code:
    %{_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!


  3. #3
    Join Date
    Jul 2013
    Location
    Warsaw
    Posts
    8

    Default Re: bash build

    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.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,339
    Blog Entries
    15

    Default Re: bash build

    Quote Originally Posted by syskozor View Post
    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/v....spec?expand=1
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jul 2013
    Location
    Warsaw
    Posts
    8

    Default Re: bash build

    Quote Originally Posted by malcolmlewis View 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/v....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 but thanks for replays.

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    32,339
    Blog Entries
    15

    Default Re: bash build

    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.


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

    An FYI, 4.3 is ready for testing;
    http://lists.opensuse.org/opensuse-f.../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!


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •