Summary: | media-video/mjpg-streamer-0_pre20120621-r1 : /.../statx.h:25:8: error: redefinition of struct statx_timestamp | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | ChaosEngine <andrzej.pauli> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | proxy-maint, scott |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 media-video:mjpg-streamer-0_pre20120621-r1:20181023-164312.log temp.tbz2 patch out redundant include that breaks ebuild user patch fix for EAPI <6 |
Description
Toralf Förster
2018-10-23 19:06:32 UTC
Created attachment 552580 [details]
emerge-info.txt
Created attachment 552582 [details]
emerge-history.txt
Created attachment 552584 [details]
environment
Created attachment 552586 [details]
etc.portage.tbz2
Created attachment 552588 [details]
media-video:mjpg-streamer-0_pre20120621-r1:20181023-164312.log
Created attachment 552590 [details]
temp.tbz2
Created attachment 568094 [details, diff]
patch out redundant include that breaks ebuild
statx (and some related structs) are defined in two places. Only one should be #included. This patch fixes that; store it in /etc/portage/patches/media-video/mjpg-streamer-0_pre20120621-r1/.
Created attachment 568096 [details] user patch fix for EAPI <6 https://wiki.gentoo.org/wiki//etc/portage/patches#Enabling_.2Fetc.2Fportage.2Fpatches_for_all_ebuilds User patches are ordinarily only applied on EAPI 6, or on EAPI 5 under some conditions. This ebuild uses EAPI 4. Drop this into /etc/portage/ so that user patches are applied to all ebuilds. (In reply to Scott Alfter from comment #8) > Created attachment 568096 [details] > user patch fix for EAPI <6 > > https://wiki.gentoo.org/wiki//etc/portage/patches#Enabling_.2Fetc.2Fportage. > 2Fpatches_for_all_ebuilds > > User patches are ordinarily only applied on EAPI 6, or on EAPI 5 under some > conditions. This ebuild uses EAPI 4. Drop this into /etc/portage/ so that > user patches are applied to all ebuilds. ?? It uses EAPI=7 ...as seen here: https://github.com/gentoo/gentoo/blob/master/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild#L4 The comment was from 2019 ;) (In reply to Scott Alfter from comment #7) > Created attachment 568094 [details, diff] [details, diff] > patch out redundant include that breaks ebuild > > statx (and some related structs) are defined in two places. Only one should > be #included. This patch fixes that; store it in > /etc/portage/patches/media-video/mjpg-streamer-0_pre20120621-r1/. Is this still valid for newer ebuild ( https://github.com/gentoo/gentoo/blob/master/media-video/mjpg-streamer/mjpg-streamer-0_pre20200524-r1.ebuild) ? |