Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261575

Summary: dev-games/openscenegraph-2.8.0 fails to emerge
Product: Gentoo Linux Reporter: Andrey Sh. <molort>
Component: [OLD] DevelopmentAssignee: Tupone Alfredo <tupone>
Status: RESOLVED FIXED    
Severity: normal CC: chrschmitt, games
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
Environment
build.log in english

Description Andrey Sh. 2009-03-07 16:03:50 UTC
The build process for openscenegraph fails when trying to build target osgdb_osgwidget.

Reproducible: Always

Steps to Reproduce:
1. emerge openscenegraph
2.
3.

Actual Results:  
emerge fails

Expected Results:  
Package installs

Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 x86_64)
=================================================================                                        
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-glibc2.2.5   
Timestamp of tree: Sat, 07 Mar 2009 11:00:01 +0000                                                       
app-shells/bash:     3.2_p48-r1                                                                          
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                    
dev-lang/python:     2.4.4-r13, 2.5.4-r2                                                                 
dev-python/pycrypto: 2.0.1-r6                                                                            
dev-util/cmake:      2.6.3                                                                               
sys-apps/baselayout: 2.0.0                                                                               
sys-apps/openrc:     0.4.3-r1                                                                            
sys-apps/sandbox:    1.3.9                                                                               
sys-devel/autoconf:  2.13, 2.63                                                                          
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                           
sys-devel/binutils:  2.19.1                                                                              
sys-devel/gcc-config: 1.4.1                                                                              
sys-devel/libtool:   2.2.6a                                                                              
virtual/os-headers:  2.6.28-r1                                                                           
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                             
CFLAGS="-O2 -march=core2 -pipe"                                                                          
CHOST="x86_64-pc-linux-gnu"                                                                              
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                    
CXXFLAGS="-O2 -march=core2 -pipe"                                                                               
DISTDIR="/media/diff/distfiles"                                                                                 
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                                    
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"           
LANG="ru_RU.UTF-8"                                                                                              
LC_ALL=""                                                                                                       
LDFLAGS="-Wl,-O1"                                                                                               
LINGUAS="ru en_US"                                                                                              
MAKEOPTS="-j3"                                                                                                  
PKGDIR="/usr/portage/packages"                                                                                  
PORTAGE_CONFIGROOT="/"                                                                                          
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                  
PORTAGE_TMPDIR="/var/tmp"                                                                                       
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apache2 berkdb bzip2 cdr cgi cli cracklib crypt cups custom-cxxflags dbus djvu dri dvd dvdr embedded flac fortran gd gdbm glitz gpm iconv ipv6 isdnlog jpeg kde4 midi mmx mmx2 mng mudflap multilib mysqlncurses nls nptl nptlonly opengl openmp oscar pam pcre pdf perl plasma png pppd python qt4 readline reflection session spl sqlite sse sse2 sse3 ssl ssse3 svg sysfs tcpd unicode userlocales wavpack webkit xcb xcomposite xorgzlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey Sh. 2009-03-07 16:07:56 UTC
Created attachment 184232 [details]
Build log
Comment 2 Andrey Sh. 2009-03-07 16:10:33 UTC
Created attachment 184233 [details]
Environment
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 16:29:18 UTC
Please attach a build log that is completely in english language.
Comment 4 Andrey Sh. 2009-03-07 16:59:50 UTC
Created attachment 184240 [details]
build.log in english
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-07 17:09:01 UTC
(In reply to comment #4)
> Created an attachment (id=184240) [edit]
> build.log in english

Thank you :)

Reasssigning to maintainer, CCing games herd.
Comment 6 Andrey Sh. 2009-03-07 17:22:35 UTC
> 
> Thank you :)
> 
> Reasssigning to maintainer, CCing games herd.
> 

Sorry, I skipped this string: /var/tmp/portage/dev-games/openscenegraph-2.8.0/work/OpenSceneGraph-2.8.0/src/osgPlugins/pdf/ReaderWriterPDF.cpp:209: ошибка: нет декларации ‘poppler_page_render’ в этой области видимости

It means: /var/tmp/portage/dev-games/openscenegraph-2.8.0/work/OpenSceneGraph-2.8.0/src/osgPlugins/pdf/ReaderWriterPDF.cpp:209: error: no declaration ‘poppler_page_render’ in this scope
Comment 7 spamthisdomain 2009-03-07 20:15:12 UTC
I found a workaround for this problem. You can remove poppler from your system (emerge -C poppler) and then emerge openscenegraph. Cmake finds no pdf support so it doesn't compile itself with it. It works, checked on myself. Of cource you can re-emerge poppler after all, it's not a problem.
Comment 8 Christian Schmitt 2009-03-07 20:40:19 UTC
It looks like a problem with poppler-0.10.4 to me, as compiling OSG against 0.8.7 some days ago worked for me.
Comment 9 Andrey Sh. 2009-03-08 03:06:21 UTC
(In reply to comment #7)
> I found a workaround for this problem. You can remove poppler from your system
> (emerge -C poppler) and then emerge openscenegraph. Cmake finds no pdf support
> so it doesn't compile itself with it. It works, checked on myself. Of cource
> you can re-emerge poppler after all, it's not a problem.
> 

Yes, it works for me too. Thank you.
Comment 10 Tupone Alfredo gentoo-dev 2009-03-08 20:10:41 UTC
I think I have fixed it. I added a pdf use flag to disable poppler dependency
But I discovered further dependency and added it.

Thanks for report