Opened 14 years ago

Last modified 13 years ago

#25760 closed defect

icu pkgdata fails to backslash space in path — at Version 1

Reported by: hteo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: icu

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Not sure if this is a macports problem or upstream problem.

My macports working directory resides on a second harddisk, mounted on "/Volumes/Secondary HD". Notice the space in the path. For some reason, pkgdata fails to backslash the space. So for example,

## Makefile for icudt38l created by pkgdata
## from ICU Version 3.8.1

SRCDIR=/Volumes/Secondary HD/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive-bin/work/texlive-20091107-source/libs/icu/icu-build/data/out/build/icudt38l

So when I compile say R, which uses icu, I encounter compile error in the libs/icu/icu-build directory, like the following:

DYLD_LIBRARY_PATH=../stubdata:../lib:../tools/ctestfw:$DYLD_LIBRARY_PATH  MAKEFLAGS= ../bin/pkgdata -O ../data/icupkg.inc -q -c -s /Volumes/Secondary HD/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive-bin/work/texlive-20091107-source/libs/icu/icu-build/data/out/build/icudt38l -d ../lib -M'PKGDATA_LDFLAGS=""' -e icudt38 -T ./out/tmp -p icudt38l -L sicudata -m static "./out/tmp/icudata.lst"
Error opening <HD/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive-bin/work/texlive-20091107-source/libs/icu/icu-build/data/out/build/icudt38l>.
error loading input file lists: U_FILE_ACCESS_ERROR
make: *** [packagedata] Error 2

Change History (1)

comment:1 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Replying to hteo@…:

My macports working directory resides on a second harddisk

How was this accomplished?

We certainly don't support the MacPorts prefix containing a space; the problem you're experiencing may be an extension of that.

P.S: Don't forget to use WikiFormatting

Note: See TracTickets for help on using tickets.