[mythtv] Issues with 0.26, gentoo, and zeromq

Marc Tousignant myrdhn at gmail.com
Sat Oct 6 18:48:58 UTC 2012


Hah... no changes needed. Turns out this was an issue 2+ years in the
making.

I inherited the ebuilds when the original author disappeared, they were
originally written for CVS.
When we moved to SVN, I updated them to use the new repo, and again when we
moved to GIT.
Through all these revisions the install code used:
einstall INSTALL_ROOT="${D}"

This all worked fine until about 2 years ago in 0.24 when external/FFmpeg
was added.
I requested help on the users list trying to figure out what happened:
25816 and up gives the error : Aborting due to QA concerns: 54 files 
installed in 
/var/tmp/portage/media-tv/mythtv-9999/image///var/tmp/portage/media-tv/mytht

v-9999/image/

I ended up being able to solve the issue by using the below patch.
# cat gentoo-myth-config-fix.diff 
diff -u -r mythtv.orig/configure mythtv/configure 
--- mythtv.orig/configure 2010-08-28 10:46:53.000000000 -0400 
+++ mythtv/configure 2010-08-28 10:48:43.000000000 -0400 
@@ -4749,9 +4749,9 @@ 
cat >> external/FFmpeg/config.mak <<EOF 
LIBDIR=\$(INSTALL_ROOT)$libdir 
SHLIBDIR=\$(INSTALL_ROOT)$shlibdir 
-INCDIR=\$(INSTALL_ROOT)$incdir 
-BINDIR=\$(INSTALL_ROOT)$bindir 
-DATADIR=\$(INSTALL_ROOT)$datadir 
+INCDIR=$incdir 
+BINDIR=$bindir 
+DATADIR=$datadir 
MANDIR=\$(INSTALL_ROOT)$mandir 
endif # FFMPEG_CONFIG_MAK 
EOF

When zeromq was added I got a similar failure to the original FFmpeg issue,
and that's what I have been trying to solve this entire time.
Turns out the correct fix for the FFmpeg issue would have been to change:
einstall INSTALL_ROOT="${D}"
to:
emake INSTALL_ROOT="${D}" install

When I made this change earlier in the week in an attempt to fix the zeromq
issues, my FFmpeg patch bit me in the ass and I got sandbox errors because
the INSTALL_ROOT was missing.

I'm finally resolved by removing the 2 year old patch, and making the change
to emake from einstall.

Sorry for the noise over the past few days.

MarcT



More information about the mythtv-dev mailing list