BUG: Ubuntu (bug-fix) packages available from Ubuntu PPA repository
I've created an improved Ubuntu package in my Personal Package Archive which uses CDBS and fixes:
- daemon-starts-during-install issue (continuation of "BUG: Deb packages for ubuntu try to run daemon when installing it")
- int-from-pointer conversion bug with 64-bit builds.
Add my PPA repository to apt and the motion package can be installed/removed as a regular Ubuntu package using Synaptic, aptitude, apt-get, etc.:
$ sudo sh -c "echo 'deb http://ppa.launchpad.net/intuitivenipple/ubuntu hardy main' >/etc/apt/sources.list.d/intuitivenipple.list"
$ sudo apt-get update
$ sudo apt-get install motion
I'll upload a package for Gutsy as well.
| Motion version:
| ffmpeg version:
| Shared libraries:
|| ffmpeg, mysql, postgresql
| Server OS:
|| Ubuntu Hardy Gutsy
- 20 Jul 2008
Thanks you did a nice work, but it should be fixed in debian / ubuntu repositories too.
I fixed some time ago that issue of start motion on install, debian skel is on this topic :
Are you sure about "int-from-pointer conversion bug with 64-bit builds" ... did you get any proof that make motion
not work on x86_64 ?
Although i'm agree that motion need some work on 64bits doing a formal use of LP64.
- 20 Jul 2008
I downloaded the 'latest' Ubuntu Hardy package earlier today and motion was started during the installation process and when I checked the postinst file in the package it shows:
# Automatically added by dh_installinit
if [ -x "/etc/init.d/motion" ]; then
update-rc.d motion start 60 2 3 4 5 . stop 60 0 1 6 . >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d motion start || exit $?
/etc/init.d/motion start || exit $?
# End automatically added section
The 64-bit pointer issue is a definite problem. The compiler correctly warns about it and the code was explictly expecting a 32-bit pointer. Through luck the values are unlikely to exceed the 32-bit range but that doesn't alter the fact that is was a real bug.
Since I posted this report I've done some more changes that fix another issue with the init script not starting motion as a daemon, ensuring the PIDFILE used is the one specified in the init script, and the init script uses standard logging functions. I've also built packages for Ubuntu Feisty, Gutsy, Hardy and Intrepid in my PPA.
Nice fixes , maybe maintainers of debian / ubuntu packages should take care as long as
packages in official repositories are pretty out of date ( broken ? ) ...
Would you like to add your repository to motion download page so people can use your packages ?
btw ppa is a neat way to get ubuntu packages , looks greats !!! Congrats !
- 20 Jul 2008
Fixes added to svn .
Will be release in future versions.
- 17 Jul 2009