[RTEMS Project] #2420: RSB %source file fails

RTEMS trac trac at rtems.org
Tue Sep 15 08:45:29 UTC 2015


#2420: RSB %source file fails
--------------------+-----------------------
 Reporter:  javi    |       Owner:  chrisj
     Type:  defect  |      Status:  assigned
 Priority:  normal  |   Milestone:  4.11.1
Component:  RSB     |     Version:  4.11
 Severity:  normal  |  Resolution:
 Keywords:          |
--------------------+-----------------------

Comment (by javi):

 Well, at the moment I'm chasing a build bug in newlib and have modified a
 bset to allow me to change the source code locally. This was a perfect
 match for the "file" type available for %source, but as I stated it
 doesn't seem to work completely. (I would also like to use it later to
 have git sources as submodules instead of cloned-on-demand.)

 E.g., if I use a bset and modify the %source path for newlib from e.g.
 git:// to file:///full_path_to_this_dir/sources/git/newlib it doesn't find
 the directory. I added a printout of the url variable in _file_downloader
 in download.py, and the url contains the full given address as
 file:///full_path_to_this_dir/sources/git/newlib. This is then given to
 path.isdir and predictably fails.

 Or am I missing something fundamental here?

--
Ticket URL: <http://devel.rtems.org/ticket/2420#comment:3>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list