[mythtv] Issues with 0.26, gentoo, and zeromq

Marc Tousignant myrdhn at gmail.com
Fri Oct 5 12:42:23 UTC 2012


I think I'm on the right path now.

mythtv/external/zeromq/configure:datarootdir='${prefix}/share'

mythtv/external/zeromq/configure:mandir='${datarootdir}/man'

mythtv/external/zeromq/doc/Makefile.in:man3dir = $(mandir)/man3

mythtv/external/zeromq/doc/Makefile.in:           $(INSTALL_DATA) $$files
"$(DESTDIR)$(man3dir)" || exit $$?; }; \

Somehow the Gentoo installer knows to tack ${D} onto the front of the
man3dir and others, but is blowing up on the install stage because DESTDIR
causes a duplicate of the same.

When I drop the DESTDIR=${INSTALL_ROOT} from the " ${MAKE} -C zeromq
${@:zeromq-%=%} DESTDIR=${INSTALL_ROOT}" line in the Makefile the items that
currently install into ${D}/${D} work but the include blows up by causing a
sandbox error on:

test -z "/usr/include/mythtv/zeromq" || /bin/mkdir -p
"/usr/include/mythtv/zeromq"
ACCESS DENIED  mkdir:        /usr/include/mythtv
/bin/mkdir: cannot create directory â/usr/include/mythtvâ: Permission denied

This is caused by the --includedir= in the b/mythtv/external/Makefile and
Gentoo not tacking on the ${D} at the front of that.

Still looking into it.

MarcT



More information about the mythtv-dev mailing list