Jump to content


Photo

openpli feeds 3.0 or 4.0 do not compile due to small error


  • Please log in to reply
2 replies to this topic

#1 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 1 March 2013 - 21:38

I found a small problem comming from package mpd

I think it's radxnl who added this package

bitbake file is mpd_0.16.6.bb

There is a wrong uri concerning mpd.conf and mpd.init

into bb file it is
SRC_URI = "${SOURCEFORGE_MIRROR}/musicpd/mpd-${PV}.tar.bz2 \
  file://mpd/mpd.conf \
  file://mpd/mpd.init \
  "

# and ...
# the install section
do_install_append() {
install -d ${D}/var/lib/mpd/playlists
install -d ${D}${sysconfdir}/init.d
install -m 755 ${WORKDIR}/mpd/mpd.init ${D}${sysconfdir}/init.d/mpd
install -m 644 ${WORKDIR}/mpd/mpd.conf ${D}${sysconfdir}/mpd.conf
}


it should be because bb file is namede mpd_xxx and the files are located in an mpd folder within musicmpd folder

SRC_URI = "${SOURCEFORGE_MIRROR}/musicpd/mpd-${PV}.tar.bz2 \
  file://mpd.conf \
  file://mpd.init \
  "
# and ...
# the install section

do_install_append() {
install -d ${D}/var/lib/mpd/playlists
install -d ${D}${sysconfdir}/init.d
install -m 755 ${WORKDIR}/mpd.init ${D}${sysconfdir}/init.d/mpd
install -m 644 ${WORKDIR}/mpd.conf ${D}${sysconfdir}/mpd.conf
}


Re: openpli feeds 3.0 or 4.0 do not compile due to small error #2 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 3 March 2013 - 18:50

@radxnl,

I reported this problem several times

Can You not change you're bitbake file ? As it's wrong like it is and force us to always patch the openpli base cloning in order to build the feeds.

Re: openpli feeds 3.0 or 4.0 do not compile due to small error #3 christophecvr

  • Senior Member
  • 3,131 posts

+140
Excellent

Posted 3 March 2013 - 21:20

@Pieterg,

see that the bb is corrected thx,

but also the
do_install_append() {
install -d ${D}/var/lib/mpd/playlists
install -d ${D}${sysconfdir}/init.d
install -m 755 ${WORKDIR}/mpd/mpd.init ${D}${sysconfdir}/init.d/mpd
install -m 644 ${WORKDIR}/mpd/mpd.conf ${D}${sysconfdir}/mpd.conf
}

needs to be changed in

do_install_append() {
install -d ${D}/var/lib/mpd/playlists
install -d ${D}${sysconfdir}/init.d
install -m 755 ${WORKDIR}/mpd.init ${D}${sysconfdir}/init.d/mpd
install -m 644 ${WORKDIR}/mpd.conf ${D}${sysconfdir}/mpd.conf
}

foor the feeds install


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users