lijian8 / yagf

Automatically exported from code.google.com/p/yagf
0 stars 0 forks source link

0.9.4 doesn't build due to missing Qt resources #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run cmake
2. Run ninja (or make)
3. fail

What is the expected output? What do you see instead?

ninja: error: '/usr/obj/p/yagf-0.9.4/yagf-538f3d9144ff/src/images/align.png', 
needed by 'qrc_yagf.cxx', missing and no known rule to make it

What version of the product are you using? On what operating system?

Yagf 0.9.4, OpenBSD 5.6-BETA, CMake 2.8.12.2, Ninja 1.5.1

Please provide any additional information below.

The full build log as follows:

===>  Checking files for yagf-0.9.4
`/usr/ports/packages/distfiles/yagf-0.9.4.tar.gz' is up to date.
>> (SHA256) yagf-0.9.4.tar.gz: OK
===>  Extracting for yagf-0.9.4
===>  Patching for yagf-0.9.4
===>  Configuring for yagf-0.9.4
cd /usr/obj/p/yagf-0.9.4/build-i386 &&  /usr/bin/env -i  CC="cc" CFLAGS="-O2 
-pipe "  CXX="c++" CXXFLAGS="-O2 -pipe "  MODJAVA_VER=  MODLUA_VERSION=  
MODLUA_BIN=  MODLUA_INCL_DIR=  MODPY_VERSION=  MODPY_BIN=  MODPY_INCDIR=  
MODPY_LIBDIR=  MODTCL_VERSION=  MODTK_VERSION=  MODTCL_INCDIR=  MODTK_INCDIR=  
MODTCL_LIBDIR=  MODTK_LIBDIR=  MODTCL_LIB=  MODTK_LIB= MOC=/usr/local/bin/moc4  
MODQT_INCDIR=/usr/local/include/X11/qt4  MODQT_LIBDIR=/usr/local/lib/qt4  
PKG_CONFIG_PATH=:/usr/local/lib/qt4/pkgconfig UIC=/usr/local/bin/uic4 
LIBTOOL="/usr/bin/libtool"  CCACHE_DIR=/usr/obj/p/.ccache 
PATH=/usr/obj/p/yagf-0.9.4/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr
/local/bin:/usr/X11R6/bin /usr/local/bin/cmake  
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY:Bool=True  -G Ninja 
-DCMAKE_INSTALL_PREFIX=/usr/local /usr/obj/p/yagf-0.9.4/yagf-538f3d9144ff
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is GNU 4.2.1
-- Check for working C compiler using: Ninja
-- Check for working C compiler using: Ninja -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Ninja
-- Check for working CXX compiler using: Ninja -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST
-- Performing Test ICONV_SECOND_ARGUMENT_IS_CONST - Failed
-- Found Iconv: /usr/local/lib/libiconv.so.6.0
-- Looking for dgettext
-- Looking for dgettext - not found
-- Found Libintl: /usr/local/include
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.27.1")
-- checking for module 'lcms'
--   found lcms, version 1.18
-- Found LCMS: /usr/local/lib/liblcms.so.2.0 (found version "1.18")
-- Looking for XOpenDisplay in 
/usr/X11R6/lib/libX11.so.16.0;/usr/X11R6/lib/libXext.so.13.0
-- Looking for XOpenDisplay in 
/usr/X11R6/lib/libX11.so.16.0;/usr/X11R6/lib/libXext.so.13.0 - 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/X11R6/lib/libX11.so.16.0
-- Found OpenGL: /usr/X11R6/lib/libGL.so.15.0
-- Found ZLIB: /usr/lib/libz.so.5.0 (found version "1.2.3")
-- Found PNG: /usr/local/lib/libpng.so.17.2 (found version "1.6.12")
-- Found JPEG: /usr/local/lib/libjpeg.so.67.0
-- Found TIFF: /usr/local/lib/libtiff.so.39.2 (found version "4.0.3")
-- Found Freetype: /usr/X11R6/lib/libfreetype.so.22.0 (found version "2.5.0")
-- Looking for include file pthread.h
-- Looking for include file 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
-- Found Qt4: /usr/local/bin/qmake4 (found suitable version "4.8.6", minimum 
required is "4.6")
-- Found ASPELL: /usr/local/lib/libaspell.so.17.0
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/obj/p/yagf-0.9.4/build-i386
===>  Building for yagf-0.9.4
ninja: error: '/usr/obj/p/yagf-0.9.4/yagf-538f3d9144ff/src/images/align.png', 
needed by 'qrc_yagf.cxx', missing and no known rule to make it
*** Error 1 in . (/usr/ports/devel/cmake/cmake.port.mk:31 'do-build': @cd 
/usr/obj/p/yagf-0.9.4/build-i386 && exec /usr/bin/env -i VERBOSE=1...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2738 
'/usr/obj/p/yagf-0.9.4/build-i386/.build_done')
*** Error 1 in /usr/ports/openbsd-wip/graphics/yagf 
(/usr/ports/infrastructure/mk/bsd.port.mk:2470 'all')

(а ещё в английской версии домашней 
страницы YAGF нет раздела "System Requirements", только 
ссылка на него)

Original issue reported on code.google.com by persgray@gmail.com on 4 Aug 2014 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by andrei.b...@gmail.com on 5 Aug 2014 at 3:36