[MacPorts] #25760: icu pkgdata fails to backslash space in path

MacPorts noreply at macports.org
Wed Jul 21 20:55:41 PDT 2010


#25760: icu pkgdata fails to backslash space in path
----------------------------+-----------------------------------------------
 Reporter:  hteo@…          |       Owner:  macports-tickets@…                   
     Type:  defect          |      Status:  new                                  
 Priority:  Normal          |   Milestone:                                       
Component:  ports           |     Version:  1.9.1                                
 Keywords:                  |        Port:  icu                                  
----------------------------+-----------------------------------------------

Old description:

> 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
> -------------------

New description:

 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
 }}}

--

Comment(by ryandesign@…):

 Replying to [ticket:25760 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

-- 
Ticket URL: <http://trac.macports.org/ticket/25760#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list