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

Bug 563742

Summary: www-client/chromium-47.0.2526.16 fails to build: link fails with multiple undefined references
Product: Gentoo Linux Reporter: Scott Alfter <scott>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: compressed build.log (uncompressed is over 50 MB)
emerge --info
xpue_chromium_build.log

Description Scott Alfter 2015-10-22 02:35:23 UTC
Created attachment 415132 [details]
compressed build.log (uncompressed is over 50 MB)

Is something not being configured properly by the ebuild?  All the source files appear to build properly, but when the build process moves on to link the final executable, it fails with multiple undefined references.  I've excerpted them from build.log, which I had to compress to upload:

blink_platform_impl.cc:(.text._ZN7content17BlinkPlatformImpl16permissionClientEv+0x3d): undefined reference to `content::PermissionDispatcherThreadProxy::GetThreadInstance(base::SingleThreadTaskRunner*, content::PermissionDispatcher*)'
blink_platform_impl.cc:(.text._ZN7content17BlinkPlatformImpl16permissionClientEv+0x4b): undefined reference to `content::PermissionDispatcherThreadProxy::GetThreadInstance(base::SingleThreadTaskRunner*, content::PermissionDispatcher*)'
child_thread_impl.cc:(.text._ZN7content15ChildThreadImpl4InitERKNS0_7OptionsE+0x538): undefined reference to `content::NotificationDispatcher::NotificationDispatcher(content::ThreadSafeSender*)'
notification_manager.cc:(.text._ZN7content19NotificationManager16getNotificationsERKN5blink9WebStringEPNS1_28WebServiceWorkerRegistrationEPNS1_12WebCallbacksIRKNS1_9WebVectorINS1_29WebPersistentNotificationInfoEEEvEE+0xaf): undefined reference to `content::NotificationDispatcher::GenerateNotificationId(int)'
notification_manager.cc:(.text._ZN7content19NotificationManager23DisplayPageNotificationERKN5blink17WebSecurityOriginERKNS1_19WebNotificationDataEPNS1_23WebNotificationDelegateERK8SkBitmap+0x2e): undefined reference to `content::NotificationDispatcher::GenerateNotificationId(int)'
notification_manager.cc:(.text._ZN7content19NotificationManager29DisplayPersistentNotificationERKN5blink17WebSecurityOriginERKNS1_19WebNotificationDataEl10scoped_ptrINS1_12WebCallbacksIvvEEN4base14DefaultDeleterISA_EEERK8SkBitmap+0x35): undefined reference to `content::NotificationDispatcher::GenerateNotificationId(int)'
pending_notifications_tracker.cc:(.text._ZN4base8internal9BindStateINS0_15RunnableAdapterIMN7content23NotificationImageLoaderEFviRK4GURLEEEFvPS4_iS7_ENS0_8TypeListII13scoped_refptrIS4_EiS5_EEEE7DestroyEPNS0_13BindStateBaseE[_ZN4base8internal9BindStateINS0_15RunnableAdapterIMN7content23NotificationImageLoaderEFviRK4GURLEEEFvPS4_iS7_ENS0_8TypeListII13scoped_refptrIS4_EiS5_EEEE7DestroyEPNS0_13BindStateBaseE]+0x44): undefined reference to `content::NotificationImageLoader::DeleteOnCorrectThread() const'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTrackerD2Ev+0xa1): undefined reference to `content::NotificationImageLoader::DeleteOnCorrectThread() const'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker24DidFetchPageNotificationEPN5blink23WebNotificationDelegateEiRK8SkBitmap+0x2c5): undefined reference to `content::NotificationImageLoader::DeleteOnCorrectThread() const'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker30DidFetchPersistentNotificationEiRK8SkBitmap+0x174): undefined reference to `content::NotificationImageLoader::DeleteOnCorrectThread() const'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker29CancelPageNotificationFetchesEPN5blink23WebNotificationDelegateE+0x113): undefined reference to `content::NotificationImageLoader::DeleteOnCorrectThread() const'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker26FetchNotificationResourcesERKN5blink19WebNotificationDataERKN4base8CallbackIFvRK8SkBitmapEEERK13scoped_refptrINS_23NotificationImageLoaderEE+0x167): undefined reference to `content::NotificationImageLoader::StartOnMainThread(int, GURL const&)'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker30FetchPageNotificationResourcesERKN5blink19WebNotificationDataEPNS1_23WebNotificationDelegateERKN4base8CallbackIFvRK8SkBitmapEEE+0x140): undefined reference to `content::NotificationImageLoader::NotificationImageLoader(base::Callback<void (int, SkBitmap const&)> const&, scoped_refptr<base::SingleThreadTaskRunner> const&)'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker30FetchPageNotificationResourcesERKN5blink19WebNotificationDataEPNS1_23WebNotificationDelegateERKN4base8CallbackIFvRK8SkBitmapEEE+0x244): undefined reference to `content::NotificationImageLoader::DeleteOnCorrectThread() const'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker36FetchPersistentNotificationResourcesERKN5blink19WebNotificationDataERKN4base8CallbackIFvRK8SkBitmapEEE+0xde): undefined reference to `content::NotificationImageLoader::NotificationImageLoader(base::Callback<void (int, SkBitmap const&)> const&, scoped_refptr<base::SingleThreadTaskRunner> const&)'
pending_notifications_tracker.cc:(.text._ZN7content27PendingNotificationsTracker36FetchPersistentNotificationResourcesERKN5blink19WebNotificationDataERKN4base8CallbackIFvRK8SkBitmapEEE+0x164): undefined reference to `content::NotificationImageLoader::DeleteOnCorrectThread() const'
render_frame_impl.cc:(.text._ZN7content15RenderFrameImpl17createMediaPlayerEPN5blink13WebLocalFrameERKNS1_6WebURLEPNS1_20WebMediaPlayerClientEPNS1_34WebMediaPlayerEncryptedMediaClientEPNS1_26WebContentDecryptionModuleE+0x22d): undefined reference to `media::WebMediaPlayerParams::WebMediaPlayerParams(base::Callback<void (base::Callback<void ()> const&)> const&, scoped_refptr<media::AudioRendererSink> const&, scoped_refptr<media::MediaLog> const&, scoped_refptr<base::SingleThreadTaskRunner> const&, scoped_refptr<base::TaskRunner> const&, scoped_refptr<base::SingleThreadTaskRunner> const&, base::Callback<media::Context3D ()> const&, media::MediaPermission*, blink::WebContentDecryptionModule*)'
render_frame_impl.cc:(.text._ZN7content15RenderFrameImpl17createMediaPlayerEPN5blink13WebLocalFrameERKNS1_6WebURLEPNS1_20WebMediaPlayerClientEPNS1_34WebMediaPlayerEncryptedMediaClientEPNS1_26WebContentDecryptionModuleE+0x407): undefined reference to `media::WebMediaPlayerParams::~WebMediaPlayerParams()'
webencryptedmediaclient_impl.cc:(.text._ZN5media27WebEncryptedMediaClientImpl9CreateCdmERKN5blink9WebStringERKNS1_17WebSecurityOriginERKNS_9CdmConfigE10scoped_ptrINS1_32WebContentDecryptionModuleResultEN4base14DefaultDeleterISC_EEE+0x70): undefined reference to `media::WebContentDecryptionModuleImpl::Create(media::CdmFactory*, std::basic_string<unsigned short, base::string16_char_traits, std::allocator<unsigned short> > const&, blink::WebSecurityOrigin const&, media::CdmConfig const&, scoped_ptr<blink::WebContentDecryptionModuleResult, base::DefaultDeleter<blink::WebContentDecryptionModuleResult> >)'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImpl18generateKeyRequestERKN5blink9WebStringEPKhj+0x18): undefined reference to `media::EncryptedMediaPlayerSupport::GenerateKeyRequest(blink::WebLocalFrame*, blink::WebString const&, unsigned char const*, unsigned int)'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImpl6addKeyERKN5blink9WebStringEPKhjS6_jS4_+0x8): undefined reference to `media::EncryptedMediaPlayerSupport::AddKey(blink::WebString const&, unsigned char const*, unsigned int, unsigned char const*, unsigned int, blink::WebString const&)'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImpl16cancelKeyRequestERKN5blink9WebStringES4_+0x8): undefined reference to `media::EncryptedMediaPlayerSupport::CancelKeyRequest(blink::WebString const&, blink::WebString const&)'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImpl24OnEncryptedMediaInitDataENS_15EmeInitDataTypeERKSt6vectorIhSaIhEE+0x4a): undefined reference to `media::EncryptedMediaPlayerSupport::SetInitDataType(media::EmeInitDataType)'
webmediaplayer_impl.cc:(.text._ZN5mediaL24GetCurrentFrameAndSignalEPNS_20VideoFrameCompositorEP13scoped_refptrINS_10VideoFrameEEPN4base13WaitableEventE+0x59): undefined reference to `media::VideoFrameCompositor::GetCurrentFrameAndUpdateIfStale()'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImpl29GetCurrentFrameFromCompositorEv+0x6d): undefined reference to `media::VideoFrameCompositor::GetCurrentFrameAndUpdateIfStale()'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImpl26setContentDecryptionModuleEPN5blink26WebContentDecryptionModuleENS1_32WebContentDecryptionModuleResultE+0xde): undefined reference to `media::WebContentDecryptionModuleImpl::GetCdmContext()'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImplC2EPN5blink13WebLocalFrameEPNS1_20WebMediaPlayerClientEPNS1_34WebMediaPlayerEncryptedMediaClientEN4base7WeakPtrINS_22WebMediaPlayerDelegateEEE10scoped_ptrINS_15RendererFactoryENS8_14DefaultDeleterISD_EEEPNS_10CdmFactoryERKNS_20WebMediaPlayerParamsE+0x3d5): undefined reference to `media::VideoFrameCompositor::VideoFrameCompositor(scoped_refptr<base::SingleThreadTaskRunner> const&, base::Callback<void (gfx::Size)> const&, base::Callback<void (bool)> const&)'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImplC2EPN5blink13WebLocalFrameEPNS1_20WebMediaPlayerClientEPNS1_34WebMediaPlayerEncryptedMediaClientEN4base7WeakPtrINS_22WebMediaPlayerDelegateEEE10scoped_ptrINS_15RendererFactoryENS8_14DefaultDeleterISD_EEEPNS_10CdmFactoryERKNS_20WebMediaPlayerParamsE+0x4f9): undefined reference to `media::EncryptedMediaPlayerSupport::EncryptedMediaPlayerSupport(media::CdmFactory*, blink::WebMediaPlayerEncryptedMediaClient*, media::MediaPermission*, base::Callback<void (media::CdmContext*)> const&)'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImplC2EPN5blink13WebLocalFrameEPNS1_20WebMediaPlayerClientEPNS1_34WebMediaPlayerEncryptedMediaClientEN4base7WeakPtrINS_22WebMediaPlayerDelegateEEE10scoped_ptrINS_15RendererFactoryENS8_14DefaultDeleterISD_EEEPNS_10CdmFactoryERKNS_20WebMediaPlayerParamsE+0x5b9): undefined reference to `media::WebContentDecryptionModuleImpl::GetCdmContext()'
webmediaplayer_impl.cc:(.text._ZN5media18WebMediaPlayerImplD2Ev+0x227): undefined reference to `media::EncryptedMediaPlayerSupport::~EncryptedMediaPlayerSupport()'
ppb_instance_proxy.cc:(.text._ZN5ppapi5proxy18PPB_Instance_Proxy20GetSingletonResourceEiNS_19SingletonResourceIDE+0x297): undefined reference to `ppapi::proxy::BrokerResource::BrokerResource(ppapi::proxy::Connection, int)'
appcache_dispatcher.cc:(.text._ZN7content18AppCacheDispatcherC2EPN3IPC6SenderEPNS_16AppCacheFrontendE+0x11): undefined reference to `vtable for content::AppCacheBackendProxy'
Comment 1 Scott Alfter 2015-10-22 02:37:23 UTC
Created attachment 415134 [details]
emerge --info
Comment 2 om3i 2015-10-23 14:43:10 UTC
Created attachment 415284 [details]
xpue_chromium_build.log

Probably related, it cannot find re2 on linking.
Comment 3 Scott Alfter 2015-11-25 03:22:21 UTC
www-client/chromium-47.0.2526.58 is now the current version, and it builds properly.