https://bugzilla.redhat.com/show_bug.cgi?id=2527712

Tomas Hrcka <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
              Flags|                            |fedora-review?
           Assignee|[email protected]    |[email protected]



--- Comment #2 from Tomas Hrcka <[email protected]> ---
Package Review: nodejs-vite-8.3.5-1.fc46
========================================

Bug:       2527712 - Review Request: nodejs-vite - Next Generation NodeJS
Frontend Tooling
Bug URL:   https://bugzilla.redhat.com/show_bug.cgi?id=2527712
Reviewer:  Automated/assisted review (fedora-review 0.12.0)
Date:      2026-11-11
Status:    CHANGES REQUESTED

The package builds and passes %check, but it cannot be installed in rawhide yet
because npm(lightningcss) and npm(rolldown) are not in the repository (they are
under review as bugs 2527710 and 2527711). rpmlint also reports a malformed
/usr/bin/vite symlink.

Issues:
=======
- [MUST] Package installs properly: installation fails because
npm(lightningcss) (bug 2527710) and npm(rolldown) (bug 2527711) are not yet in
rawhide.
- [MUST] /usr/bin/vite is a symlink with too many up/down segments (rpmlint E:
symlink-has-too-many-up-segments). Use an absolute symlink or a proper relative
path.
- [SHOULD] Latest upstream is 8.3.8; 8.3.5 is packaged.
- [SHOULD] No manual page for the vite CLI; hidden .bin and .package-lock.json
files in node_modules; dangling symlinks are expected until the system
dependencies are installed.
- [INFO] Spec URL vs SRPM diff is rpmautospec-only (false positive).

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

===== MUST items =====

Generic:
[x]: Package does not contain kernel modules.
     Note: No kernel modules in the package file list.
[-]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
     Note: No C/C++ code; the package is noarch JavaScript.
[x]: Package does not contain any libtool archives (.la)
     Note: No libtool archives in the package file list.
[x]: Package contains no static executables.
     Note: No static executables; the package is noarch JavaScript.
[x]: Rpath absent or only used for internal libs.
     Note: No rpath entries found.
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: License field in the package spec file matches the actual license.
     Note: License expression MIT AND ISC AND Apache-2.0 AND BSD-3-Clause
     AND MPL-2.0 covers the licenses found by licensecheck.
[x]: If the package is under multiple licenses, the licensing breakdown must
     be documented in the spec.
     Note: The bundled-licenses file documents the breakdown.
[-]: %build honors applicable compiler flags or justifies otherwise.
     Note: No compilation step; %build is empty.
[x]: Package contains no bundled libraries or specifies bundled libraries
     with Provides: bundled(<libname>) if unbundling is not possible.
     Note: The binary provides bundled() entries for the remaining npm
     modules; native deps use the system packages.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
     Note: The source archives are the npm tarballs; bundled native modules
     are removed and replaced with system packages. No prebuilt binary is
     shipped.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package uses nothing in %doc for runtime.
     Note: README/docs are not needed at runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
     names).
     Note: The spec consistently uses macros.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
     Note: rpm -qp --conflicts is empty.
[x]: Package obeys FHS, except libexecdir and /usr/target.
     Note: All installed paths are under /usr.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
     Note: Requires are auto-generated from ELF/JS metadata or explicitly
     justified in the spec.
[x]: Spec file is legible and written in American English.
     Note: rpmlint spelling warnings are technical terms (napi, vendored,
     bundler, minifier, tsconfig), not spec errors.
[-]: Package contains systemd file(s) if in need.
[-]: Useful -debuginfo package or justification otherwise.
     Note: Noarch package; no debuginfo subpackage is produced.
[x]: Package is not known to require an ExcludeArch tag.
     Note: ExclusiveArch: %{nodejs_arches} noarch; the package is noarch.
[!]: Package complies to the Packaging Guidelines
     Note: See the MUST failures listed in Issues.
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[!]: Package installs properly.
     Note: Installation failed: 'nothing provides npm(lightningcss)' and
     'nothing provides npm(rolldown)'. The packages are under review and not
     yet in rawhide. The buildroot build itself succeeded.
[x]: Rpmlint is run on all rpms the build produces.
[x]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %license.
     Note: The source tarball contains package/LICENSE.md and the spec uses
     %license LICENSE.md; the fedora-review note about a 'LICENSE' file is a
     false positive (it comes from a bundled dependency).
[x]: The License field must be a valid SPDX expression.
     Note: license-validate accepts the expression.
[x]: Package requires other packages for directories it uses.
     Note: The package owns the node_modules directory it uses.
[x]: Package must own all directories that it creates.
     Note: The package owns the directories it creates.
[x]: Package does not own files or directories owned by other packages.
     Note: No file or directory conflicts with another package.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
     Note: Uses %{buildroot}.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: No rm -rf of the buildroot at the start of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
     Note: Summary/%description macros expand at SRPM build time.
[x]: Dist tag is present.
     Note: Dist tag is present.
[x]: Package does not contain duplicates in %files.
     Note: No duplicate %files entries.
[x]: Permissions on files are set properly.
     Note: File modes are standard (0644 files, 0755 native addon/CLI).
[x]: Package must not depend on deprecated() packages.
     Note: No deprecated dependencies found.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
     Note: %makeinstall is not used.
[x]: Package is named using only allowed ASCII characters.
     Note: Package name uses only ASCII characters.
[x]: Package does not use a name that already exists.
     Note: New package name; no existing Fedora package with this name.
[x]: Package is not relocatable.
     Note: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
     Note: fedora-review source checksum matches the upstream tarball.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
     Note: Spec file name matches %{name}.spec.
[x]: File names are valid UTF-8.
     Note: All filenames are valid UTF-8.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation is small and stays in the main package.
[x]: Packages must not store files under /srv, /opt or /usr/local
     Note: No files under /srv, /opt, or /usr/local.

===== SHOULD items =====

Generic:
[x]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
     Note: Upstream ships its license text; no need to query upstream.
[x]: Final provides and requires are sane (see attachments).
     Note: Requires are correct: npm(esbuild), npm(lightningcss),
     npm(rolldown), nodejs, nodejs(engine). They just are not all available
     in rawhide yet.
[x]: Package functions as described.
     Note: %check loads and exercises the installed module.
[!]: Latest version is packaged.
     Note: Upstream npm latest is 8.3.8; the package is 8.3.5.
[x]: Package does not include license text files separate from upstream.
     Note: The upstream license text is included in %license.
[x]: SourceX tarball generation or download is documented.
     Note: Source generation/download is documented in the spec comments and
     sources script.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: Upstream does not publish signatures for these tarballs;
     gpgverify is not applicable.
[x]: %check is present and all tests pass.
     Note: %check imports the installed ESM entry point and verifies that
     createServer is a function; it passed.
[x]: Packages should try to preserve timestamps of original installed files.
     Note: cp -p/-pr is used, preserving timestamps.
[x]: Reviewer should test that the package builds in mock.
     Note: Mock build succeeded on x86_64.
[x]: Buildroot is not present
     Note: No Buildroot tag.
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: No %clean section with rm -rf.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
     Note: No requires outside the standard system directories.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
     Note: No Packager/Vendor/PreReq/Copyright tags.
[x]: SourceX is a working URL.
     Note: The Source URLs are reachable.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
     Note: Build verified on x86_64; ExclusiveArch limits the supported set.
[x]: Spec use %global instead of %define unless justified.
     Note: %global is used; the rpmautospec-generated %define is acceptable.

===== EXTRA items =====

Generic:
[!]: Spec file according to URL is the same as in SRPM.
     Note: The URL and SRPM specs differ only by rpmautospec; false
     positive.
[x]: Rpmlint is run on debuginfo package(s).
     Note: rpmlint on the debuginfo package is clean.
[!]: Rpmlint is run on all installed packages.
     Note: rpmlint on installed packages could not run because the install
     step failed.
[x]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
     Note: Large data/noarch handling is fine.

Verification performed:
======================
- Rebuilt with fedora-review 0.12.0 after installing the locally built
nodejs-lightningcss RPM into the rawhide chroot.
- Mock build succeeded; %check imports the installed ESM entry point and
verifies createServer is a function.
- Source checksum matches the upstream npm tarball.
- rpm -qp --provides: npm(vite) and bundled() entries are present.
- rpm -qp --requires: npm(esbuild), npm(lightningcss), npm(rolldown), nodejs,
nodejs(engine).
- rpmlint: symlink errors and dangling-symlink warnings; the latter are
expected until the system deps are installed.
- licensecheck.txt was inspected; the main LICENSE.md is included.


Attachments / generated data
=============================

Rpmlint
-------
Checking: nodejs-vite-8.3.5-1.fc46.noarch.rpm
          nodejs-vite-8.3.5-1.fc46.src.rpm
============================ rpmlint session starts
============================
rpmlint: 2.9.0
configuration:
    /usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
    /etc/xdg/rpmlint/fedora-spdx-licenses.toml
    /etc/xdg/rpmlint/fedora.toml
    /etc/xdg/rpmlint/scoring.toml
    /etc/xdg/rpmlint/users-groups.toml
    /etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmp5586j993')]
checks: 32, packages: 2

nodejs-vite.noarch: E: symlink-has-too-many-up-segments /usr/bin/vite
../../../../../../../usr/lib/node_modules/vite/bin/vite.js
nodejs-vite.noarch: E: symlink-contains-up-and-down-segments /usr/bin/vite
../../../../../../../usr/lib/node_modules/vite/bin/vite.js
nodejs-vite.noarch: E: symlink-contains-up-and-down-segments /usr/bin/vite
../../../../../../../usr/lib/node_modules/vite/bin/vite.js
nodejs-vite.noarch: E: symlink-contains-up-and-down-segments /usr/bin/vite
../../../../../../../usr/lib/node_modules/vite/bin/vite.js
nodejs-vite.noarch: W: only-non-binary-in-usr-lib
nodejs-vite.noarch: W: no-manual-page-for-binary vite
nodejs-vite.spec: W: invalid-url Source1: vite-8.3.5-nm-prod.tgz
nodejs-vite.spec: W: invalid-url Source2: vite-8.3.5-nm-dev.tgz
nodejs-vite.noarch: W: hidden-file-or-dir
/usr/lib/node_modules/vite/node_modules/.bin
nodejs-vite.noarch: W: hidden-file-or-dir
/usr/lib/node_modules/vite/node_modules_prod/.bin
nodejs-vite.noarch: W: hidden-file-or-dir
/usr/lib/node_modules/vite/node_modules_prod/.bin
nodejs-vite.noarch: W: hidden-file-or-dir
/usr/lib/node_modules/vite/node_modules_prod/.package-lock.json
nodejs-vite.noarch: W: hidden-file-or-dir
/usr/lib/node_modules/vite/node_modules_prod/postcss/node_modules/.bin
nodejs-vite.noarch: W: hidden-file-or-dir
/usr/lib/node_modules/vite/node_modules_prod/postcss/node_modules/.bin
nodejs-vite.noarch: W: dangling-symlink
/usr/lib/node_modules/vite/node_modules_prod/esbuild
/usr/lib/node_modules/esbuild
nodejs-vite.noarch: W: dangling-symlink
/usr/lib/node_modules/vite/node_modules_prod/lightningcss
/usr/lib/node_modules/lightningcss
nodejs-vite.noarch: W: dangling-symlink
/usr/lib/node_modules/vite/node_modules_prod/rolldown
/usr/lib/node_modules/rolldown
nodejs-vite.noarch: W: dangling-relative-symlink
/usr/lib/node_modules/vite/node_modules_prod/.bin/rolldown
../rolldown/bin/cli.mjs
 2 packages and 0 specfiles checked; 4 errors, 14 warnings, 11 filtered, 4
badness; has taken 0.4 s 




Source checksums
----------------
https://registry.npmjs.org/vite/-/vite-8.3.5.tgz :
  CHECKSUM(SHA256) this package     :
7f22c2a78d15bac5ad755c5f413806048db453604fa0c293f6a0613890dc7c17
  CHECKSUM(SHA256) upstream package :
7f22c2a78d15bac5ad755c5f413806048db453604fa0c293f6a0613890dc7c17


Requires
--------
nodejs-vite (rpmlib, GLIBC filtered):
    /usr/bin/node
    nodejs
    nodejs(engine)
    npm(esbuild)
    npm(lightningcss)
    npm(rolldown)



Provides
--------
nodejs-vite:
    bundled(nodejs-@oxc-project/types)
    bundled(nodejs-@rolldown/pluginutils)
    bundled(nodejs-detect-libc)
    bundled(nodejs-fdir)
    bundled(nodejs-nanoid)
    bundled(nodejs-picocolors)
    bundled(nodejs-picomatch)
    bundled(nodejs-postcss)
    bundled(nodejs-source-map-js)
    bundled(nodejs-tinyglobby)
    nodejs-vite
    npm(vite)



Diff spec file in url and in SRPM
---------------------------------
--- /tmp/opencode/vite-rerun/2527712-nodejs-vite/srpm/nodejs-vite.spec 
2026-11-11 09:04:16.109507309 +0100
+++ /tmp/opencode/vite-rerun/2527712-nodejs-vite/srpm-unpacked/nodejs-vite.spec
2026-10-28 01:00:00.000000000 +0100
@@ -1,2 +1,7 @@
+## START: Set by rpmautospec
+## (rpmautospec version 0.8.4)
+## RPMAUTOSPEC: autochangelog
+## END: Set by rpmautospec
+
 %global npm_name vite

@@ -95,3 +100,15 @@

 %changelog
-%autochangelog
+## START: Generated by rpmautospec
+* Wed Oct 28 2026 Gordon Messmer <[email protected]> - 8.3.5-1
+- Update to current release and document bundled licenses
+
+* Wed Aug 19 2026 Gordon Messmer <[email protected]> - 8.1.5-2
+- Add vite-sources.sh to re-package upstream sources
+
+* Wed Aug 19 2026 Gordon Messmer <[email protected]> - 8.1.5-1
+- Update vite to 8.1.5, building against system native deps
+
+* Thu Mar 19 2026 Gordon Messmer <[email protected]> - 7.1.12-1
+- initial import
+## END: Generated by rpmautospec


Generated by fedora-review 0.12.0 (a08f0fc) last change: 2026-09-18
Command line :/usr/bin/fedora-review -B -b 2527712 -c
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: SugarActivity, Ruby, Java, Ocaml, R, Python, Haskell, Perl,
C/C++, fonts, PHP
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH, UNRETIREMENT


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2527712

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202527712%23c2

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to