Package Details: nsis 3.12-1

Git Clone URL: https://aur.archlinux.org/nsis.git (read-only, click to copy)
Package Base: nsis
Description: A professional open source system to create Windows installers
Upstream URL: http://nsis.sourceforge.net
Licenses: LicenseRef-nsis
Submitter: None
Maintainer: xantares
Last Packager: xantares
Votes: 47
Popularity: 0.019286
First Submitted: 2006-10-28 14:40 (UTC)
Last Updated: 2026-04-20 17:51 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

demiurg commented on 2026-06-02 21:33 (UTC)

>>> scons ... TARGET_ARCH=amd64 -h
...
TARGET_ARCH: Target processor architecture (x86|amd64|arm64)
    default: x86
    actual: amd64
...

without this option it build x86, in 2026 we mostly use amd64 and arm64, and scons scripts should autodetect that, till that is done, manual intervention required

maxlefou commented on 2025-09-06 09:06 (UTC)

Recently I had an error while compiling an installer because libiconv was missing. Maybe it would be good to add the libiconv package as a dependency, since installing this package resolved it.

xantares commented on 2024-08-14 08:30 (UTC)

probably https://github.com/SCons/scons/issues/4585

try scons 4.7 until a fix is available:

sudo pacman -U https://archive.archlinux.org/packages/s/scons/scons-4.7.0-2-any.pkg.tar.zst --noconfirm

vadolasi commented on 2024-08-14 05:01 (UTC)

Same error of @skunk here

skunk commented on 2024-08-13 21:46 (UTC) (edited on 2024-08-13 21:47 (UTC) by skunk)

I get the following build error when building. It seems like a , gets added in the SKIPUTILS value (in the PKGBUILd it is SKIPUTILS='NSIS Menu' without ,). Is this possibly an escaping issue? Is anyone else having this problem?

==> Retrieving sources...
  -> Downloading nsis-3.10-src.tar.bz2...
...
==> Validating source files with sha256sums...
    nsis-3.10-src.tar.bz2 ... Passed
==> Extracting sources...
  -> Extracting nsis-3.10-src.tar.bz2 with bsdtar
==> Starting prepare()...
==> Starting build()...
scons: Reading SConscript files ...
Using Python 3.12.4

scons: *** Invalid value(s) for variable 'SKIPUTILS': 'NSIS,Menu'. Valid values are: Library/RegTool,MakeLangId,Makensisw,NSIS Menu,SubStart,UIs,VPatch/Source/GenPat,zip2exe,all,none
File "/home/builder/.cache/aurutils/sync/nsis/src/nsis-3.10-src/SConstruct", line 203, in <module>
==> ERROR: A failure occurred in build().
    Aborting...

CyberShadow commented on 2021-08-22 10:23 (UTC)

Please do not pipe curl into patch. Instead, include the patch in the repository and add it to source (and sha256sums).

https://wiki.archlinux.org/title/Patching_packages#Applying_patches

exuvo commented on 2021-08-04 18:26 (UTC) (edited on 2021-08-04 18:30 (UTC) by exuvo)

This does not build for me:

AttributeError: 'SConsEnvironment' object has no attribute 'has_key':
  File "/home/build/.cache/yay/nsis/src/nsis-3.06.1-src/SConstruct", line 765:
    defenv.SConscript(dirs = srcpath, variant_dir = vdir, duplicate = False, exports = exports)
  File "/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 597:
    return _SConscript(self.fs, *files, **subst_kw)
  File "/usr/lib/python3.9/site-packages/SCons/Script/SConscript.py", line 285:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "/home/build/.cache/yay/nsis/src/nsis-3.06.1-src/Contrib/ExDLL/SConscript", line 59:
    if env.has_key('PREFIX_PLUGINAPI_LIB'):

From what i can gather from https://scons.org/scons-420-is-available.html they removed that function in favor of something else (which they left unspecified).

For now i used an older scons 4.1.0 from archive.archlinux.org which builds.

lazka commented on 2020-02-13 21:21 (UTC)

3.05 + this patch https://sourceforge.net/p/nsis/patches/296/ makes it work with Python 3 scons on Windows. Maybe worth a try.

xantares commented on 2019-08-31 09:52 (UTC)

fixed, switched to python2-scons