[mythtv] mythtv/master commit: ba9b5d3c6 by Jean-Yves Avenard (jyavenard)

Warpme warpme at o2.pl
Mon Mar 5 17:14:59 UTC 2012


On 3/5/12 12:38 PM, Jean-Yves Avenard wrote:
> Hi
>
> On 5 March 2012 19:42, Warpme<warpme at o2.pl>  wrote:
>> Configuration settings:
>>
>>         qmake
>>   /home/piotro/minimyth-dev/images/main/usr/lib/qt4/bin/qmake
>>
>>         MythArchive    plugin will not be built
>>         MythBrowser    plugin will not be built
>>         MythGallery    plugin will not be built
>>         MythGame       plugin will not be built
>>         MythMusic      plugin will not be built
>>         MythNetvision  plugin will not be built
>>         MythNews       plugin will not be built
>>         MythWeather    plugin will not be built
>>         MythZoneMinder plugin will not be built
>>
>>         [configure] complete for mythmusic.
>>   ==>  Running make in work/main.d/mythtv-master-20120304-gbf4ff78/mythplugins
> I think the core issue is that I retrieve the value of the compilation
> flags from the mythconfig.mak
>
> the previous configure only checked for the header to see if it
> existed. so it assumed it was okay all the time, even if your cross
> compiler would have never looked for those files.
>
> Now... what I would actually need from you is both config.ep file
> between before and after the configure change, and also the config.ep
> generated by makefile in the mythtv script
Thx for so quick replay !

I prepared archive with config.ep (old ./configure; new ./configure) for:
-mythtv
-mythplugins

Unfortunately I can't find config.ep file for mythplugins with old 
./configure
It looks it is not generated at all

Can't send it due attachment limits on this mailinglist.
May You send PM to me - I'll replay with attachment.

>
> Or best, can you provide me with a ssh access to that box so I can see
> it by myself and track how it should compile should a cross-compiler
> be in use.
oh, whole build environment is quite complicated so probably we will 
loose some time just to learning it (http://lnx-bbc.com/garchitecture.html)
I have it on VM so also some networking setup will be needed (port 
forwarding from LAN host to WAN area).
Let's leave this option as plan B when You decide that traditional way 
is not enough to debug problem.
>
> What arguments are you providing to configure for both the mythtv
> configure and the mythplugins one...
Makefiles are following:


mythtv makefile is (part):
--------------------------------------------
DEPENDS = \
          lang/cxx \
          db/mysql \
          lib/alsa-lib \
          lib/fftw3f \
          lib/freetype \
          lib/lame \
          lib/libass \
          lib/libavc1394 \
          lib/libcdio \
          lib/libiec61883 \
          lib/libxml2 \
          lib/zlib \
          python/python \
          python/python-MySQL-python \
          python/python-lxml \
          python/python-urlgrabber \
          qt/qt4 \
          system/lirc \
          system/udev \
          X11/libvdpau \
          xorg/xorg
BUILDDEPS = \
          devel/yasm \
          python/python-distutilscross \
          python/python-MySQL-python \
          python/python-lxml \
          python/python-urlgrabber

DISTNAME_SHORT = $(GARNAME)-$(MYTHTV_GARVERSION_SHORT)

CATEGORY := $(shell basename $(shell dirname $(shell pwd)))

PWD := $(shell pwd)

CONFIGURE_SCRIPTS = $(WORKSRC)/mythtv/configure
BUILD_SCRIPTS     = $(WORKSRC)/mythtv/Makefile
INSTALL_SCRIPTS   = $(WORKSRC)/mythtv/Makefile source

CONFIGURE_ARGS = \
          --compile-type=$(if $(filter yes,$(mm_DEBUG)),"debug","release") \
          --prefix="$(DESTDIR)$(prefix)" \
          --runprefix="$(prefix)" \
          --libdir-name="$(patsubst $(prefix)/%,%,$(libdir))" \
          --disable-ccache \
          --disable-distcc \
          --bindir="$(DESTDIR)$(bindir)" \
          --datadir="$(DESTDIR)$(datadir)/mythtv" \
          --libdir="$(DESTDIR)$(libdir)" \
          --shlibdir="$(DESTDIR)$(libdir)" \
          --incdir="$(DESTDIR)$(includedir)/mythtv" \
          --mandir="$(DESTDIR)$(mandir)" \
          $(if $(filter -Os,$(CFLAGS)),--enable-small) \
          --cross-prefix="$(compiler_prefix)" \
          --enable-cross-compile \
          --sysroot="$(DESTDIR)$(rootdir)" \
          --sysinclude="$(DESTDIR)$(includedir)" \
          --target-os="linux" \
          --nm="$(NM)" \
          --as="$(CC)" \
          --cc="$(CC)" \
          --cxx="$(CXX)" \
          --qmake="$(DESTDIR)$(qt4bindir)/qmake" \
          --host-cc="$(build_CC)" \
          --host-cflags="$(build_CFLAGS)" \
          --host-ldflags="$(build_LDFLAGS)" \
          --host-libs="" \
          --extra-cflags="$(CFLAGS)" \
          --extra-cxxflags="$(CXXFLAGS)" \
          --extra-ldflags="$(LDFLAGS)" \
          --enable-symbol-visibility \
          --arch=$(GARCH_FAMILY) \
          --tune=$(GARCH) \
          --cpu=$(GARCH) \
          --disable-proc-opt \
          --disable-altivec \
          --enable-amd3dnow \
          --enable-amd3dnowext \
          --enable-mmx \
          --enable-mmx2 \
          --enable-sse \
          --enable-ssse3 \
          --enable-yasm \
          --enable-audio-oss \
          --enable-audio-alsa \
          --disable-audio-jack \
          --disable-audio-pulseoutput \
          --enable-ffmpeg-pthreads \
          --disable-valgrind \
          --enable-lirc \
          --enable-joystick-menu \
          --enable-firewire \
          --disable-iptv \
          --disable-hdhomerun \
          --enable-ivtv \
          --enable-hdpvr \
          --enable-dvb \
          --dvb-path="$(DESTDIR)$(includedir)" \
          --enable-x11 \
          --x11-path="$(DESTDIR)$(includedir)" \
          --enable-xrandr \
          --enable-vdpau \
          --disable-dxva2 \
          --disable-crystalhd \
          --enable-opengl-video \
          --disable-mac-bundle \
          --enable-libxml2 \
          --libxml2-path="$(DESTDIR)$(includedir)/libxml2" \
          --without-bindings="perl" \
          --without-bindings="php" \
          --with-bindings="python"

CONFIGURE_ENV  = $(MYTHTV_CONFIGURE_ENV)
BUILD_ENV      = $(MYTHTV_BUILD_ENV)
INSTALL_ENV    = $(MYTHTV_INSTALL_ENV)

BUILD_ENV     += PYTHONXCPREFIX=$(DESTDIR)$(prefix)
INSTALL_ENV   += PYTHONPATH=$(DESTDIR)$(PYTHON_libdir)/site-packages

GAR_EXTRA_CONF += python/python/package-api.mk
include ../../gar.mk

# Fails to compile with GCC 4.5.2's link time optimization enabled.
CFLAGS   := $(filter-out -flto -fuse-linker-plugin, $(CFLAGS))
CXXFLAGS := $(filter-out -flto -fuse-linker-plugin, $(CXXFLAGS))
LDFLAGS  := $(filter-out -flto -fuse-linker-plugin, $(LDFLAGS))
--------------------------------------------





mythmusic is generated with following Makefile
--------------------------------------------
GARNAME = mythmusic
GARVERSION = $(MYTHTV_VERSION)
CATEGORIES = $(CATEGORY)
SOURCEPKG = $(CATEGORY)/mythtv
LICENSE = GPL2

DESCRIPTION =
define BLURB
endef

DEPENDS = \
          lang/cxx \
          $(CATEGORY)/mythtv \
          lib/flac \
          lib/fftw3f \
          lib/lame \
          lib/libcdaudio \
          lib/libcdio \
          lib/libogg \
          lib/libvorbis \
          lib/SDL \
          lib/taglib

CATEGORY := $(shell basename $(shell dirname $(shell pwd)))

WORKSRC = $(WORKDIR)/mythtv-$(MYTHTV_VERSION)

CONFIGURE_SCRIPTS = $(WORKSRC)/mythplugins/configure
BUILD_SCRIPTS     = $(WORKSRC)/mythplugins/Makefile
INSTALL_SCRIPTS   = $(WORKSRC)/mythplugins/Makefile

CONFIGURE_ARGS = \
          $(MYTHTV_PLUGINS_CONFIGURE_ARGS) \
          --enable-mythmusic \
                  --enable-fftw

CONFIGURE_ENV = $(MYTHTV_CONFIGURE_ENV)
BUILD_ENV     = $(MYTHTV_BUILD_ENV)
INSTALL_ENV   = $(MYTHTV_INSTALL_ENV)

GAR_EXTRA_CONF += $(CATEGORY)/mythtv/package-api.mk
include ../../gar.mk

post-install: post-install-mythtv-version
          @$(MAKECOOKIE)
--------------------------------------------

.br



More information about the mythtv-dev mailing list