From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 28 22:34:37 2020 Received: (at 41743) by debbugs.gnu.org; 29 Jun 2020 02:34:37 +0000 Received: from localhost ([127.0.0.1]:47320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpjcz-0002Xb-Ae for submit@debbugs.gnu.org; Sun, 28 Jun 2020 22:34:37 -0400 Received: from mail-io1-f66.google.com ([209.85.166.66]:39392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jpjcv-0002XJ-0t for 41743@debbugs.gnu.org; Sun, 28 Jun 2020 22:34:35 -0400 Received: by mail-io1-f66.google.com with SMTP id f23so15585369iof.6 for <41743@debbugs.gnu.org>; Sun, 28 Jun 2020 19:34:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=5YnhNlreaMJuqpqf3m12KjxtQF4vqmdq7Cy2jqdWgEs=; b=HPb01fsg4sUqfYkjRmQQZW9UXfWfNIrasBOQD0blyxJv5+X8nXwqLjjrxmeG+6T02Q QMEHvN9WkXPi7xLmK8t4QZORH5aLDlkfthoMD2L5P44cvx5AuHBJfObp6x3EfYcmN1Nj LRiNIysuCeahWj2kwHdZAjGCtqz4OTi35UYrDX9bVFHs04fC9TMAoZGawTtpoaPeEp5V wWVYnh92UXAz97Xkfn1EfvrwhmPMzPEIuNrgLGXRv3HK1KVEr2vXLObVVgCM/7ABYZoz W3dfDqNipAAinanQ/6A7oogUhZlsrmR2SFCDWwDeDh99i9gi1QbsnGN8EwNcyiFk31Vb UnIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=5YnhNlreaMJuqpqf3m12KjxtQF4vqmdq7Cy2jqdWgEs=; b=IjjFoDRGV6X7klqXFPtTDxt/vNiXUS86DoAa1fLxeOaJ+KCbPCCwSqpnHF0Lm2H6P3 Vom/jwlYNaReLvkqIkyK0LtvVytMC8p3I43bGjrgJY9gf8+Tw8/OdAVJUvFzcnOdfjzG L7j7VKkFq0w8Lv404+nNpnnPtSGrNqhHHYa1xExmhGWiG0SvBI9SyUvRJ11AFw5Eufu9 PoVLckJOGDJwNvu3x/ZbwY23n1Tmx4m2UCoiPwprkayQXgb045fYICDYBA0I5YsdSHtT GrGJ79oxxUJ0nixhifhFQFJMaHqENl5DuVRNb9nUNV9Pk4u9XxGQ2MLjV+a2uA/zecPE YBGw== X-Gm-Message-State: AOAM5303Amataw0KBpxBG6U+nppvPSm3aPVwEOiWOwXXoe380KwBdW7v hv9PZzzCobJsYHqj6lOhcLcxXLsraj0= X-Google-Smtp-Source: ABdhPJwS7/Dc5kxGImOi7JYnl05pyiilwjPtLmUJcUmzMPnqn03FfmSqMhPzRiz1oDuoHRhYGXVGCQ== X-Received: by 2002:a05:6638:69d:: with SMTP id i29mr15835276jab.47.1593398067094; Sun, 28 Jun 2020 19:34:27 -0700 (PDT) Received: from x1 ([2600:6c48:6d80:c6::d10]) by smtp.gmail.com with ESMTPSA id t12sm2028276ilo.80.2020.06.28.19.34.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jun 2020 19:34:26 -0700 (PDT) References: <87lfl0oseh.fsf@gmail.com> <87v9k39an8.fsf@nckx> <87img3pv33.fsf@gmail.com> <87pnab8yfc.fsf@nckx> <871rmnvjxc.fsf@gmail.com> <873672hnw9.fsf@gnu.org> User-agent: mu4e 1.4.10; emacs 26.3 From: Kyle Andrews To: Marius Bakke Subject: Re: bug#41743: gst123 In-reply-to: <873672hnw9.fsf@gnu.org> Date: Sun, 28 Jun 2020 22:34:24 -0400 Message-ID: <878sg6lhvz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 41743 Cc: 41743@debbugs.gnu.org, Tobias Geerinckx-Rice X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Marius Bakke writes: > Kyle Andrews writes: > >> Tobias Geerinckx-Rice writes: >> >>> Kyle, >>> >>> Kyle Andrews =E5=86=99=E9=81=93=EF=BC=9A >>>> I tried adding all the gst packages I could think of to the >>>> environment, >>>> but it still did not work. Here is what I ran: >>>> >>>> guix environment gst-plugins-base gst-plugins-bad gst-plugins-good >>>> gst-plugins-ugly gst123 -- gst123 "/path/to/music-file.mp3" >>> >>> Use =E2=80=98guix environment --ad-hoc=E2=80=99. The command above doe= sn't add any of >>> the packages to the environment, only their build dependencies. >>> >>> I forgot about gst-plugins-base, maybe it suffices. >>> >>> Kind regards, >>> >>> T G-R >> >> Thanks for the tip. Unfortunately, I still see the error: >> >> Error: Your GStreamer installation is missing a plug-in. >> =3D> file cannot be played and will be removed from playlist >> >> after running: >> >> guix environment --ad-hoc gst-plugins-base gst-plugins-good >> gst-plugins-bad gst-plugins-ugly gst123 -- gst123 >> ~/path/to/music-file.mp3 > > You also need 'gstreamer' in the environment to get the > GST_PLUGIN_SYSTEM_PATH variable, so that the plugins are actually > found. A long-standing bug in Guix. :-/ I still get the error with: guix environment gstreamer gst-plugins-base gst-plugins-bad gst-plugins-goo= d gst-plugins-ugly gst123 -- gst123 '/path/to/file.mp3' Following Leo's advice, I also ran: guix environment strace gstreamer gst-plugins-base gst-plugins-bad gst-plugins-good gst-plugins-ugly gst123 -- strace -f gst123 '/path/to/file.mp3' There were 3403 lines of output, which seems bigger than the Debian pastebin will let me show, so I'm not sure how to share the whole thing. However, here is a list of references to the store in the output produced with: : cat $STRACEF_OUTPUT | grep -i -o '"/gnu/store/.*"' | uniq https://paste.debian.net/hidden/14fe8b8b/ The last lines of output from strace -f looked like: ioctl(1, TCGETS, 0x7ffff8747000) =3D -1 ENOTTY (Inappropriate ioctl = for device) stat("/home/k/.terminfo", 0x76ac20) =3D -1 ENOENT (No such file or dire= ctory) stat("/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo", = {st_mode=3DS_IFDIR|0555, st_size=3D4096, ...}) =3D 0 stat("/home/k/.guix-profile/share/terminfo", {st_mode=3DS_IFDIR|0555, st_si= ze=3D4096, ...}) =3D 0 stat("/gnu/store/zzkly5rbfvahwqgcs7crz0ilpi7x5g5p-ncurses-6.2/share/terminf= o", {st_mode=3DS_IFDIR|0555, st_size=3D4096, ...}) =3D 0 access("/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share/terminfo/= d/dumb", R_OK) =3D 0 openat(AT_FDCWD, "/gnu/store/5lc708bcni55ch6lfq30i8595v1xfchh-profile/share= /terminfo/d/dumb", O_RDONLY) =3D 13 fstat(13, {st_mode=3DS_IFREG|0444, st_size=3D308, ...}) =3D 0 read(13, "\32\1\30\0\2\0\1\0\202\0\10\0dumb|80-column dumb "..., 32768) =3D= 308 read(13, "", 28672) =3D 0 close(13) =3D 0 ioctl(2, TCGETS, 0x7ffff8747000) =3D -1 ENOTTY (Inappropriate ioctl = for device) ioctl(2, TCGETS, 0x7ffff8746f90) =3D -1 ENOTTY (Inappropriate ioctl = for device) ioctl(0, TCGETS, {B38400 opost isig icanon -echo ...}) =3D 0 ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig -icanon -echo ...})= =3D ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGTTOU {si_signo=3DSIGTTOU, si_code=3DSI_KERNEL} --- --- stopped by SIGTTOU --- Let me know if there is something else I could be looking for. For now I'm resigned to just using mpg123 for mp3's instead which works perfectly fine.