LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-22-2021, 04:17 PM   #1
slac
Member
 
Registered: May 2019
Posts: 265

Rep: Reputation: Disabled
Thumbs up glibc-2.32 mass rebuild


Bandwidth.

In ChangeLog.txt:

Code:
Fri Jan 22 19:17:44 UTC 2021
Mass rebuild against the new glibc complete. This batch consists only of
rebuilds - no new packages or upgrades. Enjoy the fresh binaries!
... And prepare for the glibc-2.33:

Code:
Mon Jan 18 13:50:16 UTC 2021
Hopefully we can get a
little testing done on the recompiled system and then go through it all again
at the beginning of next month when glibc-2.33 is released.
 
Old 01-23-2021, 02:14 AM   #2
marrowsuck
Member
 
Registered: Sep 2006
Posts: 205

Rep: Reputation: 91
Could someone explain the reasoning behind this rebuild against the upgraded glibc other than test if the package still builts?
 
1 members found this post helpful.
Old 01-23-2021, 03:07 AM   #3
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,054

Rep: Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272Reputation: 1272
Quote:
Originally Posted by marrowsuck View Post
Could someone explain the reasoning behind this rebuild against the upgraded glibc other than test if the package still builts?
Well, is not only about "still building" but also about "still working" because between versions the libraries slightly differ as behavior.

Take as example the lack of "sys/sysctl.h" from the latest GLIBC, and with stubs which returns "ENOSYS", as is debated there: https://www.linuxquestions.org/quest...-h-4175689085/

Generally, the programs are capable to auto-configure at build time regarding what features are available. That's WHY when a library is upgraded, is much better to rebuild the programs which depends on it, to take the last set of available features.

How on GLBIC depends everything, the result is this mass rebuild.

However, those mass rebuilds are not a thrilling new invention, in fact all major distributions do them for consistency.

Last edited by ZhaoLin1457; 01-23-2021 at 03:19 AM.
 
4 members found this post helpful.
Old 01-23-2021, 03:18 AM   #4
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 {15.0,-current}, FreeBSD, stuff on QEMU
Posts: 462

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
This mass rebuild upgrade process has taught me a valuable lesson about specifying a domestic FTP mirror. Big shout-out to the Nara Institute of Sci & Tech.
 
Old 01-23-2021, 04:59 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,920

Rep: Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038Reputation: 5038
Quote:
Originally Posted by slac View Post
Bandwidth.
Yep, but Pat did warn us, in the changelog, a couple of days ago that it was coming.

IMO it's worth doing these mass updates at least once a cycle close to release -- especially this cycle, as it has been such a long time.

I just wish upgradepkg was a little faster. Took quite a while to apply that lot here. The duplicate scanning has always been slow, but since the meltdown mitigations, its really noticeable. If I'd thought, I'd have disabled them at boot while I applied this lot. Oh, well, next time.
 
Old 01-23-2021, 05:16 AM   #6
drgibbon
Senior Member
 
Registered: Nov 2014
Distribution: Slackware64 15.0
Posts: 1,221

Rep: Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943Reputation: 943
One way of doing a mass rebuild of SBo packages:
Code:
#!/usr/bin/env bash

declare -a packages

for i in /var/lib/pkgtools/packages/*_SBo; do
    pkg=$(basename "$i" | rev | cut -d- -f4- | rev)
    packages+=("$pkg")
done

sboupgrade -f -z "${packages[@]}"
 
Old 01-23-2021, 10:38 AM   #7
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian
Posts: 7,351

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
Quote:
Originally Posted by GazL View Post
I just wish upgradepkg was a little faster. Took quite a while to apply that lot here.
Yes it took quite some time, particularly on my slowest unit. The upgrade went without a hitch.
 
Old 01-23-2021, 10:43 AM   #8
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,302
Blog Entries: 61

Rep: Reputation: Disabled
Done the mass rebuild update & upgrade on my Thinkpad X200 (T410 next). Thought it was going to be a nerve-wracking, hair-raising, experience. But it wasn't. My nerves aren't wracked, and I'm still bald.
 
1 members found this post helpful.
Old 01-23-2021, 10:44 AM   #9
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,611

Rep: Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932Reputation: 932
Yeah, I was pleasantly surprised at the fact that nothing broke. That kind of an update on another distro would've been a complete cluster.
 
1 members found this post helpful.
Old 01-23-2021, 11:04 AM   #10
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
I had no problems save Facebook crashed and shut down 1/2 the world last night causing downloads to take forever. Should have waited until later, set er up and gone to bed. Then it would be all over by morning.
 
Old 01-23-2021, 11:30 AM   #11
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 314

Rep: Reputation: Disabled
all up and running here as well,
download from local mirror was almost faster than the slackpkg upgrade-all, it went through.
 
Old 01-23-2021, 11:52 AM   #12
ReFracture
Member
 
Registered: Oct 2007
Posts: 209

Rep: Reputation: 222Reputation: 222Reputation: 222
All done, everything seems to work still.
 
Old 01-23-2021, 12:27 PM   #13
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,302
Blog Entries: 61

Rep: Reputation: Disabled
Forgot to say: Thanks, Pat!
 
Old 01-23-2021, 01:19 PM   #14
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,348

Rep: Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948Reputation: 948
Thanks!
 
Old 01-23-2021, 03:18 PM   #15
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
Glad it worked for everyone else, but total 'crash and burn' here.

After upgradepkg did aaa_elflibs, every other package failed with "ERROR: Package ... did not install correctly. You may need to install your old package to avoid problems. Make sure the new package is not corrupted."

Trying to use installpkg to go forward or backward failed with "external compression utility ... missing".

Turned out that after aaa_elflibs replaced libc, xz will not work - complains about libc.so.6 version GLIBC_2.32 not found. Without xz, you can't install anything, including xz.

I noticed that gzip still worked, so I copied the previous aaa_elflibs package to another system, unxz it, gzip it, copy it back, and was able to install it then and revert. Now I'll try to clean up and figure out what to do next.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to rebuild the corrupted rebuild RPM database pantdk Linux - Server 3 02-19-2015 01:01 AM
LXer: HOWTO: Rebuild Glibc on Slackware ARM 14.0 for the Raspberry Pi LXer Syndicated Linux News 0 11-20-2012 09:42 PM
RH 9.0 glibc rpm says it needs glibc-common, but glibc-common is installed whitshade Red Hat 2 04-28-2007 05:49 PM
How to rebuild glibc with compiler flags designed for my system davidas Debian 1 04-19-2004 11:12 PM
Glibc Rebuild jlowell Arch 1 10-04-2003 09:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration