While 2.46 (-r0) built fine, -r1 fails: build/release/stub_bzip2/Ui.o:Ui.c:(.text+0x1bf7): undefined reference to `TreeView_GetItemHeight' build/release/stub_bzip2/Ui.o:Ui.c:(.text+0x1c0c): undefined reference to `TreeView_SetItemHeight' build/release/stub_bzip2/Ui.o:Ui.c:(.text+0x2677): undefined reference to `ListView_SetExtendedListViewStyleEx' /usr/libexec/gcc/i686-pc-mingw32/ld: build/release/stub_bzip2/Ui.o: bad reloc address 0x98 in section `.rdata' /usr/libexec/gcc/i686-pc-mingw32/ld: final link failed: Invalid operation
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 373702 [details] build log
Created attachment 373704 [details] emerge --info emerge --info stopped fitting in Bugzilla comments a long time ago.. :p
If there's no maintainer, how did this get bumped/broken or stabilised? :|
(In reply to Luke-Jr from comment #4) > If there's no maintainer, how did this get bumped/broken or stabilised? :| While a package may not have a dedicated maintainer, other developers sometimes work on them from time to time. I think the only change between -r0 and -r1 is the 64 bit patch, so you could try without that. Given that it obviously built when stabilised, but there's some change in the build environment that nsis needs updating for.
nsis_w64-mingw.patch breaks the build, specifically: env.Append(CPPDEFINES = ['EXEHEAD']) env.Append(CPPDEFINES = ['WIN32_LEAN_AND_MEAN']) -env.Append(CPPDEFINES = ['_WIN32_IE=0x0500']) +env.SetDefault(CPPDEFINES = ['_WIN32_IE=0x0501']) Changing this back to Append fixes it. This change doesn't make any sense: CPPDEFINES *must* be defined by the time SetDefault is called here, since it is Append'd for the other 2+ defines immediately prior. This means SetDefault is a no-op. In any case, without it defined, headers only have the bare minimum defined, which doesn't include the three macros that were then misinterpreted as functions and later found to not resolve. I don't think this needs an ebuild revbump, since anyone with the problem couldn't have installed -r1 anyway. Simply adding a single line after the epatch'ing is sufficient: sed -i 's/SetDefault/Append/' "${S}/Source/exehead/SConscript"
+ 26 Sep 2014; Pacho Ramos <pacho@gentoo.org> nsis-2.46-r1.ebuild: + Fix building (#505996 by Luke-Jr) +