Your message dated Fri, 02 Dec 2022 12:05:17 +0000
with message-id <e1p14n7-006vrb...@fasolo.debian.org>
and subject line Bug#1025214: fixed in dkms 3.0.8-3
has caused the Debian Bug report #1025214,
regarding dkms: --environment-overrides causes several module build failures
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1025214: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025214
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dkms
Version: 3.0.8-2
Severity: serious
Hi,
export MAKEFLAGS="--environment-overrides" causes several modules to
fail to build since this seems to inject unwanted environment variable
values into various build processes.
E.g. the nvidia modules react fragile to the ARCH variable, therefore we
unset that variable first:
MAKE[0]="unset ARCH; env NV_VERBOSE=1 \
make ${parallel_jobs+-j$parallel_jobs} modules KERNEL_UNAME=${kernelver}"
but that does not work any longer. Verbose output shows that it tries to
build with ARCH=x86 (I have no clue where that value comes from)
instead of ARCH=x86_64 (which it even attempts to set).
I think you are mixing two things in the export-CC.patch:
1.) try to get the correct CC value from the kernel (.kernelvariables,
.config, ...) and export that for the benefit of the module build
system, overriding any CC value found in the environment (which is
likely to be wrong) (this does not need to be propagated back to
kbuild)
2.) support overriding the CC used by kbuild (and the module build
system) with some custom value
Andreas
PS: shouldn't you rather append to MAKEFLAGS and not override them?
--- End Message ---
--- Begin Message ---
Source: dkms
Source-Version: 3.0.8-3
Done: Aron Xu <a...@debian.org>
We believe that the bug you reported is fixed in the latest version of
dkms, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1025...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aron Xu <a...@debian.org> (supplier of updated dkms package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 02 Dec 2022 19:49:16 +0800
Source: dkms
Architecture: source
Version: 3.0.8-3
Distribution: unstable
Urgency: high
Maintainer: Dynamic Kernel Module System Team <d...@packages.debian.org>
Changed-By: Aron Xu <a...@debian.org>
Closes: 1025171 1025214
Changes:
dkms (3.0.8-3) unstable; urgency=high
.
* Revert back to 3.0.8-1 behavior to prevent breakages for sid users
(Closes: #1025214, #1025171)
Checksums-Sha1:
f49107dce13478debe68827899fc1e6487bdcef8 1697 dkms_3.0.8-3.dsc
259b5037cbab7593078fa6b594d63340b5620f73 23968 dkms_3.0.8-3.debian.tar.xz
0e7350681781a94f560121dc742d14400a9d1b3a 5451 dkms_3.0.8-3_source.buildinfo
Checksums-Sha256:
2e9954ac385331317dbe4baba4a7baa018748a6d46cda0dbc0f642f5c9bcfe4a 1697
dkms_3.0.8-3.dsc
bf9abfd506c895d54f61974caa86c1a3dc1f42030f92c5d90107f471b7ae828c 23968
dkms_3.0.8-3.debian.tar.xz
f14b2fbe0ce9082876ae5b9a94264b04f37fe1be1905f8bfd08332c2780c6ee3 5451
dkms_3.0.8-3_source.buildinfo
Files:
4ef853e990361b3e0c9c87aa60686ab8 1697 kernel optional dkms_3.0.8-3.dsc
0b82cf9a8cd718d9fa503c54a3b13559 23968 kernel optional
dkms_3.0.8-3.debian.tar.xz
2f1e84659e0528af424729e6c3d75925 5451 kernel optional
dkms_3.0.8-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEhhz+aYQl/Bp4OTA7O1LKKgqv2VQFAmOJ50EACgkQO1LKKgqv
2VTMEQf/QByI5fMalL2Zkcg4vkQ16QLHg4nYbBuSBvT+1wH3g0mrq0e55bW9CWFn
0S94lsC8dZpQwxkabfh93RrKlNEANT7hDLOn+QUz5y0vcwel+Hp4pz93ucdQnPdW
n9SQwg7a7xaeWtOz3lbfvg1FNLSU6m587+9BcPH/Mv8muMPd14mEtmMj9woT44su
HFWDpJ4PAc/Caa35GHQHV05Gu5Lj+qGomMtelOg2rSow/GpjaZSAp+RHN2R2877j
NjMrU0OyoxcBvyXF0Np8OfLTpBqH7iHuv7zdShV9YjdsIT8FJX8gXPgI+HYgKEKT
9nT+1FMQLruRtXvVXAS9ppnqHe+MaA==
=SWsK
-----END PGP SIGNATURE-----
--- End Message ---