Package Details: nsis 3.08-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: custom:zlib
Submitter: None
Maintainer: xantares
Last Packager: xantares
Votes: 41
Popularity: 0.36
First Submitted: 2006-10-28 14:40 (UTC)
Last Updated: 2021-10-05 18:42 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

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

idbentley commented on 2019-08-27 19:39 (UTC)

I'm having the same problem as andreymal. Looking for a fix or workaround?

andreymal commented on 2019-08-23 00:24 (UTC) (edited on 2019-08-23 00:24 (UTC) by andreymal)

Failed to build (scons 3.1.1)

Mkdir("build/urelease/config")
TypeError: cannot use a string pattern on a bytes-like object:
File "/home/andreymal/aur/yaourt-tmp-andreymal/aur-nsis/src/nsis-3.04-src/SConstruct", line 263:
for v in re.compile(r'^\H{[v]?(\S+)}', re.M).finditer(File('#/Docs/src/history.but').get_contents()): # Try to parse the Halibut history file

SecT0uch commented on 2019-02-27 09:28 (UTC)

Install with yay now requires mingw-w64-gcc-base as a dependency.

hschletz commented on 2017-10-31 11:24 (UTC)

scons 3.0.0-3 switched back to python 2.7. I successfully built nsis with the official package.

hschletz commented on 2017-10-18 07:32 (UTC)

The print statements are not the only incompatibility. Running 2to3 over the build scripts did not fix all of the issues either. In fact, I was unable to build the package with Scons 3. Even with SCons built against Python 2.7, the build scripts were still invoked with Python 3 and blew up. I had to revert to SCons 2.5.1. Since this is no longer available as an Arch package, I had to build it myself: 1. Download the PKGBUILD from https://git.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/scons 2. Change pkgver to 2.5.1 3. Change the "python" command in package() to "python2" 4. Run "makepkg --skipchecksums --install" This replaces the installed scons package with the older version, and the nsis package gets built successfully. Until the NSIS build packages get fixed, maybe the PKGBUILD could download SCons 2.5.1, build it to a temporary location and use that instead of a system-wide scons command.