[MacPorts] #17090: apr 1.3.3 doesn't compile universal x86_64+i386

MacPorts noreply at macports.org
Sun Nov 30 18:54:51 PST 2008


#17090: apr 1.3.3 doesn't compile universal x86_64+i386
---------------------------------+------------------------------------------
 Reporter:  pguyot@…             |       Owner:  dluke@…           
     Type:  defect               |      Status:  assigned          
 Priority:  Normal               |   Milestone:  Port Bugs         
Component:  ports                |     Version:  1.7.0             
 Keywords:                       |        Port:  apr               
---------------------------------+------------------------------------------

Comment(by dluke@…):

 Replying to [comment:13 toby@…]:
 > I suppose my point is that it's hardly a problem unique to apr, so it
 doesn't make sense to file a bug against apr.

 Except that that's the best place to fix it, and being a portable API the
 people who work on it are likely to be interested in making things work
 for multi-arch builds.

 > MacPorts is essentially "doing it wrong" when it comes to building
 universal ports, because it's running the configure script and hoping that
 the answers are right for all of the requested architectures. Of course,
 the alternative isn't any better.

 The only way things get better is if people are made aware of the issue.

 > With this reality in mind, patching config.h after the fact is hardly
 the worst option.

 Except that it is often insufficient since one set of config.h values
 might not be valid for all architectures that are being compiled for
 and/or there could be other files that embed configure-time assumptions
 that don't make sense for multi-arch builds.

 > As far as a dependency on ed is concerned... well, if you can find me a
 unix system without ed, let me know. :)

 It's unlikely, but possible for it not to be there. It's also unlikely but
 possible that it would be broken somehow. It's usually best to limit
 external dependencies as much as possible. It could also be moved at some
 point to somewhere outside of $PATH (or $PATH could be set differently in
 future versions of macports).

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


More information about the macports-tickets mailing list