Menu

#311 creating RPM with RedHat 9 failed (lib-gphoto2 2.1.4)

closed-fixed
None
5
2004-07-01
2004-01-25
laurent
No

compilation is successfull with RH9
but the install section of the spec file failed :

my command :
rpmbuil -ta --clean --target i686 lib-gphoto2-2.1.4.tar.gz

output error :

/usr/bin/install -c -m 644 NEWS
/var/tmp/libgphoto2-2.1.4-root/usr/share/doc/libgphoto2/NEWS
make[2]: Leaving directory `/tmp/BUILD/libgphoto2-2.1.4'
make[1]: Leaving directory `/tmp/BUILD/libgphoto2-2.1.4'
+ find /var/tmp/libgphoto2-2.1.4-root -name '*.la'
+ xargs perl -p -i -e 's|/var/tmp/libgphoto2-2.1.4-root||g'
+ /usr/lib/rpm/redhat/find-lang.sh
/var/tmp/libgphoto2-2.1.4-root libgphoto2
No translations found for libgphoto2 in
/var/tmp/libgphoto2-2.1.4-root
error: Bad exit status from /var/tmp/rpm-tmp.75269
(%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.75269 (%install)

content of rpm-tmp.75269 (attached to this mail)

Discussion

  • laurent

    laurent - 2004-01-25

    content of rpm-tmp.75269

     
  • Michael Rommel

    Michael Rommel - 2004-01-26

    Logged In: YES
    user_id=960360

    - The error for "no translations found" can be fixed by
    changing

    %find_lang %{name}

    to

    %find_lang %{name}-2 in the spec file.

    - Then it breaks whilw building the -debuginfo package.
    Couldnt find a solution other than disabling this package by
    adding

    %define debug_package %{nil} at the beginning of the spec file

    - then it breaks, stating that unpackaged files were found.
    Solved by changing

    # extract files for devel package
    egrep '(-config|\.h|\.la|\.a|\.pc)$' \

    to

    # extract files for devel package
    egrep '(-config|\.h|\.la|\.a|\.pc|\.3)$' \

    In the following line the \.3 had been added but omittet in
    the first line.

    Cheers, Michael.

     
  • Hans Ulrich Niedermann

    • assigned_to: nobody --> hun
     
  • Hans Ulrich Niedermann

    • status: open --> closed-fixed
     
  • Hans Ulrich Niedermann

    Logged In: YES
    user_id=59853

    Committed your suggestions. Fixes the problems on Fedora Core 2.

     

Log in to post a comment.

MongoDB Logo MongoDB