Re: [blfs-support] glibc-2.27 and pulseaudio

2018-02-11 Thread Pierre Labastie

On 10/02/2018 07:47, Ken Moffat wrote:

On Fri, Feb 09, 2018 at 11:17:59PM -0600, Bruce Dubbs wrote:

Ken Moffat wrote:

On Fri, Feb 09, 2018 at 08:52:26PM -0600, Bruce Dubbs wrote:


I thought I fixed that, but upon research, it never made it into the book.

http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-February/033951.html

Short answer:

sed -i '/int memfd_create/,+2 d' src/pulsecore/memfd-wrappers.h


-- Bruce

Does that not break the build for anyone who started their LFS build
just before 2.27 went into LFS ?  If so, are you saying that
BLFS-svn is only for people using *current* LFS ?


BLFS-svn should reflect LFS-svn, no?

   -- Bruce


It's nice not to break things for people who maybe have slower
machines and do other things apart from building LFS/BLFS.

In the past I have said that anybody who cares about security ought
to at least look at the changes in BLFS-svn, and for some of them
Douglas or I have flagged them as security fixes (for other package
releases the security aspect only comes to light later).

Saying that everybody should use a version of the book at a
particular point in time allows vulnerabilities to spread.  Saying
that people should update both LFS and BLFS to the current versions
increases their workload and reduces the audience.  And for a glibc
minor version increase the LFS approach is to make a completely new
system.

There is enough churn of package versions without deliberately
making things harder for everyone.




Looks like this has not be settled. Will create a ticket, since this 
seems to have been forgotten. I tend to agree with Ken, but we are so 
close to 8.2 that breaking compatibility with 8.1 might not matter so much.


Pierre


--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] glibc-2.27 and pulseaudio

2018-02-09 Thread Ken Moffat
On Fri, Feb 09, 2018 at 11:17:59PM -0600, Bruce Dubbs wrote:
> Ken Moffat wrote:
> > On Fri, Feb 09, 2018 at 08:52:26PM -0600, Bruce Dubbs wrote:
> > > 
> > > I thought I fixed that, but upon research, it never made it into the book.
> > > 
> > > http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-February/033951.html
> > > 
> > > Short answer:
> > > 
> > > sed -i '/int memfd_create/,+2 d' src/pulsecore/memfd-wrappers.h
> > > 
> > > 
> > >-- Bruce
> > Does that not break the build for anyone who started their LFS build
> > just before 2.27 went into LFS ?  If so, are you saying that
> > BLFS-svn is only for people using *current* LFS ?
> 
> BLFS-svn should reflect LFS-svn, no?
> 
>   -- Bruce

It's nice not to break things for people who maybe have slower
machines and do other things apart from building LFS/BLFS.

In the past I have said that anybody who cares about security ought
to at least look at the changes in BLFS-svn, and for some of them
Douglas or I have flagged them as security fixes (for other package
releases the security aspect only comes to light later).

Saying that everybody should use a version of the book at a
particular point in time allows vulnerabilities to spread.  Saying
that people should update both LFS and BLFS to the current versions
increases their workload and reduces the audience.  And for a glibc
minor version increase the LFS approach is to make a completely new
system.

There is enough churn of package versions without deliberately
making things harder for everyone.

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
 - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] glibc-2.27 and pulseaudio

2018-02-09 Thread Bruce Dubbs

Ken Moffat wrote:

On Fri, Feb 09, 2018 at 08:52:26PM -0600, Bruce Dubbs wrote:


I thought I fixed that, but upon research, it never made it into the book.

http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-February/033951.html

Short answer:

sed -i '/int memfd_create/,+2 d' src/pulsecore/memfd-wrappers.h


   -- Bruce

Does that not break the build for anyone who started their LFS build
just before 2.27 went into LFS ?  If so, are you saying that
BLFS-svn is only for people using *current* LFS ?


BLFS-svn should reflect LFS-svn, no?

  -- Bruce

--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] glibc-2.27 and pulseaudio

2018-02-09 Thread Ken Moffat
On Fri, Feb 09, 2018 at 08:52:26PM -0600, Bruce Dubbs wrote:
> 
> I thought I fixed that, but upon research, it never made it into the book.
> 
> http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-February/033951.html
> 
> Short answer:
> 
> sed -i '/int memfd_create/,+2 d' src/pulsecore/memfd-wrappers.h
> 
> 
>   -- Bruce
Does that not break the build for anyone who started their LFS build
just before 2.27 went into LFS ?  If so, are you saying that
BLFS-svn is only for people using *current* LFS ?

ĸen
-- 
Truth, in front of her huge walk-in wardrobe, selected black leather
boots with stiletto heels for such a barefaced truth.
 - Unseen Academicals
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] glibc-2.27 and pulseaudio

2018-02-09 Thread Bruce Dubbs

Ken Moffat wrote:

Pulseaudio provides an implementation of memfd_create which
conflicts with the one memfd_wrappers.h :

In file included from pulsecore/shm.c:48:0:
./pulsecore/memfd-wrappers.h:36:19: error: static declaration of 'memfd_create' 
follows non-static declaration
  static inline int memfd_create(const char *name, unsigned int flags) {
^~~~
In file included from /usr/include/bits/mman-linux.h:115:0,
  from /usr/include/bits/mman.h:45,
  from /usr/include/sys/mman.h:41,
  from pulsecore/shm.c:37:
/usr/include/bits/mman-shared.h:46:5: note: previous declaration of 
'memfd_create' was here
  int memfd_create (const char *__name, unsigned int __flags) __THROW;
  ^~~~

https://bugs.freedesktop.org/show_bug.cgi?id=104733

with patch
https://bugs.freedesktop.org/attachment.cgi?id=136927
(attached)

Since we claim to support older versions of
LFS (and 2.27 is a very recent change) I think we'd better use the
upstream patch - builds with autoreconf -fiv && intoolize -f.

This was only suppsoed to be a dry run to find the bugs in my own
buildscript changes.  Aren't toolchain changes a pleasure.


I thought I fixed that, but upon research, it never made it into the book.

http://lists.linuxfromscratch.org/pipermail/blfs-dev/2018-February/033951.html

Short answer:

sed -i '/int memfd_create/,+2 d' src/pulsecore/memfd-wrappers.h


  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page