Building on Windows fails (Cygwin with MSVC compiler, not GCC or Clang)

Description

Hello,

I have experiencing the same issue as described in https://unicode-org.atlassian.net/browse/ICU-20315. I am using latest icu 64.2 from GIT (with commit a5bbd50).

The build system was complaining for missing mappings directory, so I have created it manually. However, the build stopp either way with

make[1]: Entering directory '/cygdrive/d/W/Icu/src_64.2/build/icu-x86-static-debug-vs2017/data'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/cns-11643-1992.ucm
Warning: mappings/cns-11643-1992.cnv claims to be 'CNS-11643-1992'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ebcdic-xml-us.ucm
Warning: mappings/ebcdic-xml-us.cnv claims to be 'ebcdic-xml-us'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/euc-jp-2007.ucm
Warning: mappings/euc-jp-2007.cnv claims to be 'euc-jp-2007'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/euc-tw-2014.ucm
Warning: mappings/euc-tw-2014.cnv claims to be 'euc-tw-2014'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/gb18030.ucm
Warning: mappings/gb18030.cnv claims to be 'gb18030'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/gsm-03.38-2009.ucm
Warning: mappings/gsm-03.38-2009.cnv claims to be 'gsm-03.38-2009'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1006_P100-1995.ucm
Warning: mappings/ibm-1006_P100-1995.cnv claims to be 'ibm-1006_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1025_P100-1995.ucm
Warning: mappings/ibm-1025_P100-1995.cnv claims to be 'ibm-1025_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1026_P100-1995.ucm
Warning: mappings/ibm-1026_P100-1995.cnv claims to be 'ibm-1026_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1047_P100-1995.ucm
Warning: mappings/ibm-1047_P100-1995.cnv claims to be 'ibm-1047_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1051_P100-1995.ucm
Warning: mappings/ibm-1051_P100-1995.cnv claims to be 'ibm-1051_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1089_P100-1995.ucm
Warning: mappings/ibm-1089_P100-1995.cnv claims to be 'ibm-1089_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1097_P100-1995.ucm
Warning: mappings/ibm-1097_P100-1995.cnv claims to be 'ibm-1097_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1098_P100-1995.ucm
Warning: mappings/ibm-1098_P100-1995.cnv claims to be 'ibm-1098_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1112_P100-1995.ucm
Warning: mappings/ibm-1112_P100-1995.cnv claims to be 'ibm-1112_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1122_P100-1999.ucm
Warning: mappings/ibm-1122_P100-1999.cnv claims to be 'ibm-1122_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1123_P100-1995.ucm
Warning: mappings/ibm-1123_P100-1995.cnv claims to be 'ibm-1123_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1124_P100-1996.ucm
Warning: mappings/ibm-1124_P100-1996.cnv claims to be 'ibm-1124_P100-1996'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1125_P100-1997.ucm
Warning: mappings/ibm-1125_P100-1997.cnv claims to be 'ibm-1125_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1129_P100-1997.ucm
Warning: mappings/ibm-1129_P100-1997.cnv claims to be 'ibm-1129_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1130_P100-1997.ucm
Warning: mappings/ibm-1130_P100-1997.cnv claims to be 'ibm-1130_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1131_P100-1997.ucm
Warning: mappings/ibm-1131_P100-1997.cnv claims to be 'ibm-1131_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1132_P100-1998.ucm
Warning: mappings/ibm-1132_P100-1998.cnv claims to be 'ibm-1132_P100-1998'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1133_P100-1997.ucm
Warning: mappings/ibm-1133_P100-1997.cnv claims to be 'ibm-1133_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1137_P100-1999.ucm
Warning: mappings/ibm-1137_P100-1999.cnv claims to be 'ibm-1137_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1140_P100-1997.ucm
Warning: mappings/ibm-1140_P100-1997.cnv claims to be 'ibm-1140_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1141_P100-1997.ucm
Warning: mappings/ibm-1141_P100-1997.cnv claims to be 'ibm-1141_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1142_P100-1997.ucm
Warning: mappings/ibm-1142_P100-1997.cnv claims to be 'ibm-1142_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1143_P100-1997.ucm
Warning: mappings/ibm-1143_P100-1997.cnv claims to be 'ibm-1143_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1144_P100-1997.ucm
Warning: mappings/ibm-1144_P100-1997.cnv claims to be 'ibm-1144_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1145_P100-1997.ucm
Warning: mappings/ibm-1145_P100-1997.cnv claims to be 'ibm-1145_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1146_P100-1997.ucm
Warning: mappings/ibm-1146_P100-1997.cnv claims to be 'ibm-1146_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1147_P100-1997.ucm
Warning: mappings/ibm-1147_P100-1997.cnv claims to be 'ibm-1147_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1148_P100-1997.ucm
Warning: mappings/ibm-1148_P100-1997.cnv claims to be 'ibm-1148_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1149_P100-1997.ucm
Warning: mappings/ibm-1149_P100-1997.cnv claims to be 'ibm-1149_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1153_P100-1999.ucm
Warning: mappings/ibm-1153_P100-1999.cnv claims to be 'ibm-1153_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1154_P100-1999.ucm
Warning: mappings/ibm-1154_P100-1999.cnv claims to be 'ibm-1154_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1155_P100-1999.ucm
Warning: mappings/ibm-1155_P100-1999.cnv claims to be 'ibm-1155_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1156_P100-1999.ucm
Warning: mappings/ibm-1156_P100-1999.cnv claims to be 'ibm-1156_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1157_P100-1999.ucm
Warning: mappings/ibm-1157_P100-1999.cnv claims to be 'ibm-1157_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1158_P100-1999.ucm
Warning: mappings/ibm-1158_P100-1999.cnv claims to be 'ibm-1158_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1160_P100-1999.ucm
Warning: mappings/ibm-1160_P100-1999.cnv claims to be 'ibm-1160_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1162_P100-1999.ucm
Warning: mappings/ibm-1162_P100-1999.cnv claims to be 'ibm-1162_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1164_P100-1999.ucm
Warning: mappings/ibm-1164_P100-1999.cnv claims to be 'ibm-1164_P100-1999'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1168_P100-2002.ucm
Warning: mappings/ibm-1168_P100-2002.cnv claims to be 'ibm-1168_P100-2002'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1250_P100-1995.ucm
Warning: mappings/ibm-1250_P100-1995.cnv claims to be 'ibm-1250_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1251_P100-1995.ucm
Warning: mappings/ibm-1251_P100-1995.cnv claims to be 'ibm-1251_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1252_P100-2000.ucm
Warning: mappings/ibm-1252_P100-2000.cnv claims to be 'ibm-1252_P100-2000'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1253_P100-1995.ucm
Warning: mappings/ibm-1253_P100-1995.cnv claims to be 'ibm-1253_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1254_P100-1995.ucm
Warning: mappings/ibm-1254_P100-1995.cnv claims to be 'ibm-1254_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1255_P100-1995.ucm
Warning: mappings/ibm-1255_P100-1995.cnv claims to be 'ibm-1255_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1256_P110-1997.ucm
Warning: mappings/ibm-1256_P110-1997.cnv claims to be 'ibm-1256_P110-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1257_P100-1995.ucm
Warning: mappings/ibm-1257_P100-1995.cnv claims to be 'ibm-1257_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1258_P100-1997.ucm
Warning: mappings/ibm-1258_P100-1997.cnv claims to be 'ibm-1258_P100-1997'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-12712_P100-1998.ucm
Warning: mappings/ibm-12712_P100-1998.cnv claims to be 'ibm-12712_P100-1998'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1276_P100-1995.ucm
Warning: mappings/ibm-1276_P100-1995.cnv claims to be 'ibm-1276_P100-1995'
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s ../../../source/data -d ./out/build/icudt64l -c mappings/ibm-1363_P110-1997.ucm
Error creating converter for "./out/build/icudt64l\mappings/ibm-1363_P110-1997.cnv" file for "../../../source/data\mappings/ibm-1363_P110-1997.ucm" (U_FILE_ACCESS_ERROR)
make[1]: *** [../data/rules.mk:188: out/build/icudt64l/ibm-1363_P110-1997.cnv] Error 4
make[1]: Leaving directory '/cygdrive/d/W/Icu/src_64.2/build/icu-x86-static-debug-vs2017/data'
make: *** [Makefile:153: install-recursive] Error 2

Previous mappings were build OK. Full log and config are in attachement,

Activity

Show:
Jeff Genovy
May 19, 2019, 8:35 PM
Edited

This looks like you are using Cygwin with the MSVC compiler , which we don't currently have any build bot coverage for at all. (We have build bot coverage for MSYS2 and Cygwin with GCC).

My first thought is that this is likely due to the automatic path translation magic that Cygwin/MSYS does, which is likely messing things up with the directory separator.

However, I don't have a working Cygwin setup (with MSVC) to really test this at the moment.

Martin Perry
May 24, 2019, 5:38 AM

Yes, I am using Cygwin with MSVC 2017 compiler. I will try MSYS2.

Tamás Szelei
September 4, 2020, 10:42 AM
Edited

The documentation suggests Cygwin (and doesn’t even mention MSYS). It appears that the only way to get data filtering with MSVC is to use the Cygwin+CL build. Is the MSYS build officially supported? Or is there a way to use the filter with the MSVC sln? I see it is set on the CI but when I tried it, it didn’t seem to have any effect.

Assignee

Jeff Genovy

Reporter

Martin Perry

Components

Labels

None

Reviewer

None

Priority

assess

Time Needed

None

Fix versions

Configure