Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641110 - games-strategy/dunelegacy-0.96.3 - In file included from ../include/FileClasses/GFXManager.h:28:0, from Bullet.cpp:22: ../include/misc/memory.h:7:18: error: ‘shared_ptr’ is already declared in this scope
Summary: games-strategy/dunelegacy-0.96.3 - In file included from ../include/FileClass...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 626568
Blocks:
  Show dependency tree
 
Reported: 2017-12-15 09:50 UTC by Nico Baggus
Modified: 2020-01-05 17:28 UTC (History)
3 users (show)

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


Attachments
games-strategy:dunelegacy-0.96.3:20171206-201724.log (games-strategy:dunelegacy-0.96.3:20171206-201724.log,26.47 KB, text/plain)
2017-12-15 09:50 UTC, Nico Baggus
Details
modified ebuild file (autotools stuff removed, patch added) (dunelegacy-0.96.3.ebuild,1.02 KB, text/plain)
2018-02-10 10:46 UTC, Nico R.
Details
minimally modified patch from upstream for C++11 support (dunelegacy-0.96.3-c++11.patch,11.78 KB, patch)
2018-02-10 10:46 UTC, Nico R.
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Baggus 2017-12-15 09:50:21 UTC
Created attachment 510110 [details]
games-strategy:dunelegacy-0.96.3:20171206-201724.log

Build fails.# emerge --info '=games-strategy/dunelegacy-0.96.3::gentoo'
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_A6-7310_APU_with_AMD_Radeon_R4_Graphics-with-gentoo-2.4.1
KiB Mem:     7095316 total,    138264 free
KiB Swap:    4194300 total,   4160508 free
Timestamp of repository gentoo: Thu, 14 Dec 2017 23:00:01 +0000
Head commit of repository gentoo: 985122de64211b2e97ecca05f9cbfed9a212f78c
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: --exclude ChangeLog --delete-excluded

local
    location: /usr/local/portage
    masters: gentoo

noci
    location: /usr/local/portage-noci
    sync-type: rsync
    sync-uri: rsync://core.noci.local/portage-noci
    masters: gentoo
    sync-rsync-extra-opts: --exclude ChangeLog --delete-excluded

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

gamerlay
    location: /var/lib/layman/gamerlay
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

matrix
    location: /var/lib/layman/matrix
    masters: gentoo
    priority: 50

ruby
    location: /var/lib/layman/ruby
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL sun-bcla-java-vm dlj-1.1 skype-eula googleearth AdobeFlash-10 AdobeFlash-10.1 OPERA-12"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /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"
CXXFLAGS="-O2 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/var/tmp/portdist"
EMERGE_DEFAULT_OPTS="--autounmask-write --quiet --keep-going --with-bdeps=y "
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://mirror.leaseweb.com/gentoo/ ftp://mirror.leaseweb.com/gentoo/ http://mirror.leaseweb.com/gentoo/ rsync://mirrors.telepoint.bg/gentoo/ http://mirrors.telepoint.bg/gentoo/ ftp://ftp.twaren.net/Linux/Gentoo/ ftp://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
INSTALL_MASK="/lib/systemd /usr/lib/systemd /etc/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog --delete-excluded"
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 --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext 3dnowprefetch X X509 a52 aac aalib accessibility acl acpi activefilter activities ads aio akode akonadi alsa amd64 ao ati audiofile audit automount avahi bash-completion berkdb bl bluetooth bookmarks branding bzip2 cairo caps cdda cddb cdparanoia cdr cgi chm cli clvm cman consolekit cracklib crypt cscope css cups curl cxx dbus declarative dga directfb djvu dri dts dv dvb dvd dvdr eap-tls emboss encode esd exif exiscan exiscan-acl expat fam fame fastcgi fax fbcon ffmpeg firefox flac fortran fpx frxp gd gdbm ggi gif gimp glamor glib gmp gphoto2 gpm graphviz gs gsm gstreamer guile hal handbook howl-compat html http httpd ical icecast iconv id3 id3tag idn ieee1394 ilbc imap imlib ipv6 irda ithreads jabber java javascript jbig jingle joystick jpeg jpeg2k justify kde kdeprefix kerberos kipi kqemu kwallet lame laptop lcms ldap libcaca libnotify libsamplerate live lm_sensors lmtp loop-aes lua lzma lzo mad mailwrapper matroska mbrola md5sum mdnsresponder-compat memcache mhash mikmod mjpeg mmap mmx mmxext mng modules motif mp2 mp3 mp4 mpeg mplayer multilib musepack musicbrainz mysql nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh nas ncurses netboot network networkmanager nls nptl nsplugin obex ocamlopt odbc odk ogg openal openexr opengl openmp oscar pam pango pcre pda pdf phonon php pic plasma plotutils png pnm policykit postscript ppds pth pulseaudio qml qt qt3support qt5 quicktime quotas radius rar rdesktop readline real rle rrdtool rtc ruby sasl scanner sdl seccomp semantic-desktop server session skey slang sndfile snmp span speex spell spf sqlite sqlite3 srs srtp sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification subversion svg swat symlink sysfs syslog tcpd theora threads tiff tools truetype tta udev udisks unicode ups urandom usb utempter v4l v4l2 vcd vde vdpau vim-syntax vnc vorbis wavpack webdav widgets wifi win32codecs winbind wma wmf wxwidgets x264 xanim xattr xcb xcomposite xfs xine xinerama xml xmlreader xmlrpc xmlwriter xosd xpm xscreensaver xv xvid xvmc yaz yv12 zeroconf zip zlib zrtp" ABI_X86="64" ALSA_CARDS="hda-intel usb-audio" 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 canon casio st2205 stv0674 stv0680 ax203 sony_dscf1 sony_dscf55 directory mustek" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop 3dnowprefetch" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev keyboard mouse synaptics joystick wacom" KERNEL="linux" L10N="nl-NL en-US en-GB nl en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport scripting-beanshell scripting=javascript wiki-publisher presenter-console presenter-minimizer" LINGUAS="en_GB en_US nl_NL en nl" NGINX_MODULES_HTTP="ssi replace sub scgi rewrite referrer proxy perl memcached gzip gzip_static geo geoip fastcgi dav charset browser auth_basic access addition ajp auth_pam auth_request autoindex dav_ext echo empty_gif fancyindex flv gunzip headers_more image_filter limit_conn limit_req lua map metrics mp4 naxsi push_stream random_index referer slice uwsgi xslt stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" QEMU_SOFTMMU_TARGETS="arm i386 alpha x86_64" QEMU_USER_TARGETS="alpha i386 x86_64 arm armeb" RUBY_TARGETS="ruby22" SANE_BACKENDS="net v4l hpaio" USERLAND="GNU" VIDEO_CARDS="amdgpu radeon vesa vga fbdev" XTABLES_ADDONS="account gradm ipp2p ipv4options length2 lscan pknock psd quota2"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

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

games-strategy/dunelegacy-0.96.3::gentoo was built with the following:
USE="alsa pulseaudio" ABI_X86="(64)"




---
Comment 1 Nico Baggus 2017-12-15 09:51:50 UTC
# emerge -pqv '=games-strategy/dunelegacy-0.96.3::gentoo'
[ebuild   R   ] games-strategy/dunelegacy-0.96.3  USE="alsa pulseaudio"
Comment 2 Nico R. 2018-02-10 10:46:03 UTC
Created attachment 518940 [details]
modified ebuild file (autotools stuff removed, patch added)
Comment 3 Nico R. 2018-02-10 10:46:47 UTC
Created attachment 518942 [details, diff]
minimally modified patch from upstream for C++11 support
Comment 4 Nico R. 2018-02-10 10:53:39 UTC
The build succeeds on one of my ~amd64 test systems with the ebuild and patch I have attached a minute ago.

Please note that I have removed the autotools-related stuff; see Diego’s Autotools Mythbuster <https://autotools.io/forwardporting/index.html>, as the problems reported in bug 469796 were probably related to incompatible automake (or other autotools) updates. I have built with automake:1.15 and autoconf:2.69, and honestly, I didn’t care about other versions.

I used the default/linux/amd64/17.0/desktop profile with gcc:7.2.0, which of course has proper C++11 support and does not need the TR1 workarounds in memory.h and functional.h. The headers are removed in upstream commit fa96e77f58f50635c83d1e6701c43f73e21fc6b6, but we are fine without applying that, since the attached patch (from upstream commit 817c1872702d6258676e3c2b7426596d1ef1ad59) simply disables their inclusion.
Comment 5 Thomas Capricelli 2018-08-20 22:33:39 UTC
i can confirm this bug still prevents the (only) ebuild in current portage (as of today) to emerge: 0.96.3 (unstable).
Comment 6 Nico Baggus 2020-01-04 23:55:33 UTC
no progress in 2 years.. I'll close it.
Comment 7 Larry the Git Cow gentoo-dev 2020-01-05 17:25:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5eb2112626c7f21bd42db5d04d867b2400c7f2a

commit c5eb2112626c7f21bd42db5d04d867b2400c7f2a
Author:     James Le Cuirot <chewi@gentoo.org>
AuthorDate: 2020-01-05 17:24:21 +0000
Commit:     James Le Cuirot <chewi@gentoo.org>
CommitDate: 2020-01-05 17:24:21 +0000

    games-strategy/dunelegacy: Version bump to 0.96.4, EAPI 7
    
    Closes: https://bugs.gentoo.org/641110
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: James Le Cuirot <chewi@gentoo.org>

 games-strategy/dunelegacy/Manifest                 |  1 +
 games-strategy/dunelegacy/dunelegacy-0.96.4.ebuild | 39 +++++++++++++++++
 .../files/dunelegacy-0.96.4-init-mid.patch         | 50 ++++++++++++++++++++++
 games-strategy/dunelegacy/metadata.xml             |  1 -
 4 files changed, 90 insertions(+), 1 deletion(-)
Comment 8 James Le Cuirot gentoo-dev 2020-01-05 17:28:04 UTC
(In reply to Nico Baggus from comment #6)
> no progress in 2 years.. I'll close it.

Please don't do that. Games bugs come in faster than I can close them. This one was filed before I even joined the team and the old team has gone. If you want bugs fixed faster then please join the team so that you can just go ahead and commit your contributions. Anyway, I have bumped the game now, which seems to fix the issue.