Mt-st package not found (i.e. this tool provides commands to control magnetic tapes)

Hi there,
I was looking for the “mt-st” package, but didn’t manage to find it…
On an old manjaro box (installation in 2018 approx.) it was part of the regular distribution,
but now it seems to have disappeared. Perhaps dropped by intention??
On AUR at least I found a similar package called “mt-st-git” but this seems to be missing support - the current version aborts the build process with errors (wrong compile options or similar).
Anybody out there how knows what happened to this tool?
Thx. :smiley:

It seems it’s been gone for 10 years or more: SCSI Tape Support: mt-st package no longer exists? / Kernel & Hardware / Arch Linux Forums

What errors?

Took about 5 seconds for mt-st-git to build successfully on my Stable desktop:

Preparing...
Checking mt-st-git dependencies...
Resolving dependencies...
Checking inter-conflicts...
Cloning mt-st-git build files...
Generating mt-st-git information...

Building mt-st-git...
==> Making package: mt-st-git 1.4.r10.gfbfd923-1 (Mon 08 Jan 2024 10:29:32)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning mt-st git repo...
Cloning into bare repository '/var/tmp/pamac-build-scotty/mt-st-git/mt-st'...
==> Validating source files with md5sums...
    mt-st ... Skipped
==> Validating source files with sha256sums...
    mt-st ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of mt-st git repo...
Cloning into 'mt-st'...
done.
==> Starting prepare()...
==> Starting pkgver()...
==> Updated version: mt-st-git 1.7.r2.g72f9eda-1
==> Starting build()...
echo '#define VERSION "1.7"' > version.h
cc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -DDEFTAPE='"/dev/tape"' -o mt mt.c
cc  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -DDEFTAPE='"/dev/tape"' -o stinit stinit.c
==> Entering fakeroot environment...
==> Starting package()...
install -d /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/bin  /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git///usr/bin /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man1 /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man8 /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git/usr/share/bash_completion.d
install mt /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/bin
install -m 444 mt.1 /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man1
install -m 644 mt-st.bash_completion /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git/usr/share/bash_completion.d/mt-st
(if [ -f /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man1/mt.1.gz ] ; then \
  rm -f /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man1/mt.1.gz; gzip /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man1/mt.1; fi)
install stinit /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git///usr/bin
install -m 444 stinit.8 /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man8
(if [ -f /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man8/stinit.8.gz ] ; then \
  rm -f /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man8/stinit.8.gz; gzip /var/tmp/pamac-build-scotty/mt-st-git/pkg/mt-st-git//usr/share/man/man8/stinit.8; fi)
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "mt-st-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: mt-st-git 1.7.r2.g72f9eda-1 (Mon 08 Jan 2024 10:29:35)
==> Cleaning up...

Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing mt-st-git (1.7.r2.g72f9eda-1)...
Transaction successfully finished.

Also had no problems running the command mt-st from the terminal after installation:

mt-st                                                                                                                            ✔ 
usage: mt [-v] [--version] [-h] [ -f device ] command [ count ]
default tape device: /dev/tape

Do you have the base-devel package installed? Also, if using the Pamac CLI rather than the GUI, remember that the command is pamac build mt-st-git, not pamac install mt-st-git.

1 Like

Shame on me: “gmake” was missing…
I re-installed base-devel, and now the “pamac build mt-st-git” is working fine.
Thx for your help!

1 Like

So, if you’re happy with the result, give @scotty65 a little tick (under his post). In fact, I’ll do it for you (looks like you left). Cheers.

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.