Trying to build app-portage/eix-0.22.1 but it fails every time with same error. Reproducible: Always Steps to Reproduce: 1.emerge --sync 2.emerge 1 =app-portage/eix-0.22.1 3.compile fails Actual Results: compile fails with: CXX main/main_all_tools.o CXX cache/cache_map.o cache/sqlite/sqlite.cc:50: error: attributes are not allowed on a function-definition cache/sqlite/sqlite.cc: In function ‘const char* welldefine(const char*)’: cache/sqlite/sqlite.cc:54: error: cannot convert ‘const std::string’ to ‘const char*’ in return cache/sqlite/sqlite.cc: In static member function ‘static const char* TrueIndex::c_str(const char**, std::vector<int, std::allocator<int> >&, size_t)’: cache/sqlite/sqlite.cc:163: error: cannot convert ‘const std::string’ to ‘const char*’ in return make[2]: *** [cache/sqlite/sqlite.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-portage/eix-0.22.1/work/eix-0.22.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-portage/eix-0.22.1/work/eix-0.22.1' make: *** [all] Error 2 emake failed Expected Results: merging app-portage/eix-0.22.1 with no problems! emerge --info =app-portage/eix-0.22.1 Portage 2.2_rc80 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-zen2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-zen2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1 Timestamp of tree: Sun, 12 Sep 2010 06:30:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.67 sys-devel/automake: 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests candy ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.telnet.bg/ http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="bg_BG.UTF-8" LC_ALL="bg_BG.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags" LINGUAS="en" 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="3dnow 3dnowext X acl acpi alsa amd64 bitmap-fonts branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo exceptions fam fortran gcj gdbm gif gpm gtk hal handbook html iconv ipv6 isdnlog jpeg kde4 ldap mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly ocamlopt ogg opengl openmp oss pam pcre pdf perl png pppd pulseaudio python qt3support qt4 quicktime readline reflection sdl semantic-desktop session spell spl sse sse2 sse3 ssl ssse3 svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xv zlib" ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias cgid cgi" APACHE2_MPMS="worker" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS emerge -pqv =app-portage/eix-0.22.1 [ebuild U ] app-portage/eix-0.22.1 [0.20.6] USE="nls sqlite -bzip2 -debug -doc -hardened -optimization -strong-optimization -tools"
Created attachment 246936 [details] Build.log The build log of app-portage/eix-0.22.1
I have the same problem.
*** Bug 336897 has been marked as a duplicate of this bug. ***
Please paste 'emerge -pv sqlite' as well.
(In reply to comment #4) > Please paste 'emerge -pv sqlite' as well. > [ebuild R ] dev-db/sqlite-3.7.2 USE="extensions fts3 readline secure-delete threadsafe -debug -doc -icu -soundex -tcl -test -unlock-notify"
(In reply to comment #4) > Please paste 'emerge -pv sqlite' as well. [ebuild R ] dev-db/sqlite-3.7.2 USE="fts3 icu readline secure-delete threadsafe -debug -doc -extensions -soundex -tcl -test -unlock-notify" 0 kB
i can confirm this bug too woth following USE for sqlite [ebuild R ] dev-db/sqlite-3.7.2 USE="extensions fts3 icu readline secure-delete soundex tcl threadsafe -debug -doc -test -unlock-notify" 0 kB
Or with: >>> Failed to emerge app-portage/eix-0.22.1, Log file: >>> '/var/tmp/portage/app-portage/eix-0.22.1/temp/build.log' root@lynx:/root(22)# emerge -pv sqlite These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-db/sqlite-3.7.2 USE="doc extensions fts3 icu readline secure-delete tcl threadsafe -debug -soundex -test -unlock-notify" 0 kB
same problem with [ebuild R ] dev-db/sqlite-3.6.23.1 USE="fts3 icu readline tcl threadsafe -debug -doc -extensions -secure-delete -soundex -test" 3,015 kB
*** Bug 336912 has been marked as a duplicate of this bug. ***
Created attachment 246986 [details, diff] I changed the lines explicitly called out. Two separate issues. Changes to two functions (removed auto conversion from const std::string to const char *) and moved the attribute const statement to an added function declaration instead of the function definition. I simply built in place, and haven't tried recreating the ebuild.
Please create unified patches (diff -u) (In reply to comment #11) > Created an attachment (id=246986) [details] > I changed the lines explicitly called out. Two separate issues.
The issue is fixed in eix-0.22.2. Jeremy, please bump and remove eix-0.22.1. I would have seen the trivial bugs of course immediately if I would have compiled sqlite.cc with WITH_SQLITE defined. So actually the more serious bug was that the sqlite automagic failed for me. This is now also fixed in the new release. Sorry for my late reply: I also wanted to improve the error-handling of config files for the new release which needed some time to implement.
Sorry, it seems I unintentionally changed the state to RESOLVED FIXED. Reverting, until the bump is in the tree...
+ 12 Sep 2010; Patrick Lauer <patrick@gentoo.org> +eix-0.22.2.ebuild: + Bump, fixes #336896
*** Bug 336987 has been marked as a duplicate of this bug. ***
Everything is fine now, thank you guys !