Package Details: nsis 3.01-1

Git Clone URL: https://aur.archlinux.org/nsis.git (read-only)
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: 35
Popularity: 0.000014
First Submitted: 2006-10-28 14:40
Last Updated: 2017-03-03 13:19

Latest Comments

hschletz commented on 2017-10-18 07:32

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.

grandchild commented on 2017-10-18 06:08

Seems that SCons breaks Python2 style print statements in SCons 3.0.0.
They fixed it in https://github.com/SConsProject/scons/commit/2e0de3 .
So either build SCons from git until they release 3.0.1, or change all lines with print statements in the NSIS SCons files to use the print function instead.

nathan-osman commented on 2017-10-18 02:13

I'm getting an error:

scons: Reading SConscript files ...
File "../nsis/src/nsis-3.01-src/SCons/utils.py", line 30

print 'Please specify folder of zlib for Win32 via ZLIB_W32'

SyntaxError: Missing parentheses in call to 'print'

grandchild commented on 2016-11-14 17:23

I got it to work. I removed mingw-w64-{zlib,gcc,...}, then tried nsis again and it runs through. So perhaps it was some necessary to rebuild mingw-w64-zlib like you said..

grandchild commented on 2016-11-07 13:39

okay, i've now installed it on a different 64bit archlinux machine and it builds and installs without problem. i will have a look what the difference is. consider this not your problem for now - and sorry for the noise.

xantares commented on 2016-11-04 21:48

could you try reinstalling mingw-w64-zlib, maybe it should be rebuilt after the gcc update.
or else, could you try install mingw-w64-bzip2 ?

xantares commented on 2016-11-04 21:41

that's ok, I have no libzdll.a neither

grandchild commented on 2016-11-04 16:10

I have an idea. I looked at the strace again, and it seems the configure is looking for

/usr/i686-w64-mingw32/lib/libzdll.a

but i have (from latest mingw-w64-zlib)

/usr/i686-w64-mingw32/lib/libz.dll.a

So it seems it's either a problem in mingw-w64-zlib or in the scons files of nsis.

grandchild commented on 2016-11-04 15:59

core/perl 5.24.0-2 (base) [installed]
core/zlib 1.2.8-4 [installed]
multilib/lib32-zlib 1.2.8-1 [installed]
aur/mingw-w64-zlib 1.2.8-5 [installed] (33) (1.84)

xantares commented on 2016-11-03 17:57

hi,
what's the ouput of:
yaourt -Ss zlib|grep installed
xan.

All comments