Package Base Details: linux-next-git

Git Clone URL: https://aur.archlinux.org/linux-next-git.git (read-only, click to copy)
Submitter: Nefelim4ag
Maintainer: sir_lucjan (ptr1337)
Last Packager: sir_lucjan
Votes: 17
Popularity: 0.005798
First Submitted: 2014-10-12 19:04 (UTC)
Last Updated: 2024-04-22 08:04 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 13 Next › Last »

sir_lucjan commented on 2023-08-30 14:49 (UTC)

@root.nix

Could you check now?

sir_lucjan commented on 2023-08-30 11:41 (UTC) (edited on 2023-08-30 11:46 (UTC) by sir_lucjan)

Warning: 'make modules_install' requires /doesnt/exist. Please install it.
This is probably in the kmod package.

This is a normal message/warning, you can not worry about it.

rm: cannot remove '/a/projects/nest-kernel/linux-next-git/pkg/linux-next-git/usr/lib/modules/6.5.0-next-20230830-1-next-git-13390-g56585460cc2e/source': No such file or directory
==> ERROR: A failure occurred in package_linux-next-git().
    Aborting...

This is absolutely not correct and this is what needs to be looked into.

EDIT: I think I found the culprit: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=d8131c2965d5ee59bfa4d548641e52a13cbe17c9

I will try to fix it as soon as possible.

linux-aarhus commented on 2023-08-30 11:27 (UTC)

I am using localmodconfig and my biweekly build usually finalizes with no issues.

As of today I am getting a strange message emitted getting to this point in the build

  echo "Installing modules..."
  ZSTD_CLEVEL=19 _make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
    DEPMOD=/doesnt/exist modules_install  # Suppress depmod

The message

Warning: 'make modules_install' requires /doesnt/exist. Please install it.
This is probably in the kmod package.
rm: cannot remove '/a/projects/nest-kernel/linux-next-git/pkg/linux-next-git/usr/lib/modules/6.5.0-next-20230830-1-next-git-13390-g56585460cc2e/source': No such file or directory
==> ERROR: A failure occurred in package_linux-next-git().
    Aborting...

sir_lucjan commented on 2023-02-06 19:28 (UTC)

@kro007

You're welcome. Thanks for report.

kro007 commented on 2023-02-06 19:24 (UTC)

It's ok now, thanks you

sir_lucjan commented on 2023-02-06 18:55 (UTC)

@kro007

Could you check now?

kro007 commented on 2023-02-06 18:27 (UTC) (edited on 2023-02-06 18:57 (UTC) by kro007)

Hello, i get this at the end of the build :

btf_encoder__encode: btf__dedup failed!
Failed to encode BTF
LD .tmp_vmlinux.kallsyms1
(...)
libbpf: failed to find '.BTF' ELF section in vmlinux
FAILED: load BTF from vmlinux: No data available
make[1]: [scripts/Makefile.vmlinux:35: vmlinux] Error 255
make[1]:
Suppression du fichier « vmlinux »
make: *** [Makefile:1249: vmlinux] Error 2
==> ERREUR : Une erreur s’est produite dans build().
Abandon…
-> erreur lors de la construction : linux-next-git

What can i do ?

sir_lucjan commented on 2023-01-31 20:32 (UTC)

@riod

This solution works very well if you want to disable DEBUG in the kernel. If you leave it on by default, you won't notice any difference in the build. In my kernels I mostly use this solution and I have not had any error report. I am glad that after much perturbation I was able to solve the problem. Thanks for the notification and feedback.

olean commented on 2023-01-31 20:29 (UTC)

i don't know enough about btf to say whether your modification is a good idea or not. so really it's up to you

sir_lucjan commented on 2023-01-31 20:24 (UTC) (edited on 2023-01-31 20:24 (UTC) by sir_lucjan)

@riod

If you want, I could add something like this:

# required when DEBUG_INFO_BTF_MODULES is enabled
  if [ -f tools/bpf/resolve_btfids/resolve_btfids ]; then
        install -Dt "$builddir/tools/bpf/resolve_btfids" tools/bpf/resolve_btfids/resolve_btfids
  fi