LinuxQuestions.org
Review your favorite Linux distribution.
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 08-22-2016, 07:00 PM   #1
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Rep: Reputation: Disabled
Reproducible builds


If on current and a package is built from source shouldn't the binaries be identical to what's installed? I was surprised when a package with only three core libraries (using ldd) was a different size than the installed binary. Mine was 104 bytes larger. I may have to use objdump to determine what's different. I was thinking maybe a couple or few bytes for timestamps or something but not 104.

I'm not super worried, more curious, so don't anybody freak.

If you're curious about reproducible builds here's debian's ambitious project.

https://wiki.debian.org/ReproducibleBuilds
 
Old 08-22-2016, 08:12 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
No, because the official package may not have been built in -current. There's a rather long thread around here where that is discussed.
 
Old 08-22-2016, 10:52 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,242

Rep: Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322Reputation: 5322
Pat updates -current by rebuilding a few packages at a time. Obviously, that means that most of the packages in -current weren't built against the current snapshot.

Last edited by dugan; 08-22-2016 at 10:56 PM.
 
1 members found this post helpful.
Old 08-23-2016, 12:29 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,110

Rep: Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180Reputation: 4180
https://www.linuxquestions.org/quest...ds-4175553407/
 
2 members found this post helpful.
Old 08-23-2016, 01:03 AM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
If you have ever read up hard dependencies versus soft dependencies, it should explain it better.
 
Old 08-23-2016, 06:21 AM   #6
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 15.0 + Multilib
Posts: 2,159

Rep: Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512Reputation: 1512
Thank you ponce for that link !

I wasn't around much last Fall ( 13.37 was working just fine for me on my trusty-old 2011 Laptop ).

I've saved the link in my URL Lint in my Security-Related/ Directory

And thanks to 55020 for post #13 !

-- kjh
 
Old 08-24-2016, 01:37 PM   #7
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Richard Cranium View Post
No, because the official package may not have been built in -current.
Ah, right. Turns out that I am making some debug binaries so they're all going to be different. But I think reproducible builds are a really good idea anyway.
 
Old 08-24-2016, 03:38 PM   #8
the3dfxdude
Member
 
Registered: May 2007
Posts: 735

Rep: Reputation: 362Reputation: 362Reputation: 362Reputation: 362
I read over debian's page some and got here:
https://wiki.debian.org/Reproducible...oSpecification

I think calling it "reproducible builds" is a bit misleading. I would call it an audit. And they are capturing enough of a fingerprint so that hopefully the build system can be fully recreated where a package was built on. They are not saying that the packages must be built 100% identically in each stable release, but I could have missed it. But reproducible builds would be a nice side-effect.

Audits are good, but I don't think it should be required of distributions to track this much detail, nor to rebuild the entire package set prior to a stable release. I do think much fear of not knowing all the details can go away based on how you trust your tool-chain. I don't think that simply automating this into the packaging system really is going to gain much.
 
Old 08-26-2016, 05:55 PM   #9
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by the3dfxdude
I think calling it "reproducible builds" is a bit misleading.
Not at all. You may not be understanding their project. There's a presentation by one of the devs from a linux conference that's excellent. It makes it very clear. Worth watching and was very well liked by the audience which doesn't happen that often with techies.
There was a lot of applause.
 
Old 08-26-2016, 06:11 PM   #10
Rinndalir
Member
 
Registered: Sep 2015
Posts: 733

Original Poster
Rep: Reputation: Disabled
The talk was given at fosdem2016.

http://video.fosdem.org/2016/janson/...ble-builds.mp4

https://archive.fosdem.org/2016/sche..._ecosystem.pdf
 
1 members found this post helpful.
  


Reply

Tags
build, reproducible



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] lxc-start since last upgrade in -current, reproducible error mralk3 Slackware 3 11-17-2015 07:04 PM
Does Slackware/Slackbuilds support reproducible builds? Altiris Slackware 14 09-15-2015 03:12 AM
Non reproducible errors compiling source terry-duell Fedora 13 02-04-2015 03:26 PM
Reproducible Kernel - Mempo Project mempoproject Linux - Kernel 1 01-09-2014 01:36 PM
Slackbuild of Scilab 5.1 fails under Slackware64 13... is this reproducible...?? Alexvader Slackware 21 11-29-2009 02:29 PM

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

All times are GMT -5. The time now is 07:00 AM.

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