[MacPorts] #25760: icu pkgdata fails to backslash space in path
#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 ----------------------------+----------------------------------------------- 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 ------------------- -- Ticket URL: <http://trac.macports.org/ticket/25760> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 ----------------------------+----------------------------------------------- Comment(by hteo@…): Replying to [comment:1 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.
I created a directory /Volumes/Secondary HD/macports, and soft-linked it to /opt/local/var/macports. I did this because my primary boot drive is an SSD. So while the /opt tree still resides on the boot drive, I wanted to keep macports's working directory off the SSD onto the secondary drive. I understand that it's possible that this may be a generic issue, but I singled out the icu port because of all the ports that I have installed, only 2 so far has this problem (R and texlive). Both used icu, and both encountered compilation errors in the icu part of the code and not anywhere else in the code. So I thought it may be specific to icu. After some debugging, I thought it's a path problem related to pkgdata. -- Ticket URL: <http://trac.macports.org/ticket/25760#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------+----------------------------------------------- Comment(by srl@…): I think it's an upstream (ICU) problem. It looks like there just arent' quotes around the -s option (it's probably called from the Makefile). Please file a bug there http://icu-project.org and reference this one. -- Ticket URL: <http://trac.macports.org/ticket/25760#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25760: icu pkgdata fails to backslash space in path ----------------------------+----------------------------------------------- Reporter: hteo@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: icu ----------------------------+----------------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => nox@… -- Ticket URL: <http://trac.macports.org/ticket/25760#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25760: icu pkgdata fails to backslash space in path ----------------------------+----------------------------------------------- Reporter: hteo@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: icu ----------------------------+----------------------------------------------- Comment(by hteo@…): I've submitted a new ticket at icu-projects: [http://bugs.icu-project.org/trac/ticket/7883] -- Ticket URL: <http://trac.macports.org/ticket/25760#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 ----------------------------+----------------------------------------------- Changes (by jmr@…): * owner: nox@… => macports-tickets@… -- Ticket URL: <https://trac.macports.org/ticket/25760#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#25760: icu pkgdata fails to backslash space in path -----------------------------+---------------------------------------------- Reporter: hteo@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: fixed | Keywords: Port: icu | -----------------------------+---------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Upstream ticket is marked as fixed in 4.6, and we're at 4.6.1 now. -- Ticket URL: <https://trac.macports.org/ticket/25760#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts