Package Details: moc-pulse 2.5.2-11

Git Clone URL: https://aur.archlinux.org/moc-pulse.git (read-only, click to copy)
Package Base: moc-pulse
Description: An ncurses console audio player with support for pulseaudio
Upstream URL: https://moc.daper.net/
Keywords: music
Licenses: GPL
Conflicts: moc
Provides: moc
Submitter: hv15
Maintainer: hv15
Last Packager: hv15
Votes: 11
Popularity: 2.92
First Submitted: 2016-06-26 15:20 (UTC)
Last Updated: 2024-01-02 04:58 (UTC)

Dependencies (22)

Required by (9)

Sources (4)

Latest Comments

1 2 3 4 Next › Last »

hv15 commented on 2024-01-27 20:48 (UTC) (edited on 2024-01-27 20:58 (UTC) by hv15)

Hi @PiterDeVries, I didn't realise that MOC had been dropped from the ArchLinux repos :(... yes moving the pulseaudio dependency to optdeps makes sense. Not sure though if it semantically fits with the name of the package... does it matter?

I'll do this tomorrow, as I'm too tired right now.

(note to self, Debian seems to have been doing further development of MOC, might be interesting to apply some of their patches here: https://udd.debian.org/patches.cgi?src=moc&version=1%3A2.6.0~svn-r3005-3.1)

PiterDeVries commented on 2024-01-27 17:55 (UTC)

Hey, would you consider moving the 'pulseaudio' dependency to Optional ? It makes sense, after all, the patch only adds the possibility to use the PulseAudio. There are still people who don't use PulseAudio and this is now the only MOC package available (BTW thanks for that). I'm using such a setup and can confirm that it works.

gamezelda commented on 2024-01-01 23:03 (UTC)

You can drop the 0001-Workaround-mbsrtowcs-fortify-crash-in-GLIBC-2.35.patch file, that was a workaround for a glibc issue that has been fixed there for quite some time.

eugene commented on 2023-12-14 22:26 (UTC)

sources are accessible through https now

hv15 commented on 2022-05-01 08:55 (UTC)

@sekret, oops it seems my system was still on glibc 2.34 and so didn't have any problem running mocp. After updating my system, I got the same crash message.

@DiamondSlug, thanks for finding the bug report, the workaround works and I've applied it now in the latest release.

DiamondSlug commented on 2022-05-01 03:32 (UTC)

nvm there is a patch for it. check https://bugs.archlinux.org/task/74041

DiamondSlug commented on 2022-05-01 03:02 (UTC)

@hv15 I tried the new version and it compiles successfully. However, it has the same issue as @sekret's, that when you launch mocp it crashes with buffer overflow. If I install moc from the official repo I got this overflow abort as well. Could it be that moc from the official repo crashes because it does not support pulse, which means that our new version of moc-pulse failed to have a proper pulse support just like moc from the official repo?

sekret commented on 2022-04-30 19:37 (UTC) (edited on 2022-04-30 19:39 (UTC) by sekret)

moc-pulse-2.5.2-7-x86_64-prepare.log https://cryptpad.fr/code/#/2/code/view/RLVW6cNrh+fkb6QIZr9UOpazgh2CHasqiJnraEwuiT8

moc-pulse-2.5.2-7-x86_64-build.log https://cryptpad.fr/code/#/2/code/view/BMFPd8bMujQ3kxTXnLHyK8NeH55bfrQ2FzjYlANw5DA

moc-pulse-2.5.2-7-x86_64-package.log https://cryptpad.fr/code/#/2/code/view/HQuF1kho43VR-mHwPT1nJV00GvaZeGgJXKn45PueT1c

moc-pulse-2.5.2-7-x86_64.pkg.tar.zst-namcap.log https://cryptpad.fr/code/#/2/code/view/P0BUA-gO6Oq8DOWT4LapY4McoKWBfcLt+dqm4bKPVWg

Built in a clean chroot. Then after installing the package and launching mocp (which I stopped before I updated it) leads to the core dump.

hv15 commented on 2022-04-30 18:45 (UTC)

@sekret, oh that isn't good. Either the C compiler or libc crashed... could you provide more details include a full log of the compilation up to that point.

sekret commented on 2022-04-30 18:43 (UTC) (edited on 2022-04-30 19:17 (UTC) by sekret)

I rebuilt the package according to the changes, but I get this message when I try to launch mocp:

*** buffer overflow detected ***: terminated Aborted (core dumped)

Downgrading to the already built pkgrel=6 helps, that one still works.