Package Details: nsis 3.10-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: 45
Popularity: 0.015708
First Submitted: 2006-10-28 14:40 (UTC)
Last Updated: 2024-05-22 07:47 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

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

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