Expected Build Warnings

From Kicksecure
< Dev
Jump to navigation Jump to search

Expected Build Warning when using derivative-maker to build Kicksecure or other derivatives such as Whonix.

Non-Issues[edit]

None of the following warnings affect the build. Refer to relevant footnotes for further information.


W: --override-config is not set; not updating apt.conf Read the manpage for details.

[1]


dpkg-source: warning: extracting unsigned source package
dpkg-source: warning: extracting unsigned source package (anon-gw-anonymizer-config_5.0-1.dsc)

[2]


Can not write log, openpty() failed (/dev/pts not mounted?)

[3]


[....] Your system does not have the CPU extensions required to use KVM. Not doing anything. ...[ FAIL ]

[4]


[....] Stopping VirtualBox kernel modules [ ok ].
[....] Starting VirtualBox kernel modules[....] No suitable module for running kernel found ...[ FAIL ]
invoke-rc.d: initscript virtualbox, action "restart" failed.

[5]


WARNING: The character device /dev/vboxdrv does not exist.
	 Please install the virtualbox-ose-dkms package and the appropriate
	 headers, most likely linux-headers-486.

	 You will not be able to start VMs until this problem is fixed.

[6]


dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied

[7]


sudo: unable to resolve host host

[8]


Related forum topic: Expected Build Warningsarchive.org

Footnotes[edit]

  1. Debian bug report: cowbuilder: stop passing obsolete --mirror and --distribution parameters to pbuilder to silence superfluous pbuilder warning "W: --override-config is not set; not updating apt.conf Read the manpage for details."archive.org
  2. end-to-end signed debs. debsign, debsig and dpkg-sigarchive.org
  3. This is nothing to be concerned about; it only happens because commands are run inside chroot. Research of this "issue" indicates it is purely cosmetic.
  4. KVM is installed as a dependency of the build dependency libguestfs-tools. KVM is not needed to build the actual images.
  5. This only means that VirtualBox cannot be started. VirtualBox kernel modules could not be compiled because the linux-headers-$(uname -r) package was not installed prior to installing VirtualBox (before starting derivative-maker). The build script does not start VirtualBox, hence does not affect the build. The build script only uses VBoxManage for creation of virtual machine description files and that tool does not need VirtualBox kernel modules.
  6. This is caused by the same issue referenced above.
  7. This happens because debuild is run as user, not root. It is probably a bug in dpkg. Research of this issue reveals there are many similar bugs in dpkg.
  8. The hostname is changed intentionally to host inside the VM image. The cause is probably package anon-base-files postinst running hostname "$my_host_name" / hostname host. This change should only happen inside the change root chroot. This issue might be resolved by porting from chroot to systemd-nspawn, but it is not very important.

We believe security software like Kicksecure needs to remain Open Source and independent. Would you help sustain and grow the project? Learn more about our 12 year success story and maybe DONATE!