Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482584 - sys-devel/gettext w/distcc fails randomly: ../libgettextpo/.libs/libgettextpo.so: undefined reference to `[gram_max_allowed_errors|...]'
Summary: sys-devel/gettext w/distcc fails randomly: ../libgettextpo/.libs/libgettextpo...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 539628 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-26 18:11 UTC by Thomas Deutschmann
Modified: 2015-07-10 07:45 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,860.38 KB, text/plain)
2013-08-26 18:12 UTC, Thomas Deutschmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann gentoo-dev Security 2013-08-26 18:11:32 UTC
Hi,

I am unable to build sys-devel/gettext-0.18.3.1 with distcc:

libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe -march=corei7-avx -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4069 -mtune=generic -Wl,-O1 -o .libs/fc5 format-c-5-prg.o  -Wl,--as-needed ../gnulib-lib/.libs/libgettextlib.so -L/usr/lib64 -lacl -lxml2 -lncurses ../intl/.libs/libgnuintl.so -lc -fopenmp
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe -march=corei7-avx -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4069 -mtune=generic -Wl,-O1 -o .libs/gettextpo-1-prg gettextpo_1_prg-gettextpo-1-prg.o  -Wl,--as-needed ../libgettextpo/.libs/libgettextpo.so ../intl/.libs/libgnuintl.so -lc
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -DUSE_POSIX_THREADS -O2 -pipe -march=corei7-avx -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4069 -mtune=generic -Wl,-O1 -o .libs/gettext-6-prg gettext_6_prg-gettext-6-prg.o  -Wl,--as-needed ../gnulib-lib/.libs/libgettextlib.so -L/usr/lib64 -lacl -lxml2 -lncurses ../intl/.libs/libgnuintl.so -lc -lpthread -fopenmp
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -DUSE_POSIX_THREADS -O2 -pipe -march=corei7-avx -mno-movbe -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4069 -mtune=generic -Wl,-O1 -o .libs/gettext-7-prg gettext_7_prg-gettext-7-prg.o  -Wl,--as-needed ../gnulib-lib/.libs/libgettextlib.so -L/usr/lib64 -lacl -lxml2 -lncurses ../intl/.libs/libgnuintl.so -lc -lpthread -fopenmp
../libgettextpo/.libs/libgettextpo.so: undefined reference to `gram_max_allowed_errors'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_error_with_progname'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_error'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_xasprintf'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_str_cd_iconv'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `pass_obsolete_entries'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `u8_mblen'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_po_lex_charset_close'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_po_lex_iconv'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `formatstring_gcc_internal'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_po_lex_charset'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `formatstring_pascal'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `xrealloc'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_lex_pass_obsolete_entries'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_multiline_warning'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `lex_start'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_u8_mbtoucr'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_gram_lex'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_mem_cd_iconv'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_gram_error_at_line'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_po_xerror'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `xmalloc'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_multiline_error'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_printf_fetchargs'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `xalloc_die'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_error_at_line'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_uc_width'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `formatstring_sh'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_str_iconv'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `formatstring_kde'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `msgdomain_list_print'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `vasnprintf'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_gram_error'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_ostream_typeinfo'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `gram_pos'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `program_name'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_po_gram_lval'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_multiline_warning'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `po_lex_pass_comments'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_printf_parse'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_multiline_error'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_po_lex_weird_cjk'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_po_lex_charset_init'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_fwriteerror'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `xconcatenated_filename'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `u8_uctomb_aux'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `xcalloc'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `libgettextpo_xstrdup'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `lex_end'
../libgettextpo/.libs/libgettextpo.so: undefined reference to `xnmalloc'
collect2: error: ld returned 1 exit status
distcc[21791] ERROR: compile (null) on localhost failed
distcc[21784] ERROR: compile (null) on localhost failed
make[3]: *** [gettextpo-1-prg] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.3.1/work/gettext-0.18.3.1/gettext-tools/tests'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.3.1/work/gettext-0.18.3.1/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gettext-0.18.3.1/work/gettext-0.18.3.1/gettext-tools'
make: *** [all-recursive] Error 1
emake failed
 [31;01m*[0m ERROR: sys-devel/gettext-0.18.3.1::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m Call stack:
 [31;01m*[0m          ebuild.sh, line   93:  Called src_compile
 [31;01m*[0m        environment, line 4540:  Called __eapi2_src_compile
 [31;01m*[0m   phase-helpers.sh, line  632:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m   		emake || die "emake failed"
 [31;01m*[0m 



# emerge --info '=sys-devel/gettext-0.18.3.1::gentoo'
Portage 2.2.1 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.10.7 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_0_@_2.00GHz-with-gentoo-2.2
KiB Mem:     2053080 total,    243452 free
KiB Swap:    2097148 total,   2092156 free
Timestamp of tree: Mon, 26 Aug 2013 13:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2, 3.3.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.10 (virtual/os-headers)
sys-libs/glibc:           2.17

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distcc-pump distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"


Building without distcc will succeed.

Reproducible: Always
Comment 1 Thomas Deutschmann gentoo-dev Security 2013-08-26 18:12:05 UTC
Created attachment 357100 [details]
build.log
Comment 2 Mark Tomich 2015-01-09 14:33:11 UTC
I can confirm this bug...unsetting FEATURES=distcc-pump is all that's required to merge the package.
Comment 3 SpanKY gentoo-dev 2015-07-10 07:45:20 UTC
*** Bug 539628 has been marked as a duplicate of this bug. ***