Git Product home page Git Product logo

leap-fedora-rpm's People

Contributors

atejeda avatar bugzy avatar kiwistrongis avatar makiftasova avatar misaelnieto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leap-fedora-rpm's Issues

rpmbuild gives "Installed (but unpackaged) file(s) found" error when packing and fails

%define _unpackaged_files_terminate_build 0

I've tried to build rpms on Fedora 21 and rpmbuild gives following error when building

RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/bin/libfreebl3.so
/usr/bin/libnspr4.so
/usr/bin/libnssdbm3.so
/usr/bin/libnssutil3.so
/usr/bin/libplc4.so
/usr/bin/libplds4.so
/usr/bin/libsoftokn3.so
/usr/bin/libsqlite3.so

I've able to build rpms successfully by adding %define _unpackaged_files_terminate_build 0 to spec file but this only changes error to a warning which will not fails build.

Since I am not experienced at building rpms, I thought I should open an issue about this.

Centos 7 support?

Hi I am working on a CentOS7 machine and expect this tool should work fine too. Here are some problems I encountered. Any help would be highly appreciated.

I perform the same procedures.
First I got an error:
/usr/bin/cp: cannot stat '/home/kenmark/Downloads/leap-fedora-rpm/SOURCES/Leap/*':
I overcome this. Then I got a problem with build root:
error: File not found: /home/kenmark/Downloads/leap-fedora-rpm/BROOT/lib/systemd/system/leap.service
seems like the leap.service is not correctly unpacked.

I am working with 2.1.5+22699, the latest version so far.

Version 2.1.5 not working

With the new version, it doesnt install. Instead of a data.tar.gz there is now a data.tar.xz.
I tried to modifly the .deb but there are still errors:

/usr/bin/cp lib/udev/rules.d/25-com-leapmotion-leap.rules /home/tom/tmp/leap-fedora-rpm/BUILD/Leap-2.1.5/etc/udev/rules.d/ /usr/bin/cp: cannot stat ‘lib/udev/rules.d/25-com-leapmotion-leap.rules’: No such file or directory Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.IRYWjG (%build)

Fehler beim Bauen des RPM: bogus date in %changelog: Fri Dec 23 2013 - [email protected] bogus date in %changelog: Mon Aug 10 2013 - [email protected] Fehler-Status beim Beenden von /var/tmp/rpm-tmp.IRYWjG (%build) make: *** [all] Fehler 1

problem with check_rpaths

I had to do export QA_RPATHS=0x0002
before make, otherwise I got errors like:

  • /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
  • WARNING: 'check-rpaths' detected a broken RPATH and will cause 'rpmbuild'
  •      to fail. To ignore these errors, you can set the '$QA_RPATHS'
    
  •      environment variable which is a bitmask allowing the values
    
  •      below. The current value of QA_RPATHS is 0x0000.
    
  • 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor
  •           issue but are introducing redundant searchpaths without
    
  •           providing a benefit. They can also cause errors in multilib
    
  •           environments.
    
  • 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute
  •           nor relative filenames and can therefore be a SECURITY risk
    
  • 0x0004 ... insecure RPATHs; these are relative RPATHs which are a
  •           SECURITY risk
    
  • 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other
  •           RPATHs; this is just a minor issue but usually unwanted
    
  • 0x0010 ... the RPATH is empty; there is no reason for such RPATHs
  •           and they cause unneeded work while loading libraries
    
  • 0x0020 ... an RPATH references '..' of an absolute path; this will break
  •           the functionality when the path before '..' is a symlink
    
  • Examples:
  • - to ignore standard and empty RPATHs, execute 'rpmbuild' like
  • $ QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild my-package.src.rpm
  • - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like
  • $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths

  • ERROR 0002: file '/usr/lib/Leap/libLeap.so' contains an invalid rpath '${ORIGIN}' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/lib/Leap/libLeap.so' contains an invalid rpath '${ORIGIN}/../lib/Leap' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/Visualizer' contains an invalid rpath '${ORIGIN}' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/Visualizer' contains an invalid rpath '${ORIGIN}/../lib/Leap' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/ScreenLocator' contains an invalid rpath '${ORIGIN}' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/ScreenLocator' contains an invalid rpath '${ORIGIN}/../lib/Leap' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/Recalibrate' contains an invalid rpath '${ORIGIN}' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/Recalibrate' contains an invalid rpath '${ORIGIN}/../lib/Leap' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/leapd' contains an invalid rpath '${ORIGIN}' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/leapd' contains an invalid rpath '${ORIGIN}/../lib/Leap' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/LeapControlPanel' contains an invalid rpath '${ORIGIN}' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    ERROR 0002: file '/usr/bin/LeapControlPanel' contains an invalid rpath '${ORIGIN}/../lib/Leap' in [${ORIGIN}:${ORIGIN}/../lib/Leap]
    error: Bad exit status from /var/tmp/rpm-tmp.LDmOp2 (%install)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.LDmOp2 (%install)
make: *** [all] Error 1

minor build procedure clarification

git clone [email protected]:atejeda/leap-fedora-rpm.git
cd leap-fedora-rpm/
git checkout x64
cd ..
tar xzf DeveloperSdk_LM_0.8.0.5300_Linux.gz
cp Leap_Developer_Kit_0.8.0_5300_Linux/*.deb leap-fedora-rpm/SOURCES/
cd leap-fedora-rpm
make clean all

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.