MythTV / mythtv

The official MythTV repository
https://www.mythtv.org
GNU General Public License v2.0
705 stars 345 forks source link

.qmake.stash should be deleted and not put in the source tarball #501

Closed marillat closed 2 years ago

marillat commented 2 years ago

This file contain architecture dependent data. If you build mythtv for a different architecture the build fail.

The best is to remove .qmake.stash in the clean target (i don't know how to do that in .pro files)

Example for amd64

QMAKE_CXX.QT_COMPILER_STDCXX = 201703L
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 11
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 2
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 0
QMAKE_CXX.COMPILER_MACROS = \
    QT_COMPILER_STDCXX \
    QMAKE_GCC_MAJOR_VERSION \
    QMAKE_GCC_MINOR_VERSION \
    QMAKE_GCC_PATCH_VERSION
QMAKE_CXX.INCDIRS = \
    /usr/include/c++/11 \
    /usr/include/x86_64-linux-gnu/c++/11 \
    /usr/include/c++/11/backward \
    /usr/lib/gcc/x86_64-linux-gnu/11/include \
    /usr/local/include \
    /usr/include/x86_64-linux-gnu \
    /usr/include
QMAKE_CXX.LIBDIRS = \
    /usr/lib/gcc/x86_64-linux-gnu/11 \
    /usr/lib/x86_64-linux-gnu \
    /usr/lib \
    /lib/x86_64-linux-gnu \
    /lib
linuxdude42 commented 2 years ago

What source tarball are you referring to?

marillat commented 2 years ago

The source tarball I've downloaded here https://github.com/MythTV/mythtv/archive/refs/tags/v32.0.tar.gz But I checked again and .qmake.stash doesn't exist in this tarball