no yum-plugin-copr for EL7
by Jean-Marc Liger
Hi,
I've tried to configure copr repositories directly with yum but there is
no yum-plugin-copr in EPEL-7.
Regards,
Jean-Marc
7 years, 12 months
dist-git build problem on epel-6-x86_64 chroot
by Jean-Marc Liger
Hy,
I'm facing the problem below on epel-6-x86_64 chroot for both from URL
and upload SRPM :
[2016-01-19 15:16:26,790][ INFO][PID:3241] Setting up builder: 172.25.94.167
[2016-01-19 15:16:27,991][ INFO][PID:3241] marking build dir with build_id,
[2016-01-19 15:16:27,992][ INFO][PID:3241] Start build: BuildJob<id: 154509, owner: jmliger, project: virt6-upstream, git branch: el6, git_hash: acef5efd6153aa8f9ea760f468333e65c9b46a4e, status: 3 >
[2016-01-19 15:16:27,993][ INFO][PID:3241] putting into minimal buildroot of epel-6-x86_64
[2016-01-19 15:16:28,902][ INFO][PID:3241] Cloning Dist Git repo jmliger/virt6-upstream/libvirt, branch acef5efd6153aa8f9ea760f468333e65c9b46a4e, hash el6
[2016-01-19 15:16:30,906][ ERROR][PID:3241] Failed to obtain srpm from dist-git
Traceback (most recent call last):
File "/usr/share/copr/backend/mockremote/builder.py", line 209, in download_job_pkg_to_builder
self.remote_pkg_path = list(results["contacted"].values())[0][u"stdout"].split("Wrote: ")[1]
IndexError: list index out of range
[2016-01-19 15:16:30,911][ ERROR][PID:3241] builder.build error building pkg `libvirt`: BuildError: Failed to obtain srpm from dist-git: ansible results {'dark': {}, 'contacted': {'172.25.94.167': {'cmd': 'rm -rf /tmp/build_package_repo && mkdir /tmp/build_package_repo && cd /tmp/build_package_repo && git clone http://copr-dist-git.fedorainfracloud.org/git/jmliger/virt6-upstream/libv... && cd libvirt && git checkout acef5efd6153aa8f9ea760f468333e65c9b46a4e && fedpkg-copr --dist el6 srpm', 'end': '2016-01-19 15:16:30.308282', 'stdout': 'Downloading libvirt-1.3.1.tar.gz\n\r 0.0%\r 100.0%\r######################################################################## 100.0%', 'changed': True, 'start': '2016-01-19 15:16:28.758321', 'delta': '0:00:01.549961', 'stderr': "Cloning into 'libvirt'...\nNote: checking out 'acef5efd6153aa8f9ea760f468333e65c9b46a4e'.\n\nYou are in 'detached HEAD' state. You can look around, make experimental\nchanges and commit them, and you can discard any commits you make in this\nstate without impacting any branches by performing another checkout.\n\nIf you want to create a new branch to retain commits you create, you may\ndo so (now or later) by using -b with the checkout command again. Example:\n\n git checkout -b <new-branch-name>\n\nHEAD is now at acef5ef... import_srpm\nerror: line 1800: Trigger fired by the same package is already defined in spec file: %post daemon-config-network\n\nerror: query of specfile /tmp/build_package_repo/libvirt/libvirt.spec failed, can't parse\n\nCould not execute srpm: Could not get n-v-r-e from '\\n\\n'", 'rc': 1, 'invocation': {'module_name': 'shell', 'module_complex_args': {}, 'module_args': u'rm -rf /tmp/build_package_repo && mkdir /tmp/build_package_repo && cd /tmp/build_package_repo && git clone http://copr-dist-git.fedorainfracloud.org/git/jmliger/virt6-upstream/libv... && cd libvirt && git checkout acef5efd6153aa8f9ea760f468333e65c9b46a4e && fedpkg-copr --dist el6 srpm'}, 'warnings': ['Consider using file module with state=absent rather than running rm']}}}
[2016-01-19 15:16:31,759][ INFO][PID:3241] End Build: BuildJob<id: 154509, owner: jmliger, project: virt6-upstream, git branch: el6, git_hash: acef5efd6153aa8f9ea760f468333e65c9b46a4e, status: 3 >
https://copr.fedoraproject.org/coprs/jmliger/virt6-upstream/builds/
Regards,
Jean-Marc LIGER
8 years
Branching of F24
by Miroslav Suchý
Branching of Fedora 24 should happen today.
In Copr we usually followed by enabling F24 chroot and it was your
responsibility to enable it for project and build packages there.
Now we have surprise for you. Jakub prepared script which:
* enable F24 chroot for your project (if you have rawhide enabled)
* copy rawhide dnf repository to F24 folder
* it will NOT copy builds history
We have plan to run it once the branching happen in Fedora.
Since this is for first time in history we do something we would like to
hear your feedback. If you encounter some problem, if it helps you etc.
This is heads up message and I will write once again once we run that
script.
Mirek
8 years
F24 chroots in Copr ara available
by Miroslav Suchý
Hi,
I just added
fedora-24-x86_64
fedora-24-i386
chroots to Copr. I automatically enabled those chroots for every project, which has fedora-rawhide-* enabled. And I
copied all build artifact from rawhide to fedora-24-* repository.
Ppc64le repositories are not available yet. I will enable it and send another email once it will be available.
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
8 years
How to build package off GitHub
by Jan Holčapek
Hello there,
since I'm new to Copr, and could not find answers in [1], particularly in
section [2], I'm seeking help here.
First things first: did I actually get it right it's possible to build SRPM
and binary RPMs off git URL (accessible over https, namely Github repo)?
Here's what I would like to do:
1) create a new copr
2) create a new package within the copr
3) build the package off the sources (tar.gz + specfile) hosted on Github
4) package is built
Here's what I end up with:
1) well, I did that
2) ditto, so far, so good
3) build failed with suggestion "See logs for more details.", yet I can't
find any
4) (not there yet)
I'm suppose this might be an instance of a known bug [3], yet the
referenced build [4] is off external SRPM, rather than public git, like my
build [5].
Thanks!
Jan
[1] https://fedorahosted.org/copr/wiki/UserDocs
[2] https://fedorahosted.org/copr/wiki/UserDocs#MockSCM
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1304012
[4] https://copr.fedorainfracloud.org/coprs/spot/chromium/build/156327/
[5]
https://copr.fedorainfracloud.org/coprs/holcapek/perl-packages/build/158770/
8 years, 1 month
Copr git moved to github.
by Miroslav Suchý
Hi,
based on discussion inside of the team I moved our git to github.
New location is:
https://github.com/fedora-copr/copr
All you need to do is to run:
git remote set-url origin git@github.com:fedora-copr/copr.git
in your copr.git.
I gave all active members write right there. If I omitted you and you want to preserve your write right, please tell me.
--
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
8 years, 1 month