[MacPorts] #37786: Avarice @2.13 r1 Build failure - config.h not included correctly

MacPorts noreply at macports.org
Fri Jan 25 14:21:31 PST 2013


#37786: Avarice @2.13 r1 Build failure - config.h not included correctly
-------------------------+--------------------------------
 Reporter:  christian@…  |      Owner:  macports-tickets@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.1.2
 Keywords:               |       Port:  avarice
-------------------------+--------------------------------
 Changeset [101695] (enabling the deprecated target programming feature
 with the --enable-target-programming configure option) seems to have
 broken the avarice build process again (see #37603).  --enable-target-
 programming turns on a dependency on libbfd.  That dependency looks like
 it is causing the issue.  From the main.log:
 {{{
 :info:build In file included from jtag2prog.cc:41:
 :info:build /opt/local/avr/host/include/bfd.h:37:2: error: config.h must
 be included before this header
 :info:build #error config.h must be included before this header
 :info:build  ^
 :info:build 1 error generated.
 }}}

 Note that the error occurs when including bfd.h, which would not be
 included absent the --enable-target-programming switch.  The 2.13 release
 notes for avarice state that the target programming feature is deprecated,
 and the user is expected to use avrdude to program the device.

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


More information about the macports-tickets mailing list