LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-16-2021, 08:45 AM   #1
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 467

Rep: Reputation: 114Reputation: 114
"${ARCH}-slackware-linux" host


Quote:
Fri Oct 15 20:47:13 UTC 2021
.....
d/automake-1.16.2-noarch-4.txz: Rebuilt.
The GNU toolchain is making it increasingly impossible to use our usual
"${ARCH}-slackware-linux" host, erroring out with a host mismatch on at
least GTK+2. So, we'll drop back to this version of automake for now,
with a fix applied for detecting Python 3.10. More than likely we'll be
changing the host to "${ARCH}-slackware-linux-gnu" to satisfy upstream,
but that will have to wait for the next devel cycle.
.....
A (possibly too naive) resolution would be a symlink ...

Having said this I checked the one and only /usr/x86_64-slackware-linux/ directories (on all my Slackware instances as well as on alien's live CD) and found that their bin/ and lib64/ directories are empty.
So what is the problem?

Last edited by burdi01; 10-16-2021 at 09:00 AM.
 
Old 10-16-2021, 09:48 AM   #2
oneforall
Member
 
Registered: Dec 2006
Distribution: Blade64/Slackware
Posts: 43

Rep: Reputation: 15
"${ARCH}-slackware-linux" host

Hi @Pat
on mine I still have automake-1.16.5 and since feb 10 autoconf-2.71 and feb 11 Just tested gtk+2-2.24.33 compiled no host mismatch..
Other than the usual checking build system type... x86_64-blade64-linux-gnu same for host..
should work for slackware too. autoconf-2.71
Tested because last compile I had automake-1.16.2 and autoconf-2.71.
 
Old 10-17-2021, 02:04 AM   #3
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
autoconf-2.71 doesn't work to build oprofile and then binutils, which is rather annoying.
and for gtk+2 PV explained it.

Last edited by nobodino; 10-18-2021 at 11:21 AM.
 
Old 10-18-2021, 11:56 AM   #4
oneforall
Member
 
Registered: Dec 2006
Distribution: Blade64/Slackware
Posts: 43

Rep: Reputation: 15
as said gtk2 I don't get the host mismatch

compile binutils then oprofile and those are compiling for me ..
 
Old 10-18-2021, 11:29 PM   #5
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
ok, i'm talking of building from scratch slackware (SFS), you build packages in a certain order:
- binutils (without oprofile)
- oprofile (later)
- binutils with oprofile: it's at that step that the incompatibility of autoconf-2.71, 2.72a or 2.72b or git version exists and you're stuck, and can't go on.
 
1 members found this post helpful.
Old 10-19-2021, 12:32 AM   #6
oneforall
Member
 
Registered: Dec 2006
Distribution: Blade64/Slackware
Posts: 43

Rep: Reputation: 15
ah weird cause what I have I built from scratch 32bit to 64 and made it multilib(fully, my gcc is both) (compile 32bit on the 64 -m32). but that was long time ago so yeah know about the order.. I used lfs multilib but I did change a lot back then to fit slackware style.. pus I used 2 dirs to compile into since I didn't have another drive to do their partition way etc..
when I did that with the 2 dirs it was to build the tool chain then chroot in and build it to the packages.
can you send me a log of the build(binutils)
 
Old 10-19-2021, 12:40 AM   #7
oneforall
Member
 
Registered: Dec 2006
Distribution: Blade64/Slackware
Posts: 43

Rep: Reputation: 15
also for binutils-2.37 23 patches
 
Old 10-19-2021, 01:18 AM   #8
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
I removed autoconf >= 2.71 from the development tree of SFS for that reason, I couldn't solve that problem.

I'll see when I can do it.

Last edited by nobodino; 10-19-2021 at 01:19 AM.
 
Old 10-19-2021, 01:19 AM   #9
oneforall
Member
 
Registered: Dec 2006
Distribution: Blade64/Slackware
Posts: 43

Rep: Reputation: 15
ah I remember why, I bet its this
# Thanks to Fedora:
# Dependencies are not set up to rebuild the configure files
# in the subdirectories. So we just rebuild the ones we care
# about after applying the configure patches
pushd libiberty
autoconf
popd
pushd intl
autoconf
popd
I removed that on mine would need autoconf-2.69
never got around to have both
 
Old 10-19-2021, 01:30 AM   #10
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
You can also try to build SFS with the dev branch, by replacing the autoconf by the version you want (2.71) and see that you'll be stuck in the middle of the build_list2, and see the messages of errors.
 
Old 10-19-2021, 04:00 AM   #11
oneforall
Member
 
Registered: Dec 2006
Distribution: Blade64/Slackware
Posts: 43

Rep: Reputation: 15
ok heres what I did with slacks
I used the same way as firefox with autoconf-2.13 but I only have it used for the push and the rest is building normal with 2.71
had to edit the build-deps.sh https://pastebin.com/p5gqNjEg
and rename the autoconf.SlackBuild and remove unneeded etc ..
binutils.SlackBuild
# Build or unpack build-time dependencies:
. ./build-deps.sh

TMP=${TMP:-/tmp}

pushd libiberty
$TMP/binutils-build-deps/usr/bin/autoconf-2.69
popd
pushd intl
$TMP/binutils-build-deps/usr/bin/autoconf-2.69
popd

binutils/build-deps/autoconf/
autoconf.build
https://pastebin.com/Vx2zRkWB
 
Old 10-19-2021, 05:58 AM   #12
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
I don't call this build with autoconf-2.71 as the sole autoconf package.
 
Old 10-19-2021, 07:17 AM   #13
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,917

Rep: Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035Reputation: 5035
I don't know whether they still do it, but when I was playing with OpenBSD a few years ago I notice they actually parallel install multiple versions of autoconf because of these incompatibility issues so that individual ports could run against the one they needed.

I've always considered autotools a case of "cure is worse than the disease". It's really no wonder that projects are switching to meson.
 
Old 10-19-2021, 08:40 AM   #14
oneforall
Member
 
Registered: Dec 2006
Distribution: Blade64/Slackware
Posts: 43

Rep: Reputation: 15
yeah parallel build would work too.. but just have to use --program-suffix=-2.69 \

pushd libiberty
autoconf-2.69
popd
pushd intl
autoconf-2.69
popd

Last edited by oneforall; 10-19-2021 at 11:26 AM.
 
  


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
How do you install thinks on Arch? What is arch for "emerge", "apt-get" etc? just a man Arch 9 01-28-2022 05:48 AM
host only networking for "Crunchbang host" "Arch Linux guest" ted9411 Linux - Virtualization and Cloud 3 06-06-2011 08:29 AM
try install host ; bind9-host uninstalled , how to undo sudo apt-get install host? shojaru Linux - Newbie 0 06-11-2009 12:45 AM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM
Apache Related: "http://host/~user" instead of "http://host/~user/" ? scrawl Linux - Software 2 05-19-2003 12:02 AM

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

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