From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?UTF-8?Q?Bay=C4=B1rl=C4=B1/Kammer?=) Subject: bug#20039: jack2: Dangling .so references Date: Sun, 08 Mar 2015 17:52:25 +0100 Message-ID: <874mpvctyu.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUeRu-0006Ny-FR for bug-guix@gnu.org; Sun, 08 Mar 2015 12:53:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUeRq-0007ek-Fz for bug-guix@gnu.org; Sun, 08 Mar 2015 12:53:04 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:41011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUeRq-0007eg-D2 for bug-guix@gnu.org; Sun, 08 Mar 2015 12:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YUeRq-0006YY-4e for bug-guix@gnu.org; Sun, 08 Mar 2015 12:53:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUeRL-0006LT-J5 for bug-guix@gnu.org; Sun, 08 Mar 2015 12:52:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUeRK-0007Ww-5x for bug-guix@gnu.org; Sun, 08 Mar 2015 12:52:31 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:33276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUeRJ-0007Wf-Ro for bug-guix@gnu.org; Sun, 08 Mar 2015 12:52:30 -0400 Received: by widfb4 with SMTP id fb4so3998834wid.0 for ; Sun, 08 Mar 2015 09:52:28 -0700 (PDT) Received: from taylan.uni.cx (p200300514A4A40800213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a4a:4080:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id a13sm24452598wjx.30.2015.03.08.09.52.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Mar 2015 09:52:27 -0700 (PDT) List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: 20039@debbugs.gnu.org --=-=-= Content-Type: text/plain While looking into another issue, I happened to notice dangling .so references in some executables in Guix packages. This is the first in a series of bug reports for each such package. Some might be false positives; Mark suggested I report them all so we have a list to go through. It's also not comprehensive because of course I don't have every Guix package installed; the script to go through one's /gnu/store to get output such as the following for each package is attached at the bottom of this mail. /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/ /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_midiseq libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_samplerate libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_showtime libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_wait libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_lsp libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_unload libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_test libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/alsa_out libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_metro libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jackdbus libjackserver.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_evmon libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_net_slave libjacknet.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_multiple_metro libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_latent_client libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_iodelay libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_zombie libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_freewheel libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_midisine libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_cpu libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_midi_dump libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_server_control libjackserver.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_transport libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_net_master libjacknet.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/alsa_in libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_simple_session_client libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_thru libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_cpu_load libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_alias libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_netsource libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_connect libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_load libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_session_notify libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_monitor_client libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_rec libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_midi_latency_test libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_simple_client libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/bin/jack_bufsize libjack.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/lib/jack/netadapter.so libjackserver.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/lib/jack/profiler.so libjackserver.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/lib/jack/inprocess.so libjackserver.so.0 => not found /gnu/store/0d8w37ddadcfnpw5rlhsfgvrha5f3x1f-jack2-1.9.10/lib/jack/netmanager.so libjackserver.so.0 => not found That would be references to libjack, libjacknet, and libjackserver. The script: --=-=-= Content-Type: text/x-sh Content-Disposition: inline; filename=guix-find-so.sh Content-Description: script # make sure to use a guix-installed ldd if not running this script on GuixSD for p in /gnu/store/*/; do matches=no if [ "$(find "$p" -type f -exec \ sh -c 'for f; do ldd "$f" 2>/dev/null \ | grep -Evq "/gnu/store/|linux-vdso\.so|not a dynamic exec|statically linked" && exit; done; exit 1' \ -- {} \; -print -quit)" \ != "" ]; then matches=yes fi if [ $matches = yes ]; then echo "$p"; echo; find "$p" -type f -exec \ sh -c 'for f; do if ldd "$f" 2>/dev/null \ | grep -Evq "/gnu/store/|linux-vdso\.so|not a dynamic exec|statically linked"; then printf " %s\n" "$f" ldd "$f" 2>/dev/null \ | grep -Ev "/gnu/store/|linux-vdso\.so|not a dynamic exec|statically linked" fi done' \ -- {} + echo; echo; fi done --=-=-=--