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

Bug 464710

Summary: net-misc/mediatomb does not respect AR
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Ian Whyman (thev00d00) <thev00d00>
Status: RESOLVED FIXED    
Severity: normal CC: mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: mediatomb-0.12.1-ar.patch

Description Agostino Sarubbo gentoo-dev 2013-04-05 10:42:24 UTC
You receive this bug because this package does not respect my system's AR ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar ) and calls directly ar - /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"


ar cru libtombupnp.a libtombupnp_a-attr.o libtombupnp_a-document.o libtombupnp_a-element.o libtombupnp_a-ixml.o libtombupnp_a-ixmlmembuf.o libtombupnp_a-ixmlparser.o 
libtombupnp_a-namedNodeMap.o libtombupnp_a-node.o libtombupnp_a-nodeList.o libtombupnp_a-FreeList.o libtombupnp_a-iasnprintf.o libtombupnp_a-LinkedList.o 
libtombupnp_a-ThreadPool.o libtombupnp_a-TimerThread.o libtombupnp_a-upnpapi.o libtombupnp_a-upnpdebug.o libtombupnp_a-upnptools.o libtombupnp_a-gena_callback2.o 
libtombupnp_a-gena_ctrlpt.o libtombupnp_a-gena_device.o libtombupnp_a-client_table.o libtombupnp_a-miniserver.o libtombupnp_a-httpparser.o libtombupnp_a-httpreadwrite.o 
libtombupnp_a-parsetools.o libtombupnp_a-statcodes.o libtombupnp_a-webserver.o libtombupnp_a-sock.o libtombupnp_a-uri.o libtombupnp_a-service_table.o 
libtombupnp_a-membuffer.o libtombupnp_a-strintmap.o libtombupnp_a-strtoofft.o libtombupnp_a-upnp_timeout.o libtombupnp_a-util.o libtombupnp_a-inet_pton.o 
libtombupnp_a-soap_common.o libtombupnp_a-soap_ctrlpt.o libtombupnp_a-soap_device.o libtombupnp_a-ssdp_ctrlpt.o libtombupnp_a-ssdp_device.o libtombupnp_a-ssdp_server.o 
libtombupnp_a-urlconfig.o libtombupnp_a-sysdep.o libtombupnp_a-upnp_md5.o libtombupnp_a-upnp_uuid.o 

ar cru libmediatomb.a libmediatomb_a-action_request.o libmediatomb_a-atrailers_content_handler.o libmediatomb_a-atrailers_service.o libmediatomb_a-autoscan.o 
libmediatomb_a-autoscan_inotify.o libmediatomb_a-buffered_io_handler.o libmediatomb_a-cached_url.o libmediatomb_a-cds_objects.o libmediatomb_a-cds_resource.o 
libmediatomb_a-cds_resource_manager.o libmediatomb_a-config_manager.o libmediatomb_a-content_manager.o libmediatomb_a-curl_io_handler.o libmediatomb_a-destroyer.o 
libmediatomb_a-dictionary.o libmediatomb_a-dvd_io_handler.o libmediatomb_a-dvdnav_read.o libmediatomb_a-exceptions.o libmediatomb_a-fd_io_handler.o 
libmediatomb_a-file_io_handler.o libmediatomb_a-file_request_handler.o libmediatomb_a-filesystem.o libmediatomb_a-generic_task.o libmediatomb_a-io_handler_buffer_helper.o 
libmediatomb_a-io_handler.o libmediatomb_a-io_handler_chainer.o libmediatomb_a-jpeg_resolution.o libmediatomb_a-lastfm_scrobbler.o libmediatomb_a-fallback_layout.o 
libmediatomb_a-js_layout.o libmediatomb_a-logger.o libmediatomb_a-main.o md5.o libmediatomb_a-mem_io_handler.o libmediatomb_a-memory.o libmediatomb_a-dvd_handler.o 
libmediatomb_a-exiv2_handler.o libmediatomb_a-extractor_handler.o libmediatomb_a-ffmpeg_handler.o libmediatomb_a-metadata_handler.o libmediatomb_a-id3_handler.o 
libmediatomb_a-libexif_handler.o libmediatomb_a-libmp4v2_handler.o libmediatomb_a-taglib_handler.o buffer.o mpegdemux.o mpeg_parse.o mpeg_remux.o 
libmediatomb_a-mpegremux_processor.o libmediatomb_a-mt_inotify.o libmediatomb_a-attribute.o libmediatomb_a-comment.o libmediatomb_a-context.o libmediatomb_a-document.o 
libmediatomb_a-element.o libmediatomb_a-node.o libmediatomb_a-parseexception.o libmediatomb_a-parser_expat.o libmediatomb_a-xml_text.o libmediatomb_a-xml_to_json.o 
libmediatomb_a-online_service.o libmediatomb_a-online_service_helper.o libmediatomb_a-play_hook.o libmediatomb_a-process.o libmediatomb_a-process_executor.o 
libmediatomb_a-process_io_handler.o libmediatomb_a-request_handler.o libmediatomb_a-rexp.o libmediatomb_a-dvd_image_import_script.o libmediatomb_a-import_script.o 
libmediatomb_a-js_functions.o libmediatomb_a-playlist_parser_script.o libmediatomb_a-runtime.o libmediatomb_a-script.o libmediatomb_a-server.o 
libmediatomb_a-serve_request_handler.o libmediatomb_a-session_manager.o libmediatomb_a-singleton.o libmediatomb_a-sopcast_content_handler.o libmediatomb_a-sopcast_service.o 
libmediatomb_a-cache_object.o libmediatomb_a-storage.o libmediatomb_a-mysql_storage.o libmediatomb_a-sqlite3_storage.o libmediatomb_a-sql_storage.o 
libmediatomb_a-storage_cache.o libmediatomb_a-string_converter.o libmediatomb_a-subscription_request.o libmediatomb_a-sync.o libmediatomb_a-task_processor.o 
libmediatomb_a-thread_executor.o libmediatomb_a-timer.o libmediatomb_a-tools.o libmediatomb_a-transcode_dispatcher.o libmediatomb_a-transcode_ext_handler.o 
libmediatomb_a-transcoding.o libmediatomb_a-transcoding_process_executor.o libmediatomb_a-update_manager.o libmediatomb_a-upnp_cds_actions.o libmediatomb_a-upnp_cds.o 
libmediatomb_a-upnp_cds_subscriptions.o libmediatomb_a-upnp_cm_actions.o libmediatomb_a-upnp_cm.o libmediatomb_a-upnp_cm_subscriptions.o libmediatomb_a-upnp_mrreg_actions.o 
libmediatomb_a-upnp_mrreg.o libmediatomb_a-upnp_mrreg_subscriptions.o libmediatomb_a-upnp_xml.o libmediatomb_a-url.o libmediatomb_a-url_request_handler.o 
libmediatomb_a-action.o libmediatomb_a-add.o libmediatomb_a-add_object.o libmediatomb_a-auth.o libmediatomb_a-web_callbacks.o libmediatomb_a-containers.o 
libmediatomb_a-directories.o libmediatomb_a-edit_load.o libmediatomb_a-edit_save.o libmediatomb_a-files.o libmediatomb_a-items.o libmediatomb_a-weborama_content_handler.o 
libmediatomb_a-weborama_service.o libmediatomb_a-pages.o libmediatomb_a-remove.o libmediatomb_a-web_request_handler.o libmediatomb_a-tasks.o libmediatomb_a-web_autoscan.o 
libmediatomb_a-web_update.o libmediatomb_a-xpath.o libmediatomb_a-youtube_content_handler.o libmediatomb_a-youtube_service.o libmediatomb_a-youtube_video_url.o 
libmediatomb_a-array.o libmediatomb_a-exception.o libmediatomb_a-stringtokenizer.o libmediatomb_a-nil.o libmediatomb_a-object.o libmediatomb_a-stringbuffer.o 
libmediatomb_a-strings.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-05-30 11:16:21 UTC
Created attachment 349636 [details, diff]
mediatomb-0.12.1-ar.patch

patch for the build system to respect system's ar. Please have a look at it.
Comment 2 Ian Whyman (thev00d00) gentoo-dev 2013-05-30 16:45:33 UTC
+*mediatomb-0.12.1-r6 (30 May 2013)
+
+  30 May 2013; Ian Whyman <thev00d00@gentoo.org>
+  +files/mediatomb-0.12.1-system-ar.patch, +mediatomb-0.12.1-r6.ebuild:
+  Use system AR, bug #464710, thanks to Michael Mair-Keimberger for the patch
+