LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-02-2023, 02:39 PM   #1
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
slackpkg.conf AARCH=? multiple values or wildcard?


hi, in couple *.Slackbuild I added
aarch64*) ARCH=arm ;;
and to couple other I might have done
aarch64*) ARCH=aarch64 ;;
so that when slackpkg clean-system runs it selects *arm*_SBO but not aarch64-*_SBo

from slackpkg.conf
Quote:
# Select the architecture of your system. Valid values are:
# i#86 (where # is 3, 4, 5 or 6)
# x86_64
# s390
# arm* (* can be v4, v5tejl, and other ARM versions)
# aarch64
# powerpc
#
# The line is commented because slackpkg will try to find your
# architecture automagically. If you want to override what slackpkg
# finds, put the value after the = and uncomment this line
ARCH=aarch64
is it possible to have ARCH=aarch64 arm* or something similar?

EDIT: NO, I played with a few combinations, seems to have to be single value, commenting that line uses uname -m which is aarch64
workaround 1: if I'm going to play around with *.Slackbuild do this " aarch64*) ARCH=aarch64 ;;"
workaround 2: rename *arm*_SBO to aarch64-*_SBo

I don't add many slackbuilds but occasionally dabble, so I have little experience to know any better.

Last edited by glorsplitz; 01-02-2023 at 03:15 PM.
 
Old 01-03-2023, 04:15 AM   #2
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,551

Rep: Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314Reputation: 1314
The notes in slackpkg's config file predate Slackware AArch64. 'arm' is always for 32bit ARM.
I've made a note to have it changed.

I cover editing the SlackBuild scripts here.
Basically, all you need to do is exchange the match for 'x86_64' with 'aarch64', or add a separate match for 'aarch64'.
If the package won't compile with -fPIC, it'll tell you and you can remove it and try again.
 
2 members found this post helpful.
Old 01-03-2023, 07:24 PM   #3
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,314

Original Poster
Rep: Reputation: 368Reputation: 368Reputation: 368Reputation: 368
cool ducks but no penguin?

as is, without " aarch64) ARCH=arm ;;", ./celt.Slackbuild does this
Quote:
checking build system type... Invalid configuration `aarch64-slackware-linux': machine `aarch64-slackware' not recognized
configure: error: /bin/sh ./config.sub aarch64-slackware-linux failed
and I'm also commenting everything except
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
this fixes mpv saying "not found in the pkg-config search path"

and renaming built packages to aarch64 to have "slackpkg clean-system" skip them
 
Old 01-04-2023, 03:27 AM   #4
jloco
Member
 
Registered: Apr 2016
Location: Detroit, MI
Distribution: Slackware
Posts: 190

Rep: Reputation: 173Reputation: 173
Try this in the SlackBuild, AFTER the command to untar the program and then the

cd $PRGNAM-$VERSION
line put this under it:

Code:
cp /usr/share/automake-1.16/config.guess $TMP/$PRGNAM-$VERSION
right above the chown line. It might fix it, if its a super old program, which judging by the website, it's depreciated and obsolete, so it likely is.
 
  


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
Libvirt + virt-manager + QEmu + TCG for aarch 64 Manjaro Linux ends up in UEFI Shell folaht Linux - Virtualization and Cloud 1 11-28-2022 07:09 AM
slackpkg cannot connect to any given mirrors in slackpkg.conf rsamurti Slackware - ARM 4 01-29-2021 02:04 PM
slackpkg blacklisting ; can a wildcard be used? Old_Fogie Slackware 5 12-18-2009 12:49 AM
slackpkg failed to find /usr/lib64/man.conf.new or man.conf should be in /etc? grissiom Slackware 12 08-18-2009 02:57 AM
Find excluding multiple directories with a wildcard pteigeler Linux - Software 1 09-02-2005 10:57 AM

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

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