Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550206 - dev-games/openscenegraph-3.2.1 does not merge
Summary: dev-games/openscenegraph-3.2.1 does not merge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Maciej Mrozowski
URL: http://www.flightgear.org
Whiteboard:
Keywords:
: 540074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-05-23 09:08 UTC by Laurent V
Modified: 2015-07-14 17:33 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent V 2015-05-23 09:08:29 UTC
The flightgear-3.4.0 ebuild doe not merge and fail when merging dev-games/openscenegraph-3.2.1 : 

>>> Emerging (6 of 10) dev-games/openscenegraph-3.2.1::gentoo
 * OpenSceneGraph-3.2.1.zip SHA256 SHA512 WHIRLPOOL size ;-) ...         [ ok ]
>>> Unpacking source...
>>> Unpacking OpenSceneGraph-3.2.1.zip to /var/tmp/portage/dev-games/openscenegraph-3.2.1/work
>>> Source unpacked in /var/tmp/portage/dev-games/openscenegraph-3.2.1/work
>>> Preparing source in /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1 ...
 * Applying openscenegraph-3.2.1-cmake.patch ...                         [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build"
cmake --no-warn-unused-cli -C /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DDYNAMIC_OPENSCENEGRAPH=ON -DWITH_ITK=OFF -DGENTOO_DOCDIR=/usr/share/doc/openscenegraph-3.2.1 -DWITH_asio=OFF -DWITH_ASIO=OFF -DWITH_Asio=OFF -DWITH_curl=OFF -DWITH_CURL=OFF -DWITH_Curl=OFF -DBUILD_DOCUMENTATION=OFF -DBUILD_OSG_APPLICATIONS=OFF -DBUILD_OSG_EXAMPLES=OFF -DWITH_FFmpeg=OFF -DWITH_fltk=OFF -DWITH_FLTK=OFF -DWITH_Fltk=OFF -DWITH_fox=OFF -DWITH_FOX=OFF -DWITH_Fox=OFF -DWITH_gdal=OFF -DWITH_GDAL=OFF -DWITH_Gdal=OFF -DWITH_GIFLIB=ON -DWITH_glut=OFF -DWITH_GLUT=OFF -DWITH_Glut=OFF -DWITH_GtkGl=ON -DWITH_jpeg=ON -DWITH_JPEG=ON -DWITH_Jpeg=ON -DWITH_Jasper=OFF -DWITH_OpenEXR=OFF -DWITH_Inventor=OFF -DWITH_Poppler-glib=ON -DWITH_png=ON -DWITH_PNG=ON -DWITH_Png=ON -DWITH_qt4=ON -DWITH_QT4=ON -DWITH_Qt4=ON -DWITH_sdl=ON -DWITH_SDL=ON -DWITH_Sdl=ON -DWITH_rsvg=ON -DWITH_tiff=ON -DWITH_TIFF=ON -DWITH_Tiff=ON -DWITH_Freetype=ON -DWITH_LibVNCServer=OFF -DWITH_wxWidgets=ON -DWITH_xine=OFF -DWITH_XINE=OFF -DWITH_Xine=OFF -DOSGVIEWER_USE_XRANDR=OFF -DWITH_zlib=ON -DWITH_ZLIB=ON -DWITH_Zlib=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/gentoo_rules.cmake -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/gentoo_toolchain.cmake  /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1
Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/gentoo_common_config.cmake
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- 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  
-- 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
-- Found OpenGL: /usr/lib64/libGL.so  
-- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.2") 
-- Found PkgConfig: /usr/bin/x86_64-pc-linux-gnu-pkg-config (found version "0.28") 
-- checking for module 'gta'
--   package 'gta' not found
-- Found SDL: /usr/lib64/libSDLmain.a;/usr/lib64/libSDL.so;-lpthread (found version "1.2.15") 
-- checking for module 'cairo'
--   found cairo, version 1.12.18
-- checking for module 'poppler-glib'
--   found poppler-glib, version 0.32.0
-- Performing Test POPPLER_HAS_CAIRO
-- Performing Test POPPLER_HAS_CAIRO - Success
-- checking for module 'librsvg-2.0>=2.35'
--   found librsvg-2.0, version 2.40.8
-- checking for module 'gtk+-2.0'
--   found gtk+-2.0, version 2.24.27
-- checking for module 'gtkglext-x11-1.0'
--   package 'gtkglext-x11-1.0' not found
-- 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
-- Found Qt4: /usr/bin/qmake (found version "4.8.6") 
-- Found JPEG: /usr/lib64/libjpeg.so  
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8") 
-- Found PNG: /usr/lib64/libpng.so (found version "1.6.16") 
-- Found TIFF: /usr/lib64/libtiff.so (found version "4.0.3") 
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_GCC_BUILTINS - Success
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS
-- Performing Test _OPENTHREADS_ATOMIC_USE_MIPOSPRO_BUILTINS - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN
-- Performing Test _OPENTHREADS_ATOMIC_USE_SUN - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED
-- Performing Test _OPENTHREADS_ATOMIC_USE_WIN32_INTERLOCKED - Failed
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC
-- Performing Test _OPENTHREADS_ATOMIC_USE_BSD_ATOMIC - Failed
-- Looking for pthread_yield
-- Looking for pthread_yield - not found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for pthread_setconcurrency
-- Looking for pthread_setconcurrency - not found
-- Looking for pthread_getconcurrency
-- Looking for pthread_getconcurrency - not found
-- Looking for pthread_setaffinity_np
-- Looking for pthread_setaffinity_np - not found
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY
-- Performing Test HAVE_THREE_PARAM_SCHED_SETAFFINITY - Success
-- checking for module 'xrandr'
--   found xrandr, version 1.4.2
-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -O2 -pipe 
C++             -O2 -pipe  -Wall -Wparentheses -Wno-long-long -Wno-import -pedantic -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wunused
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_QTOPENGL_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1/src/osgQt

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build/CMakeFiles/CMakeError.log".
 * ERROR: dev-games/openscenegraph-3.2.1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2815:  Called cmake-utils_src_configure
 *   environment, line  778:  Called _execute_optionally 'src_configure'
 *   environment, line  341:  Called enable_cmake-utils_src_configure
 *   environment, line 1098:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-games/openscenegraph-3.2.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-games/openscenegraph-3.2.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-games/openscenegraph-3.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-games/openscenegraph-3.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build'
 * S: '/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1'

>>> Failed to emerge dev-games/openscenegraph-3.2.1, Log file:

>>>  '/var/tmp/portage/dev-games/openscenegraph-3.2.1/temp/build.log'

 * Messages for package dev-games/openscenegraph-3.2.1:

 * ERROR: dev-games/openscenegraph-3.2.1::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 2815:  Called cmake-utils_src_configure
 *   environment, line  778:  Called _execute_optionally 'src_configure'
 *   environment, line  341:  Called enable_cmake-utils_src_configure
 *   environment, line 1098:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-games/openscenegraph-3.2.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-games/openscenegraph-3.2.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-games/openscenegraph-3.2.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-games/openscenegraph-3.2.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/openscenegraph-3.2.1_build'
 * S: '/var/tmp/portage/dev-games/openscenegraph-3.2.1/work/OpenSceneGraph-3.2.1'



Reproducible: Always

Steps to Reproduce:
1. emerge flightgear
2. Problem occurs
3.
Actual Results:  
fail when merging dev-games/openscenegraph-3.2.1 

Expected Results:  
should merge properly

emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.4, glibc-2.20-r2, 3.19.6-gentoo-Spa x86_64)
=================================================================
System uname: Linux-3.19.6-gentoo-Spa-x86_64-Intel-R-_Core-TM-_i3_CPU_530_@_2.93GHz-with-gentoo-2.2
KiB Mem:     3907408 total,    273324 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 23 May 2015 08:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           2.8.12.2-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Maciej Mrozowski gentoo-dev 2015-06-06 02:45:13 UTC
Please post your version of qtopengl:
$ equery list qtopengl

Let me guess, you do not have Qt4 installed but you do have Qt5 installed?
Comment 2 Maciej Mrozowski gentoo-dev 2015-06-06 03:29:12 UTC
Anyway there is a bug in Gentoo patch - it modifies Qt lookup code unnecessarily, also ebuild sets wrong CMake variable to control Qt deps in OSG.
Should be fixed now, please try it and reopen the bug if some problem remains.
Comment 3 Maciej Mrozowski gentoo-dev 2015-07-14 17:33:15 UTC
*** Bug 540074 has been marked as a duplicate of this bug. ***