Opened 9 years ago
Last modified 7 years ago
#125 new defect
Macros fix: wlib doesn't like double backslashes as a path entries separator
Reported by: | valerius | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 0.2.0 |
Component: | kBuild | Version: | noversion |
Keywords: | OpenWatcom wlib "OS/2", vbox, virtualbox, kbuild | Cc: |
Description
When compiling VBox (PC BIOS and VGA BIOS) for OS/2 host, a Watcom librarian is used. The error is the following:
C VBoxPcBios32 - {C}/src/VBox/Devices/PC/BIOS/pci32.c AR VBoxPcBios32 Error! Cannot find file 'N:\\src\\vbox\\out\\os2.x86\\release\\obj\\VBoxPcBios32\\pci32.obj' kmk: *** [N:/src/vbox/out/os2.x86/release/obj/VBoxPcBios32/VBoxPcBios32.lib] Error 8 The failing command: @F:/usr/bin/kmk_redirect.exe -E 'BEGINLIBPATH=f:/dev/watcom/binp/dll;N:\src\vbox\out\os2.x86\release\bin' -E 'LIBPATHSTRICT=T' -E 'PATH=f:/dev/watcom/binp;f:/dev/watcom/binw;N:\src\vbox\out\os2.x86\release\bin;N:\src\vbox\tools\os2.x86\bin;f:\usr\bin;N:\usr\bin;f:\dev\SIBYL\BIN;f:\NETSCAPE\PROGRAM;d:\sys\drv\sses\bin;d:\MPTN\BIN;d:\IBMCOM;f:\os2tk45\som\common;f:\os2tk45\som\bin;f:\os2tk45\bin;f:\odin\system32;f:\odin\system;d:\IBMLAN\NETPROG;d:\MUGLIB;d:\IBMGSK40\BIN;d:\IBMGSK\BIN;d:\TCPIP\BIN;d:\OS2;d:\OS2\SYSTEM;d:\OS2\MDOS\WINOS2;d:\OS2\INSTALL;d:\;d:\OS2\MDOS;d:\OS2\APPS;f:\usr\local\bin;f:\usr\sbin;f:\usr\bin;t:\bin;t:\emx\bin;t:\usr\X11R6\bin;t:\XFree86\bin;t:\usr\bin;t:\usr\local\bin;t:\usr\local\qt\bin;t:\opt\kde\bin;:\MMOS2;d:\TOOLS\WATCHCAT;f:\ap\sys\TOOLS\GTU40;f:\sys\ap\bin;d:\sys\bin;d:\bin;d:\sys\ifs\cdwfs;f:\usr\lib\Python27;f:\usr\lib\python26;f:\dn;f:\emx\usr\bin;f:\xwarpzilla\bin;f:\sys\ap\MAUL;f:\sys\ap\hpp;d:\sys\util\os2trace;d:\sys\util\PPWiz;d:\sys\ifs\ndfs;f:\sane\bin;F:\JAVA13\JRE\BIN;F:\JAVA11\ICATJAVA\BIN;F:\JAVA11\BIN;D:\CBASED;d:\sys\drv\amouse;f:\pmx\bin;;' -E 'WATCOM=f:/dev/watcom' -E 'EDPATH=f:/dev/watcom/EDDAT' -E 'LIB=' -E 'INCLUDE=' -- f:/dev/watcom/binp/wlib.exe -q N:\\src\\vbox\\out\\os2.x86\\release\\obj\\VBoxPcBios32\\VBoxPcBios32.lib @N:/src/vbox/out/os2.x86/release/obj/VBoxPcBios32/VBoxPcBios32.rsp
The cause is that the double '\' is used in .rsp and a command line for wlib.exe:
VBoxPcBios32.rsp: +"N:\\src\\vbox\\out\\os2.x86\\release\\obj\\VBoxPcBios32\\pci32.obj"
kmk --version kmk - kBuild version 0.1.9998 (r2687) [n:\src\vbox\out\os2.x86\release\bin]rpm -q kbuild kbuild-0.1.9998.6-1.i386
-- This is the last kBuild RPM OS/2 port
The fix is to change TOOL_OPENWATCOM_FIX_SLASHES to TOOL_OPENWATCOM_FIX_SLASHES_SQ (the patch is attached).
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | kbuild-OPENWATCOM.kmk.diff added |
---|
comment:1 by , 9 years ago
Note:
See TracTickets
for help on using tickets.
Note that the same problem exists in OPENWATCOM-16.kmk and also needs to be fixed, just in case.