Results 1 to 3 of 3

Thread: openSUSE 12.1 build from srpm problem

  1. #1

    Default openSUSE 12.1 build from srpm problem

    Hi, I am trying to build a rpm from source rpm.
    I downloaded source rpm from http://ftp.tugraz.at/mirror/opensuse...17.1.2.src.rpm, made unrpm and tried to build with spec file that was in rpm file.

    First problem I banged my head into was gcc version, I have got missing deps for gcc45, etc, I corrected this problem by changing the /usr/lib/build/configs/sl12.1.conf file entry :
    %define gcc_version 45 to %define gcc_version 46


    but now I get following error



    Code:
    vagrant-opensuse-121x32:/build/joe # build --clean
    logging output to /var/tmp/build-root/.build.log...
    Memory limit set to 332064KB
    Using BUILD_ROOT=/var/tmp/build-root
    Using BUILD_ARCH=i586:i486:i386
    
    
    vagrant-opensuse-121x32 started "build joe.spec" at Fri Dec 23 09:59:50 UTC 2011.
    
    
    processing specfile /build/joe/joe.spec ...
    init_buildsystem --cachedir /var/cache/build --repository zypp:// --clean /build/joe/joe.spec ...
    initializing /var/tmp/build-root/.srcfiles.cache ...
    /usr/lib/build/createrepomddeps zypp://Nadogradnje-za-openSUSE-12.1-12.1-1.4
    /usr/lib/build/createrepomddeps zypp://repo-non-oss
    /usr/lib/build/createrepomddeps zypp://repo-oss
    /usr/lib/build/createrepomddeps zypp://server_monitoring
    expanding package dependencies...
    Warning: distribution not specified, assuming '12.1-i386' (see /usr/lib/build/configs).
    preinstalling aaa_base...
    preinstalling acl...
    preinstalling attr...
    preinstalling bash...
    preinstalling coreutils...
    preinstalling diffutils...
    preinstalling filesystem...
    preinstalling fillup...
    preinstalling glibc...
    preinstalling grep...
    preinstalling insserv...
    preinstalling libacl...
    warning: package libacl does not exist
    preinstalling libattr...
    warning: package libattr does not exist
    preinstalling libbz2-1...
    preinstalling libgcc46...
    preinstalling libxcrypt...
    preinstalling m4...
    preinstalling libncurses5...
    preinstalling pam...
    preinstalling permissions...
    preinstalling libreadline6...
    preinstalling rpm...
    preinstalling sed...
    preinstalling tar...
    preinstalling zlib...
    preinstalling libselinux1...
    preinstalling liblzma5...
    preinstalling libcap2...
    preinstalling libpcre0...
    preinstalling libpopt0...
    preinstalling libelf1...
    preinstalling liblua5_1...
    running aaa_base preinstall script
    mv: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
    chmod: cannot access `/etc/init.d/boot.local': No such file or directory
    mv: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
    chmod: cannot access `/etc/init.d/halt.local': No such file or directory
    mv: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
    chmod: cannot access `/etc/init.d/before.local': No such file or directory
    mv: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
    chmod: cannot access `/etc/init.d/after.local': No such file or directory
    running aaa_base postinstall script
    Updating /etc/sysconfig/language...
    Updating /etc/sysconfig/backup...
    Updating /etc/sysconfig/boot...
    Updating /etc/sysconfig/suseconfig...
    Updating /etc/sysconfig/clock...
    Updating /etc/sysconfig/proxy...
    Updating /etc/sysconfig/windowmanager...
    Updating /etc/sysconfig/cron...
    Updating /etc/sysconfig/news...
    Updating /etc/sysconfig/shutdown...
    Updating etc/passwd...cp: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
    modified
    Updating etc/group...cp: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory
    modified
    Updating etc/shadow...new
    initializing rpm db...
    rpm: error while loading shared libraries: libacl.so.1: cannot open shared object file: No such file or directory

    Any ideas why? What am I doing wrong? I am using openSUSE 12.1 32-bits.

    Thanx

  2. #2
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: openSUSE 12.1 build from srpm problem

    On 12/23/2011 11:06 AM, slavus wrote:
    >
    > What am I doing wrong? I am using openSUSE 12.1 32-bits.


    -=WELCOME=- new poster

    what you are doing wrong is you are making it harder than it needs to be!

    no need to compile joe from source, when the same version of joe is
    already packaged in an RPM in the standard repo for 12.1!

    just open YaST > Software Management, search on joe, single left click
    it to make a green check mark (install), then click "Accept"...done, no
    compiling, no making of an RPM required..

    and, your question doesn't fit well in the *applications* forum, would
    better be in Programming/Scripting

    --
    DD http://tinyurl.com/DD-Caveat
    openSUSE®, the "German Engineered Automobiles" of operating systems!

  3. #3
    Join Date
    Oct 2008
    Location
    Glasgow, Scotland
    Posts
    1,134

    Default Re: openSUSE 12.1 build from srpm problem

    after a very cursory look, there appears to be a dependency on libacl instead of libacl1 to provide libacl.so.1.

Tags for this Thread

Posting Permissions

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