[MacPorts] #35528: transfig build fails without error

MacPorts noreply at macports.org
Fri Aug 17 15:52:54 PDT 2012


#35528: transfig build fails without error
----------------------------------------+-----------------------------------
  Reporter:  jurgen.defurne@…           |       Owner:  ryandesign@…           
      Type:  defect                     |      Status:  closed                 
  Priority:  Normal                     |   Milestone:                         
 Component:  ports                      |     Version:  2.1.2                  
Resolution:  fixed                      |    Keywords:  clang                  
      Port:  transfig                   |  
----------------------------------------+-----------------------------------
Changes (by ryandesign@…):

  * status:  assigned => closed
  * resolution:  => fixed


Comment:

 Replying to [comment:10 ryandesign@…]:
 > The problem occurs because of a combination of factors. First, transfig
 does not build with clang. The portfile was already modified in r89950 to
 use llvm-gcc-4.2 instead of clang, but additionally, not all parts of the
 transfig build were UsingTheRightCompiler, so they still used the system
 default compiler. With Xcode 4.4 (or even 4.3 already?) the system default
 compiler changed from llvm-gcc-4.2 to clang.

 Fixed in r96726. Now it's always UsingTheRightCompiler and -arch flags,
 and I added a universal variant and increased the revision to force a
 rebuild.

 > Finally, the transfig build does not detect when parts fail to build,
 and it proceeds anyway, ending up with a "successful" install that's
 missing parts that should be there.

 Added detection for this problem to the portfile in r96725 so that if in
 the future new compilers cause other build problems, we'll be notified by
 the port failing to build.

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


More information about the macports-tickets mailing list