From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 194CB138334 for ; Thu, 25 Oct 2018 06:30:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9EF8AE090E; Thu, 25 Oct 2018 06:30:05 +0000 (UTC) Received: from blaine.gmane.org (unknown [195.159.176.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25AC8E08C9 for ; Thu, 25 Oct 2018 06:30:05 +0000 (UTC) Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1gFZ7X-00045x-IE for gentoo-user@lists.gentoo.org; Thu, 25 Oct 2018 08:27:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Why doesn't revdep-rebuild catch undefined symbol errors? Date: Thu, 25 Oct 2018 09:30:00 +0300 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@blaine.gmane.org User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 X-Mozilla-News-Host: news://news.gmane.org:119 Content-Language: en-US X-Archives-Salt: a35c629f-5196-4916-b1a3-ad27ea04067f X-Archives-Hash: fbf5e48ba65fe942b917625b76304c56 Trying to rebuild media-sound/pavucontrol or any other package that uses dev-cpp/cairomm (like pulseeffects) will fail with: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../lib64/libcairomm-1.0.so: undefined reference to `cairo_script_create' and a bunch of other "undefined reference" errors in libcairomm-1.0.so. I don't know what broke cairomm. But I thought revdep-rebuild would catch this. It doesn't. Now this is a rebuild of pavucontrol, so if I run: ldd -r /usr/bin/pavucontrol I will get: undefined symbol: cairo_script_create_for_stream (/usr/lib64/libcairomm-1.0.so.1) undefined symbol: cairo_script_set_mode (/usr/lib64/libcairomm-1.0.so.1) undefined symbol: cairo_script_surface_create (/usr/lib64/libcairomm-1.0.so.1) undefined symbol: cairo_script_from_recording_surface (/usr/lib64/libcairomm-1.0.so.1) undefined symbol: cairo_script_create (/usr/lib64/libcairomm-1.0.so.1) undefined symbol: cairo_script_surface_create_for_target (/usr/lib64/libcairomm-1.0.so.1) undefined symbol: cairo_script_get_mode (/usr/lib64/libcairomm-1.0.so.1) undefined symbol: cairo_script_write_comment (/usr/lib64/libcairomm-1.0.so.1) If I rebuild dev-cpp/cairomm manually (emerge -1 dev-cpp/cairomm), the error goes away, and the affected packages can now be emerged successfully. Shouldn't revdep-rebuild catch this problem? Shouldn't it check installed binaries for "undefined symbol" errors?