[MacPorts] #20302: Configuration Dependency issue: texlive_base @2007_7 fails to compile if icu @4.2.1_1 is installed.

MacPorts noreply at macports.org
Tue Jul 14 09:44:14 PDT 2009


#20302: Configuration Dependency issue: texlive_base @2007_7 fails to compile if
icu @4.2.1_1 is installed.
---------------------------+------------------------------------------------
 Reporter:  sck@…          |       Owner:  nox@…           
     Type:  defect         |      Status:  new             
 Priority:  Normal         |   Milestone:                  
Component:  ports          |     Version:  1.7.1           
 Keywords:                 |        Port:  texlive_base icu
---------------------------+------------------------------------------------
Changes (by macsforever2000@…):

  * keywords:  texlive_base icu =>
  * owner:  macports-tickets@… => nox@…


Old description:

> Just stumbled across this, and am submitting a bug report as well, but in
> case you are having this problem. Here is any easy fix...
>
> When you build icu BEFORE texlive_base, texlive_base fails with...
>
>     Biko:~ sck$ sudo port install icu texlive_base
>     --->  Fetching icu
>     --->  Verifying checksum(s) for icu
>     --->  Extracting icu
>     --->  Applying patches to icu
>     --->  Configuring icu
>     --->  Building icu
>     --->  Staging icu into destroot
>     --->  Installing icu @4.2.1_1
>     --->  Activating icu @4.2.1_1
>     --->  Cleaning icu
>     --->  Fetching texlive_base
>     --->  Verifying checksum(s) for texlive_base
>     --->  Extracting texlive_base
>     --->  Applying patches to texlive_base
>     --->  Configuring texlive_base
>     --->  Building texlive_base
>     Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007"
> && make all " returned error 2
>     Command output:       _main in makeconv.o
>       "_u_errorName_3_4", referenced from:
>           _main in makeconv.o
>           _main in makeconv.o
>           _main in makeconv.o
>       "_u_strFromUTF32_3_4", referenced from:
>           _generateToUTable in gencnvex.o
>           _generateToUTable in gencnvex.o
>       "_T_FileStream_write_3_4", referenced from:
>           _main in makeconv.o
>       "_uprv_free_3_4", referenced from:
>           _MBCSClose in genmbcs.o
>           _MBCSClose in genmbcs.o
>           _MBCSClose in genmbcs.o
>       "_T_FileStream_open_3_4", referenced from:
>           _readFile in makeconv.o
>           _main in makeconv.o
>       "_T_FileStream_readLine_3_4", referenced from:
>           _readFile in makeconv.o
>           _readFile in makeconv.o
>       "_T_CString_stricmp_3_4", referenced from:
>           _main in makeconv.o
>       "_uprv_isInvariantString_3_4", referenced from:
>           _main in makeconv.o
>     ld: symbol(s) not found
>     collect2: ld returned 1 exit status
>     make[3]: *** [../../bin/makeconv] Error 1
>     make[2]: *** [all-recursive] Error 2
>     make[1]: *** [all-recursive] Error 2
>     make: *** [libs/icu-xetex/lib/libsicuuc.a] Error 2
>
>     Error: Status 1 encountered during processing.
>     Biko:~ sck$
>
> But, if you compile texlive_base FIRST, then icu, everything is happy!!!
>
>     Biko:~ sck$ sudo port install texlive_base icu
>     --->  Fetching texlive_base
>     --->  Verifying checksum(s) for texlive_base
>     --->  Extracting texlive_base
>     --->  Applying patches to texlive_base
>     --->  Configuring texlive_base
>     --->  Building texlive_base
>     --->  Staging texlive_base into destroot
>     --->  Installing texlive_base @2007_7+motif
>     --->  Activating texlive_base @2007_7+motif
>     --->  Cleaning texlive_base
>     --->  Fetching icu
>     --->  Verifying checksum(s) for icu
>     --->  Extracting icu
>     --->  Applying patches to icu
>     --->  Configuring icu
>     --->  Building icu
>     --->  Staging icu into destroot
>     --->  Installing icu @4.2.1_1
>     --->  Activating icu @4.2.1_1
>     --->  Cleaning icu
>     Biko:~ sck$
>
> Enjoy,
>
> Scott

New description:

 Just stumbled across this, and am submitting a bug report as well, but in
 case you are having this problem. Here is any easy fix...

 When you build icu BEFORE texlive_base, texlive_base fails with...

 {{{
     Biko:~ sck$ sudo port install icu texlive_base
     --->  Fetching icu
     --->  Verifying checksum(s) for icu
     --->  Extracting icu
     --->  Applying patches to icu
     --->  Configuring icu
     --->  Building icu
     --->  Staging icu into destroot
     --->  Installing icu @4.2.1_1
     --->  Activating icu @4.2.1_1
     --->  Cleaning icu
     --->  Fetching texlive_base
     --->  Verifying checksum(s) for texlive_base
     --->  Extracting texlive_base
     --->  Applying patches to texlive_base
     --->  Configuring texlive_base
     --->  Building texlive_base
     Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_texlive_base/work/texlive_base-2007"
 && make all " returned error 2
     Command output:       _main in makeconv.o
       "_u_errorName_3_4", referenced from:
           _main in makeconv.o
           _main in makeconv.o
           _main in makeconv.o
       "_u_strFromUTF32_3_4", referenced from:
           _generateToUTable in gencnvex.o
           _generateToUTable in gencnvex.o
       "_T_FileStream_write_3_4", referenced from:
           _main in makeconv.o
       "_uprv_free_3_4", referenced from:
           _MBCSClose in genmbcs.o
           _MBCSClose in genmbcs.o
           _MBCSClose in genmbcs.o
       "_T_FileStream_open_3_4", referenced from:
           _readFile in makeconv.o
           _main in makeconv.o
       "_T_FileStream_readLine_3_4", referenced from:
           _readFile in makeconv.o
           _readFile in makeconv.o
       "_T_CString_stricmp_3_4", referenced from:
           _main in makeconv.o
       "_uprv_isInvariantString_3_4", referenced from:
           _main in makeconv.o
     ld: symbol(s) not found
     collect2: ld returned 1 exit status
     make[3]: *** [../../bin/makeconv] Error 1
     make[2]: *** [all-recursive] Error 2
     make[1]: *** [all-recursive] Error 2
     make: *** [libs/icu-xetex/lib/libsicuuc.a] Error 2

     Error: Status 1 encountered during processing.
     Biko:~ sck$
 }}}

 But, if you compile texlive_base FIRST, then icu, everything is happy!!!

 {{{
     Biko:~ sck$ sudo port install texlive_base icu
     --->  Fetching texlive_base
     --->  Verifying checksum(s) for texlive_base
     --->  Extracting texlive_base
     --->  Applying patches to texlive_base
     --->  Configuring texlive_base
     --->  Building texlive_base
     --->  Staging texlive_base into destroot
     --->  Installing texlive_base @2007_7+motif
     --->  Activating texlive_base @2007_7+motif
     --->  Cleaning texlive_base
     --->  Fetching icu
     --->  Verifying checksum(s) for icu
     --->  Extracting icu
     --->  Applying patches to icu
     --->  Configuring icu
     --->  Building icu
     --->  Staging icu into destroot
     --->  Installing icu @4.2.1_1
     --->  Activating icu @4.2.1_1
     --->  Cleaning icu
     Biko:~ sck$
 }}}

 Enjoy,

 Scott

--

Comment:

 Assigning to the maintainer of icu since texlive_base has no maintainer.

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


More information about the macports-tickets mailing list