[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
Pavel Raiskup wrote: >> I thought that previous fedpkg or mock releases printed a >> large banner which explained this a bit and linked to >> further details? I would have thought that was still in >> place, but perhaps not. > > Mock prints the banner you expect iff the corresponding > epel-* symlink doesn't exist (if it exists, user already > made the decision). This is at least the desired > behavior; if Mock misbehaves, please report. Will do. I checked on a clean system and got the banner. I noticed that it includes centos-stream. It has a small note that "some packages may be a bit ahead the Red Hat Enterprise Linux N" but I wonder if that's really useful to new mock users? I'm not sure that makes it clear how likely you are to have incompatible builds at any given point. IMO, that belongs with the epel-next configs, not epel. And there's already a link from epel-next-$VER-$ARCH to centos-stream+epel-next-$VER-$ARCH. Do you think it would it be reasonable to propose dropping centos-stream from the epel alternatives configuration? If not, what about making the warning a bit stronger? I'm not asking you or anyone else to do that work. I'm just wondering if it has already been debated and firmly settled before I spend time doing it. -- Todd signature.asc Description: PGP signature ___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
On neděle 4. června 2023 4:21:54 CEST Todd Zullinger wrote: > bradb...@seanet.com wrote: > > I misspelled centos as contos Now fedpkg mockbuild works with the proper > > links: > > > >>ls -l $HOME/.config/mock > > total 8 > > lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 19:09 epel-8-x86_64.cfg -> > > /etc/mock/centos-stream+epel-8-x86_64.cfg > > lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 19:09 epel-9-x86_64.cfg -> > > /etc/mock/centos-stream+epel-9-x86_64.cfg > > That's not what you want for epel though. It will build > against centos-stream rather than rhel/alma/rocky, i.e. the > stable EL. While it might appear to work, it will > inevitably build packages which link against the wrong > versions of libraries, pick up bogus dependencies, etc. > > You want to pick one of the *+epel-[89]-x86_64.cfg config > files. > > I thought that previous fedpkg or mock releases printed a > large banner which explained this a bit and linked to > further details? I would have thought that was still in > place, but perhaps not. Mock prints the banner you expect iff the corresponding epel-* symlink doesn't exist (if it exists, user already made the decision). This is at least the desired behavior; if Mock misbehaves, please report. Pavel ___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
bradb...@seanet.com wrote: > I misspelled centos as contos Now fedpkg mockbuild works with the proper > links: > >>ls -l $HOME/.config/mock > total 8 > lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 19:09 epel-8-x86_64.cfg -> > /etc/mock/centos-stream+epel-8-x86_64.cfg > lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 19:09 epel-9-x86_64.cfg -> > /etc/mock/centos-stream+epel-9-x86_64.cfg That's not what you want for epel though. It will build against centos-stream rather than rhel/alma/rocky, i.e. the stable EL. While it might appear to work, it will inevitably build packages which link against the wrong versions of libraries, pick up bogus dependencies, etc. You want to pick one of the *+epel-[89]-x86_64.cfg config files. I thought that previous fedpkg or mock releases printed a large banner which explained this a bit and linked to further details? I would have thought that was still in place, but perhaps not. -- Todd signature.asc Description: PGP signature ___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
I misspelled centos as contos Now fedpkg mockbuild works with the proper links: >ls -l $HOME/.config/mock total 8 lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 19:09 epel-8-x86_64.cfg -> /etc/mock/centos-stream+epel-8-x86_64.cfg lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 19:09 epel-9-x86_64.cfg -> /etc/mock/centos-stream+epel-9-x86_64.cfg ___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
I both suggestions above and they did not work. It is as if fedpkg is checking for the file and not accepting a link: >ls -l $HOME/.config/mock/ total 8 lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 18:13 epel-8-x86_64.cfg -> /etc/mock/contos-stream+epel-8-x86_64.cfg lrwxrwxrwx. 1 bradbell bradbell 41 Jun 3 18:13 epel-9-x86_64.cfg -> /etc/mock/contos-stream+epel-9-x86_64.cfg >fedpkg mockbuild Not downloading already downloaded CppAD-2023.0.tar.gz setting SOURCE_DATE_EPOCH=1674950400 Wrote: /home/bradbell/fedora/cppad/cppad-2023.0-1.el9.src.rpm ERROR: Could not find required config file: /etc/mock/epel-9-x86_64.cfg ERROR: There are those alternatives: ERROR: ERROR: [1] alma+epel-9-x86_64 ERROR: Use instead: mock -r alma+epel-9-x86_64 --resultdir /home/bradbell/fedora/cppad/results_cppad/2023.0/1.el9 --rebuild /home/bradbell/fedora/cppad/cppad-2023.0-1.el9.src.rpm ERROR: Builds against AlmaLinux 9 repositories, together with the official EPEL repositories. ERROR: Project page: https://almalinux.org/ ERROR: Enable permanently by: ERROR: $ ln -s /etc/mock/alma+epel-9-x86_64.cfg /home/bradbell/.config/mock/epel-9-x86_64.cfg ERROR: ERROR: [2] centos-stream+epel-9-x86_64 ERROR: Use instead: mock -r centos-stream+epel-9-x86_64 --resultdir /home/bradbell/fedora/cppad/results_cppad/2023.0/1.el9 --rebuild /home/bradbell/fedora/cppad/cppad-2023.0-1.el9.src.rpm ERROR: Builds against CentOS Stream 9 repositories (some packages may be a bit ahead the Red Hat Enterprise Linux 9) together with the official EPEL repositories. ERROR: Project page: https://www.centos.org/centos-stream/ ERROR: Enable permanently by: ERROR: $ ln -s /etc/mock/centos-stream+epel-9-x86_64.cfg /home/bradbell/.config/mock/epel-9-x86_64.cfg ERROR: ERROR: [3] rhel+epel-9-x86_64 ERROR: Use instead: mock -r rhel+epel-9-x86_64 --resultdir /home/bradbell/fedora/cppad/results_cppad/2023.0/1.el9 --rebuild /home/bradbell/fedora/cppad/cppad-2023.0-1.el9.src.rpm ERROR: Builds against Red Hat Enterprise Linux 9 repositories, together with the official EPEL repositories. ERROR: This mimics what is done in the official EPEL build system, but you need a Red Hat subscription: ERROR: https://rpm-software-management.github.io/mock/Feature-rhelchroots ERROR: Enable permanently by: ERROR: $ ln -s /etc/mock/rhel+epel-9-x86_64.cfg /home/bradbell/.config/mock/epel-9-x86_64.cfg ERROR: ERROR: [4] rocky+epel-9-x86_64 ERROR: Use instead: mock -r rocky+epel-9-x86_64 --resultdir /home/bradbell/fedora/cppad/results_cppad/2023.0/1.el9 --rebuild /home/bradbell/fedora/cppad/cppad-2023.0-1.el9.src.rpm ERROR: Builds against Rocky Linux 9 repositories, together with the official EPEL repositories. ERROR: Project page: https://rockylinux.org/ ERROR: Enable permanently by: ERROR: $ ln -s /etc/mock/rocky+epel-9-x86_64.cfg /home/bradbell/.config/mock/epel-9-x86_64.cfg ERROR: Mock config 'epel-9-x86_64' not found, see errors above. Could not execute mockbuild: Failed to execute command. ___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
On Sat, 3 Jun 2023, Brad Bell wrote: I am getting the error message below in response to a `fedpkg mockbuild` command. What am I doing wrong ? fedpkg mockbuild ... snip ... ERROR: Mock config 'epel-9-x86_64' not found, see errors above. Here is my system information: git branch * epel9 rawhide uname -a Linux brad-mobile 6.2.15-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11 17:37:39 UTC 2023 x86_64 GNU/Linux ls /etc/mock | grep epel-9 alma+epel-9-aarch64.cfg alma+epel-9-ppc64le.cfg alma+epel-9-s390x.cfg alma+epel-9-x86_64.cfg centos-stream+epel-9-aarch64.cfg centos-stream+epel-9-ppc64le.cfg centos-stream+epel-9-s390x.cfg centos-stream+epel-9-x86_64.cfg oraclelinux+epel-9-aarch64.cfg oraclelinux+epel-9-x86_64.cfg rhel+epel-9-aarch64.cfg rhel+epel-9-ppc64le.cfg rhel+epel-9-s390x.cfg rhel+epel-9-x86_64.cfg rocky+epel-9-aarch64.cfg rocky+epel-9-ppc64le.cfg rocky+epel-9-s390x.cfg rocky+epel-9-x86_64.cfg You have to pick which one of those mock configs you want to use for epel9 and symlink it. For example: $ ls -l ~/.config/mock/ lrwxrwxrwx. 1 talbert talbert 41 Jun 3 2022 epel-9-x86_64.cfg -> /etc/mock/centos-stream+epel-9-x86_64.cfg Scott___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
On Sat, Jun 3, 2023 at 12:03 PM Stephen Smoogen wrote: > > > > On Sat, 3 Jun 2023 at 11:57, Brad Bell wrote: >> >> I am getting the error message below in response to a `fedpkg mockbuild` >> command. What am I doing >> wrong ? >> >> >fedpkg mockbuild >> ... snip ... >> ERROR: Mock config 'epel-9-x86_64' not found, see errors above. >> >> >> Here is my system information: >> >> >git branch >> * epel9 >>rawhide >> >> >uname -a >> Linux brad-mobile 6.2.15-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11 >> 17:37:39 UTC 2023 x86_64 >> GNU/Linux >> >> >ls /etc/mock | grep epel-9 >> alma+epel-9-aarch64.cfg >> alma+epel-9-ppc64le.cfg >> alma+epel-9-s390x.cfg >> alma+epel-9-x86_64.cfg >> centos-stream+epel-9-aarch64.cfg >> centos-stream+epel-9-ppc64le.cfg >> centos-stream+epel-9-s390x.cfg >> centos-stream+epel-9-x86_64.cfg >> oraclelinux+epel-9-aarch64.cfg >> oraclelinux+epel-9-x86_64.cfg >> rhel+epel-9-aarch64.cfg >> rhel+epel-9-ppc64le.cfg >> rhel+epel-9-s390x.cfg >> rhel+epel-9-x86_64.cfg >> rocky+epel-9-aarch64.cfg >> rocky+epel-9-ppc64le.cfg >> rocky+epel-9-s390x.cfg >> rocky+epel-9-x86_64.cfg >> > > You need to choose a distribution to build against and set the configs for it > > ln -s /etc/mock/foobar+epel-9-x86_64.cfg /etc/mock/epel-9-x86_64.cfg > ln -s /etc/mock/foobar+epel-8-x86_64.cfg /etc/mock/epel-8-x86_64.cfg > I recommend not doing it in /etc, and instead doing it in ~/.config/mock, like so: ngompa@fedora ~> ls -hal ~/.config/mock/ total 16K drwxr-xr-x. 1 ngompa ngompa 140 Jun 16 2022 ./ drwxrwxr-x. 1 ngompa ngompa 3.7K Jun 3 12:14 ../ lrwxrwxrwx. 1 ngompa ngompa 33 Feb 12 2022 epel-8-aarch64.cfg -> /etc/mock/eldistro+epel-8-aarch64.cfg lrwxrwxrwx. 1 ngompa ngompa 32 Feb 12 2022 epel-8-x86_64.cfg -> /etc/mock/eldistro+epel-8-x86_64.cfg lrwxrwxrwx. 1 ngompa ngompa 33 Jun 16 2022 epel-9-aarch64.cfg -> /etc/mock/eldistro+epel-9-aarch64.cfg lrwxrwxrwx. 1 ngompa ngompa 32 Jun 16 2022 epel-9-x86_64.cfg -> /etc/mock/eldistro+epel-9-x86_64.cfg (I changed my choice to the non-existent "eldistro" intentionally, substitute with your preferred variant) -- 真実はいつも一つ!/ Always, there's only one truth! ___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[EPEL-devel] Re: Cannot run fedpkg mockbuild for epel9 on f38
On Sat, 3 Jun 2023 at 11:57, Brad Bell wrote: > I am getting the error message below in response to a `fedpkg mockbuild` > command. What am I doing > wrong ? > > >fedpkg mockbuild > ... snip ... > ERROR: Mock config 'epel-9-x86_64' not found, see errors above. > > > Here is my system information: > > >git branch > * epel9 >rawhide > > >uname -a > Linux brad-mobile 6.2.15-300.fc38.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 11 > 17:37:39 UTC 2023 x86_64 > GNU/Linux > > >ls /etc/mock | grep epel-9 > alma+epel-9-aarch64.cfg > alma+epel-9-ppc64le.cfg > alma+epel-9-s390x.cfg > alma+epel-9-x86_64.cfg > centos-stream+epel-9-aarch64.cfg > centos-stream+epel-9-ppc64le.cfg > centos-stream+epel-9-s390x.cfg > centos-stream+epel-9-x86_64.cfg > oraclelinux+epel-9-aarch64.cfg > oraclelinux+epel-9-x86_64.cfg > rhel+epel-9-aarch64.cfg > rhel+epel-9-ppc64le.cfg > rhel+epel-9-s390x.cfg > rhel+epel-9-x86_64.cfg > rocky+epel-9-aarch64.cfg > rocky+epel-9-ppc64le.cfg > rocky+epel-9-s390x.cfg > rocky+epel-9-x86_64.cfg > > You need to choose a distribution to build against and set the configs for it ln -s /etc/mock/foobar+epel-9-x86_64.cfg /etc/mock/epel-9-x86_64.cfg ln -s /etc/mock/foobar+epel-8-x86_64.cfg /etc/mock/epel-8-x86_64.cfg > >dnf info fedpkg > Name : fedpkg > Version : 1.44 > Release : 4.fc38 > Architecture : noarch > Size : 333 k > Source : fedpkg-1.44-4.fc38.src.rpm > Repository : @System > From repo: updates > Summary : Fedora utility for working with dist-git > URL : https://pagure.io/fedpkg > License : GPLv2+ > Description : Provides the fedpkg command for working with dist-git > ___ > epel-devel mailing list -- epel-devel@lists.fedoraproject.org > To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org > Do not reply to spam, report it: > https://pagure.io/fedora-infrastructure/new_issue > -- Stephen Smoogen, Red Hat Automotive Let us be kind to one another, for most of us are fighting a hard battle. -- Ian MacClaren ___ epel-devel mailing list -- epel-devel@lists.fedoraproject.org To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue