fail-dhcpd-build
Posted: | Tags: gentoo
GenPi64のイメージ作成中、
下記のエラーが出る。 なぜかdhcpcdのビルドに失敗する(再現性もある)
aarch64-unknown-linux-gnu-gcc -march=armv8-a+crc -mtune=cortex-a72 -ftree-vectorize -O2 -pipe -march=native -O2 -pipe -std=c99 -DHAVE_CONFIG_H -DNDEBUG -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DINET -DARP -DARPING -DIPV4LL -DINET6 -DDHCP6 -DAUTH -DPLUGIN_DEV -I.. -I../src -I./crypt -c ../compat/strtou.c -o ../compat/strtou.o
make[1]: *** No rule to make target '/mnt/nfs/home/exampleuser/workspace/git/github.com/exampleuser/Build.Dist/scripts', needed by 'all'. Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/net-misc/dhcpcd-9.5.1/work/dhcpcd-9.5.1/src'
make: *** [Makefile:24: all] Error 2
* ERROR: net-misc/dhcpcd-9.5.1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/dhcpcd-9.5.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/dhcpcd-9.5.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-9.5.1/temp/build.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-9.5.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/dhcpcd-9.5.1/work/dhcpcd-9.5.1'
* S: '/var/tmp/portage/net-misc/dhcpcd-9.5.1/work/dhcpcd-9.5.1'
* Messages for package sys-apps/systemd-253.3-r1:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* CONFIG_CHECKPOINT_RESTORE: is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Messages for package sys-apps/portage-3.0.49-r1:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Messages for package net-wireless/wpa_supplicant-2.10-r1:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Messages for package sys-process/atop-2.8.1:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Messages for package acct-group/cron-0-r1:
* Adding group cron
* Messages for package media-fonts/liberation-fonts-2.1.5:
* The following fontconfig configuration files have been installed:
*
* 60-liberation.conf
*
* Use `eselect fontconfig` to enable/disable them.
* Messages for package acct-group/plugdev-0-r2:
* Adding group plugdev
* Messages for package acct-group/crontab-0-r1:
* Adding group crontab
* Messages for package acct-group/gpio-0-r1:
* Adding group gpio
* Messages for package acct-group/nullmail-0-r1:
* Adding group nullmail
* Messages for package acct-group/spi-0-r1:
* Adding group spi
* Messages for package acct-group/i2c-0-r1:
* Adding group i2c
* Messages for package acct-group/ntp-0-r2:
* Adding group ntp
* Messages for package acct-user/cron-0-r1:
* Adding user cron
* Messages for package acct-user/nullmail-0-r1:
* Adding user nullmail
* Messages for package acct-user/ntp-0-r2:
* Adding user ntp
* Messages for package sys-boot/raspberrypi-firmware-1.20230106:
* Please configure your ram setup by editing /boot/config.txt
*
* (Note: Above message is only printed the first time package is
* installed. Please look at /usr/share/doc/raspberrypi-firmware-1.20230106/README.gentoo*
* for future reference)
* Messages for package dev-libs/ell-0.56:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* CONFIG_KEY_DH_OPERATIONS: is not set when it should be.
* Please check to make sure these options are set correctly.
* Failure to do so may cause unexpected problems.
* Messages for package sys-libs/pam-1.5.3:
* Some software with pre-loaded PAM libraries might experience
* warnings or failures related to missing symbols and/or versions
* after any update. While unfortunate this is a limit of the
* implementation of PAM and the software, and it requires you to
* restart the software manually after the update.
*
* You can get a list of such software running a command like
* lsof / | grep -E -i 'del.*libpam\.so'
*
* Alternatively, simply reboot your system.
* Could not set caps on '/sbin/unix_chkpwd' due to missing filesystem support:
* * enable XATTR support for 'nfs' in your kernel (if configurable)
* * mount the fs with the user_xattr option (if not the default)
* * enable the relevant FS_SECURITY option (if configurable)
* Messages for package sys-apps/util-linux-2.38.1-r2:
* The mesg/wall/write tools have been disabled due to USE=-tty-helpers.
* Messages for package dev-python/jinja-3.1.2:
* For i18n support, please emerge dev-python/Babel.
* Messages for package dev-python/lxml-4.9.2-r1:
* Install additional packages for optional runtime features:
* dev-python/beautifulsoup4 for Support for BeautifulSoup as a parser backend
* dev-python/cssselect for Translates CSS selectors to XPath 1.0 expressions
* Messages for package sys-apps/rpi-onetime-startup-1.0-r5:
* The rpi-onetime-startup service has been added to your default runlevel.
* You are running with the systemd USE flag set!
* However, this package does not yet formally support systemd, so
* you are on your own to get things working ><
* Messages for package sys-apps/portage-3.0.49-r1:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Messages for package app-portage/gentoolkit-0.6.1-r3:
*
* For further information on gentoolkit, please read the gentoolkit
* guide: https://wiki.gentoo.org/wiki/Gentoolkit
*
* Another alternative to equery is app-portage/portage-utils
*
* Additional tools that may be of interest:
*
* app-admin/eclean-kernel
* app-portage/diffmask
* app-portage/flaggie
* app-portage/portpeek
* app-portage/smart-live-rebuild
* Messages for package media-libs/fontconfig-2.14.2-r2:
* Please make fontconfig configuration changes using `eselect
* fontconfig`. Any changes made to /etc/fonts/fonts.conf will be
* overwritten. If you need to reset your configuration to upstream
* defaults, delete the directory /etc/fonts/conf.d/ and re-emerge
* fontconfig.
*
* (Note: Above message is only printed the first time package is
* installed. Please look at /usr/share/doc/fontconfig-2.14.2-r2/README.gentoo*
* for future reference)
* Messages for package net-dialup/ppp-2.5.0-r3:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Messages for package net-misc/dhcpcd-9.5.1:
* ERROR: net-misc/dhcpcd-9.5.1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-misc/dhcpcd-9.5.1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/dhcpcd-9.5.1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/dhcpcd-9.5.1/temp/build.log.gz'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcpcd-9.5.1/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/dhcpcd-9.5.1/work/dhcpcd-9.5.1'
* S: '/var/tmp/portage/net-misc/dhcpcd-9.5.1/work/dhcpcd-9.5.1'
* Messages for package sys-apps/rpi-gpio-1.0.0-r1:
* Adding all members of wheel to the gpio group
* Messages for package sys-apps/rpi3-ondemand-cpufreq-1.1.1-r1:
* Please run:
* rc-update add rpi3-ondemand sysinit
* to enable on-demand CPU frequency scaling
* You are running with the systemd USE flag set!
* However, this package does not yet formally support systemd, so
* you are on your own to get things working ><
* Messages for package sys-process/iotop-0.6_p20230124:
* Since Linux 5.14, sysctl kernel.task_delayacct should be enabled
* This can be enabled by running: 'sysctl kernel.task_delayacct=1'
* And can be made persistent by adding 'kernel.task_delayacct = 1' to /etc/sysctl.conf
* Messages for package sys-block/zram-init-11.1:
* To use zram-init, activate it in your kernel and add it to the default
* runlevel:
* rc-update add zram-init default
* If you use systemd enable zram_swap, zram_tmp, and/or zram_var_tmp with
* systemctl. You might need to modify the following file depending on the number
* of devices that you want to create:
* /etc/modprobe.d/zram.conf.
* If you use the $TMPDIR as zram device with OpenRC, you should add zram-init to
* the boot runlevel:
* rc-update add zram-init boot
* Still for the same case, you should add in the OpenRC configuration file for
* the services using $TMPDIR the following line:
* rc_need="zram-init"
*
* (Note: Above message is only printed the first time package is
* installed. Please look at /usr/share/doc/zram-init-11.1/README.gentoo*
* for future reference)
* Messages for package sys-apps/rpi-spi-1.0.0-r2:
* Adding all members of wheel to the spi group
* To use the SPI interface, please ensure:
* dtparam=spi=on
* is set in /boot/config.txt.
* Messages for package sys-apps/rpi-i2c-1.0.0-r3:
* Adding all members of wheel to the i2c group
* The rpi-i2c service has been added to your boot runlevel.
* To activate, and use the I2C interface, please set:
* dtparam=i2c_arm=on
* in /boot/config.txt, and reboot.
* You are running with the systemd USE flag set!
* However, this package does not yet formally support systemd, so
* you are on your own to get things working ><
* Messages for package sys-apps/rpi3-init-scripts-2.0.0:
* The first-boot root partition resizing service has been activated.
* This service will run so long as the sentinel file /boot/dont_autoexpand_root
* Does not exist.
* To disable entirely, run:
* rc-update del autoexpand-root boot
* You are running with the systemd USE flag set!
* However, this package does not yet formally support systemd, so
* you are on your own to get things working ><
* Messages for package net-wireless/rpi3-wifi-regdom-1.1-r1:
* The rpi3-wifi-regdom service has been added to your default runlevel.
* Please check /etc/conf.d/rpi3-wifi-regdom, and set an
* appropriate ISO / IEC 3166 alpha2 country code therein.
* You are running with the systemd USE flag set!
* However, this package does not yet formally support systemd, so
* you are on your own to get things working ><
* Messages for package app-portage/genup-1.0.29-r1:
* emtee USE flag selected - patching script accordingly.
* Ensuring eix syncs overlays and updates the metadata cache, and that
* eix-update uses that cache, per:
* https://wiki.gentoo.org/wiki/Overlay#eix_integration
* Messages for package sys-process/htop-3.2.2:
* Unable to find kernel sources at /usr/src/linux
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Messages for package net-analyzer/mtr-0.95-r1:
* Could not set caps on '/usr/sbin/mtr-packet' due to missing filesystem support:
* * enable XATTR support for 'nfs' in your kernel (if configurable)
* * mount the fs with the user_xattr option (if not the default)
* * enable the relevant FS_SECURITY option (if configurable)
* Messages for package net-misc/chrony-4.3-r5:
* To enable seccomp in a stricter mode, please modify:
* - /etc/conf.d/chronyd for OpenRC
* - systemctl edit chronyd for systemd
* to use -F 1 or -F -1 instead of -F 2 (see man chronyd)
* By default, we now use -F 2 which is a baseline/minimal filter.
* Messages for package app-misc/screen-4.9.0-r2:
* Some dangerous key bindings have been removed or changed to more safe values.
* We enable some xterm hacks in our default screenrc, which might break some
* applications. Please check /etc/screenrc for information on these changes.
* This revision changes the screen socket location to /tmp/screen
* Messages for package app-admin/rsyslog-8.2304.0:
* To create a default CA and certificates for your server and clients, run:
* emerge --config =rsyslog-8.2304.0
* on your logging server. You can run it several times,
* once for each logging client. The client certificates will be signed
* using the CA certificate generated during the first run.
* Please read
*
* /usr/share/doc/rsyslog-8.2304.0/README.gentoo*
*
* for more details.
* Regenerating GNU info directory index...
* Processed 202 info files.
* IMPORTANT: config file '/etc/profile' needs updating.
* See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
* sections of the emerge man page to learn how to update config files.
* IMPORTANT: 1 news items need reading for repository 'genpi64'.
* IMPORTANT: 11 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
* After world updates, it is important to remove obsolete packages with
* emerge --depclean. Refer to `man emerge` for more information.
+ finish
+ ret=1
+ rm -f /mnt/nfs/home/exampleuser/workspace/git/github.com/exampleuser/Build.Dist/build/GenPi64Systemd/chroot/em-32233
+ exit 1
FATAL: JOB emerge_new_profile FAILED with exit code 1
FATAL: JOB gentoo-base FAILED with exit code 1
run complete.
k3s-stg-agent-e /mnt/nfs/home/exampleuser/workspace/git/github.com/exampleuser/Build.Dist #
手動でchrootしてビルドできるかテスト
mountする必要があるのでrootで行う。
Read more...