[MacPorts] #22870: muniversal group: merge .la dependency_libs value
#22870: muniversal group: merge .la dependency_libs value ---------------------------------+------------------------------------------ Reporter: pguyot@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.1 Keywords: | Port: ---------------------------------+------------------------------------------ .la files are automatically generated text files that contain linking information. muniversal group fails if two .la files differ. However, it seems we could apply some heuristics, for example with the dependency_libs key. i386 and x86_64 libgettextlib.la files are identical except for the following line: {{{ # Libraries that this one depends upon. dependency_libs=' /opt/local/lib/libintl.la -L/opt/local/lib -lc -ltermcap' }}} {{{ # Libraries that this one depends upon. dependency_libs=' -R/opt/local/lib /opt/local/lib/libintl.la -L/opt/local/lib -lc /opt/local/lib/libiconv.la -lncurses' }}} That these lines could probably be merged by putting every item in each, and that wouldn't create a problem. The attached patch does just this and allows gettext +universal to be built on 10.6. The patch could be extended to process inherited_linker_flags as well (see ticket #22801). What do you think? -- Ticket URL: <http://trac.macports.org/ticket/22870> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22870: muniversal group: merge .la dependency_libs value ---------------------------------+------------------------------------------ Reporter: pguyot@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.1 Keywords: | Port: muniversal ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: mcalhoun@… (added) * port: => muniversal Comment: Replying to [ticket:22870 pguyot@…]:
i386 and x86_64 libgettextlib.la files are identical except for the following line:
They are completely identical for me on Snow Leopard. Are you certain your ncurses and ncursesw are built universal for the same architectures as those for which you are now trying to build gettext? -- Ticket URL: <http://trac.macports.org/ticket/22870#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22870: muniversal group: merge .la dependency_libs value ---------------------------------+------------------------------------------ Reporter: pguyot@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.1 Keywords: | Port: muniversal ---------------------------------+------------------------------------------ Comment(by pguyot@…): Indeed, ncurses and ncursesw were not built +universal. -- Ticket URL: <http://trac.macports.org/ticket/22870#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22870: muniversal group: merge .la dependency_libs value ---------------------------------+------------------------------------------ Reporter: pguyot@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 1.8.1 Keywords: | Port: muniversal ---------------------------------+------------------------------------------ Comment(by ryandesign@…): Replying to [comment:2 pguyot@…]:
Indeed, ncurses and ncursesw were not built +universal. That specific problem should be addressed by #22876. I am worried about applying your proposed change to the muniversal portgroup, because differences in .la files are often caused by dependencies that are not built universal, and we don't want to mask that problem.
-- Ticket URL: <http://trac.macports.org/ticket/22870#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22870: muniversal group: merge .la dependency_libs value --------------------------+-------------------------------- Reporter: pguyot@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.8.1 Resolution: wontfix | Keywords: Port: muniversal | --------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => wontfix Comment: This issue should be solved due to #38010 (dependency_libs will now be removed from all ports). -- Ticket URL: <https://trac.macports.org/ticket/22870#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts