Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error after 5bea0e0 #25

Open
restorepoint1 opened this issue Nov 13, 2024 · 2 comments
Open

Build Error after 5bea0e0 #25

restorepoint1 opened this issue Nov 13, 2024 · 2 comments
Labels

Comments

@restorepoint1
Copy link

restorepoint1 commented Nov 13, 2024

Did you read the guide?

Yes

What is the base version number of MotionPlus being used?

0.2.x

What was the install method?

Built from source code

What is base architecture?

x86/x64

What is the distro being used?

Ubuntu

Disto version number

24.04

Camera/Sound type(s) being used?

Other

Describe the issue/problem and steps to reproduce

Can't build with buildplus.sh anymore (after #5bea0e0)

Version: 0.2.0-git-20241105-d79e5c5
Building package....
Build Error.  Check build log 

Relevant MotionPlus log output (at log_level 8)

<omitted>
make[4]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/tmp/motionplus.ZDkYXA/motionplus/debian/motionplus/usr/share/doc/motionplus'
 /usr/bin/mkdir -p '/tmp/motionplus.ZDkYXA/motionplus/debian/motionplus/var/lib/motionplus'
 /usr/bin/mkdir -p '/tmp/motionplus.ZDkYXA/motionplus/debian/motionplus/usr/share/man/man1'
 /usr/bin/install -c -m 644 doc/motionplus_guide.html doc/motionplus_stylesheet.css doc/motionplus_build.html doc/motionplus_config.html '/tmp/motionplus.ZDkYXA/motionplus/debian/motionplus/usr/share/doc/motionplus'
 /usr/bin/install -c -m 644 data/motionplus-dist.conf data/camera1-dist.conf data/camera2-dist.conf data/camera3-dist.conf data/sound1-dist.conf '/tmp/motionplus.ZDkYXA/motionplus/debian/motionplus/var/lib/motionplus'
 /usr/bin/install -c -m 644 man/motionplus.1 '/tmp/motionplus.ZDkYXA/motionplus/debian/motionplus/usr/share/man/man1'
make[4]: Leaving directory '/tmp/motionplus.ZDkYXA/motionplus'
make[3]: Leaving directory '/tmp/motionplus.ZDkYXA/motionplus'
make[2]: Leaving directory '/tmp/motionplus.ZDkYXA/motionplus'
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
cp: cannot stat '/var/lib/motionplus/motionplus-dist.conf': No such file or directory
make[1]: *** [debian/rules:14: override_dh_auto_install] Error 1
make[1]: Leaving directory '/tmp/motionplus.ZDkYXA/motionplus'
make: *** [debian/rules:10: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
@Mr-Dave Mr-Dave transferred this issue from Motion-Project/motionplus Nov 13, 2024
@Mr-Dave
Copy link
Member

Mr-Dave commented Nov 13, 2024

Eliminated the copying of the file so it should work now.

@restorepoint1
Copy link
Author

@Mr-Dave thanks, it is successfully compilating now, but
[ALR][ALL][mp00] init: Could not open configuration file:

Because there is no /var/lib/motionplus/motionplus.conf because you have removed cp in post-install
It is ok with manual cp:
[NTC][ALL][mp00] process: Processing config file /var/lib/motionplus/motionplus.conf
[NTC][ALL][mp00] process: Processing config file /var/lib/motionplus/camera1.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants