Git Product home page Git Product logo

kitty-pkg's Introduction

Spec file to package kitty in copr

Deprecated

This repo is archived, as all the commits are now pushed there

kitty-pkg's People

Contributors

gagbo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

kitty-pkg's Issues

Missing requirement

Needed to install harfbuzz-devel for kitty to work

Needed to install startup-notification-devel for import error messages to disappear at startup, seems to be a requirement as well

Adding a Makefile to the repo breaks builds

I tried to create a Makefile to test builds locally quickly before pushing them to github triggering the webhook to build the package on Copr.

When I add the Makefile to the tracked files in the repository, the builds in Copr fail with (approx.) this error :

python3 : 'Setup.py' file not found [Error 2]

When I changed the %setup command to a more verbose command (also changed to %autosetup for patches management) I saw that the tar command which extracts the data shows what's extracted and in the kitty-0.10.0 folder I only had the files from this repository.

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ASkvjg
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf kitty-0.10.0
+ /usr/bin/gzip -dc /builddir/build/SOURCES/v0.10.0.tar.gz
+ /usr/bin/tar -xvvof -
drwxrwxr-x mockbuilder/mockbuilder 0 2018-05-22 13:54 kitty-0.10.0/
-rw-rw-r-- mockbuilder/mockbuilder 3161 2018-05-22 13:54 kitty-0.10.0/kitty.spec
-rw-rw-r-- mockbuilder/mockbuilder  265 2018-05-22 13:54 kitty-0.10.0/README.org
-rw-rw-r-- mockbuilder/mockbuilder  107 2018-05-22 13:54 kitty-0.10.0/Makefile
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd kitty-0.10.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ArVvF8
+ umask 022
+ cd /builddir/build/BUILD
+ cd kitty-0.10.0
+ python3 setup.py --verbose linux-package --debug --libdir-name lib64
BUILDSTDERR: python3: can't open file 'setup.py': [Errno 2] No such file or directory

On the other hand, removing the Makefile from the tracked files make the build happen as expected (the archive from kovidgoyal/kitty is actually pulled and extracted in /builddir/build/BUILD/kitty-version).

I probably need help from #fedora-qa to understand how to change the spec file so adding any other file to the repo does not break builds.

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.