Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

poudriere-bulk(8): … Finished …: Failed: leftovers #1162

Open
grahamperrin opened this issue Jul 9, 2024 · 4 comments
Open

poudriere-bulk(8): … Finished …: Failed: leftovers #1162

grahamperrin opened this issue Jul 9, 2024 · 4 comments
Assignees
Labels

Comments

@grahamperrin
Copy link
Contributor

Prerequisites

  • ☑ Have you checked for an existing issue describing your problem?
  • ☑ Are you running the latest version?
  • ☑ Is your ports tree recent?
  • Is your FreeBSD Host on a supported release? No.

Describe the bug

It seems that poudriere lost the ability to build some types of port, for example:

[00:16:49] [01] [00:02:32] Finished x11/nvidia-driver-470 | nvidia-driver-470-470.161.03_1: Failed: leftovers

How to reproduce

Steps to reproduce the behavior:

  1. FreeBSD-CURRENT with an up-to-date jail named main
  2. poudriere bulk -j main -J 4 -Ct emulators/virtualbox-ose-kmod sysutils/sysctlbyname-improved-kmod x11/nvidia-driver-470 ports-mgmt/poudriere-devel
  3. success for poudriere-devel
  4. failures for virtualbox-ose-kmod, sysctlbyname-improved-kmod, and nvidia-driver-470.

2024-07-08 example.txt

Expected behavior

  1. success for the two kmods, and for the NVIDIA driver.

Environment

  • Host FreeBSD 15.0-CURRENT main-n271079-39bda097c037 GENERIC-NODEBUG amd64 1500019 1500019
  • Jail FreeBSD 15.0-CURRENT main-n271079-39bda097c037
  • Poudriere poudriere-devel-3.4.99.20240424
  • Ports latest.

Additional context

I sought help a few times before opening this issue, as far as I can tell the first enquiry was 2nd June:

  • almost certainly after the CURRENT bump from 1500018 to 1500019.

The prior version bump for me was on 2024-04-07, I would have built the three ports successfully not long afterwards.

@grahamperrin
Copy link
Contributor Author

Not a show-stopper – I can build and install the required ports without poudriere – but I struggle to understand this bug (if, indeed, it is a bug).

Essentially:

  • where might I find these leftovers?

I did make various guesses before opening this issue, none of what I removed/cleaned was a workaround.


Today I experimented with poudriere 3.4.1_1 (instead of poudriere-devel): the same, failure with leftovers.

2024-07-25 08-3 poudriere instead of poudriere-devel.txt

I reinstalled poudriere-devel.

@grahamperrin
Copy link
Contributor Author

Also failing:

  • net/wifi-firmware-iwlwifi-kmod

@bdrewery bdrewery self-assigned this Aug 8, 2024
@bdrewery
Copy link
Member

bdrewery commented Aug 8, 2024

Did you check the log file for the failed port? Did it have leftovers? The bulk -t flag is causing it to test for leftovers.

@grahamperrin
Copy link
Contributor Author

The tail of nvidia-driver-470-470.161.03_1.log:

…
=======================<phase: deinstall      >============================
===== env: DEVELOPER_MODE=yes STRICT_DEPENDS=yes USER=root UID=0 GID=0
===>  Deinstalling for nvidia-driver-470
===>   Deinstalling nvidia-driver-470-470.161.03_1
Updating database digests format: .......... done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
        nvidia-driver-470: 470.161.03_1

Number of packages to be removed: 1

The operation will free 215 MiB.
[main-default-job-01] [1/1] Deinstalling nvidia-driver-470-470.161.03_1...
[main-default-job-01] [1/1] Deleting files for nvidia-driver-470-470.161.03_1: .......... done
===========================================================================
=>> Checking for extra files and directories
=>> Error: Files or directories left over:
@dir /%%KMODDIR%%
=>> Cleaning up wrkdir
===>  Cleaning for nvidia-driver-470-470.161.03_1
build of x11/nvidia-driver-470 | nvidia-driver-470-470.161.03_1 ended at Mon Jul  8 19:14:50 BST 2024
build time: 00:02:32
!!! build failure encountered !!!

Earlier in the file:

KMODDIR="boot/modules"

/usr/local/poudriere/jails/main/boot exists, /usr/local/poudriere/jails/main/boot/modules does not.

I'm lost, sorry …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants