Package Details: 7zip-natspec 25.01-2

Git Clone URL: https://aur.archlinux.org/7zip-natspec.git (read-only, click to copy)
Package Base: 7zip-natspec
Description: File archiver for extremely high compression, using libnatspec patch
Upstream URL: https://www.7-zip.org
Licenses: BSD-3-Clause, LGPL-2.1-or-later, LicenseRef-UnRAR
Conflicts: 7zip, p7zip
Provides: 7zip, p7zip
Submitter: buzztaiki
Maintainer: buzztaiki
Last Packager: buzztaiki
Votes: 1
Popularity: 0.92
First Submitted: 2025-09-11 08:36 (UTC)
Last Updated: 2025-10-17 07:51 (UTC)

Required by (467)

Sources (2)

Latest Comments

buzztaiki commented on 2025-10-17 07:52 (UTC)

@galuise Thank you! fixed it.

galuise commented on 2025-10-13 15:45 (UTC)

Should libnatspec be included in the depends= list for this package?

I'm only asking as when I went to build this package I got the following error:

../../Archive/Zip/ZipItem.cpp:4:10: fatal error: natspec.h: No such file or directory
    4 | #include <natspec.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [../../7zip_gcc.mak:705: b/g/ZipItem.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/galuise/aur/7zip-natspec/src/CPP/7zip/Bundles/Alone'
==> ERROR: A failure occurred in build().
    Aborting...

After installing I got a successful build.

The suggested change:

diff --git a/.SRCINFO b/.SRCINFO
index 97f89e7..612fa48 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -11,6 +11,7 @@ pkgbase = 7zip-natspec
        depends = glibc
        depends = gcc-libs
        depends = sh
+       depends = libnatspec
        provides = p7zip
        provides = 7zip
        conflicts = p7zip
diff --git a/PKGBUILD b/PKGBUILD
index 105ee3d..675f695 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ pkgdesc="File archiver for extremely high compression, using libnatspec patch"
 arch=('x86_64')
 url="https://www.7-zip.org"
 license=('LGPL-2.1-or-later' 'BSD-3-Clause' 'LicenseRef-UnRAR')
-depends=('glibc' 'gcc-libs' 'sh')
+depends=('glibc' 'gcc-libs' 'sh' 'libnatspec')
 makedepends=('uasm')
 provides=('p7zip' '7zip')
 conflicts=('p7zip' '7zip')