Re: [blfs-dev] Question reguarding xorg rebuild due to latest changes

2016-10-05 Thread Ken Moffat
On Wed, Oct 05, 2016 at 07:48:35PM +0100, Ken Moffat wrote:
> I've now finished my desktop rebuilds (back to 7.6).  For _my_
> BLFS-7.8 and 7.9 the versions of all the affected libs had the same
> major and minor, so I just dropped those in and restarted X.
> 
> For everything else I did a more-or-less full rebuild (including
> freetype, fontconfig, llvm, mesa) without fonts.  Took me a while to
> rework my 'upgrade' script last used for the 2013 vulnerabilities,
> and at first I missed that mtdev had come in as a dep for evdev.
> 
> The older systems were mostly running gcc-4.9, which I already know
> to be problematic.  I had some issues, including :
> 
> elfutils - BPF variables not defined, probably because the system
> used 3.19 kernel headers.
> 

Forgot to be clear - elfutils was already installed, so I didn't try
to (re)build it after discovering the current version would not
build on the old systems.

And "I already know to be problematic" means "cannot build recent
firefox" (I moved to seamonkey on those).

But any hope of keeping a desktop usable for 3 years with only
vulnerability fixes has long since gone (glibc vulnerabilities took
out a few).  For the future, I'll probably keep old systems on my i3
for as long as they are maintainable, but on the other desktops
anything older than our last release will probably not be maintained
unless it is the newest or next-to-newest system on that machine.

In theory, it is probably possible to *mostly* rebuild those old Xorg
systems with the original versions, but that is an untried path -
updating the whole stack to what was in 7.10 plus the fixed versions
is likely to be easier and quicker, despite the issues I encountered.

Isn't it fun maintaining your own systems when there is a new
vulnerability ?

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.' -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Question reguarding xorg rebuild due to latest changes

2016-10-05 Thread Tim Tassonis

Hi

On 10/05/2016 10:58 PM, akhiezer wrote:

Since building all the libraries is only 2 SBU, there is not much
advantage to a selective rebuild.



No, sorry, that's not what I meant. I meant, if you have an LFS  7.6
installation whith all stuff on the versions in that book, then an Xorg
Libraries upgrade to the versions in blfs current will break some stuff,
for instance the xorg-server. My question was only if any bodyknows by
chance all the exact stuff that breaks.
Just to cut my rebuild time. But I thinks it's maybe more than just xorg,
the problem is one library that has a new soname, libXRand, I believe.




IIUIC: why not just run a script to see what's linked against the libs
in question - find ... readelf/ldd ... grep ... - usual stuff.


Bacause I wondered if anybody maybe already has done that and knows what 
needs rebuild. Shortcut, as I said. It was only a question and not a 
request that somebody starts finding out stuff for me.


Sorry for the noise

Bye
Tim


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


Re: [blfs-dev] Question reguarding xorg rebuild due to latest changes

2016-10-05 Thread akhiezer
> From blfs-dev-boun...@lists.linuxfromscratch.org Wed Oct  5 20:03:09 2016
> From: Tim Tassonis <st...@decentral.ch>
> To: BLFS Development List <blfs-dev@lists.linuxfromscratch.org>,
> Bruce Dubbs <bruce.du...@gmail.com>
> Date: Wed, 05 Oct 2016 21:07:45 +0200
> Subject: Re: [blfs-dev] Question reguarding xorg rebuild due to latest
>   changes
>
> >> I've just rebuilt Xorg Libraries on my new (7.9) LFS based systems and all
> >> worked well.
> >>
> >> I also tried to be clever, ignored the BLFS ticket's note that older
> >> system need a full rebuild, ended up with a broken X installation and had
> >> to go back to the old version.
> >>
> >> Just if anybody knows: Does _ALL_ from Xorg after Xorg Libraries have to
> >> be rebuild, or is there a known shortcut?
> >
> > I'm not sure what you are asking.  If you want to only rebuild a selected
> > set of xorg libraries, you cna jsut use a custom lib-7.7.md5 file with
> > only the files you want to build.
> >
> > Since building all the libraries is only 2 SBU, there is not much
> > advantage to a selective rebuild.
>
>
> No, sorry, that's not what I meant. I meant, if you have an LFS  7.6 
> installation whith all stuff on the versions in that book, then an Xorg 
> Libraries upgrade to the versions in blfs current will break some stuff, 
> for instance the xorg-server. My question was only if any bodyknows by 
> chance all the exact stuff that breaks.
> Just to cut my rebuild time. But I thinks it's maybe more than just xorg, 
> the problem is one library that has a new soname, libXRand, I believe.
>


IIUIC: why not just run a script to see what's linked against the libs
in question - find ... readelf/ldd ... grep ... - usual stuff.


If that's still not addressing what you mean, then perhaps describe
more simply, procedurally, in the proverbial 'words of one syllalble',
what it is that you are wanting to do; your two outlines above, kindof
pre-filter/re-shape a bit too much, what the core basic infos are.



hth,
akh





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


Re: [blfs-dev] Question reguarding xorg rebuild due to latest changes

2016-10-05 Thread Tim Tassonis

Hi Bruce

On October 5, 2016 8:55:06 PM Bruce Dubbs  wrote:


Tim Tassonis wrote:

Hi all

I've just rebuilt Xorg Libraries on my new (7.9) LFS based systems and all
worked well.

I also tried to be clever, ignored the BLFS ticket's note that older
system need a full rebuild, ended up with a broken X installation and had
to go back to the old version.

Just if anybody knows: Does _ALL_ from Xorg after Xorg Libraries have to
be rebuild, or is there a known shortcut?


I'm not sure what you are asking.  If you want to only rebuild a selected
set of xorg libraries, you cna jsut use a custom lib-7.7.md5 file with
only the files you want to build.

Since building all the libraries is only 2 SBU, there is not much
advantage to a selective rebuild.



No, sorry, that's not what I meant. I meant, if you have an LFS  7.6 
installation whith all stuff on the versions in that book, then an Xorg 
Libraries upgrade to the versions in blfs current will break some stuff, 
for instance the xorg-server. My question was only if any bodyknows by 
chance all the exact stuff that breaks.
Just to cut my rebuild time. But I thinks it's maybe more than just xorg, 
the problem is one library that has a new soname, libXRand, I believe.


Cheers
Tim




   -- Bruce

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



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


Re: [blfs-dev] Question reguarding xorg rebuild due to latest changes

2016-10-05 Thread Ken Moffat
On Wed, Oct 05, 2016 at 08:04:42PM +0200, Tim Tassonis wrote:
> Hi all
> 
> I've just rebuilt Xorg Libraries on my new (7.9) LFS based systems and all
> worked well.
> 
> I also tried to be clever, ignored the BLFS ticket's note that older system
> need a full rebuild, ended up with a broken X installation and had to go
> back to the old version.
> 
> Just if anybody knows: Does _ALL_ from Xorg after Xorg Libraries have to be
> rebuild, or is there a known shortcut?
> 
> 
> Cheers
> Tim
> 
I've now finished my desktop rebuilds (back to 7.6).  For _my_
BLFS-7.8 and 7.9 the versions of all the affected libs had the same
major and minor, so I just dropped those in and restarted X.

For everything else I did a more-or-less full rebuild (including
freetype, fontconfig, llvm, mesa) without fonts.  Took me a while to
rework my 'upgrade' script last used for the 2013 vulnerabilities,
and at first I missed that mtdev had come in as a dep for evdev.

The older systems were mostly running gcc-4.9, which I already know
to be problematic.  I had some issues, including :

elfutils - BPF variables not defined, probably because the system
used 3.19 kernel headers.

mesa - nouveau warnings treated as errors.  I don't have any nv
video chips so I disabled it, but that was hard (once again, mesa
doesn't like a quote character in front of the first dri driver.
So my mesa script how has -

GALLIUMDRVS="r300,r600,radeonsi,svga,swrast,swr"
DRIDRVS="--with-dri-drivers=i915,i965,r200,radeon,swrast"

./autogen.sh CFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS"   \
--prefix=/usr   \
--sysconfdir=/etc   \
--enable-texture-float  \
--enable-gles1  \
--enable-gles2  \
--enable-osmesa \
--enable-xa \
--enable-gbm\
--enable-glx-tls\
$DRIDRVS \
--with-egl-platforms="$EGLPLATFORMS" \
--with-gallium-drivers="$GALLIUMDRVS"

And in 7.6 I couldn't build current libarchive (I did rebuild cmake,
assuming the current version might be needed for llvm) so I punted
on that.

Sorry this is isn't the shortcut you hoped for, but Xorg on each
system does still work (although my *large* before/after logs blew
out /home on one machine - I only noticed when I could no longer
login with sddm).

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.' -- Small Gods
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Question reguarding xorg rebuild due to latest changes

2016-10-05 Thread Bruce Dubbs

Tim Tassonis wrote:

Hi all

I've just rebuilt Xorg Libraries on my new (7.9) LFS based systems and all
worked well.

I also tried to be clever, ignored the BLFS ticket's note that older
system need a full rebuild, ended up with a broken X installation and had
to go back to the old version.

Just if anybody knows: Does _ALL_ from Xorg after Xorg Libraries have to
be rebuild, or is there a known shortcut?


I'm not sure what you are asking.  If you want to only rebuild a selected 
set of xorg libraries, you cna jsut use a custom lib-7.7.md5 file with 
only the files you want to build.


Since building all the libraries is only 2 SBU, there is not much 
advantage to a selective rebuild.


  -- Bruce

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


[blfs-dev] Question reguarding xorg rebuild due to latest changes

2016-10-05 Thread Tim Tassonis

Hi all

I've just rebuilt Xorg Libraries on my new (7.9) LFS based systems and 
all worked well.


I also tried to be clever, ignored the BLFS ticket's note that older 
system need a full rebuild, ended up with a broken X installation and 
had to go back to the old version.


Just if anybody knows: Does _ALL_ from Xorg after Xorg Libraries have to 
be rebuild, or is there a known shortcut?



Cheers
Tim

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