Skip to contentSkip to conversation

v4l-utils fails to build against musl libc (with patch)

DISCUSSION [email protected] 2 participants 3 messages Mar 7, 2018 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hey all,

v4l-utils currently fails to build against musl libc, since musl, and POSIX, both do not define TEMP_FAILURE_RETRY() or strndupa().

This can be fixed with a small patch from https://git.alpinelinux.org/c
git/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile. patch.

Please email me back with any questions or concerns about the patch or musl.

Thanks,
Bjorn Pagen

#1 lore raw

Here's the link again and it's tinyurl, since the link seems to be borked because of line wraparounds:

https://git.alpinelinux.org/cgit/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile.patch
https://tinyurl.com/y7gr6eju

Quoted 14 lines · On Wed, Mar 7, 2018 at 12:11 PM, <[email protected]> wrote:

Hey all,

v4l-utils currently fails to build against musl libc, since musl, and POSIX, both do not define TEMP_FAILURE_RETRY() or strndupa().

This can be fixed with a small patch from https://git.alpinelinux.org/c
git/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile. patch.

Please email me back with any questions or concerns about the patch or musl.

Thanks,
Bjorn Pagen

Signature · 1 line
Bjorn Pagen
#2 lore raw

Hi Bjorn,

Quoted 5 lines · Bjorn Pagen

Here's the link again and it's tinyurl, since the link seems to be borked because of line wraparounds:

https://git.alpinelinux.org/cgit/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile.patch
https://tinyurl.com/y7gr6eju

Peter Seiderer posted a fix for that to the list a few days ago.

https://www.mail-archive.com/[email protected]/msg127134.html

baruch

Quoted 15 lines · On Wed, Mar 7, 2018 at 12:11 PM, <[email protected]> wrote:
Quoted 14 lines

Hey all,

v4l-utils currently fails to build against musl libc, since musl, and POSIX, both do not define TEMP_FAILURE_RETRY() or strndupa().

This can be fixed with a small patch from https://git.alpinelinux.org/c
git/aports/tree/community/v4l-utils/0001-ir-ctl-fixes-for-musl-compile. patch.

Please email me back with any questions or concerns about the patch or musl.

Thanks,
Bjorn Pagen

Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -