Open gilsonmandalogo opened 5 years ago
Can you please try building the latest dev?
@ccrisan Thanks for your help :)
I tried now on the latest dev branch, and a clean build. The build fails on the same step, but with a slightly different error.
Log:
>>> Generating filesystem image rootfs.tar
mkdir -p /home/motioneyeos/output/raspberrypi2/images
rm -rf /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar
mkdir -p /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar
rsync -auH --exclude=/THIS_IS_NOT_YOUR_ROOT_FILESYSTEM /home/motioneyeos/output/raspberrypi2/target/ /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target
echo '#!/bin/sh' > /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
echo "set -e" >> /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
echo "chown -h -R 0:0 /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target" >> /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
PATH="/home/motioneyeos/output/raspberrypi2/host/bin:/home/motioneyeos/output/raspberrypi2/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/motioneyeos/support/scripts/mkusers /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/full_users_table.txt /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target >> /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
echo "/home/motioneyeos/output/raspberrypi2/host/bin/makedevs -d /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/full_devices_table.txt /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target" >> /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
printf ' \n' >> /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
printf ' (cd /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target; find -print0 | LC_ALL=C sort -z | tar -cf /home/motioneyeos/output/raspberrypi2/images/rootfs.tar --null --xattrs-include='\''*'\'' --no-recursion -T - --numeric-owner)\n' >> /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
chmod a+x /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
PATH="/home/motioneyeos/output/raspberrypi2/host/bin:/home/motioneyeos/output/raspberrypi2/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" FAKEROOTDONTTRYCHOWN=1 /home/motioneyeos/output/raspberrypi2/host/bin/fakeroot -- /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/fakeroot
rootdir=/home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target
table='/home/motioneyeos/output/raspberrypi2/build/buildroot-fs/full_devices_table.txt'
makedevs: Cannot create directory `/home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target/var/lib/': No such file or directory
makedevs: line 3: chown failed for /home/motioneyeos/output/raspberrypi2/build/buildroot-fs/tar/target/var/lib/: No such file or directory
fs/tar/tar.mk:16: recipe for target '/home/motioneyeos/output/raspberrypi2/images/rootfs.tar' failed
make: *** [/home/motioneyeos/output/raspberrypi2/images/rootfs.tar] Error 1
root@c1cdf964ef49:/home/motioneyeos# git log
commit ba9b6d14a927e512b52e82572334ae44310bd1b4 (grafted, HEAD -> dev, origin/dev, origin/HEAD)
Author: Calin Crisan <ccrisan@gmail.com>
Date: Sun Jun 16 21:29:07 2019 +0300
motioneye: update to b65febd63fce1fd69563c6b8b299789ad0c40684
Have you customized in any kind the raspberrypi2 defconfig?
No, I don't customized the defconfig, I customized only target packages on /output/raspberrypi2/.config
through ./build.sh raspberrypi2 nconfig
command, removing wifi stuffs, adding nginx (plus some submodules), and adding fail2ban.
I know the problem is nginx because I tried (not after this latest change on dev) all other changes, and without nginx the build works.
Here are my /output/raspberrypi2/.config file.
Thanks :)
Preliminary Docs
I confirm that I have read the CONTRIBUTING guide before opening this issue.
I confirm that I have read the FAQ before opening this issue.
motionEyeOS Version
I am running motionEyeOS version: 20190427
Board Model
I am using the following board/model: Raspberry PI 2 Model B
Network Connection
My motionEyeOS unit is connected to the network via: Ethernet
I can build from source on
master
ordev
successfully, but when I try to add nginx as target package, both branches fails. Before the latest update onmaster
branch, I had build successfully with nginx additional target packageNote: All builds are done using ubuntu inside docker container.
The error occurs on the
Generating common rootfs tarball
step.Bellow are my latest tty outputs: