[oe] [PATCH v2] mpd: update to 0.21.3

Khem Raj raj.khem at gmail.com
Wed Nov 28 17:19:07 UTC 2018


On Tue, Nov 27, 2018 at 11:34 PM Max Kellermann
<max+openembedded at blarg.de> wrote:
>
> On 2018/11/28 06:53, Khem Raj <raj.khem at gmail.com> wrote:
> > Hi Max
> >
> > it fails to build with systemd see
> > http://errors.yoctoproject.org/Errors/Details/202303/
> >
> > It seems the new meson change is not installing the system unit files
> > and socket file during do_install properly, one way is that we explicitly
> > install/copy them during do_install, but I think its better to fix it in mpd
> > itself if possible
>
> We had this problem already when I submitted version 0.21 for the
> first time, and my 0.21.3 patch contained more explicit options to
> enable systemd, hoping to make it fail earlier, but it didn't.
>
> Packaging with systemd works perfectly fine here on my machine, all
> the units are in the right place.  Unfortunately, your Yocto build
> logs are devoid of any hints what went wrong.
>
> So yes, I agree with you that we should fix this in MPD upstream (I am
> the MPD upstream maintainer, btw.), but I have no idea what's wrong.
> If only I could reproduce the problem.
>
> Is there any way to get more verbose logs from your build bot?
>

I can reproduce it locally as well when building for

MACHINE = "raspberrypi3"
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"


ERROR: mpd-0.21.3-r0 do_package: SYSTEMD_SERVICE_mpd value mpd.socket
does not exist
ERROR: mpd-0.21.3-r0 do_package: Function failed: systemd_populate_packages
ERROR: Logfile of failure stored in:
/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/mpd/0.21.3-r0/temp/log.do_package.25748
ERROR: Task (/mnt/a/yoe/sources/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.21.3.bb:do_package)
failed with exit code '1'
logs are here
https://gist.github.com/b69ddd940689c5ad02bce7ef2eb89a73
https://gist.github.com/4c1dd2c382a209b03d290447146cc9c4
https://gist.github.com/675704fde3469895b4c6207d4c83041d


if you are interested here is the distro setup I use.
https://github.com/YoeDistro/yoe-distro

> Max


More information about the Openembedded-devel mailing list