(...) BO_SCORE_DIR=\"/var/games/xkobo-scores\" -c manage.C -o manage.o In file included from screen.C:31: scenes.h:61: attention : non-local variable ‘const _scene scene []’ uses anonymous type scenes.h:59: attention : ‘typedef const struct<anonymous> _scene’ does not refer to the unqualified type, so it is not used for linkage screen.C: In static member function ‘static void _screen::title()’: screen.C:90: attention : deprecated conversion from string constant to ‘char*’ screen.C:91: attention : deprecated conversion from string constant to ‘char*’ screen.C:93: attention : deprecated conversion from string constant to ‘char*’ screen.C:94: attention : deprecated conversion from string constant to ‘char*’ screen.C:95: attention : deprecated conversion from string constant to ‘char*’ screen.C:97: attention : deprecated conversion from string constant to ‘char*’ screen.C:101: attention : deprecated conversion from string constant to ‘char*’ screen.C:102: attention : deprecated conversion from string constant to ‘char*’ screen.C:103: attention : deprecated conversion from string constant to ‘char*’ c++ -m32 -O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DWAIT_MSEC=30 -DSHIPS=5 -DXKO BO_SCORE_DIR=\"/var/games/xkobo-scores\" -c scenes.C -o scenes.o In file included from scenes.C:26: scenes.h:61: attention : non-local variable ‘const _scene scene []’ uses anonymous type scenes.h:59: attention : ‘typedef const struct<anonymous> _scene’ does not refer to the unqualified type, so it is not used for linkage c++ -m32 -O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DWAIT_MSEC=30 -DSHIPS=5 -DXKO BO_SCORE_DIR=\"/var/games/xkobo-scores\" -c score.C -o score.o In file included from scenes.h:27, from manage.C:32: enemies.h:66: erreur: ‘const enemy_kind pipe2’ redeclared as different kind of symbol /usr/include/unistd.h:389: erreur: previous declaration of ‘int pipe2(int*, int)’ enemies.h: In member function ‘void _enemy::hit_by_beam()’: enemies.h:226: erreur: no matching function for call to ‘_enemies::make(int (*)(int*, int)throw (), int, int, int, int, int)’ enemies.h:175: note: candidats sont: static int _enemies::make(const enemy_kind*, int, int, int, int, int) enemies.h:227: erreur: no matching function for call to ‘_enemies::make(int (*)(int*, int)throw (), int, int, int, int, int)’ enemies.h:175: note: candidats sont: static int _enemies::make(const enemy_kind*, int, int, int, int, int) enemies.h:228: erreur: no matching function for call to ‘_enemies::make(int (*)(int*, int)throw (), int, int, int, int, int)’ enemies.h:175: note: candidats sont: static int _enemies::make(const enemy_kind*, int, int, int, int, int) enemies.h:229: erreur: no matching function for call to ‘_enemies::make(int (*)(int*, int)throw (), int, int, int, int, int)’ enemies.h:175: note: candidats sont: static int _enemies::make(const enemy_kind*, int, int, int, int, int) enemies.h: In member function ‘int _enemy::is_pipe()’: enemies.h:321: erreur: comparison between distinct pointer types ‘const enemy_kind*’ and ‘int (*)(int*, int)throw ()’ lacks a cast In file included from manage.C:32: scenes.h: At global scope: scenes.h:61: attention : non-local variable ‘const _scene scene []’ uses anonymous type scenes.h:59: attention : ‘typedef const struct<anonymous> _scene’ does not refer to the unqualified type, so it is not used for linkage manage.C: In static member function ‘static void _manage::put_info()’: manage.C:128: attention : deprecated conversion from string constant to ‘char*’ manage.C:132: attention : deprecated conversion from string constant to ‘char*’ manage.C:136: attention : deprecated conversion from string constant to ‘char*’ manage.C: In static member function ‘static void _manage::flush_score()’: manage.C:162: attention : deprecated conversion from string constant to ‘char*’ manage.C:163: attention : deprecated conversion from string constant to ‘char*’ manage.C:166: attention : deprecated conversion from string constant to ‘char*’ manage.C: In static member function ‘static void _manage::flush_ships()’: manage.C:181: attention : deprecated conversion from string constant to ‘char*’ manage.C:182: attention : deprecated conversion from string constant to ‘char*’ manage.C:185: attention : deprecated conversion from string constant to ‘char*’ make: *** [manage.o] Erreur 1 make: *** Attente des tâches non terminées.... score.C: In static member function ‘static void _scorefile::show_high_scores(int)’: score.C:167: attention : deprecated conversion from string constant to ‘char*’ score.C:168: attention : deprecated conversion from string constant to ‘char*’ score.C:169: attention : deprecated conversion from string constant to ‘char*’ * * ERROR: games-arcade/xkobo-1.11 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2569: Called die * The specific snippet of code: * emake CXXOPTIONS="${CXXFLAGS}" CDEBUGFLAGS="${CFLAGS}" xkobo || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/games-arcade/xkobo-1.11/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-arcade/xkobo-1.11/temp/environment'. * Reproducible: Always Steps to Reproduce: 1. emerge xkobo emerge --info Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r6-i686-Intel-R-_Pentium-R-_4_Mobile_CPU_1.90GHz-with-gentoo-1.12.11.1 Timestamp of tree: Sun, 13 Sep 2009 14:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse" CHOST="i686-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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ " LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="fr" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa arts avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups dbus devil dri dts dvd dvdr emboss encode esd evo fam fbcondecor firefox flac foomaticdb fortran fr gdbm gif gpm gstreamer gtk hal iconv irc isdnlog joystick jpeg kde ldap libnotify mad mdnsresponder-compat mikmod mmx mng mp3 mp4 mpeg msn mudflap music mysql ncurses nls npp nptl nptlonly nsplugin offensive ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rss sdl session spell spl sql sse sse2 ssl startup-notification svg symlink sysfs tcpd thunar tiff truetype unicode usb vorbis webkit wifi win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 203973 [details] build.log
Created attachment 203974 [details, diff] xkobo-1.11-unistd-conflict.patch xkobo use a variable "pipe2" also used by /usr/include/unistd.h. I have renamed these variable in the necessary files : the patch builds xkobo successfully.
use games-arcade/kobodeluxe instead.
(In reply to comment #3) > use games-arcade/kobodeluxe instead. > Ok, then I suggest a removal request for "games-arcade/xkobo-1.11 build".
it's already gone. And reopening bugs is almost never the right thing to do.