Ticket #326 (new bug)

Opened 13 years ago

Last modified 11 years ago

win32 Wide API needed . 'make smoke' failed 63 tests.

Reported by: jimmy Owned by: fperrad
Priority: major Milestone:
Component: core Version: trunk
Severity: high Keywords:
Cc: nwellnhof, plobsing Language:
Patch status: Platform: win32

Description (last modified by rurban) (diff)

It failed 63 tests.

see  http://smolder.plusthree.com/app/public_projects/report_details/17984

parrot fails to load: .\parrot.exe -o C:/DOCUME~1/É¢»¨ÄÁÈË/LOCALS~1/Temp/tySepN24eO

The Windows Wide API is not enabled.

As workaround $TEMP could be checked to point to a pure ascii path.

Attachments

parrot_test_run.tar.gz Download (136.9 KB) - added by jimmy 13 years ago.

Change History

  Changed 13 years ago by jimmy

Summary of my parrot 0.9.0 (r0) configuration:
  configdate='Fri Feb 13 14:04:10 2009 GMT'
  Platform:
    osname=MSWin32, archname=MSWin32-x86-multi-thread
    jitcapable=0, jitarchname=nojit,
    jitosname=MSWin32, jitcpuarch=i386
    execcapable=0
    perl=D:\strawberry\perl\bin\perl.exe
  Compiler:
    cc='gcc', ccflags='-DWIN32  -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 -funit-at-a-time -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wno-missing-format-attribute -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull',
  Linker and Libraries:
    ld='g++', ldflags='',
    cc_ldflags='',
    libs='-lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lgmp'
  Dynamic Linking:
    share_ext='.dll', ld_share_flags='-shared ',
    load_ext='.dll', ld_load_flags='-shared '
  Types:
    iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
    ptrsize=4, ptr_alignment=1 byteorder=1234, 
    nv=double, numvalsize=8, doublesize=8

Changed 13 years ago by jimmy

  Changed 13 years ago by rurban

  • status changed from new to assigned
  • severity changed from medium to high
  • priority changed from normal to major
  • platform set to win32
  • version set to trunk
  • milestone set to 1.0
  • owner set to rurban

This is mingw.

A chinese username fools the perl5 test tools

  .\parrot.exe -o C:/DOCUME~1/É¢»¨ÄÁÈË/LOCALS~1/Temp/tySepN24eO

follow-up: ↓ 5   Changed 13 years ago by jkeenan

It's hard for me to get a handle on this because in the Smolder report it says this was done at SVN revision 0. IIRC, that's what shows up when you get the code via rsync or from the monthly distribution. (Correct me if I'm wrong.) So it makes it difficult for me to tell whether the problems that led to these errors have already been fixed or not.

Thank you very much.
kid51

in reply to: ↑ 4   Changed 13 years ago by jimmy

Replying to jkeenan:

It's hard for me to get a handle on this because in the Smolder report it says this was done at SVN revision 0. IIRC, that's what shows up when you get the code via rsync or from the monthly distribution. (Correct me if I'm wrong.) So it makes it difficult for me to tell whether the problems that led to these errors have already been fixed or not. Thank you very much.
kid51

it failed all the time. Here is r36673.

  Changed 13 years ago by rurban

  • description modified (diff)
  • summary changed from 'make smoke' failed 63 tests. to win32 Wide API needed . 'make smoke' failed 63 tests.

src/io/win32.c must be adapted to use the wide-char API on MSWin, as parrot does not accept wchar pathnames. I guess this is just one header entry to be flipped.

This limitation should be prominently noted.

Parrot_add_library_path should be changed to use STRING, not char*

  Changed 13 years ago by rurban

  • owner changed from rurban to fperrad
  • status changed from assigned to new

  Changed 13 years ago by NotFound

Note that Parrot_add_library_path is currently used only in imcc/main.c, where his argument is taken from command line arguments. Changing it to use a STRING without other changes will require to build temporary strings for no benefit.

  Changed 13 years ago by whiteknight

  • milestone 1.3 deleted

  Changed 13 years ago by jkeenan

  • component changed from none to core

  Changed 12 years ago by jimmy

Also see TT #888.

  Changed 11 years ago by jkeenan

Would it be possible to get an update on the status of this ticket?

Thank you very much.

kid51

  Changed 11 years ago by whiteknight

  • cc nwellnhof, plobsing added

This seems like something that would be addressed by the recent platform-default encodings work.

CCing nwellnhof and plobsing

  Changed 11 years ago by nwellnhof

This is blocked by TT #800 (Unicode command line arguments).

Note: See TracTickets for help on using tickets.