Bug 2110750 - F37FailsToInstall: nodejs-devel, nodejs-full-i18n, npm, v8-devel
Summary: F37FailsToInstall: nodejs-devel, nodejs-full-i18n, npm, v8-devel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: NodeJS Packaging SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F37FailsToInstall
TreeView+ depends on / blocked
 
Reported: 2022-07-25 20:00 UTC by Miro Hrončok
Modified: 2022-08-03 14:28 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-08-03 14:28:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2022-07-25 20:00:09 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

Your package (nodejs) Fails To Install in Fedora 37:

can't install nodejs-devel:
  - nothing provides nodejs(x86-64) = 1:18.6.0-1.fc37 needed by nodejs-devel-1:18.6.0-1.fc37.1.x86_64
  - nothing provides nodejs-libs(x86-64) = 1:18.6.0-1.fc37 needed by nodejs-devel-1:18.6.0-1.fc37.1.x86_64
  
can't install nodejs-full-i18n:
  - nothing provides nodejs(x86-64) = 1:18.6.0-1.fc37 needed by nodejs-full-i18n-1:18.6.0-1.fc37.1.x86_64
  
can't install npm:
  - nothing provides nodejs = 1:18.6.0-1.fc37 needed by npm-1:8.13.2-1.18.6.0.1.fc37.1.x86_64
  
can't install v8-devel:
  - nothing provides nodejs-libs(x86-64) = 1:18.6.0-1.fc37 needed by v8-devel-2:10.2.154.13-1.18.6.0.1.fc37.1.x86_64
  - nothing provides nodejs-devel(x86-64) = 1:18.6.0-1.fc37 needed by v8-devel-2:10.2.154.13-1.18.6.0.1.fc37.1.x86_64
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-37-x86_64 --config-opts mirrored=False install nodejs-devel nodejs-full-i18n npm v8-devel


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2022-07-25 20:11:01 UTC
Looking at https://src.fedoraproject.org/rpms/nodejs/c/5afd356aa4f116275a78efbddf403a60b5e0793d?branch=rawhide I guess that:

  %global baserelease %autorelease
  ...
  Release: %{nodejs_release}


Is not well handled by rpmdev-bumpspec. rpmdev-bumpspec uses:

  specfile_uses_rpmautospec(specpath='nodejs.spec', check_autorelease=True, check_autochangelog=False)

And that fails with this spec file, which I believe is a bug in rpmautospec.

Hence, I wanted to report it but I saw https://pagure.io/fedora-infra/rpmautospec/c/3e616b5a0cdbe2b342134b791c702f33ecf6f91a?branch=main which fixes your report :)

Comment 2 Stephen Gallagher 2022-07-25 20:27:51 UTC
Yeah, I'm aware of this issue. It should be resolved by setting the release manually.

Comment 3 Miro Hrončok 2022-08-02 16:37:33 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37.

Thanks for taking care of it!

Comment 4 Martin Pitt 2022-08-03 14:11:06 UTC
This still happens in current rawhide, since yesterday:

❱❱❱ sudo dnf install nodejs-devel
Fedora - Rawhide - Developmental packages for the next Fedora release                                   136 kB/s |  13 kB     00:00    
Fedora - Rawhide - Developmental packages for the next Fedora release                                   1.9 MB/s | 1.7 MB     00:00    
Fedora - Modular Rawhide - Developmental packages for the next Fedora release                           192 kB/s |  12 kB     00:00    
Fedora - Modular Rawhide - Developmental packages for the next Fedora release                           409 kB/s | 175 kB     00:00    
Error: 
 Problem: conflicting requests
  - nothing provides nodejs-libs(x86-32) = 1:18.6.0-1.fc37 needed by nodejs-devel-1:18.6.0-1.fc37.1.i686
  - nothing provides nodejs(x86-32) = 1:18.6.0-1.fc37 needed by nodejs-devel-1:18.6.0-1.fc37.1.i686
  - nothing provides nodejs(x86-64) = 1:18.6.0-1.fc37 needed by nodejs-devel-1:18.6.0-1.fc37.1.x86_64
  - nothing provides nodejs-libs(x86-64) = 1:18.6.0-1.fc37 needed by nodejs-devel-1:18.6.0-1.fc37.1.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

Comment 5 Stephen Gallagher 2022-08-03 14:28:29 UTC
Fedora Rawhide has the corrected packages in today's compose: see https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/source/tree/Packages/n/


Note You need to log in before you can comment on or make changes to this bug.