After the change from module-init-tools to kmod, when compiling openvz-sources the modules_install always ends with the warning: DEPMOD 2.6.32-openvz-075.2 depmod: WARNING: could not open /lib/modules/2.6.32-openvz-075.2/modules.builtin: No such file or directory The above is the latest available ebuild but 072.10 gives the same result. The warning is probably harmless (but don't know) as simply doing # touch /lib/modules/2.6.32-openvz-075.2/modules.builtin and then recompile makes the warning go away, but think it should be reported and looked into anyway. Reproducible: Always Steps to Reproduce: 1. # emerge openvz-sources 2. # cp /usr/src/linux-2.6.32-openvz-072.10/.config linux/ 3. # cd /usr/src/linux 4. # make oldconfig 5. # make && make modules_install Actual Results: DEPMOD 2.6.32-openvz-075.2 depmod: WARNING: could not open /lib/modules/2.6.32-openvz-075.2/modules.builtin: No such file or directory Expected Results: DEPMOD 2.6.32-openvz-075.2 # emerge --info Portage 2.2.0_alpha170 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 2.6.32-openvz-072.10 x86_64) ================================================================= System uname: Linux-2.6.32-openvz-072.10-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.2 KiB Mem: 8172832 total, 69500 free KiB Swap: 4779328 total, 4778660 free Timestamp of tree: Sat, 30 Mar 2013 18:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.3-r3, 3.2.3-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.12.6, 1.13.1 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.5.4, 4.6.3, 4.7.2-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.8 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo merc Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -mno-avx" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe -mno-avx" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://gentoo.wheel.sk/pub/linux/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo/" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm gpm iconv ithreads logrotate mmx modules mudflap multilib ncurses nls nptl openmp openvz pam pcre readline session sse sse2 ssl symlink tcpd unicode urandom zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
IMHO, it's not openvz kernel bug.
(In reply to comment #1) > IMHO, it's not openvz kernel bug. As I only use openvz kernel I cannot tell if it's specific to this kernel or not, but just upgraded to openvz-sources-2.6.76.5 and it renders the exactly same result. My guts feeling tells me this might be a kmod bug or who is responsible for creating the modules.builtin file? or maybe mistakenly expects it to be there? I noticed that when enter # make modules_install first thing that pops up before continuing is a notice about "you may need to install modules-init-tools etc." which was replaced by kmod, which somehow indicates that make doesn't fully recognise this replacement, maybe?
or is it actually 'modules.builtin.bin' that it (kmod?) fails to correctly request?
Confirming this issue, it's definitely some kind of kmod's incompatibility in openvz kernel build scripts
Upstream bug https://bugzilla.openvz.org/show_bug.cgi?id=2573
# Michał Górny <mgorny@gentoo.org> (04 Aug 2017) # Unmaintained since mid-2016, requires an active maintainer. Has # multiple build failure bugs. Removal in 30 days. Bug #580516. sys-kernel/openvz-sources
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba6d85b31119d0859d00c60bf445152d386f099d commit ba6d85b31119d0859d00c60bf445152d386f099d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-09-11 18:49:50 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-09-11 18:56:16 +0000 sys-kernel/openvz-sources: Remove last-rited pkg Closes: https://bugs.gentoo.org/580516 Closes: https://bugs.gentoo.org/463926 Closes: https://bugs.gentoo.org/516552 profiles/package.mask | 5 --- sys-kernel/openvz-sources/Manifest | 7 ---- sys-kernel/openvz-sources/metadata.xml | 14 ------- .../openvz-sources-2.6.32.108.5.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.108.8.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.111.12.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.112.15.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.113.11.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.116.1.ebuild | 48 ---------------------- 9 files changed, 314 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=ba6d85b31119d0859d00c60bf445152d386f099d commit ba6d85b31119d0859d00c60bf445152d386f099d Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-09-11 18:49:50 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-09-11 18:56:16 +0000 sys-kernel/openvz-sources: Remove last-rited pkg Closes: https://bugs.gentoo.org/580516 Closes: https://bugs.gentoo.org/463926 Closes: https://bugs.gentoo.org/516552 profiles/package.mask | 5 --- sys-kernel/openvz-sources/Manifest | 7 ---- sys-kernel/openvz-sources/metadata.xml | 14 ------- .../openvz-sources-2.6.32.108.5.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.108.8.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.111.12.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.112.15.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.113.11.ebuild | 48 ---------------------- .../openvz-sources-2.6.32.116.1.ebuild | 48 ---------------------- 9 files changed, 314 deletions(-)