* Re: 01/01: gnu: vlc: Update to 2.2.0 [not found] ` <E1YSmvg-0002aH-2l@vcs.savannah.gnu.org> @ 2015-03-06 20:31 ` Andreas Enge 2015-03-06 22:34 ` Axel 2015-03-10 16:28 ` Ludovic Courtès 0 siblings, 2 replies; 11+ messages in thread From: Andreas Enge @ 2015-03-06 20:31 UTC (permalink / raw) To: guix-devel Hello, On Tue, Mar 03, 2015 at 01:32:08PM +0000, Jason Self wrote: > gnu: vlc: Update to 2.2.0 compilation on x86_64 fails for me with the following error message: access/dtv/linux.c: In function ‘dvb_set_dvbs2’: access/dtv/linux.c:906:27: error: ‘DTV_STREAM_ID’ undeclared (first use in this function) DTV_STREAM_ID, (uint32_t)sid); ^ access/dtv/linux.c:906:27: note: each undeclared identifier is reported only once for each function it appears in Is it only my system or a more general phenomenon? Andreas ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-06 20:31 ` 01/01: gnu: vlc: Update to 2.2.0 Andreas Enge @ 2015-03-06 22:34 ` Axel 2015-03-12 20:45 ` Andreas Enge 2015-03-10 16:28 ` Ludovic Courtès 1 sibling, 1 reply; 11+ messages in thread From: Axel @ 2015-03-06 22:34 UTC (permalink / raw) To: Andreas Enge; +Cc: guix-devel I got same error on upgrade on x86_64. 2015-03-06 23:31 GMT+03:00 Andreas Enge <andreas@enge.fr>: > Hello, > > On Tue, Mar 03, 2015 at 01:32:08PM +0000, Jason Self wrote: >> gnu: vlc: Update to 2.2.0 > > compilation on x86_64 fails for me with the following error message: > > access/dtv/linux.c: In function ‘dvb_set_dvbs2’: > access/dtv/linux.c:906:27: error: ‘DTV_STREAM_ID’ undeclared (first use in this function) > DTV_STREAM_ID, (uint32_t)sid); > ^ > access/dtv/linux.c:906:27: note: each undeclared identifier is reported only once for each function it appears in > > Is it only my system or a more general phenomenon? > > Andreas > > -- Александр Графов ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-06 22:34 ` Axel @ 2015-03-12 20:45 ` Andreas Enge 2015-03-12 23:13 ` Mark H Weaver 0 siblings, 1 reply; 11+ messages in thread From: Andreas Enge @ 2015-03-12 20:45 UTC (permalink / raw) To: Axel; +Cc: guix-devel Hello, I have investigated a bit more why the vlc-2.2.0 build fails. I think it is due to /* DVB Card Drivers */ #include <linux/dvb/version.h> #include <linux/dvb/dmx.h> #include <linux/dvb/frontend.h> in modules/access/dvb/linux_dvb.c. The include files come from linux-libre-headers, which we have in version 3.3.8. Could this be updated? In master or core-updates? Andreas ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-12 20:45 ` Andreas Enge @ 2015-03-12 23:13 ` Mark H Weaver 2015-03-14 13:43 ` Ludovic Courtès 0 siblings, 1 reply; 11+ messages in thread From: Mark H Weaver @ 2015-03-12 23:13 UTC (permalink / raw) To: Andreas Enge; +Cc: guix-devel Andreas Enge <andreas@enge.fr> writes: > I have investigated a bit more why the vlc-2.2.0 build fails. I think it is > due to > /* DVB Card Drivers */ > #include <linux/dvb/version.h> > #include <linux/dvb/dmx.h> > #include <linux/dvb/frontend.h> > in modules/access/dvb/linux_dvb.c. > > The include files come from linux-libre-headers, which we have in > version 3.3.8. Could this be updated? In master or core-updates? It would trigger a full rebuild, so it would have to be done in core-updates. Mark ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-12 23:13 ` Mark H Weaver @ 2015-03-14 13:43 ` Ludovic Courtès 2015-03-14 16:47 ` Jason Self 0 siblings, 1 reply; 11+ messages in thread From: Ludovic Courtès @ 2015-03-14 13:43 UTC (permalink / raw) To: Mark H Weaver; +Cc: guix-devel Mark H Weaver <mhw@netris.org> skribis: > Andreas Enge <andreas@enge.fr> writes: > >> I have investigated a bit more why the vlc-2.2.0 build fails. I think it is >> due to >> /* DVB Card Drivers */ >> #include <linux/dvb/version.h> >> #include <linux/dvb/dmx.h> >> #include <linux/dvb/frontend.h> >> in modules/access/dvb/linux_dvb.c. >> >> The include files come from linux-libre-headers, which we have in >> version 3.3.8. Could this be updated? In master or core-updates? > > It would trigger a full rebuild, so it would have to be done in > core-updates. Right. The version has to be chosen carefully (should be a LTS version and one that is likely to remain on fsfla.org and/or that we mirror on alpha.gnu.org), plus we don’t want glibc’s requirement to be too high so people can use Guix on GNU/Linux with relatively old kernels. Thanks, Ludo’. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-14 13:43 ` Ludovic Courtès @ 2015-03-14 16:47 ` Jason Self 2015-03-14 21:56 ` Andreas Enge 2015-03-15 13:41 ` Ludovic Courtès 0 siblings, 2 replies; 11+ messages in thread From: Jason Self @ 2015-03-14 16:47 UTC (permalink / raw) To: guix-devel [-- Attachment #1: Type: text/plain, Size: 1170 bytes --] Ludovic Courtès said; > Right. The version has to be chosen carefully (should be a LTS > version and one that is likely to remain on fsfla.org and/or that we > mirror on alpha.gnu.org), plus we don’t want glibc’s requirement to > be too high so people can use Guix on GNU/Linux with relatively old > kernels. If using an LTS version is desired, support for the 3.3 series ended almost three years ago. The 3.4 series is supported until September 2016. I seem to recall a discussion about a separation of roles though where, even though there may be some overlap, the intent of GSRC was to be something people installed on an existing distro and that the intent of Guix was to be completely independent and standalone. Given that, how much effort do we want to put in to maintaining that overlap? Anyway, Debian seems sufficently slow moving to me and so I looked at that to get an idea of what might be acceptable. They have 3.5 in Wheezy and are jumping to 3.16 for Jessie which I understand is due soon? Given that, what about using 3.14? It is much newer and supported until August 2016 [0]. [0] https://kernel.org/category/releases.html [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 836 bytes --] ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-14 16:47 ` Jason Self @ 2015-03-14 21:56 ` Andreas Enge 2015-03-15 13:41 ` Ludovic Courtès 1 sibling, 0 replies; 11+ messages in thread From: Andreas Enge @ 2015-03-14 21:56 UTC (permalink / raw) To: Jason Self; +Cc: guix-devel On Sat, Mar 14, 2015 at 09:47:04AM -0700, Jason Self wrote: > Anyway, Debian seems sufficently slow moving to me and so I > looked at that to get an idea of what might be acceptable. They have > 3.5 in Wheezy and are jumping to 3.16 for Jessie which I understand is > due soon? Given that, what about using 3.14? It is much newer and > supported until August 2016 [0]. That sounds like a good plan to me. Would you like to implement it? Andreas ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-14 16:47 ` Jason Self 2015-03-14 21:56 ` Andreas Enge @ 2015-03-15 13:41 ` Ludovic Courtès 2015-03-15 16:30 ` Mark H Weaver 1 sibling, 1 reply; 11+ messages in thread From: Ludovic Courtès @ 2015-03-15 13:41 UTC (permalink / raw) To: Jason Self; +Cc: guix-devel "Jason Self" <jason@bluehome.net> skribis: > Ludovic Courtès said; >> Right. The version has to be chosen carefully (should be a LTS >> version and one that is likely to remain on fsfla.org and/or that we >> mirror on alpha.gnu.org), plus we don’t want glibc’s requirement to >> be too high so people can use Guix on GNU/Linux with relatively old >> kernels. > > If using an LTS version is desired, support for the 3.3 series ended > almost three years ago. The 3.4 series is supported until September > 2016. I seem to recall a discussion about a separation of roles though > where, even though there may be some overlap, the intent of GSRC was > to be something people installed on an existing distro and that the > intent of Guix was to be completely independent and standalone. Given > that, how much effort do we want to put in to maintaining that > overlap? I think we want to Guix to be usable on distros other than GuixSD for the foreseeable future. It doesn’t cost us much in terms of maintenance, and it’s definitely helpful for those not willing/able to switch to GuixSD. I don’t this there’s much overlap with GSRC here anyway. > Anyway, Debian seems sufficently slow moving to me and so I looked at > that to get an idea of what might be acceptable. They have 3.5 in > Wheezy and are jumping to 3.16 for Jessie which I understand is due > soon? Given that, what about using 3.14? It is much newer and > supported until August 2016 [0]. The real problem is that our libc must be able to work kernels typically found out there in the wild, which may be older than this. Thus, 3.14 may be a bit too recent. Now, I think libc’s --enable-kernel can specify a baseline older than the available kernel headers. So it may be that we can use 3.14 headers but build a libc that assumes a kernel possibly as old as 3.4. Then again, one should look at kernel-features.h to see what features we miss out by using, say, 3.4 instead of 3.14 (I expect there are few.) Would you like to look at these aspects more closely? Thanks, Ludo’. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-15 13:41 ` Ludovic Courtès @ 2015-03-15 16:30 ` Mark H Weaver 2015-03-16 8:50 ` Ludovic Courtès 0 siblings, 1 reply; 11+ messages in thread From: Mark H Weaver @ 2015-03-15 16:30 UTC (permalink / raw) To: Ludovic Courtès; +Cc: guix-devel ludo@gnu.org (Ludovic Courtès) writes: > "Jason Self" <jason@bluehome.net> skribis: > >> Anyway, Debian seems sufficently slow moving to me and so I looked at >> that to get an idea of what might be acceptable. They have 3.5 in >> Wheezy and are jumping to 3.16 for Jessie which I understand is due >> soon? Given that, what about using 3.14? It is much newer and >> supported until August 2016 [0]. > > The real problem is that our libc must be able to work kernels typically > found out there in the wild, which may be older than this. Thus, 3.14 > may be a bit too recent. Note that currently, we configure GNU libc with --enable-kernel=2.6.32 with headers from linux-libre-3.3.8. If it's incorrect to use headers from a kernel newer than the oldest kernel we wish to support, then we're already doing it wrong. > Now, I think libc’s --enable-kernel can specify a baseline older than > the available kernel headers. So it may be that we can use 3.14 headers > but build a libc that assumes a kernel possibly as old as 3.4. One data point: we're running Guix and also Nginx compiled with Guix on Hydra which runs a 2.6.x kernel, and it seems to work. Another data point: [GNU/]Linux From Scratch uses headers from Linux 3.19 and configures GNU libc with --enable-kernel=2.6.32. As I recall they've been doing this for years, always using headers from the most recent kernel but configuring libc to support older kernels. and another: Debian currently builds their libc against headers from Linux 3.12.6 and with --enable-kernel=2.6.32. In summary, I think using headers from 3.14 would be fine. Mark ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-15 16:30 ` Mark H Weaver @ 2015-03-16 8:50 ` Ludovic Courtès 0 siblings, 0 replies; 11+ messages in thread From: Ludovic Courtès @ 2015-03-16 8:50 UTC (permalink / raw) To: Mark H Weaver; +Cc: guix-devel Mark H Weaver <mhw@netris.org> skribis: > ludo@gnu.org (Ludovic Courtès) writes: [...] >> Now, I think libc’s --enable-kernel can specify a baseline older than >> the available kernel headers. So it may be that we can use 3.14 headers >> but build a libc that assumes a kernel possibly as old as 3.4. > > One data point: we're running Guix and also Nginx compiled with Guix on > Hydra which runs a 2.6.x kernel, and it seems to work. > > Another data point: [GNU/]Linux From Scratch uses headers from Linux > 3.19 and configures GNU libc with --enable-kernel=2.6.32. As I recall > they've been doing this for years, always using headers from the most > recent kernel but configuring libc to support older kernels. > > and another: Debian currently builds their libc against headers from > Linux 3.12.6 and with --enable-kernel=2.6.32. > > In summary, I think using headers from 3.14 would be fine. Indeed, so let’s do that. Thanks for the analysis and confirmation! Ludo’. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: 01/01: gnu: vlc: Update to 2.2.0 2015-03-06 20:31 ` 01/01: gnu: vlc: Update to 2.2.0 Andreas Enge 2015-03-06 22:34 ` Axel @ 2015-03-10 16:28 ` Ludovic Courtès 1 sibling, 0 replies; 11+ messages in thread From: Ludovic Courtès @ 2015-03-10 16:28 UTC (permalink / raw) To: Jason Self; +Cc: guix-devel Andreas Enge <andreas@enge.fr> skribis: > On Tue, Mar 03, 2015 at 01:32:08PM +0000, Jason Self wrote: >> gnu: vlc: Update to 2.2.0 > > compilation on x86_64 fails for me with the following error message: > > access/dtv/linux.c: In function ‘dvb_set_dvbs2’: > access/dtv/linux.c:906:27: error: ‘DTV_STREAM_ID’ undeclared (first use in this function) > DTV_STREAM_ID, (uint32_t)sid); > ^ > access/dtv/linux.c:906:27: note: each undeclared identifier is reported only once for each function it appears in Jason, could you take a look? I’ve reverted the upgrade in the meantime. Apparently this version has always failed to build: <http://hydra.gnu.org/job/gnu/master/vlc-2.2.0.x86_64-linux/all>. Thanks, Ludo’. ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2015-03-16 8:50 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <20150303133207.9875.94018@vcs.savannah.gnu.org> [not found] ` <E1YSmvg-0002aH-2l@vcs.savannah.gnu.org> 2015-03-06 20:31 ` 01/01: gnu: vlc: Update to 2.2.0 Andreas Enge 2015-03-06 22:34 ` Axel 2015-03-12 20:45 ` Andreas Enge 2015-03-12 23:13 ` Mark H Weaver 2015-03-14 13:43 ` Ludovic Courtès 2015-03-14 16:47 ` Jason Self 2015-03-14 21:56 ` Andreas Enge 2015-03-15 13:41 ` Ludovic Courtès 2015-03-15 16:30 ` Mark H Weaver 2015-03-16 8:50 ` Ludovic Courtès 2015-03-10 16:28 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/guix.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).