Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149209 - dev-util/monotone-0.3[12].ebuild (Update)
Summary: dev-util/monotone-0.3[12].ebuild (Update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 12:00 UTC by Jack Lloyd
Modified: 2006-12-28 02:50 UTC (History)
4 users (show)

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


Attachments
Ebuild for Monotone 0.30 (monotone-0.30.ebuild,2.92 KB, text/plain)
2006-09-26 12:02 UTC, Jack Lloyd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Lloyd 2006-09-26 12:00:33 UTC
I've created a new version of the ebuild for Monotone. Changes versus the 0.29 ebuild:

Boost 1.33.1 or higher is required (this has actually been required by Monotone for a while now, but I guess nobody who emerged older Monotone ebuilds had an old version of Boost installed).

The flag stripping should not be necessary. The comment indicated this was needed due to problems in the crypto library. Montone has switched from using Crypto++ to using Botan as the crypto library, so this should not be needed anymore. If any flags do need to be stripped, that should also be done in the dev-libs/botan ebuild.
Comment 1 Jack Lloyd 2006-09-26 12:02:23 UTC
Created attachment 98161 [details]
Ebuild for Monotone 0.30

Tested on 2006.1 on a Intel P4-M and an Intel Core2 Duo
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-10-30 23:40:30 UTC
Got a selftest fault.. recording for my own sake.

?: ./bar
?: -----   end 'prev_pair.first' (in void parse_cset(basic_io::parser&, cset&), at cset.cc:351)
?: ----- begin 'prev_pair.second' (in void parse_cset(basic_io::parser&, cset&), at cset.cc:352)
?: flavoursome
?: -----   end 'prev_pair.second' (in void parse_cset(basic_io::parser&, cset&), at cset.cc:352)
?: TEST: cset writing - normalisation
?: TEST: can rename root
?: TEST: can delete root (but it makes us insane)
?: roster.cc:882: invariant 'I(has_root())' violated
?: saving current work set: 2 items
?: finished saving work set
?: contents of work set:
?: Current work set: 2 items
?: ----- begin 'r' (in void root_dir_test(), at cset.cc:1120)
?: root dir is NULL
?: -----   end 'r' (in void root_dir_test(), at cset.cc:1120)
?: ----- begin 'cs' (in void root_dir_test(), at cset.cc:1144)
?: delete ""
?: -----   end 'cs' (in void root_dir_test(), at cset.cc:1144)
?: TEST: can delete and replace root
*** glibc detected *** ./unit_tests: double free or corruption (fasttop): 0x807a3400 ***
======= Backtrace: =========
/lib/libc.so.6[0x4036e182]
/lib/libc.so.6(__libc_free+0x82)[0x4036f7c2]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZdlPv+0x21)[0x402aeac1]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0x4028b17d]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZNSsD1Ev+0x55)[0x4028dcd5]
./unit_tests[0x801274bc]
./unit_tests[0x80125265]
./unit_tests[0x8011e659]
./unit_tests[0x80040cb5]
./unit_tests[0x80040c99]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test9ut_detail16callback0_impl_tIiNS0_133_GLOBAL__N__var_tmp_portage_dev_libs_boost_1.33.1_r1_work_boost_1_33_1_libs_test_build_.._src_unit_test_monitor.cpp_CF4CBC2E_6CC80B2819zero_return_wrapperEE6invokeEv+0x35)[0x401c9645]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost17execution_monitor13catch_signalsERKNS_9unit_test9callback0IiEEbi+0x198)[0x401b8c98]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost17execution_monitor7executeERKNS_9unit_test9callback0IiEEbi+0x43)[0x401b8eb3]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test19unit_test_monitor_t21execute_and_translateERKNS0_9test_caseE+0xd3)[0x401c9113]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test14framework_impl5visitERKNS0_9test_caseE+0x119)[0x401bc0b9]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeERKNS0_9test_caseERNS0_17test_tree_visitorE+0x33)[0x401d2a93]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeEmRNS0_17test_tree_visitorE+0x40)[0x401d3730]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeERKNS0_10test_suiteERNS0_17test_tree_visitorE+0xaf)[0x401d352f]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeEmRNS0_17test_tree_visitorE+0x76)[0x401d3766]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test9framework3runEmb+0x3d8)[0x401ba5e8]
/usr/lib/libboost_unit_test_framework.so.1.33.1(main+0x4b)[0x401c8d3b]
/lib/libc.so.6(__libc_start_main+0xdc)[0x4032187c]
./unit_tests[0x800256d1]
======= Memory map: ========
40000000-4001a000 r-xp 00000000 03:06 84410      /lib/ld-2.4.so
4001a000-4001b000 r--p 00019000 03:06 84410      /lib/ld-2.4.so
4001b000-4001c000 rw-p 0001a000 03:06 84410      /lib/ld-2.4.so
4001c000-4001d000 rw-p 4001c000 00:00 0
4001d000-40023000 r-xp 00000000 03:06 104972     /usr/lib/libsandbox.so.0.0.0
40023000-40024000 r--p 00005000 03:06 104972     /usr/lib/libsandbox.so.0.0.0
40024000-40025000 rw-p 00006000 03:06 104972     /usr/lib/libsandbox.so.0.0.0
40025000-40028000 rw-p 40025000 00:00 0
40050000-4009d000 r-xp 00000000 03:06 5898461    /usr/lib/libboost_program_options.so.1.33.1
4009d000-4009e000 r--p 0004d000 03:06 5898461    /usr/lib/libboost_program_options.so.1.33.1
4009e000-4009f000 rw-p 0004e000 03:06 5898461    /usr/lib/libboost_program_options.so.1.33.1
4009f000-40177000 r-xp 00000000 03:06 5936724    /usr/lib/libboost_regex.so.1.33.1
40177000-4017a000 rw-p 000d8000 03:06 5936724    /usr/lib/libboost_regex.so.1.33.1
4017a000-4018e000 r-xp 00000000 03:06 5898287    /usr/lib/libboost_date_time.so.1.33.1
4018e000-40190000 rw-p 00013000 03:06 5898287    /usr/lib/libboost_date_time.so.1.33.1
40190000-401a4000 r-xp 00000000 03:06 5898278    /usr/lib/libboost_filesystem.so.1.33.1
401a4000-401a5000 r--p 00013000 03:06 5898278    /usr/lib/libboost_filesystem.so.1.33.1
401a5000-401a6000 rw-p 00014000 03:06 5898278    /usr/lib/libboost_filesystem.so.1.33.1
401a6000-401ea000 r-xp 00000000 03:06 5898459    /usr/lib/libboost_unit_test_framework.so.1.33.1
401ea000-401eb000 r--p 00043000 03:06 5898459    /usr/lib/libboost_unit_test_framework.so.1.33.1
401eb000-401ec000 rw-p 00044000 03:06 5898459    /usr/lib/libboost_unit_test_framework.so.1.33.1
401ec000-401ed000 rw-p 401ec000 00:00 0
401ed000-401fc000 r-xp 00000000 03:06 1934214    /usr/lib/libz.so.1.1.4
401fc000-401fe000 rw-p 0000e000 03:06 1934214    /usr/lib/libz.so.1.1.4
401fe000-402d2000 r-xp 00000000 03:06 84697      /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
402d2000-402d5000 r--p 000d3000 03:06 84697      /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
402d5000-402d7000 rw-p 000d6000 03:06 84697      /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.1/libstdc++.so.6.0.8
402d7000-402dd000 rw-p 402d7000 00:00 0
402dd000-40300000 r-xp 00000000 03:06 84376      /lib/libm-2.4.so
40300000-40302000 rw-p 00022000 03:06 84376      /lib/libm-2.4.so
40302000-4030b000 r-xp 00000000 03:06 84696      /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
4030b000-4030c000 rw-p 00009000 03:06 84696      /usr/lib/gcc-lib/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1
4030c000-40421000 r-xp 00000000 03:06 84447      /lib/libc-2.4.so
40421000-40423000 r--p 00114000 03:06 84447      /lib/libc-2.4.so
40423000-40425000 rw-p 00116000 03:06 84447      /lib/libc-2.4.so
40425000-40428000 rw-p 40425000 00:00 0
40428000-4042a000 r-xp 00000000 03:06 84404      /lib/libdl-2.4.so
4042a000-4042c000 rw-p 00001000 03:06 84404      /lib/libdl-2.4.so
4042c000-4042e000 rw-p 4042c000 00:00 0
40500000-40521000 rw-p 40500000 00:00 0
40521000-40600000 ---p 40521000 00:00 0
80000000-8067e000 r-xp 00000000 03:06 1819125    /var/tmp/portage/dev-util/monotone-0.30/work/monotone-0.30/unit_tests
8067e000-80681000 r--p 0067e000 03:06 1819125    /var/tmp/portage/dev-util/monotone-0.30/work/monotone-0.30/unit_tests
80681000-8068c000 rw-p 00681000 03:06 1819125    /var/tmp/portage/dev-util/monotone-0.30/work/monotone-0.30/unit_tests
8068c000-807ed000 rw-p 8068c000 00:00 0          [heap]
bfb20000-bfb34000 rwxp bfb20000 00:00 0          [stack]
bfb34000-bfb37000 rw-p bfb34000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0          [vdso]
$ emerge --info
Portage 2.1.2_rc1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.5
Last Sync: Sat, 28 Oct 2006 18:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-11-09 22:58:36 UTC
: merging 169 left, 169 right extents
*** glibc detected *** ./unit_tests: double free or corruption (fasttop): 0x8078e338 ***
======= Backtrace: =========
/lib/libc.so.6[0x40372182]
/lib/libc.so.6(__libc_free+0x82)[0x403737c2]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZdlPv+0x21)[0x402b2ac1]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0x4028f17d]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZNSsD1Ev+0x55)[0x40291cd5]
./unit_tests[0x801274bc]
./unit_tests[0x80125265]
./unit_tests[0x801226b2]
./unit_tests[0x8011d85a]
./unit_tests[0x80040cb5]
./unit_tests[0x80040c99]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test9ut_detail16callback0_impl_tIiNS0_133_GLOBAL__N__var_tmp_portage_dev_libs_boost_1.33.1_r1_work_boost_1_33_1_libs_test_build_.._src_unit_test_monitor.cpp_CF4CBC2E_6CC80B2819zero_return_wrapperEE6invokeEv+0x35)[0x401cd645]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost17execution_monitor13catch_signalsERKNS_9unit_test9callback0IiEEbi+0x198)[0x401bcc98]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost17execution_monitor7executeERKNS_9unit_test9callback0IiEEbi+0x43)[0x401bceb3]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test19unit_test_monitor_t21execute_and_translateERKNS0_9test_caseE+0xd3)[0x401cd113]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test14framework_impl5visitERKNS0_9test_caseE+0x119)[0x401c00b9]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeERKNS0_9test_caseERNS0_17test_tree_visitorE+0x33)[0x401d6a93]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeEmRNS0_17test_tree_visitorE+0x40)[0x401d7730]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeERKNS0_10test_suiteERNS0_17test_tree_visitorE+0xaf)[0x401d752f]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test18traverse_test_treeEmRNS0_17test_tree_visitorE+0x76)[0x401d7766]
/usr/lib/libboost_unit_test_framework.so.1.33.1(_ZN5boost9unit_test9framework3runEmb+0x3d8)[0x401be5e8]
/usr/lib/libboost_unit_test_framework.so.1.33.1(main+0x4b)[0x401ccd3b]
/lib/libc.so.6(__libc_start_main+0xdc)[0x4032587c]
./unit_tests[0x800256d1]
...
...
Running 75 test cases...
make[3]: *** [check-TESTS] Interrupt
Interrupted.
sandbox:  Signal already caught and busy still cleaning up!
make[2]: *** [check-am] Interrupt
make[1]: *** [check-recursive] Interrupt
make: *** [check] Interrupt

/home/dan/gentoo/gentoo-x86/dev-util/monotone/monotone-0.30.ebuild: dyn_test aborted; exiting.

sandbox:  Caught signal 2 in pid 4905

(NOTE I needed to break out of this at is just hung here for a few days).

fyi my test environment, note FEATURES, LDFLAGS and CFLAGS.

$ temerge --info
Portage 2.1.2_rc1-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.6
Last Sync: Thu, 09 Nov 2006 18:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -ggdb3"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS=" -ggdb3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect cvs digest distlocks keepwork metadata-transfer nostrip parallel-fetch sandbox sfperms sign splitdebug strict stricter test userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=""
LDFLAGS=" -Wl,--as-needed"
LINGUAS="en_GB en_AU en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

fyi comment 2 was not ment to imply that anyone couldn't add a solution :-)
Comment 4 Jack Lloyd 2006-11-16 16:08:17 UTC
I dropped this by some of the Montone devs, they couldn't replicate.

Might be worth trying 0.31 (which was released a few days ago); I'm using the same ebuild as the one attached, simply renamed to -0.31
Comment 5 johnny 2006-12-02 09:02:21 UTC
i noticed that some instances of monotone were spelled wrong in this ebuild and the .29 in the tree, 
Comment 6 Daniel Black (RETIRED) gentoo-dev 2006-12-27 12:07:15 UTC
From looks like verge is about to release 0.32. I've really got to get to the bottom of this though.

365 automate_genkey                               FAIL (line 2)
366 migrate_workspace                             FAIL (line 4)
367 workspace_migration                           FAIL (line 16)
368 usage_output_streams                          FAIL (line 1)
369 automate_get_content_changed                  FAIL (line 2)
370 i18n_commit_messages                          FAIL (line 4)
371 ws_ops_with_wrong_node_type                   FAIL (line 1)
372 pivot_root_to_new_dir                         FAIL (line 1)
373 multiple_message_commit                       FAIL (line 2)
374 netsync_epoch_refinement                      FAIL (line 2)
375 disapproving_with_message                     FAIL (line 2)
376 add_ignored                                   FAIL (line 2)

Of 376 tests run:
        0 succeeded
        374 failed
        2 had expected failures
        0 succeeded unexpectedly
        0 were skipped
FAIL: run_lua_tests
==========================================
2 of 3 tests failed
Please report to monotone-devel@nongnu.org
==========================================
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-util/monotone-0.31/work/monotone-0.31'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-util/monotone-0.31/work/monotone-0.31'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-util/monotone-0.31/work/monotone-0.31'
make: *** [check] Error 2

!!! ERROR: dev-util/monotone-0.31 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_test
  ebuild.sh, line 996:   Called src_test
  monotone-0.31.ebuild, line 54:   Called die

!!! self test failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/home/dan/gentoo/gentoo-x86'
dan@frog ~/gentoo/gentoo-x86/dev-util/monotone $ temerge --info
Portage 2.1.2_rc4-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.8
Last Sync: Wed, 27 Dec 2006 18:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -ggdb3"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS=" -ggdb3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect cvs digest distlocks keepwork metadata-transfer nostrip parallel-fetch sandbox sfperms sign splitdebug strict stricter test userpriv usersandbox verify-rdepend"
GENTOO_MIRRORS=""
LDFLAGS=" -Wl,--as-needed"
LINGUAS="en_GB en_AU en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dan/gentoo/gentoo-x86"
SYNC="rsync://mirror.linux.org.au/gentoo-portage"
USE="x86 3dnow 3dnowex X aac acpi alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm ares bash-completion berkdb bitmap-fonts bzip2 caps cli cracklib crypt curl dbus divx4linux dlloader dri drm ecc elibc_glibc emboss encode ethereal extensions fastcgi fla flac foomaticdb fortran gd gif gimp gimpprint gmp gnutls gphoto2 gstreamer gtk gtk2 hal hardened hpn i8x0 iconv idn ilbc imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog javacomm jpeg kde kdeenablefinal kerberos kernel_linux l7filter lcms libg++ libgda libwww linguas_en linguas_en_AU linguas_en_GB lzo lzw mad mbox mikmod mmx mng motif mp3 mpeg multitarget mysql nptl nptlonly ntlm ogg oggvorbis openal openexr opengl operanom2 pam pcre perl php png postgres ppds pppd python qt qt3 qt4 readline reflection samba sdl session sguil slp smime socks5 sox speex spell spl sse ssl svg svgz tga theora tiff true-type truetype truetype-fonts type1-fonts udev usb userland_GNU vhosts video_cards_fbdev video_cards_nv video_cards_vesa video_cards_vga vorbis wmf x264 xine xinerama xml xml2 xorg xscreensaver zlib zrtp"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

dan@frog ~/gentoo/gentoo-x86/dev-util/monotone $ /var/tmp/portage/dev-util/monotone-0.31/work/monotone-0.31/mtn --version
Segmentation fault

gdb --args  /var/tmp/portage/dev-util/monotone-0.31/work/monotone-0.31/mtn --version
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /var/tmp/portage/dev-util/monotone-0.31/work/monotone-0.31/mtn --version
Failed to read a valid object file image from memory.

Program received signal SIGSEGV, Segmentation fault.
0xb7c21877 in ?? ()
(gdb) bt
#0  0xb7c21877 in ?? ()
#1  0x805d3ccc in ?? ()
#2  0xb7d4f2da in ?? ()
#3  0xbfd85d00 in ?? ()
#4  0x00000020 in ~BlockCipher (this=0xbfd85d00) at base.h:63
#5  0xb7d7f52e in ?? ()
#6  0xbfd85d00 in ?? ()
#7  0x4832ee20 in ?? ()
#8  0x00000020 in ~BlockCipher (this=0xbfd85eac) at base.h:63
#9  0xb7d8ef00 in ?? ()
#10 0xbfd85eac in ?? ()
#11 0x00000020 in ~BlockCipher (this=0x20202020) at base.h:63
#12 0x20202020 in ?? ()
#13 0x20202020 in ?? ()
#14 0x20202020 in ?? ()
#15 0x20202020 in ?? ()
#16 0x20202020 in ?? ()
#17 0x20202020 in ?? ()
Comment 7 Daniel Black (RETIRED) gentoo-dev 2006-12-28 02:50:53 UTC
comment #6- my munted gcc compiler.

monotone-0.32 added hot off the upstream release.