[RTEMS Project] #4927: "Build Your Application" (Quick Start section 2.7) doesn't work
RTEMS trac
trac at rtems.org
Thu Aug 10 21:59:30 UTC 2023
#4927: "Build Your Application" (Quick Start section 2.7) doesn't work
-----------------------+---------------------
Reporter: bsterling | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: admin | Version:
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: |
-----------------------+---------------------
Comment (by John Willis):
I had this same issue. I traced the problem to the fact that line 862
mentioned in the ticket has a bug in the call `next(i for i, field in
enumerate(fields) if field.startswith('rtems))`
This causes a stop iteration when the generator, on which we are calling
next, is empty. In my case, the directory being searched for files ending
in `.pc` and starting with `rtems` consists of :
./rtems/6/lib/pkgconfig/sparc-rtems6-erc32.pc
./rtems/6/lib/pkgconfig/gmp.pc
./rtems/6/lib/pkgconfig/expat.pc
./rtems/6/lib/pkgconfig/sparc-rtems6-leon3.pc
when the function gets to "gmp.pc" or "expat.pc", it will fail with a
StopIteration because we are calling "next" on an empty generator.
--
Ticket URL: <http://devel.rtems.org/ticket/4927#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list