Bug 286372 - www/rubygem-rqrcode: Will not build with rqrcode-core == 2.0.0
Summary: www/rubygem-rqrcode: Will not build with rqrcode-core == 2.0.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Matthias Fechner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-26 21:25 UTC by Matt Kempe
Modified: 2025-04-27 11:48 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (ruby)
fsbruva: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Kempe 2025-04-26 21:25:21 UTC
Commit 24bb6f3f1a8d2dcc727a1e5854c148c8fe3d2a71 bumped www/rubygem-rqrcode_core to 2.0.0. Now www/rubygem-rqrcode will not build, because it requires rqrcode_core to be less than 2.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-26 21:48:24 UTC
(In reply to fsbruva from comment #0)
Can it build if change upper limit from 2 to 3 (or remove it)?
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2025-04-26 22:00:55 UTC
(In reply to Vladimir Druzenko from comment #1)
It can build but I don't think it will be wise idea. Sorry for the breakage. Unless @Matthias responds by tomorrow I will revert this commit. As this actually breaks Gitlab.

@Matthias can you also take over the maintainership of this port?
Comment 3 Matt Kempe 2025-04-26 22:33:05 UTC
(In reply to Vladimir Druzenko from comment #1)
No. The FreeBSD ports framework will allow it to move forward, but it will fail Q/Q/A, because the spec file within rqrcode specifies ~> 1.0. This means less than 2.

====> Running Q/A tests (stage-qa)
Error: RubyGem dependency rqrcode_core ~> 1.0 is not satisfied.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/rubygem-rqrcode
=>> Error: stage-qa failures detected
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-04-27 04:22:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7864a7d5680ae039c8a3653d23a7fd7061627196

commit 7864a7d5680ae039c8a3653d23a7fd7061627196
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2025-04-27 04:19:58 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2025-04-27 04:21:56 +0000

    www/rubygem-rqrcode: update to 3.0.0

    Changes:        https://github.com/whomwah/rqrcode/blob/main/CHANGELOG.md
    PR:             286372

 www/rubygem-rqrcode/Makefile | 4 ++--
 www/rubygem-rqrcode/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-04-27 04:22:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e5bf2131ff5710c26771c6c6a4d2541653c11436

commit e5bf2131ff5710c26771c6c6a4d2541653c11436
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2025-04-27 04:17:56 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2025-04-27 04:21:56 +0000

    www/gitlab: decouple from www/rubygem-rqrcode

    This makes it possible to upgrade www/rubygem-rqrcode to version 3
    which unbreaks it due to update of www/rubygem-rqrcode_core.

    PR:             286372

 www/Makefile                                    |  2 ++
 www/gitlab/Makefile                             |  2 +-
 www/gitlab/Makefile.common                      |  2 +-
 www/rubygem-rqrcode-gitlab/Makefile (new)       | 21 +++++++++++++++++++++
 www/rubygem-rqrcode-gitlab/distinfo (new)       |  3 +++
 www/rubygem-rqrcode-gitlab/pkg-descr (new)      |  3 +++
 www/rubygem-rqrcode_core-gitlab/Makefile (new)  | 18 ++++++++++++++++++
 www/rubygem-rqrcode_core-gitlab/distinfo (new)  |  3 +++
 www/rubygem-rqrcode_core-gitlab/pkg-descr (new) | 15 +++++++++++++++
 9 files changed, 67 insertions(+), 2 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2025-04-27 04:38:01 UTC
A commit in branch 2025Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3bae97c041c3a771112192111039a6aa49d087ac

commit 3bae97c041c3a771112192111039a6aa49d087ac
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2025-04-27 04:17:56 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2025-04-27 04:26:54 +0000

    www/gitlab: decouple from www/rubygem-rqrcode

    This makes it possible to upgrade www/rubygem-rqrcode to version 3
    which unbreaks it due to update of www/rubygem-rqrcode_core.

    PR:             286372
    (cherry picked from commit e5bf2131ff5710c26771c6c6a4d2541653c11436)

 www/Makefile                                    |  2 ++
 www/gitlab/Makefile                             |  2 +-
 www/gitlab/Makefile.common                      |  2 +-
 www/rubygem-rqrcode-gitlab/Makefile (new)       | 21 +++++++++++++++++++++
 www/rubygem-rqrcode-gitlab/distinfo (new)       |  3 +++
 www/rubygem-rqrcode-gitlab/pkg-descr (new)      |  3 +++
 www/rubygem-rqrcode_core-gitlab/Makefile (new)  | 18 ++++++++++++++++++
 www/rubygem-rqrcode_core-gitlab/distinfo (new)  |  3 +++
 www/rubygem-rqrcode_core-gitlab/pkg-descr (new) | 15 +++++++++++++++
 9 files changed, 67 insertions(+), 2 deletions(-)
Comment 7 Matthias Fechner freebsd_committer freebsd_triage 2025-04-27 04:40:13 UTC
I think the problem should be fixed now.
Comment 8 beppo 2025-04-27 11:41:29 UTC
Same problem when bulding www/redmine60 from ports. Not sure if I should have made a new bug report, but the topic fits. 

======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rubygem-rqrcode-2.2.0 depends on package: rubygem-chunky_png>=1.0<2 - not found
===>   Installing existing package /packages/All/rubygem-chunky_png-1.4.0.pkg
[14-2-release-standard-job-08] Installing rubygem-chunky_png-1.4.0...
[14-2-release-standard-job-08] Extracting rubygem-chunky_png-1.4.0: .......... done
===>   rubygem-rqrcode-2.2.0 depends on package: rubygem-chunky_png>=1.0<2 - found
===>   Returning to build of rubygem-rqrcode-2.2.0
===>   rubygem-rqrcode-2.2.0 depends on package: rubygem-rqrcode_core>=1.0<2 - not found
===>   Installing existing package /packages/All/rubygem-rqrcode_core-2.0.0.pkg
[14-2-release-standard-job-08] Installing rubygem-rqrcode_core-2.0.0...
[14-2-release-standard-job-08] Extracting rubygem-rqrcode_core-2.0.0: .......... done
===>   rubygem-rqrcode-2.2.0 depends on package: rubygem-rqrcode_core>=1.0<2 - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/www/rubygem-rqrcode
=>> Cleaning up wrkdir
===>  Cleaning for rubygem-rqrcode-2.2.0
build of www/rubygem-rqrcode | rubygem-rqrcode-2.2.0 ended at Sun Apr 27 10:19:55 CEST 2025
build time: 00:00:11
!!! build failure encountered !!!
Comment 9 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2025-04-27 11:47:25 UTC
(In reply to beppo from comment #8)
Please update your tree. www/rubygem-rqrcode has been updated to 3.0.0 and you are still at 2.2.0.
Comment 10 beppo 2025-04-27 11:48:22 UTC
(In reply to Muhammad Moinur Rahman from comment #9)
 Thanks a lot for your fast response.