Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574216 - media-video/vlc fails to build on uclibc due to missing spawn.h
Summary: media-video/vlc fails to build on uclibc due to missing spawn.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: uclibc-porting
  Show dependency tree
 
Reported: 2016-02-08 20:39 UTC by tt_1
Modified: 2018-06-17 18:08 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to add spawn.h (0001-librt-add-posix_spawn-support.patch,25.10 KB, patch)
2016-02-08 20:40 UTC, tt_1
Details | Diff
patch to make spawn.h more compatible to glibc (0002-spawn-use-glibc-style-to-keep-differences-down.patch,11.27 KB, patch)
2016-02-08 20:43 UTC, tt_1
Details | Diff
patchset for vlc-2.2.8-r1 (vlc-patchset.tar.gz,1.94 KB, application/octet-stream)
2018-06-17 18:08 UTC, tt_1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tt_1 2016-02-08 20:39:23 UTC
I ran into this problem recently. Uclibc does not have spawn.h anywhere but in the live ebuild, so maybe someone could add the two patches into the patches tarball? Well, if they are appropriate.
Comment 1 tt_1 2016-02-08 20:40:03 UTC
Created attachment 425002 [details, diff]
patch to add spawn.h
Comment 2 tt_1 2016-02-08 20:43:20 UTC
Created attachment 425004 [details, diff]
patch to make spawn.h more compatible to glibc

Not really sure about this one, just take it into consideration if you find it usefull. I found them on the uclibc mailing list if I remember correctly.
Comment 3 Nick Andrade 2016-02-09 21:45:50 UTC
These patches actually appear to be on the uClibc side, not the VLC side.  This ticket should probably be assigned to those maintainers.  

I'm happy to also research a fix on the VLC side.
Comment 4 Andreas Sturmlechner gentoo-dev 2017-12-25 18:09:19 UTC
Is this still a thing @hardened?
Comment 5 Magnus Granberg gentoo-dev 2017-12-25 21:50:01 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Is this still a thing @hardened?

Is not a hardened thing is uclibc thing
Comment 6 tt_1 2018-06-17 18:05:42 UTC
this got fixed on the vlc side in the meantime, closing.
Comment 7 tt_1 2018-06-17 18:08:31 UTC
Created attachment 536124 [details]
patchset for vlc-2.2.8-r1

see https://git.busybox.net/buildroot/tree/package/vlc for more informations