On the latest eix version which was recently stabilised on amd64 among other arches, I get a SIGSEGV whenever I use a wrong keyword in --format. For example (notice the invalid installedversions: keyword): test0 ~ # eix --version eix 0.29.3 (gcc-4.4.5, x86_64-pc-linux-gnu) test0 ~ # eix --format "<installedversions:NAMEVERSION>" eix app-portage/eix-0.29.3 test0 ~ # eix --format "<installedversions:foo>" eix Received SIGSEGV - you probably found a bug in eix. Please proceed with the following few instructions and help us find the bug: * install gdb (sys-dev/gdb) * reemerge eix with FEATURES="nostrip" USE="debug" or with FEATURES="nostrip" CXXFLAGS="-g -ggdb3" LDFLAGS="" * enter gdb with "gdb --args eix-bin your_arguments_for_eix-bin" * type "run" and wait for the segfault to happen * type "bt" to get a backtrace (this helps us a lot) * post a bugreport and be sure to include the output from gdb .. Sorry for the inconvenience and thanks in advance! however: test1 ~ # eix --version eix 0.25.5 (gcc-4.3.4, i686-pc-linux-gnu) test1 ~ # eix --format "<installedversions:NAMEVERSION>" eix app-portage/eix-0.25.5 test1 ~ # eix --format "<installedversions:foo>" eix No matches found.
Forgot to mention that both machines are using =sys-apps/portage-2.1.12.2 although I don't think that has anything to do with the error.
This issue is also affecting puppet (all tested versions up to 2.7.23) which is using the following eix call: eix --format "<installedversions:VERSION>" dev-lang/python This is causing a SIGSEGV as well which I assume means that VERSION was deprecated going from 0.25.5 to 0.29.3? If VERSION has been deprecated, a bug should be opened with puppet to fix the eix call as well.
The segfault is fixed in eix git master on BerliOS (>=eix-0.29.4). The variable VERSION has never been documented; it is one of many variables which were used in delayed substitution and which are likely to be modified if a new concept for the output is introduced. Puppet should not rely on such variables but instead e.g. export VERSION as desired. I opened bug 483522 for the puppet issue.
+*eix-0.29.4 (10 Sep 2013) + + 10 Sep 2013; Ian Stakenvicius <axs@gentoo.org> +eix-0.29.4.ebuild: + version bump, fixes bugs 480604, 483392 +
*** Bug 488328 has been marked as a duplicate of this bug. ***
*** Bug 521216 has been marked as a duplicate of this bug. ***
*** Bug 528478 has been marked as a duplicate of this bug. ***