Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 727056

Summary: media-video/motion-4.3.1: test phase breaks installation
Product: Gentoo Linux Reporter: Joonas Niilola <juippis>
Component: Current packagesAssignee: Johannes Willem (Hans) Fernhout <hfern>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/29330
Whiteboard:
Package list:
Runtime testing required: ---

Description Joonas Niilola gentoo-dev 2020-06-04 07:12:45 UTC
When testing this package with FEATURES="test" it re-runs the configure phase again, supposedly with pre-defined ./configure settings which in return breaks ebuild behaviour.

This is the outcome:
 * The ebuild is installing to one or more unexpected paths:
 * 
 *   /usr/local
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.

 >: equery f motion | grep /local/
/usr/local/bin
/usr/local/bin/motion
/usr/local/etc
/usr/local/etc/motion
/usr/local/etc/motion/camera1-dist.conf
/usr/local/etc/motion/camera2-dist.conf
/usr/local/etc/motion/camera3-dist.conf
/usr/local/etc/motion/camera4-dist.conf
/usr/local/etc/motion/motion-dist.conf
/usr/local/share
/usr/local/share/locale
/usr/local/share/locale/fi
/usr/local/share/locale/fi/LC_MESSAGES
/usr/local/share/locale/fi/LC_MESSAGES/motion.mo
/usr/local/share/locale/sv
/usr/local/share/locale/sv/LC_MESSAGES
/usr/local/share/locale/sv/LC_MESSAGES/motion.mo
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man1/motion.1

Please look into fixing the test phase.
Comment 1 Johannes Willem (Hans) Fernhout 2023-01-27 18:02:15 UTC
This is fixed in version 4.5.1, for which I will submit a PR.
Comment 2 Larry the Git Cow gentoo-dev 2023-02-09 16:10:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b391fc2e4239913f527bdee802f5aeec5a63efad

commit b391fc2e4239913f527bdee802f5aeec5a63efad
Author:     Johannes Willem Fernhout <hfern@fernhout.info>
AuthorDate: 2023-01-29 09:26:27 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-02-09 16:07:08 +0000

    media-video/motion: add 4.5.1
    
    Closes: https://bugs.gentoo.org/727056
    Closes: https://bugs.gentoo.org/820383
    Closes: https://bugs.gentoo.org/834407
    Signed-off-by: Johannes Willem Fernhout <hfern@fernhout.info>
    Closes: https://github.com/gentoo/gentoo/pull/29330
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 media-video/motion/Manifest            |  1 +
 media-video/motion/motion-4.5.1.ebuild | 86 ++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)