You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 3, 2019. It is now read-only.
[martin@f27 SPECS]$ rpmbuild -ba mellowplayer.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TSsdJr
+ umask 022
+ cd /home/martin/rpmbuild/BUILD
+ cd /home/martin/rpmbuild/BUILD
+ rm -rf MellowPlayer-3.3.3
+ /usr/bin/gzip -dc /home/martin/rpmbuild/SOURCES/mellowplayer-3.3.3.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd MellowPlayer-3.3.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ rm -rf scripts/packaging/osx scripts/packaging/windows
+ sed -i 1,1d src/main/share/applications/mellowplayer.desktop
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.heU8aF
+ umask 022
+ cd /home/martin/rpmbuild/BUILD
+ cd MellowPlayer-3.3.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 .
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/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/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Qt 5.9.4 in /usr/lib64/cmake/Qt5
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.3.12")
-- Checking for one of the modules 'libnotify'
-- Found libnotify 0.7.7 in /usr/lib64
-- Found qxtglobalshortcut
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Using GNU gold linker
-- qml import path: from imports.qrc
-- CMAKE_INSTALL_BINDIR: /usr/bin
-- CMAKE_INSTALL_LIBDIR: /usr/lib64
-- CMAKE_INSTALL_DATADIR: /usr/share
-- cotire 1.7.10 loaded.
-- CXX target MellowPlayer.Domain cotired without unity build.
-- CXX target MellowPlayer.Infrastructure cotired without unity build.
-- Linux header files
-- CXX target MellowPlayer.Presentation cotired without unity build.
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Building MellowPlayer v3.3.3.0
-- Build date: 2018-02-10
-- Build type: Release
-- Use pre-compiled headers: ON
-- Default theme: Adaptive
-- Build tests: OFF
-- Configuring done
CMake Error in src/main/CMakeLists.txt:
Cannot find source file:
/home/martin/rpmbuild/BUILD/MellowPlayer-3.3.3/src/main/qrc_languages.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_C_FLAGS_RELEASE
CMAKE_Fortran_FLAGS_RELEASE
INCLUDE_INSTALL_DIR
LIB_INSTALL_DIR
LIB_SUFFIX
SHARE_INSTALL_PREFIX
SYSCONF_INSTALL_DIR
The text was updated successfully, but these errors were encountered:
Hmm weird, version 3.3.3 builds fine on Travis-CI and openSUSE build service and I cannot reproduce that build issue in my development environment. But I don't see anything wrong in your spec file.
I've pushed what I hope will fix the issue for you (commit 1a75e49). If that doesn't work I'll rever commit 18a8648 and find another solution to generate languages.qrc.
compilation of mellowplayer-3.3.3 fails with this error on Fedora 27:
rpm spec file: https://martinkg.fedorapeople.org/Packages/mellowplayer/mellowplayer.spec
The text was updated successfully, but these errors were encountered: