being able to recompile packages is important, pls fix all non building packages
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've not actually tried the attached scripts myself, but AFAICT, it seems like Y'All have come a long way toward actually being able to rebuild Slackware from Scratch and from what I've read, you and worsel have been successful by testing one another's work and providing feedback
It also seems that if the OP were to redirect 'All the Energy Expended in this Thread' at actually rebuilding all the Slackware Packages from the Official SlackBuilds while documenting issues and resolutions and providing feedback as you and worsel have been doing, they would be a long way toward achieving their goal of being able to rebuild Slackware from the provided SlackBuild Tree.
Anyhow ... my $0.02 worth ... thank you for adding to THIS thread.
-- kjh
Last edited by kjhambrick; 01-20-2018 at 07:41 AM.
Reason: than -> thank edit 2 ... credit where credit is due
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
to understand how many packages don't build properly, see the enclosed diff between slackware-current and SFS on 15/09/2017.
Not every package has been compiled, some need patches. I wasn't able to build very few of them, less than 5.
You seem to be under a false impression, then. ...<snip>...The sources and SlackBuilds provided are exactly as they were when the package was compiled, but there is no guarantee that they will be able to be compiled again without modifications at a later date, even if that later date is the day a new Slackware version is released.
Except that is what I said, just sentence structure different. I stated that Pat and team, don't guarantee they will recompile.
Quote:
That neither Pat or the Team guarantee that any recompilation at a later date or with a different compiler will actually compile, because they don't control the source and updates to the source after the release date. Specifically, if use the included DVD source for an application from the date of the binary compilation for stable and the same stable original compiler, then you will be able to get it to again compile a binary package for installation. BUT if you are attempting to use today's source (now two years later than the original) then you should not expect it to compile, but if it does then congratulations.
Those who don't support the team, usually end up on the bench, regardless of their talent. Attitude toward the game and contribution to the team are what make the difference in a winning team or a loosing team. Begin aware of your environment and what you have the power to change, and accepting what you can not change are the difference between enjoying life and thinking life is falling all around you. Just thought I'd add some more psychological aids to this conversation, since it clearly has gone off topic from the original post. BTW..Who's on first and Why is in left field. :-)
Except that is what I said, just sentence structure different. I stated that Pat and team, don't guarantee they will recompile.
What are we saying differently?
You said the team compiles everything at release time and that all sources will compile when a new release is made. Neither is true. It is not just new versions of the sources that may not compile, it is the versions from the -stable release as well.
Last edited by montagdude; 01-20-2018 at 10:47 AM.
Now we simply need to agree that one more threat, which cannot be corrected by software alone or any new threat, is not a reason to again consider a different compiler for Slackware or the development process being required to totally recompile every package included in the distribution when the existing binaries work without issue.
This is not a discussion about switching compilers, but about recompiling packages when gcc is patched to prevent (or at least minimize) the attack vectors for Spectre (and maybe Meltdown... I haven't kept up enough with it) and the releases that will come with that patching. To take advantage of those changes, programs need to be recompiled to use it. Once that gcc version makes it to Slackware, any newly compiled programs will have the benefit of minimal attack vectors, but any of the older ones are still vulnerable (to whatever degree they were vulnerable). The older binaries will still work, but they'll be vulnerable.
What you mention above would be my argument prior to the announcement of Meltdown and Spectre, but with this news, it is well-known that once gcc puts out newer versions that help protect against these threats, that programs will only be protected if they're recompiled. This could lead to the whole distribution being recompiled.
If that does end up happening, I believe that Pat is more than capable of fixing broken packages (as he has done countless times in the past) or finding alternatives if the older packages need to be removed. What I don't believe is that this is a reason to make sure Slackware packages can be recompiled at any given time, since what users do to their machines is on them. If they need a program recompiled, it's on them to figure out how to do it.
Keep in mind, the thing I was disagreeing with was this quote:
Quote:
FACT: there are no compilation issues in stable which aren't caused by user mis-actions or flag misuse.
Quote:
Originally Posted by a4z
because I am talking about the broken concept, not single packages, becuase every package should be ready for recmopilation with it's dependencies above.
But it isn't a broken concept. The concept is that they package the sources as used to create the package. When they need to recreate the package, they'll do what needs to be done to compile it. Just because you don't agree with the concept doesn't mean it is broken.
Quote:
Originally Posted by a4z
it's 2018, does Slackware already use the C++11 standard ABI?
Unless Pat is overriding the defaults (I didn't see it anywhere), gcc7 uses gnu++14, which is their dialect of -std=c++14. Slackware 14.2's gcc5 used gnu++98, which is their dialect of -std=c++98. According to the man pages for gcc in 14.2 and -current, both of these are the defaults of those gcc versions.
But in doing a quick check using my very limited knowledge on the matter, gcc -dM -E - < /dev/null | fgrep -i stdc_version for both 14.2 and -current show 201112L (although, I just extracted the gcc7 package onto my 14.2 install and ran the gcc-7.2.0 binary manually, so it's possible it pulled stuff from my installed gcc), which I think indicates both are using c++11 standards (feel free to correct me if I'm wrong). So, if that is the case, it's been used since at least 14.2 was released.
Quote:
Originally Posted by a4z
just an, btw very valid, example for the concept of how 'not broken' is sold here and why it's wrong.
How? Because if Pat needs to recompile the packages for security reasons, if it won't compile, he'll find a way to get it to compile... like he's been doing for the past few decades.
Quote:
Originally Posted by a4z
I already stated that there is basically no use-case left for Slackware, forgotten? And I do not fight Slackware devs, I bring information and people freak out and start with ... well , read it up, its documented hoe some reacted.
Your "brought information" was calling Slackware broken, which it isn't. If/When Pat recompiles all of Slackware to deal with these issues, he will recompile all of Slackware. He doesn't need to start with a working source tree to do that. nobodino and worsel have proved that. What you want is designed to be left as an exercise to you... if you want to compile a program, it is up to you to get it to work.
As has been said many times by many people, Slackware is a binary distribution, not a source distribution. If you want to compile it from source, go for it, but be prepared to run into some roadblocks.
So, is the issue of the ABI C++ standard related to needing to add a "-std=c++11" flag to compile some (non-slackware, non-SBo) stuff on gcc-7.2? And why could it still not work if compiled?
the issue is that, for example, std::string has a copy on write implementation, what seems to be a good idea in the past but turned out to be problematic, especially in a world that since 10 years or so moves more and more to parallel and concurrent programming models.
Therefore the C++ standard specifies since 2011 that CoW is not a legal std::string implementation.
Slackware compiles with explicit setting the DO_USE_OLD_ABI_AND_NOT_THE_NEW_STANDARD_ON flag.
This flag will have to be added to each build script, and maybe later removed. Or build a compiler that says per standard we use the old non standard conform C++ ABI.
Some day this will need to be solved, and this meas, provide a standard conform compiler without special don't be standard flags, and recompile all C++ based packages.
You can not mix /binaries/libs compiled with old and new ABI.
Rebuild strategies are therefore very useful.
I want to comment on this behavior that i see from some (unfortunately many) slackware users. Why is criticism so loathed ?
When constructive criticism is offered politely, it's been accepted in kind.
When nonconstructive criticism is offered rudely, it's often not received well. Doubly so when the critic has repeatedly harped on a subject and rejected civil discourse.
It's not criticism that is loathed, it's how it is delivered, and the critic's subsequent willingness to discuss issues fairly and intelligently (or lack thereof).
a4z has a considerable backlog of ill-will built up, so it doesn't surprise me that folks responded harshly.
When constructive criticism is offered politely, it's been accepted in kind.
When nonconstructive criticism is offered rudely, it's often not received well. Doubly so when the critic has repeatedly harped on a subject and rejected civil discourse.
It's not criticism that is loathed, it's how it is delivered, and the critic's subsequent willingness to discuss issues fairly and intelligently (or lack thereof).
a4z has a considerable backlog of ill-will built up, so it doesn't surprise me that folks responded harshly.
I neither started rude, nor posted any wrong info. Than the thread moved like so many others, where some criticism or different ideas go, religious arguments, personal allegations, and wrong technical info.
And I react on this, this is my backlog.
But too many people here are good in having a strong opinion, but when you respond to them in the same way they become sensible.
And, you could also have written: a4z has a backlog of providing technical information and fixing wrong info people spread here See above, for example, or this thread in general.
But you prefer to ignore the info I provide and focus on the noise, mostly created by others, around. Nice from you
I neither started rude, nor posted any wrong info.
I'll quote a line out of your first post...
Quote:
Originally Posted by a4z
Some time ago we had discussion if packages that do not build anymore are broken or not. Of course they are, but some see it different.
Packages are not broken just because the source cannot build new packages. The package on the install media still works perfectly fine, whether or not you can use the source to create a new package. So, yes, you posted wrong info... and the fact you stated that it is broken so matter-of-factly does come across as rude.
Packages are not broken just because the source cannot build new packages. The package on the install media still works perfectly fine, whether or not you can use the source to create a new package. So, yes, you posted wrong info... and the fact you stated that it is broken so matter-of-factly does come across as rude.
it's not broken for you, but for me. I have technical reasons why, you an opinion, that I do not share.
I like technical discussion, some prefer nearly religious stand points. And Eric freaked out, just because.
:-)
it's not broken for you, but for me. I have technical reasons why, you an opinion, that I do not share.
The package as developed by Pat and team is not broken. You can say it is as much as you want, but it works perfectly fine as intended. And that is a fact, not an opinion. If you need to recompile the package because it isn't to your liking, then that is on you and you need to find out how to get it to compile the way you want, including, if necessary, finding patches to ensure it compiles properly.
It isn't Pat and team's job to ensure you can run custom stock packages... but they do provide you a good starting point based on how they created their package.
I really wish Ford put the turn signal arm straight out from my steering wheel column rather than angled up on my vehicle, but just because I don't like it doesn't mean it is broken. It still works as Ford intended, even if I don't like it.
You said the team compiles everything at release time and that all sources will compile when a new release is made. Neither is true. It is not just new versions of the sources that may not compile, it is the versions from the -stable release as well.
Hmm, that isn't what I read in my post #65. What I read is just the opposite. I never said the team compiles "everything" at release time when a new release is made. I said the team compiles from the sources included in the DVD and that no guarantee is made that compiling at a later time will be successful.
Just for giggle, would you mind quoting the post I made that statement in? If I did make that statement then I guess I didn't proof it very well before posting, or didn't state my point very well.
But hey, Who's on first and Why is in left field. So this thread can go on in to extra innings and no winner will be declared since a rain delay is expected soon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.