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

Bug 315601

Summary: games-strategy/boswars-2.6 - cannot find libpng(?)
Product: Gentoo Linux Reporter: Isakov Aziz <asimus>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED INVALID    
Severity: normal CC: asimus
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Isakov Aziz 2010-04-16 12:04:38 UTC
'emerge -a games-strategy/boswars-2.6' fails with:
....
Checking for C library png... no
Did not find png library or headers, exiting!
 * ERROR: games-strategy/boswars-2.6 failed:
 *   scons failed
 * 
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 2665:  Called die
 * The specific snippet of code:
 *       scons CXX=$(tc-getCXX) ${sconsopts} || die "scons failed"
 * 
 * If you need support, post the output of 'emerge --info =games-strategy/boswars-2.6',
 * the complete build log and the output of 'emerge -pqv =games-strategy/boswars-2.6'.
 * The complete build log is located at '/var/portagetmp/portage/games-strategy/boswars-2.6/temp/build.log'.
 * The ebuild environment file is located at '/var/portagetmp/portage/games-strategy/boswars-2.6/temp/environment'.
 * S: '/var/portagetmp/portage/games-strategy/boswars-2.6/work/boswars-2.6-src'

>>> Failed to emerge games-strategy/boswars-2.6, Log file:

>>>  '/var/portagetmp/portage/games-strategy/boswars-2.6/temp/build.log'

..........

I'm unable to complete to build boswars

.............

k41 ~ # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4500_@_2.20GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 16 Apr 2010 07:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p5
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r2
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ABI="amd64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="hda-intel"
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"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/var/cache/ccache"
CCACHE_SIZE="2048M"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe -msahf -mcx16 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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"
CVS_RSH="ssh"
CXXFLAGS="-march=core2 -mtune=core2 -O2 -fomit-frame-pointer -pipe -msahf -mcx16 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=2048"
DEFAULT_ABI="amd64"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch prelink protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FOO2ZJS_DEVICES="hp1018"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
HG="/usr/bin/hg"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/info"
INPUT_DEVICES="evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVACC_HOME="/usr/share/javacc/"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDE_IS_PRELINKED="1"
KERNEL="linux"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ADDRESS="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_CTYPE="ru_RU.UTF-8"
LC_IDENTIFICATION="ru_RU.UTF-8"
LC_MEASUREMENT="ru_RU.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="ru_RU.UTF-8"
LC_NAME="ru_RU.UTF-8"
LC_NUMERIC="C"
LC_PAPER="ru_RU.UTF-8"
LC_TELEPHONE="ru_RU.UTF-8"
LC_TIME="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="ru en"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j3"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.4.3/man:/etc/java-config/system-vm/man/"
MOZ_DISABLE_PANGO="1"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/usr/lib64/subversion/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error info log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/portagetmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/usr/lib64/subversion/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby18"
R_HOME="/usr/lib64/R"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="multilib nptl nptlonly unicode"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
USB_DEVFS_PATH="/dev/bus/usb"
USE="7zip X a52 aac acpi aio alsa amd64 amrnb amrwb ao async audiofile bash-completion berkdb bolddiag branding bzip2 cairo caps cdda cddb cdparanoia cdr chardet cleartype cli clucene consolekit cracklib crypt css cups curl custom-optimization cvs cxx dbus dedicated device-mapper dhcp disk-partition djbfft djvu dri dts dv dvd dvdnav dvdr dvdread eap-sim emboss emovix enca encode exif expat extensions extras fam fame fbcondecor ffmpeg fftw firefox flac fontforge foomaticdb fortran fpx ftp fts3 fuse gd gdbm gif git glibc-omitfp glitz gmp gnome-keyring gnutls gpm graphite graphviz gs gtk hal hfs hpn iconv icu id3tag idn imagemagick imlib java java6 javascript jbig joystick jpeg jpeg2k kde kdehiddenvisibility lame lcms libnotify libsamplerate live lm_sensors logrotate lzma lzo mad madwifi maps mikmod mjpeg mmap mmx mng modplug modules moznopango mp2 mp3 mp4 mpeg mplayer mppe-mppc mudflap multilib musepack musicbrainz mysql ncurses network nfs nls nonfsv4 nptl nptlonly nsplugin ntfs ogg oldnet opencore-amr opengl openmp oscar pam pango pascal pccts pcre pdf perl plasma png ppds ppp pppd python python3 qt3support qt4 quicktime quote rar raw rdesktop rdesktop-vrdp rdp rdpusb readline reflection reiserfs rtc ru-dv ru-g ru-i ru-k samba sasl secure-delete semantic-desktop session skype slang smp sms sndfile sox spell spl sql sqlite srt sse sse2 ssl startup-notification subversion suid svg sysfs tcpd tga theora threads tiff timidity truetype unicode urandom usb vcd vdpau vorbis vorbis-psy vram wavpack webkit winbind wma wmf wps wxwindows x264 xcb xcomposite xine xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" 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" FOO2ZJS_DEVICES="hp1018" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VBOX_APP_HOME="/opt/VirtualBox"
VIDEO_CARDS="nvidia"
WANT_MP="true"
XAUTHORITY="/root/.xauthZRSvVz"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
_="/usr/bin/emerge"
bash4="4.1.5(2)-release"




Reproducible: Always
Comment 1 Rafał Mużyło 2010-04-16 16:20:29 UTC
Check and attach config.log created by scons.
Comment 2 Rafał Mużyło 2010-04-16 17:33:28 UTC
Though there is a bug in the ebuild:
'patches' dir is missing from 'doins' list.
Comment 3 Isakov Aziz 2010-04-16 18:50:37 UTC
attach config.log
..................

file /var/portagetmp/portage/games-strategy/boswars-2.6/work/boswars-2.6-src/SConstruct,line 189:                                            
<------>Configure(confdir = .sconf_temp)                                                                                                     
scons: Configure: Checking for C library png....                                                                                             
.sconf_temp/conftest_0.c <-                                                                                                                  
  |                                                                                                                                          
  |                                                                                                                                          
  |#include "png.h"                                                                                                                          
  |                                                                                                                                          
  |int                                                                                                                                       
  |main() {                                                                                                                                  
  |..                                                                                                                                        
  |return 0;                                                                                                                                 
  |}                                                                                                                                         
  |                                                                                                                                          
gcc -o .sconf_temp/conftest_0.o -c -fsigned-char -I/usr/local/include .sconf_temp/conftest_0.c                                               
ccache: failed to create /var/tmp/portage/.ccache (No such file or directory)                                                                
scons: Configure: no  
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-04-17 16:07:17 UTC
Could you please test with FEATURES=-ccache?
Comment 5 Rafał Mużyło 2010-04-17 17:32:02 UTC
(In reply to comment #4)
> Could you please test with FEATURES=-ccache?
> 
Frankly, while that will probably work,
the question is whether there's something wrong 
with user's environment or is that a problem with
ebuild/userpriv.

I probably should open a separate bug for the missing dir, though.
Comment 6 Isakov Aziz 2010-04-17 17:46:11 UTC
I on tried since you they said to complete to build boswars
  
FEATURES=-ccache emerge -a games-strategy/boswars

Assembling is past without the problems 

Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-05-10 13:04:01 UTC
Worked fine here without ccache. 

Policy with ccache breakage is -> If it's broken and you don't have a patch for it -> Don't open a bug for it.

If you have a patch, then you clearly care about ccache more than just "getting stuff happen faster", good.