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 01-20-2018, 07:12 AM   #76
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

nobodino ( and worsel ) --

I follow worsel's Slackware from Scratch and X11 Thread because I find it interesting, especially the scripts that you and worsel have attached.

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
 
5 members found this post helpful.
Old 01-20-2018, 07:49 AM   #77
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
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.
Attached Files
File Type: txt diff.txt (10.9 KB, 46 views)

Last edited by nobodino; 01-20-2018 at 07:54 AM.
 
2 members found this post helpful.
Old 01-20-2018, 09:43 AM   #78
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by montagdude View Post
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.
What are we saying differently?
 
Old 01-20-2018, 10:13 AM   #79
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
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. :-)
 
Old 01-20-2018, 10:45 AM   #80
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by bamunds View Post
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.
 
1 members found this post helpful.
Old 01-20-2018, 11:36 AM   #81
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by bamunds View Post
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 View Post
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 View Post
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 View Post
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 View Post
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.
 
3 members found this post helpful.
Old 01-20-2018, 12:32 PM   #82
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by brobr View Post
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.

GNU docu to this, here: https://gcc.gnu.org/onlinedocs/libst..._dual_abi.html



Quote:
Originally Posted by bassmadrigal View Post
(feel free to correct me if I'm wrong)
see above

Last edited by a4z; 01-20-2018 at 12:35 PM.
 
4 members found this post helpful.
Old 01-20-2018, 12:56 PM   #83
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
http://ftp.osuosl.org/pub/slackware/...gcc.SlackBuild:
Code:
  # NOTE:  For Slackware 15.0, look into removing --with-default-libstdcxx-abi=gcc4-compatible,
  # which will then require rebuilding all C++ libraries.  That is, if there's any benefit.

  CFLAGS="$SLKCFLAGS" \
  CXXFLAGS="$SLKCFLAGS" \
  ../gcc-$VERSION/configure --prefix=/usr \
     --libdir=/usr/lib$LIBDIRSUFFIX \
     --mandir=/usr/man \
     --infodir=/usr/info \
     --enable-shared \
     --enable-bootstrap \
     --enable-languages=ada,brig,c,c++,fortran,go,lto,objc \
     --enable-threads=posix \
     --enable-checking=release \
     --enable-objc-gc \
     --with-system-zlib \
     --enable-libstdcxx-dual-abi \
     --with-default-libstdcxx-abi=gcc4-compatible \
     --disable-libunwind-exceptions \
     --enable-__cxa_atexit \
     --enable-libssp \
     --enable-lto \
     --disable-install-libiberty \
     --with-gnu-ld \
     --verbose \
     --with-arch-directory=$LIB_ARCH \
     --disable-gtktest \
     $GCC_ARCHOPTS \
     --target=${TARGET} \
     --build=${TARGET} \
     --host=${TARGET} || exit 1

  # Start the build:
Cheers
 
5 members found this post helpful.
Old 01-20-2018, 08:50 PM   #84
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by imitheos View Post
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.
 
6 members found this post helpful.
Old 01-21-2018, 02:27 AM   #85
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by ttk View Post
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
 
Old 01-21-2018, 02:38 AM   #86
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by a4z View Post
I neither started rude, nor posted any wrong info.
I'll quote a line out of your first post...

Quote:
Originally Posted by a4z View Post
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.
 
1 members found this post helpful.
Old 01-21-2018, 06:38 AM   #87
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 977

Rep: Reputation: 239Reputation: 239Reputation: 239
here we go again....,.
 
1 members found this post helpful.
Old 01-21-2018, 01:06 PM   #88
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by bassmadrigal View Post
I'll quote a line out of your first post...



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.
:-)
 
1 members found this post helpful.
Old 01-21-2018, 02:44 PM   #89
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by a4z View Post
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.
 
2 members found this post helpful.
Old 01-21-2018, 05:15 PM   #90
bamunds
Member
 
Registered: Sep 2013
Location: Mounds View MN
Distribution: Slackware64-14.2-Multilib XDM/FVWM3
Posts: 780

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by montagdude View Post
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.

Cheers
 
  


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
need to recompile some packages after upgrading to -current sycamorex Slackware 8 01-14-2012 05:33 PM
Fix broken packages ervini Linux Mint 1 12-18-2010 06:59 PM
Trying to recompile existing packages or new packages with optimization nx5000 Debian 6 02-28-2006 04:18 PM
can not fix tar packages tuzhiyong Linux - Newbie 1 11-23-2004 11:56 AM
Recompile slackware packages senorsnor Slackware 3 07-09-2004 07:59 PM

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

All times are GMT -5. The time now is 12:42 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