Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 345197

Summary: www-client/chromium-9999::gentoo: fails building
Product: Gentoo Linux Reporter: fkhp <fkhp101>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED DUPLICATE    
Severity: normal CC: floppym
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description fkhp 2010-11-12 10:43:01 UTC
*    working copy: /usr/portage/distfiles/svn-src/chromium
 * Installing/updating to version 9.0.580.0_p65874 
>>> Done src_unpack
>>> Starting builtin_saveenv

!!! ERROR in www-client/chromium-9999::gentoo:
!!! In builtin_saveenv at line 1360
!!! $PALUDIS_LOADSAVEENV_DIR ("/var/tmp/paludis/www-client-chromium-9999/temp") not a directory

!!! Call stack:
!!!    * builtin_saveenv (/var/tmp/paludis/www-client-chromium-9999/temp/loadsaveenv:1360)
!!!    * ebuild_f_saveenv (/var/tmp/paludis/www-client-chromium-9999/temp/loadsaveenv:1819)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:647)
!!!    * main (/usr/libexec/paludis/ebuild.bash:675)

diefunc: making ebuild PID 29754 exit with error
die trap: exiting with error.


Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2010-11-13 04:54:47 UTC
Works for me with portage. Paludis problem?
Comment 2 Mike Gilbert gentoo-dev 2010-11-13 05:05:28 UTC
Ehh, that is to say, I get an ffmpeg related error in the compile phase -- but nothing like the error above.

If only upstream would quit breaking system ffmpeg... I'll open a bug if it doesn't resolve itself on Monday.
Comment 3 fkhp 2010-11-13 14:11:28 UTC
  flock out/Release/linker.lock x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -pthread -Wl,-z,noexecstack -Lout/Release -lpthread -ldl -lm -L/usr/lib64 -licui18n -licuuc -licudata -lpthread -ldl -lm -Wl,-uIsHeapProfilerRunning,-uProfilerStart -Wl,-u_Z21InitialMallocHook_NewPKvj,-u_Z22InitialMallocHook_MMapPKvS0_jiiix,-u_Z22InitialMallocHook_SbrkPKvi -Wl,-u_Z21InitialMallocHook_NewPKvm,-u_Z22InitialMallocHook_MMapPKvS0_miiil,-u_Z22InitialMallocHook_SbrkPKvl -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -o out/Release/chrome -Wl,--start-group out/Release/obj.target/chrome/chrome/app/chrome_dll_main.o out/Release/obj.target/chrome/chrome/app/chrome_exe_main_gtk.o out/Release/obj.target/chrome/libcommon.a out/Release/obj.target/chrome/libbrowser.a out/Release/obj.target/chrome/libchrome_gpu.a out/Release/obj.target/chrome/libppapi_plugin.a out/Release/obj.target/chrome/libprofile_import.a out/Release/obj.target/chrome/librenderer.a out/Release/obj.target/chrome/libsyncapi.a out/Release/obj.target/chrome/libutility.a out/Release/obj.target/chrome/libworker.a out/Release/obj.target/chrome/libservice.a out/Release/obj.target/printing/libprinting.a out/Release/obj.target/chrome/libinstaller_util.a out/Release/obj.target/base/allocator/liballocator.a out/Release/obj.target/sandbox/libsandbox.a out/Release/obj.target/chrome/libcommon_constants.a out/Release/obj.target/base/libbase.a out/Release/obj.target/third_party/modp_b64/libmodp_b64.a out/Release/obj.target/base/third_party/dynamic_annotations/libdynamic_annotations.a out/Release/obj.target/base/libsymbolize.a out/Release/obj.target/base/libxdg_mime.a out/Release/obj.target/net/third_party/nss/libssl.a out/Release/obj.target/third_party/zlib/libzlib.a out/Release/obj.target/chrome/libcommon_net.a out/Release/obj.target/app/libapp_base.a out/Release/obj.target/base/libbase_i18n.a out/Release/obj.target/gfx/libgfx.a out/Release/obj.target/skia/libskia.a out/Release/obj.target/skia/libskia_opts.a out/Release/obj.target/third_party/harfbuzz/libharfbuzz.a out/Release/obj.target/third_party/harfbuzz/libharfbuzz_interface.a out/Release/obj.target/net/libnet.a out/Release/obj.target/build/temp_gyp/libgoogleurl.a out/Release/obj.target/sdch/libsdch.a out/Release/obj.target/net/libnet_base.a out/Release/obj.target/net/libssl_host_info.a out/Release/obj.target/third_party/protobuf/libprotobuf_lite.a out/Release/obj.target/v8/tools/gyp/libv8_snapshot.a out/Release/obj.target/v8/tools/gyp/libv8_base.a out/Release/obj.target/chrome/default_plugin/libdefault_plugin.a out/Release/obj.target/ipc/libipc.a out/Release/obj.target/webkit/support/libappcache.a out/Release/obj.target/webkit/support/libblob.a out/Release/obj.target/webkit/support/libglue.a out/Release/obj.target/gpu/libgles2_implementation.a out/Release/obj.target/gpu/libgles2_cmd_helper.a out/Release/obj.target/gpu/libcommand_buffer_client.a out/Release/obj.target/gpu/libcommand_buffer_common.a out/Release/obj.target/ppapi/libppapi_proxy.a out/Release/obj.target/webkit/support/libwebkit_user_agent.a out/Release/obj.target/gpu/libgpu_plugin.a out/Release/obj.target/gpu/libcommand_buffer_service.a out/Release/obj.target/third_party/angle/src/libtranslator_glsl.a out/Release/obj.target/third_party/angle/src/libtranslator_common.a out/Release/obj.target/remoting/libchromoting_plugin.a out/Release/obj.target/remoting/libchromoting_base.a out/Release/obj.target/media/libmedia.a out/Release/obj.target/third_party/ffmpeg/libffmpeg.a out/Release/obj.target/media/libomx_wrapper.a out/Release/obj.target/third_party/openmax/libil.a out/Release/obj.target/remoting/libchromoting_jingle_glue.a out/Release/obj.target/jingle/libnotifier.a out/Release/obj.target/third_party/libjingle/libjingle.a out/Release/obj.target/third_party/libjingle/libjingle_p2p.a out/Release/obj.target/third_party/libsrtp/libsrtp.a out/Release/obj.target/remoting/proto/libchromotocol_proto_lib.a out/Release/obj.target/remoting/proto/libtrace_proto_lib.a out/Release/obj.target/remoting/libchromoting_client.a out/Release/obj.target/remoting/libchromoting_protocol.a out/Release/obj.target/ppapi/libppapi_cpp_objects.a out/Release/obj.target/chrome/libdebugger.a out/Release/obj.target/net/libhttp_listen_socket.a out/Release/obj.target/testing/libgtest.a out/Release/obj.target/chrome/libsync.a out/Release/obj.target/chrome/libsync_notifier.a out/Release/obj.target/third_party/cacheinvalidation/libcacheinvalidation.a out/Release/obj.target/third_party/hunspell/libhunspell.a out/Release/obj.target/third_party/speex/libspeex.a out/Release/obj.target/webkit/support/libdatabase.a out/Release/obj.target/webkit/support/libfileapi.a out/Release/obj.target/third_party/undoview/libundoview.a out/Release/obj.target/chrome/libplugin.a out/Release/obj.target/third_party/cld/libcld.a out/Release/obj.target/third_party/WebKit/WebKit/chromium/libwebkit.a out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore_html.a out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore_bindings.a out/Release/obj.target/third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/libpcre.a out/Release/obj.target/third_party/WebKit/JavaScriptCore/JavaScriptCore.gyp/libwtf.a out/Release/obj.target/third_party/iccjpeg/libiccjpeg.a out/Release/obj.target/third_party/libwebp/libwebp.a out/Release/obj.target/third_party/ots/libots.a out/Release/obj.target/gpu/libgles2_c_lib.a out/Release/obj.target/gpu/libgles2_lib.a out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore_platform.a out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore_remaining.a out/Release/obj.target/third_party/WebKit/WebCore/WebCore.gyp/libwebcore_svg.a out/Release/obj.target/chrome/libnacl.a out/Release/obj.target/native_client/src/trusted/plugin/libnpGoogleNaClPluginChrome.a out/Release/obj.target/native_client/src/shared/gio/libgio.a out/Release/obj.target/native_client/src/shared/imc/libgoogle_nacl_imc_c.a out/Release/obj.target/native_client/src/shared/npruntime/libgoogle_nacl_npruntime.a out/Release/obj.target/native_client/src/shared/platform/libplatform.a out/Release/obj.target/native_client/src/trusted/desc/libnrd_xfer.a out/Release/obj.target/native_client/src/trusted/nacl_base/libnacl_base.a out/Release/obj.target/native_client/src/trusted/nonnacl_util/libnonnacl_util_chrome.a out/Release/obj.target/native_client/src/trusted/nonnacl_util/posix/libnonnacl_util_posix.a out/Release/obj.target/native_client/src/trusted/nonnacl_util/libsel_ldr_launcher.a out/Release/obj.target/native_client/src/shared/srpc/libnonnacl_srpc.a out/Release/obj.target/native_client/src/trusted/service_runtime/libexpiration.a out/Release/obj.target/native_client/src/trusted/service_runtime/libgio_wrapped_desc.a out/Release/obj.target/native_client/src/trusted/service_runtime/libsel.a out/Release/obj.target/native_client/src/trusted/gdb_rsp/libgdb_rsp.a out/Release/obj.target/native_client/src/trusted/debug_stub/libdebug_stub.a out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86/libservice_runtime_x86_common.a out/Release/obj.target/native_client/src/trusted/validator_x86/libncvalidate.a out/Release/obj.target/native_client/src/trusted/validator_x86/libncopcode_utils.a out/Release/obj.target/native_client/src/trusted/service_runtime/arch/x86_64/libservice_runtime_x86_64.a out/Release/obj.target/native_client/src/trusted/validator_x86/libncvalidate_sfi.a out/Release/obj.target/native_client/src/trusted/platform_qualify/libplatform_qual_lib.a out/Release/obj.target/seccompsandbox/libseccomp_sandbox.a out/Release/obj.target/remoting/libchromoting_host.a -Wl,--end-group -lX11 -ldl -lXrender -lXss -lXext -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpng14 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lsmime3 -lnssutil3 -lnss3 -lplds4 -lplc4 -lnspr4 -lpthread -lz -levent -licui18n -licuuc -licudata -ljpeg -lgconf-2 -lresolv -lsqlite3 -lxml2 -lcups -lgcrypt -lbz2 -lasound -lexpat -ldbus-glib-1 -ldbus-1 -lgnome-keyring -lxslt -lXdamage -lXtst
out/Release/obj.target/remoting/libchromoting_base.a(encoder_vp8.o): In function `remoting::EncoderVp8::~EncoderVp8()':
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp8D2Ev+0x7d): undefined reference to `vpx_codec_destroy'
out/Release/obj.target/remoting/libchromoting_base.a(encoder_vp8.o): In function `remoting::EncoderVp8::Init(int, int)':
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp84InitEii+0xe3): undefined reference to `vpx_codec_enc_config_default'
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp84InitEii+0x18c): undefined reference to `vpx_codec_enc_init_ver'
out/Release/obj.target/remoting/libchromoting_base.a(encoder_vp8.o): In function `remoting::EncoderVp8::Encode(scoped_refptr<remoting::CaptureData>, bool, CallbackRunner<Tuple1<remoting::VideoPacket*> >*)':
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp86EncodeE13scoped_refptrINS_11CaptureDataEEbP14CallbackRunnerI6Tuple1IPNS_11VideoPacketEEE+0xa7): undefined reference to `vpx_codec_encode'
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp86EncodeE13scoped_refptrINS_11CaptureDataEEbP14CallbackRunnerI6Tuple1IPNS_11VideoPacketEEE+0xf8): undefined reference to `vpx_codec_get_cx_data'
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp86EncodeE13scoped_refptrINS_11CaptureDataEEbP14CallbackRunnerI6Tuple1IPNS_11VideoPacketEEE+0x227): undefined reference to `vpx_codec_error_detail'
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp86EncodeE13scoped_refptrINS_11CaptureDataEEbP14CallbackRunnerI6Tuple1IPNS_11VideoPacketEEE+0x233): undefined reference to `vpx_codec_error'
encoder_vp8.cc:(.text._ZN8remoting10EncoderVp86EncodeE13scoped_refptrINS_11CaptureDataEEbP14CallbackRunnerI6Tuple1IPNS_11VideoPacketEEE+0x242): undefined reference to `vpx_codec_err_to_string'
out/Release/obj.target/remoting/libchromoting_base.a(decoder_vp8.o): In function `remoting::DecoderVp8::~DecoderVp8()':
decoder_vp8.cc:(.text._ZN8remoting10DecoderVp8D2Ev+0x2f): undefined reference to `vpx_codec_destroy'
out/Release/obj.target/remoting/libchromoting_base.a(decoder_vp8.o): In function `remoting::DecoderVp8::DecodePacket(remoting::VideoPacket const*)':
decoder_vp8.cc:(.text._ZN8remoting10DecoderVp812DecodePacketEPKNS_11VideoPacketE+0x58): undefined reference to `vpx_codec_decode'
decoder_vp8.cc:(.text._ZN8remoting10DecoderVp812DecodePacketEPKNS_11VideoPacketE+0x80): undefined reference to `vpx_codec_get_frame'
decoder_vp8.cc:(.text._ZN8remoting10DecoderVp812DecodePacketEPKNS_11VideoPacketE+0x1c8): undefined reference to `vpx_codec_dec_init_ver'
decoder_vp8.cc:(.text._ZN8remoting10DecoderVp812DecodePacketEPKNS_11VideoPacketE+0x20f): undefined reference to `vpx_codec_error_detail'
decoder_vp8.cc:(.text._ZN8remoting10DecoderVp812DecodePacketEPKNS_11VideoPacketE+0x223): undefined reference to `vpx_codec_error'
decoder_vp8.cc:(.text._ZN8remoting10DecoderVp812DecodePacketEPKNS_11VideoPacketE+0x232): undefined reference to `vpx_codec_err_to_string'
collect2: ld 返回 1
make: *** [out/Release/chrome] 错误 1
emake failed
 * ERROR: www-client/chromium-9999 failed:
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2850:  Called die
 * The specific snippet of code:
 *       emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die
 * 
 * If you need support, post the output of 'emerge --info =www-client/chromium-9999',
 * the complete build log and the output of 'emerge -pqv =www-client/chromium-9999'.
 * This ebuild is from an overlay named 'local_overlay': '/usr/local/portage/'
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-9999/temp/environment'.
 * S: '/var/tmp/portage/www-client/chromium-9999/work/chromium-9999'

>>> Failed to emerge www-client/chromium-9999, Log file:

>>>  '/var/tmp/portage/www-client/chromium-9999/temp/build.log'

 * Messages for package www-client/chromium-9999:

 * Installing/updating to version 9.0.582.0_p66062 
 * ERROR: www-client/chromium-9999 failed:
Comment 4 fkhp 2010-11-13 14:13:06 UTC
libvpx-9999 is installed on the gentoo system.
Comment 5 Mike Gilbert gentoo-dev 2010-11-13 17:21:19 UTC
Have you synced recently? This looks like #343805, which was fixed 3 days ago.
Comment 6 Ralf Mayer 2010-11-15 14:00:54 UTC
I've got the same problem as fkhp. Synced the tree daily, but I receive every time "emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die".

Maybe it depends on the USE-Flags? On my gentoo-box following USE-Flags are enabled: cups gecko-mediaplayer gnome -gnome-keyring -system-sqlite -system-v8.

Hope the dev will fix this issue soon. :)

Thanks!
Comment 7 Mike Gilbert gentoo-dev 2010-11-15 16:12:16 UTC
Another issue could be the libvpx version; I'm running libvpx-0.9.0_p20100612 (latest stable on amd64).

I will upgrade to libvpx-9999 and try another build.
Comment 8 Mike Gilbert gentoo-dev 2010-11-15 16:53:21 UTC
Nope, libvpx-9999 didn't trigger it.
Comment 9 Mike Gilbert gentoo-dev 2010-11-15 16:55:50 UTC
(In reply to comment #6)
> I've got the same problem as fkhp. Synced the tree daily, but I receive every
> time "emake chrome chrome_sandbox BUILDTYPE=Release V=1 || die".

Do you also get errors about undefined references to vpx_codec_* ? Dying on the emake call could be caused by any number of problems.
Comment 10 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-11-24 07:53:55 UTC

*** This bug has been marked as a duplicate of bug 343805 ***