[MacPorts] #42424: avrdude: Opportunistic linking against libelf

MacPorts noreply at macports.org
Sun Feb 9 09:29:09 PST 2014


#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


More information about the macports-tickets mailing list