Fedora Online Forum

Il forum della comunità italiana di Fedora

#1 31-07-2017 14:08:50

marcomotta
Moderatore
Da Roma
Registrato: 18-01-2009
Messaggi: 2'800
Sito web

Errore nella creazione dell'rpm di Musescore dall'src.rpm

Volevo, come al solito, patchare la versione del repository di Musescore per Fedora 26, ma non riesco neppure a creare l'rpm dal sorgente senza nessuna patch. Questo è l'output (ho tagliato la parte relativa alle traduzioni, che non mi sembra dica nulla di interessante):

$ rm -rf /tmp/mScorePatch
$ mkdir /tmp/mScorePatch
$ cd /tmp/mScorePatch
$ dnf download --source mscore
[cut]
$ rpm2cpio mscore*.src.rpm | cpio -ivd
[cut]
$ mv mscore.spec ~/rpmbuild/SPECS/mscore.spec
$ rm mscore*.src.rpm
$ mv * ~/rpmbuild/SOURCES
$ rpmbuild -v -bb --clean ~/rpmbuild/SPECS/mscore.spec
Esecuzione(%prep) in corso: /bin/sh -e /var/tmp/rpm-tmp.WplHRh
+ umask 022
+ cd /home/marco/rpmbuild/BUILD
+ cd /home/marco/rpmbuild/BUILD
+ rm -rf MuseScore-2.0.3
+ /usr/bin/unzip -qq /home/marco/rpmbuild/SOURCES/MuseScore-2.0.3.zip
replace __MACOSX/MuseScore-2.0.3/._.gitignore? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd MuseScore-2.0.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (mscore-2.0.3-use-default-soundfont.patch):'
Patch #0 (mscore-2.0.3-use-default-soundfont.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .default.soundfont --fuzz=0
patching file share/sound/CMakeLists.txt
patching file mscore/preferences.cpp
+ echo 'Patch #1 (mscore-2.0.3-separate-commonfiles.patch):'
Patch #1 (mscore-2.0.3-separate-commonfiles.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .separatecommon --fuzz=0
patching file libmscore/figuredbass.cpp
Hunk #1 succeeded at 1580 (offset 24 lines).
patching file libmscore/mscore.cpp
Hunk #1 succeeded at 202 (offset 11 lines).
patching file libmscore/stafftype.cpp
Hunk #1 succeeded at 884 (offset 12 lines).
patching file mscore/preferences.cpp
Hunk #1 succeeded at 132 (offset -23 lines).
patching file mscore/musescore.qrc
patching file mscore/preferences.cpp
patching file libmscore/sym.cpp
+ echo 'Patch #2 (mscore-2.0.3-dso-linking.patch):'
Patch #2 (mscore-2.0.3-dso-linking.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dso --fuzz=0
patching file mscore/CMakeLists.txt
+ echo 'Patch #3 (mscore-2.0.3-fix-desktop-file.patch):'
Patch #3 (mscore-2.0.3-fix-desktop-file.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixdesktop --fuzz=0
patching file build/Linux+BSD/mscore.desktop.in
+ echo 'Patch #4 (musescore-2.0.1-fix-flags-for-precompiled-header.patch):'
Patch #4 (musescore-2.0.1-fix-flags-for-precompiled-header.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fixflags --fuzz=0
patching file build/CreatePrecompiledHeader.cmake
+ echo 'Patch #7 (MuseScore-2.0.1-fix-fonts_tabulature.patch):'
Patch #7 (MuseScore-2.0.1-fix-fonts_tabulature.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file libmscore/stafftype.cpp
Hunk #1 succeeded at 884 (offset 12 lines).
+ rm thirdparty/rtf2html/rtf2html
+ find . -name CMakeLists.txt -exec sed -i -e 's|-m32|-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic|' -e 's|-O3|-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic|' '{}' ';'
+ sed -i 's|BUILD_SCRIPTGEN TRUE|BUILD_SCRIPTGEN FALSE|' mscore/CMakeLists.txt
+ sed 's|\r||' thirdparty/rtf2html/README
+ touch -r thirdparty/rtf2html/README tmpfile
+ mv -f tmpfile thirdparty/rtf2html/README
+ sed -i /rpath/d CMakeLists.txt
+ exit 0
Esecuzione(%build) in corso: /bin/sh -e /var/tmp/rpm-tmp.MTqYA6
+ umask 022
+ cd /home/marco/rpmbuild/BUILD
+ cd MuseScore-2.0.3
+ mkdir -p build
+ pushd build
~/rpmbuild/BUILD/MuseScore-2.0.3/build ~/rpmbuild/BUILD/MuseScore-2.0.3
+ CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE=RELEASE '-DCMAKE_CXX_FLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fsigned-char' '-DCMAKE_CXX_FLAGS_RELEASE=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -std=c++11 -fPIC -O2 -DDEBUG -fsigned-char' -DBUILD_LAME=OFF ..
-- The C compiler identification is GNU 7.1.1
-- The CXX compiler identification is GNU 7.1.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Deprecation Warning at CMakeLists.txt:42 (cmake_policy):
  The OLD behavior for policy CMP0020 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
found Doxygen
-- Found LATEX: /usr/bin/latex   
-- configured /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/Doxyfile.in --> /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/Doxyfile
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.3.8") 
-- Checking for module 'libpulse'
--   Found libpulse, version 10.0
-- Found pulseaudio. LIB /usr/lib64/libpulse.so, INCLUDE , LIBDIR , LDFLAGS , CFLAGS 
ALSA >= 1.0.0 found. ALSA support enabled. INCDIR /usr/include, LIBDIR /usr/lib64, LIB -lasound, CPP -I/usr/include/alsa
Pulseaudio found. Pulseaudio support enabled.
-- LAME mp3 support disabled
-- jack (jack audio connection kit) >= 0.98.0 found. jack support enabled.
-- Portaudio found. Portaudio support enabled. INCDIR /usr/include, LIBDIR /usr/lib64, LIB -lportaudio -lm -lpthread -lasound
-- Found gzip. Man pages will be compressed.
-- Found ln. Symlink aliases will be created for MuseScore executable and the man pages.
-- precompiled header generation
-- Creating directory /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/include/freetype/config
-- Creating file /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/include/freetype/config/ftconfig.h
-- Looking for unistd.h
-- Looking for unistd.h - found
-- Looking for fcntl.h
-- Looking for fcntl.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Creating file /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/include/freetype/config/ftoption.h
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_Fortran_FLAGS_RELEASE
    INCLUDE_INSTALL_DIR
    LIB_INSTALL_DIR
    LIB_SUFFIX
    SHARE_INSTALL_PREFIX
    SYSCONF_INSTALL_DIR


-- Build files have been written to: /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build
+ make PREFIX=/usr lrelease -j4
/usr/bin/cmake -H/home/marco/rpmbuild/BUILD/MuseScore-2.0.3 -B/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 lrelease
make[1]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
/usr/bin/cmake -H/home/marco/rpmbuild/BUILD/MuseScore-2.0.3 -B/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles 0
make -f CMakeFiles/Makefile2 CMakeFiles/lrelease.dir/all
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f CMakeFiles/lrelease.dir/build.make CMakeFiles/lrelease.dir/depend
make[3]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/lrelease.dir/DependInfo.cmake --color=
Scanning dependencies of target lrelease
make[3]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f CMakeFiles/lrelease.dir/build.make CMakeFiles/lrelease.dir/build
make[3]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/gen-qt-projectfile /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 > mscore.pro
/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/gen-qt-projectfile /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/share/instruments > instruments.pro
/usr/lib64/qt5/bin/lrelease /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/share/locale/*.ts
[cut]
Updating '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/share/locale/qt_zh_TW.qm'...
[cut]
make[3]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
Built target lrelease
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
/usr/bin/cmake -E cmake_progress_start /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles 0
make[1]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
+ make PREFIX=/usr manpages -j4
/usr/bin/cmake -H/home/marco/rpmbuild/BUILD/MuseScore-2.0.3 -B/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build --check-build-system CMakeFiles/Makefile.cmake 0
make -f CMakeFiles/Makefile2 manpages
make[1]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
/usr/bin/cmake -H/home/marco/rpmbuild/BUILD/MuseScore-2.0.3 -B/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles 0
make -f CMakeFiles/Makefile2 CMakeFiles/manpages.dir/all
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f CMakeFiles/manpages.dir/build.make CMakeFiles/manpages.dir/depend
make[3]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/manpages.dir/DependInfo.cmake --color=
Scanning dependencies of target manpages
make[3]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f CMakeFiles/manpages.dir/build.make CMakeFiles/manpages.dir/build
make[3]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
Generating mscore.1.gz
/usr/bin/gzip -9 < /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore.1 > /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore.1.gz
echo "Man pages have been compressed ready for installation."
Man pages have been compressed ready for installation.
echo Creating\ symlink\ alias\ for\ man\ pages.
Creating symlink alias for man pages.
/usr/bin/ln -sf mscore.1.gz musescore.1.gz
echo 'Symlink alias: musescore.1.gz -> mscore.1.gz'
Symlink alias: musescore.1.gz -> mscore.1.gz
make[3]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
Built target manpages
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
/usr/bin/cmake -E cmake_progress_start /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles 0
make[1]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
+ make PREFIX=/usr -j4 VERBOSE=1
/usr/bin/cmake -H/home/marco/rpmbuild/BUILD/MuseScore-2.0.3 -B/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f CMakeFiles/manpages.dir/build.make CMakeFiles/manpages.dir/depend
make -f mscore/CMakeFiles/mscore_alias.dir/build.make mscore/CMakeFiles/mscore_alias.dir/depend
make -f thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/build.make thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/depend
make -f CMakeFiles/mops1.dir/build.make CMakeFiles/mops1.dir/depend
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/manpages.dir/DependInfo.cmake --color=
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/thirdparty/singleapp/src /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/thirdparty/singleapp/src /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/DependInfo.cmake --color=
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/mscore /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore/CMakeFiles/mscore_alias.dir/DependInfo.cmake --color=
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3 /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/mops1.dir/DependInfo.cmake --color=
Dependee "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/DependInfo.cmake" is newer than depender "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/depend.internal".
Dependee "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/thirdparty/singleapp/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/depend.internal".
Scanning dependencies of target qtsingleapp_autogen
Dependee "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/mops1.dir/DependInfo.cmake" is newer than depender "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/mops1.dir/depend.internal".
Dependee "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/CMakeFiles/mops1.dir/depend.internal".
Scanning dependencies of target mops1
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f CMakeFiles/manpages.dir/build.make CMakeFiles/manpages.dir/build
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f CMakeFiles/mops1.dir/build.make CMakeFiles/mops1.dir/build
Dependee "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore/CMakeFiles/mscore_alias.dir/DependInfo.cmake" is newer than depender "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore/CMakeFiles/mscore_alias.dir/depend.internal".
Dependee "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore/CMakeFiles/mscore_alias.dir/depend.internal".
Scanning dependencies of target mscore_alias
make -f thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/build.make thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/build
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
echo "Man pages have been compressed ready for installation."
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make -f mscore/CMakeFiles/mscore_alias.dir/build.make mscore/CMakeFiles/mscore_alias.dir/build
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
Man pages have been compressed ready for installation.
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
echo Creating\ symlink\ alias\ for\ man\ pages.
make[2]: *** No rule to make target 'all.h', needed by 'thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen'.  Stop.
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make[1]: *** [CMakeFiles/Makefile2:7737: thirdparty/singleapp/src/CMakeFiles/qtsingleapp_autogen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Creating symlink alias for man pages.
/usr/bin/ln -sf mscore.1.gz musescore.1.gz
make[2]: Entering directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore && echo Creating\ symlink\ alias\ for\ mscore\ executable.
echo 'Symlink alias: musescore.1.gz -> mscore.1.gz'
Symlink alias: musescore.1.gz -> mscore.1.gz
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
Creating symlink alias for mscore executable.
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore && /usr/bin/ln -sf mscore musescore
cd /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/mscore && echo 'Symlink alias: musescore -> mscore'
[  0%] Generating all.h
/usr/bin/cmake -E copy /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/all.h /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/all.h
Symlink alias: musescore -> mscore
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
[  0%] Built target manpages
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
[  0%] Built target mscore_alias
[  0%] Built target mops1
make[1]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make: *** [Makefile:155: all] Error 2
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.MTqYA6 (%build)


Errori di compilazione RPM:
    Stato d'uscita errato da /var/tmp/rpm-tmp.MTqYA6 (%build)

Da notare che, tra i BuildRequires, è presente qt5-qtquick1-devel, che non compare più tra i repository di Fedora 26 (ma è installato da quelli di Fedora 25). Sostituito da qt5-qtquick2-devel?
Notare anche che l'src.rpm si compilava senza errori in Fedora 25, e il tarball è esattamente lo stesso.

Ultima modifica di marcomotta (31-07-2017 14:17:07)


La filosofia è una disciplina con obiettivi, ma senza regole. La matematica è una disciplina con regole, ma senza obiettivi.
Un giorno ho incontrato un uomo che non aveva né obiettivi né regole. Studiava filosofia della matematica.

Non in linea

#2 04-08-2017 09:51:09

frafra
Amministratore
Da Trondheim (Norvegia)
Registrato: 14-05-2014
Messaggi: 2'358
Sito web

Re: Errore nella creazione dell'rpm di Musescore dall'src.rpm

Penso non sia più mantenuto. La seconda versione è compatibile a livello di codice sorgente, quindi basta cambiare i vari import ed il gioco è fatto: https://wiki.qt.io/QML1-vs-QML2

Non in linea

#3 06-08-2017 06:42:08

marcomotta
Moderatore
Da Roma
Registrato: 18-01-2009
Messaggi: 2'800
Sito web

Re: Errore nella creazione dell'rpm di Musescore dall'src.rpm

Grazie per l'informazione. Tuttavia, prima di provare a patchare ulteriormente il sorgente rpm, volevo capire la causa dell'errore nella compilazione. Non credo che sia il pacchetto mancante in Fedora 26, in quanto l'ho installato dal repository per Fedora 25, e quindi è presente nel sistema. Sembra che manchi qualcos'altro, non dichiarato nei BuildRequires, ma non riesco a capire, dal messaggio di errore, di cosa si tratti. Più o meno, mi sembra che il problema avvenga qui:

[  0%] Generating all.h
/usr/bin/cmake -E copy /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/all.h /home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build/all.h
Symlink alias: musescore -> mscore
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
[  0%] Built target manpages
make[2]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
[  0%] Built target mscore_alias
[  0%] Built target mops1
make[1]: Leaving directory '/home/marco/rpmbuild/BUILD/MuseScore-2.0.3/build'
make: *** [Makefile:155: all] Error 2
errore: Stato d'uscita errato da /var/tmp/rpm-tmp.MTqYA6 (%build)

Ultima modifica di marcomotta (06-08-2017 06:44:35)


La filosofia è una disciplina con obiettivi, ma senza regole. La matematica è una disciplina con regole, ma senza obiettivi.
Un giorno ho incontrato un uomo che non aveva né obiettivi né regole. Studiava filosofia della matematica.

Non in linea

#4 06-08-2017 14:16:31

frafra
Amministratore
Da Trondheim (Norvegia)
Registrato: 14-05-2014
Messaggi: 2'358
Sito web

Re: Errore nella creazione dell'rpm di Musescore dall'src.rpm

Non vedo errori specifici, bisognerebbe eseguirlo in modalità verbose o analoga suppongo.

Non in linea

Piè di pagina