cannot run recent 0.92.x branch on Windows XP (_time32 error)

Bug #1732936 reported by Alvin Penner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Undecided
Unassigned

Bug Description

- downloaded file inkscape-0.92.2_2017-11-10_47e1a9a-x86.7z (32 bit)
- on Windows XP I get the attached popup error message:

(I have an earlier version of 0.92.x branch compiled on Aug 23, which runs correctly)

Revision history for this message
Alvin Penner (apenner) wrote :
Revision history for this message
Patrick Storz (ede123) wrote :

Hi Alvin, this is the same issue we already discussed on the mailing list:
http://inkscape.13.x6.nabble.com/Confusing-windows-build-instructions-tp4981073p4981079.html

The fix [1] I linked on the mailing list was merged in the meantime and the updated gtk2 build is available from the MSYS2 repos since 10-Nov-2017, so if you're still having this issue you need to update your MSYS2 distribution.

Revision history for this message
Patrick Storz (ede123) wrote :

Unfortunately it seems it already broke again, see attachment as produced by Inkscape 0.92.2 (1b946ed980, 2017-11-15) compiled with fully updated MSYS2 when run on Windows XP (32-bit).

summary: - cannot run recent 0.92.x branch on Windows XP (wcscpy_s error)
+ cannot run recent 0.92.x branch on Windows XP (_time32 error)
Revision history for this message
Patrick Storz (ede123) wrote :

I'll hijack this bug... Hope that's OK.

tags: added: packaging win32 win64
Revision history for this message
Patrick Storz (ede123) wrote :

Seems to be an issue with some recent changes in mingw-w64.

As far as I understand this is already fixed but some libraries still need to be rebuilt, specifically:
  libexslt-0.dll
  libexslt-0.dll
  libfontconfig-1.dll
  libglibmm-2.4-1.dll
  libMagickCore-6.Q16HDRI-5.dll
  libpoppler-70.dll
  libxml2-2.dll

Revision history for this message
Patrick Storz (ede123) wrote :

I rebuilt ImageMagick and updated the build accordingly:
https://gitlab.com/inkscape/inkscape/commit/f09dc3409b5cdbdf4ee2c01633ada47706feccf2

I'll keep an eye on the other libraries, as soon as they're rebuilt upstream in MSYS2 XP compatibility should be restored (at least I hope so).

Revision history for this message
Alvin Penner (apenner) wrote :

thanks for the update. I ran the file
inkscape-0.92.2_2017-11-22_f09dc34-x86.7z
on Windows XP, but unfortunately it crashed as before. Will keep an eye open for updates.

Revision history for this message
Patrick Storz (ede123) wrote :

libxml2 and libxslt are updated and a available in the MSYS2 repo now:
https://github.com/Alexpux/MINGW-packages/pull/3164
https://github.com/Alexpux/MINGW-packages/pull/3165

Means we're down to three:
  libfontconfig-1.dll
  libglibmm-2.4-1.dll
  libpoppler-70.dll

Revision history for this message
Alvin Penner (apenner) wrote :

possibly related problem. I was testing for
https://bugs.launchpad.net/inkscape/+bug/1735451
to see if it was fixed. I installed inkscape-0.92.2_2017-11-30_608fa56-x86.7z
into C:\Windows\Temp and ran the command
C:\WINDOWS\Temp\inkscape>python

This gives me the popup error message (on Windows XP)

Revision history for this message
Patrick Storz (ede123) wrote :

The "GetFileInformationByHandleEx" error is caused by
https://github.com/Alexpux/MINGW-packages/commit/e8768dbff4ddafaf30a5e4954c850773291079b7

I think there's code to support older versions of Windows that do not provide this function but it seems to be broken/disabled for some reason (I asked about it upstream).

Revision history for this message
Patrick Storz (ede123) wrote :

Fix for "GetFileInformationByHandleEx" error submitted upstream:
https://github.com/Alexpux/MINGW-packages/pull/3187

Revision history for this message
Alvin Penner (apenner) wrote :

thanks, the python/Tkinter commands for Bug 1735451 now run correctly on Windows XP, 32 bit, using the file: inkscape-0.92.2_2017-12-22_4c1f5bf-x86.7z

Revision history for this message
Alvin Penner (apenner) wrote :

just writing to confirm that this bug still exists in
Inkscape 0.92.3pre0 (f5a6572, 2018-03-03)

Revision history for this message
Patrick Storz (ede123) wrote :

@Alvin Shall we close this (provided that 0.92.3 properly on XP for you - it should)?

CI builds still do not work due to glibmm (which is still not rebuilt upstream) in case anybody wonders...

Revision history for this message
Alvin Penner (apenner) wrote :

Inkscape 0.92.3pre0 does not run on Windows XP.

is 0.92.3 going to be different than this?

Revision history for this message
Patrick Storz (ede123) wrote :

> is 0.92.3 going to be different than this?

Yes, as explained on the mailing list (see [1], maybe you missed those answers to your complaint?)

0.92.3 is already available, just not officially released yet.

[1] http://inkscape.13.x6.nabble.com/RESEND-inkscape-0-92-3pre0-source-tarball-now-available-td4981581.html

Revision history for this message
Alvin Penner (apenner) wrote :

I'm aware that 0.92.3 is available, I have already tested it, but it does not work

Revision history for this message
Patrick Storz (ede123) wrote :

Then give more information or make sure to use the correct version.
- CI builds *won't* work
- the 32-bit version works fine for me on a 32-bit Windows XP VM

Revision history for this message
Alvin Penner (apenner) wrote :

unfortunately I am not able to compile Inkscape 0.92.x, due to Bug 1727729:
https://bugs.launchpad.net/inkscape/+bug/1727729

Revision history for this message
Patrick Storz (ede123) wrote :

Why'd you want to compile with devlibs now?

The version I uploaded to the website is compiled with MSYS2 and should be working perfectly fine on Windows XP - if you don't want to test it there's nothing I can do, though...

Revision history for this message
Alvin Penner (apenner) wrote :

sorry, I have not been able to find the version you uploaded to the website, do you have a link to it?

Revision history for this message
Patrick Storz (ede123) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

thanks, I found it at:
https://inkscape.org/en/release/0.92.3/windows/32-bit/
the file name that I used is inkscape-0.92.3-x86.7z
when I run it, it reports itself as:
Inkscape 0.92.3 (2405546, 2018-03-11)

this appears to work well on Windows XP.

thanks!

Changed in inkscape:
status: New → Fix Committed
Revision history for this message
LucaDC (lucadc) wrote :

Just tested and works well on my XP too.

I only had to make a change in the first line of share\themes\MS-Windows\gtk-2.0\gtkrc from:
   gtk-icon-sizes = "gtk-menu=13,13:...
to:
   gtk-icon-sizes = "gtk-menu=14,14:...
because the four scaling/moving icons in the toolbar were too small. I didn't check if this is a problem only for the Windows classic theme I'm using.

Thank you.

Alvin Penner (apenner)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.