Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499546 - games-roguelike/scourge-0.21.1 - In file included from textfield.cpp:18: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_iterator_base_funcs.h:65:25: fatal error: /../debug/debug.h: Permission denied
Summary: games-roguelike/scourge-0.21.1 - In file included from textfield.cpp:18: /usr...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 06:59 UTC by Andrei Slavoiu
Modified: 2015-03-27 21:01 UTC (History)
0 users

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


Attachments
build.log (build.log,44.03 KB, text/plain)
2014-01-28 07:46 UTC, Andrei Slavoiu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2014-01-28 06:59:33 UTC
It somehow manages to add -I/.. to the CXXFLAGS and gcc doesn't like that.

Reproducible: Didn't try

Steps to Reproduce:
Rebuild world
Actual Results:  
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/..  -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2  -DDATA_DIR=\"/usr/share/games/scourge\"  -march=native -ggdb -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o textfield.o textfield.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I/..  -DBR_PTHREAD=0 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2  -DDATA_DIR=\"/usr/share/games/scourge\"  -march=native -ggdb -O2 -pipe -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o widgetview.o widgetview.cpp
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_algobase.h:66:0,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/vector:60,
                 from ../common/constants.h:84,
                 from textfield.cpp:18:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_iterator_base_funcs.h:65:25: fatal error: /../debug/debug.h: Permission denied
 #include <debug/debug.h>
                         ^
compilation terminated.
Makefile:463: recipe for target 'textfield.o' failed
make[3]: *** [textfield.o] Error 1
make[3]: *** Waiting for unfinished jobs....

Expected Results:  
Build cleanly

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.2, glibc-2.18-r1, 3.13.0-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.13.0-gentoo-r1-x86_64-AMD_Phenom-tm-_9350e_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     4044252 total,    389916 free
KiB Swap:    7467132 total,   7301188 free
Timestamp of tree: Thu, 23 Jan 2014 06:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45-r1
dev-lang/python:          2.7.6, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo local sunrise
Installed sets: @games, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -ggdb -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy cgroup clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nostrip parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.romnet.org/gentoo/ http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1,--as-needed,--sort-common"
MAKEOPTS="-j5 -l10"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 7zip X a52 aac aacplus aalib accessibility acl acpi aesicm agg aiglx akonadi alsa amd64 amr amrnb amrwb analitza apache2 asf aspell audiofile autotrace avahi bash-completion berkdb bittorrent bonjour branding bzip2 cairo calendar canusb caps captury ccache cdda cddb cdinstall cdparanoia cdr chdir cisco city clamav cli cmake consolekit crypt css curl cxx dba dbus declarative desktopglobe dga dmi doc dot dpms dri dts dv dvd dvdr ebook egl emboss encode erandom examples exif expat faac faad fam fbcon fbcondecor festival ffmpeg fftw firefox flac flash fontconfig fortran ftp g3dvl gcrypt gd gdbm geoip gif git gles gles1 gles2 glew glib glibc-omitfp glut gmp gnokii gnutls gpm graphviz gsm gstreamer handbook hbci hddtemp highlight hou htmlhandbook iconv icu id3tag idn imagemagick imlib inotify iodbc ipv6 jadetex javascript jingle jpeg jpeg2k justify kde kdehiddenvisibility kdenlive kdepim kdevplatform kerberos kig-scripting kipi kvm lame lcms ldap libatomic libcaca libclamav libffi libgcrypt libnotify libsamplerate libssh2 libwww live llvm llvm-shared-libs lm_sensors lto lua lzma lzo mad maildir matroska mbrola mdnsresponder-compat melt metalink metric midi mikmod minizip mjpeg mmap mmx mmxext mng mod modules mp3 mp4 mpeg mplayer mppe-mppc mpx multilib multimedia musepack musicbrainz mysql ncurses netlink nettle network nicrealtek nls nodrm nowin nptl nss odbc offensive ofx ogg okteta openal opencl opencore-amr openexr opengl openmp openvg opus osmesa pam pango passwdqc pcap pch pcntl pcre pdf pgo phonon php physfs plasma plugins png policykit portage posix postscript povray ppds prison private-headers pth python3 qalculate qemu-ifup qt3support qt4 qthelp quicktime r600-llvm-compiler rar rdesktop readline reiserfs reports rss rtc rtmp samba sasl schroedinger script sdk sdl semantic-desktop session slang sms sockets sou sound sox speex spell spice sql sqlite sqlite3 srtp sse sse2 sse3 ssl startup-notification subversion svg symlink syslog systeminfo systemtap sysvipc taglib tcpd telepathy texture-float theora threads thumbnail tidy tiff timidity truetype tunepimp udev udisks unicode unwind upcall upnp upower usb vaapi valgrind vdpau vhook video videos visibility visualization vnc voice vorbis vpx webkit webp wifi x264 xattr xcb xcomposite xinerama xlib-xcb xml xml2 xmlpatterns xmlrpc xmp xpm xrandr xsl xv xvfb xvid xvmc yahoo zeroconf zip zlib zvbi" ABI_X86="64 32" 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" ELIBC="glibc" GPSD_PROTOCOLS="garmin" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ro en eo" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600 vesa modesetting" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

games-roguelike/scourge-0.21.1 was built with the following:
USE="(multilib) (policykit) test"
LDFLAGS="-Wl,-O1,--enable-new-dtags,-z,combreloc,--as-needed,--sort-common"
Comment 1 Andrei Slavoiu 2014-01-28 07:46:19 UTC
Created attachment 368950 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-28 10:47:46 UTC
Please post your output for:

ls -l /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_iterator_base_funcs.h
Comment 3 Andrei Slavoiu 2014-01-28 14:22:46 UTC
-rw-r--r-- 1 root root 6961 ian 27 12:49 /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/bits/stl_iterator_base_funcs.h
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2015-03-27 21:01:24 UTC
I can't reproduce this with gcc-4.8.3 so reopen if it's still an issue.