[MacPorts] #42424: avrdude: Opportunistic linking against libelf
#42424: avrdude: Opportunistic linking against libelf ----------------------+--------------------- Reporter: raimue@… | Owner: bsd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: avrdude ----------------------+--------------------- avrdude uses libelf headers if the port is installed prior to compilation, but does not declare the appropriate dependency. With libelf: {{{ $ port -q installed \( libelf avrdude \) and active avrdude @6.0.1_0 (active) libelf @0.8.13_2 (active) $ sudo port -v configure avrdude [...] Configuration summary: ---------------------- DO HAVE libelf [...] }}} Without libelf: {{{ $ port -q installed \( libelf avrdude \) and active avrdude @6.0.1_0 (active) $ sudo port -v configure avrdude [...] Configuration summary: ---------------------- DON'T HAVE libelf [...] }}} This means the resulting binary changes whether libelf was active at the time of compilation or not. Builds are meant to be reproducible, they should not change due to factors not declared in the Portfile. -- Ticket URL: <https://trac.macports.org/ticket/42424> MacPorts <http://www.macports.org/> Ports system for OS X
#42424: avrdude: Opportunistic use of libelf headers -----------------------+------------------- Reporter: raimue@… | Owner: bsd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: avrdude | -----------------------+------------------- -- Ticket URL: <https://trac.macports.org/ticket/42424#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42424: avrdude: Opportunistic use of libelf headers -----------------------+------------------- Reporter: raimue@… | Owner: bsd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: avrdude | -----------------------+------------------- Comment (by macports@…): The easiest solution would be to enforce a dependency on libelf (see attached patch). Chances are probably pretty low that someone wants to use avrdude without ELF support, so we don't need an extra variant. -- Ticket URL: <https://trac.macports.org/ticket/42424#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42424: avrdude: Opportunistic use of libelf headers -----------------------+-------------------- Reporter: raimue@… | Owner: bsd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: avrdude | -----------------------+-------------------- Changes (by g5pw@…): * status: new => closed * resolution: => fixed Comment: Fixed by explicitly depending on libelf in r120473. -- Ticket URL: <https://trac.macports.org/ticket/42424#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts