[MacPorts] #25772: texlive-bin build tries to link with icu port due to LDFLAGS and may fail (in icubuild)

MacPorts noreply at macports.org
Fri Jul 23 16:18:56 PDT 2010


#25772: texlive-bin build tries to link with icu port due to LDFLAGS and may fail
(in icubuild)
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  dports@…           
     Type:  defect               |      Status:  assigned           
 Priority:  Normal               |   Milestone:                     
Component:  ports                |     Version:  1.9.1              
 Keywords:                       |        Port:  texlive-bin        
---------------------------------+------------------------------------------

Comment(by vinc17@…):

 Replying to [comment:3 dports@…]:
 > Interesting. I thought this problem had been fixed in texlive because it
 installs fine for me (and apparently others) with icu installed. Maybe the
 latest icu port matches the version in texlive but yours is too old.

 Perhaps the new icu has the same symbols as the one provided by texlive.
 But though in such a case, the build completes with no errors, it is still
 incorrect as the link isn't done against the correct icu library.

 > I agree that the proper solution is for base to use LIBRARY_PATH and
 C_INCLUDE_PATH (or similar) instead of -L and -I CFLAGS, but who knows
 when that'll happen.

 AFAIK, -isystem is used instead of -I; this is a bit like C_INCLUDE_PATH:
 the -I options (e.g. those with relative directories) will have the
 precedence, as wanted. This also probably explains the "Undefined symbols"
 error I get: the library (taken from the icu port) and the header (taken
 from texlive) do not match.

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


More information about the macports-tickets mailing list