Offline download of sources fails

Gedare Bloom gedare at rtems.org
Thu Mar 11 16:55:33 UTC 2021


On Thu, Mar 11, 2021 at 8:31 AM Gedare Bloom <gedare at rtems.org> wrote:
>
> On Thu, Mar 11, 2021 at 8:12 AM Gedare Bloom <gedare at rtems.org> wrote:
> >
> > On Thu, Mar 11, 2021 at 4:33 AM <Jan.Sommer at dlr.de> wrote:
> > >
> > >
> > > > -----Original Message-----
> > > > From: users <users-bounces at rtems.org> On Behalf Of Chris Johns
> > > > Sent: Thursday, March 11, 2021 6:07 AM
> > > > To: Ida Delphine <idadelm at gmail.com>
> > > > Cc: rtems-users at rtems.org <users at rtems.org>
> > > > Subject: Re: Offline download of sources fails
> > > >
> > > >
> > > >
> > > > On 11/3/21 3:34 pm, Ida Delphine wrote:
> > > > > Hello again,
> > > > >
> > > > > So I started over and downloaded all the required packages for my host
> > > > > (Ubuntu
> > > > > 20.04) and still have offline download issues...
> > > > > Please take a look at the error message:
> > > > >
> > > > > RTEMS Source Builder - Set Builder, 6 (fe2d13b6daf3) Build Set:
> > > > > 6/rtems-sparc Build Set: 6/rtems-autotools.bset Build Set:
> > > > > 6/rtems-autotools-internal.bset
> > > > > config: tools/rtems-autoconf-2.69-1.cfg
> > > > > config: tools/rtems-automake-1.12.6-1.cfg Build Sizes: usage: 0.000B
> > > > > total: 19.014KB (sources: 0.000B, patches: 19.014KB, installed 0.000B)
> > > > > Build Set: Time 0:00:00.933172 Build Set: 6/rtems-autotools-base.bset
> > > > > config: tools/rtems-autoconf-2.69-1.cfg
> > > > > config: tools/rtems-automake-1.12.6-1.cfg Build Sizes: usage: 0.000B
> > > > > total: 19.014KB (sources: 0.000B, patches: 19.014KB, installed 0.000B)
> > > > > Build Set: Time 0:00:00.840448 Build Set: Time 0:00:01.777350
> > > > > config: devel/expat-2.1.0-1.cfg
> > > > > package: expat-2.1.0-x86_64-linux-gnu-1 Creating source directory:
> > > > > sources
> > > > > download:
> > > > > https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-
> > > > 2
> > > > > .1.0.tar.gz
> > > > >
> > > > <https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-
> > > > > 2.1.0.tar.gz>
> > > > > -> sources/expat-2.1.0.tar.gz
> > > > >  redirect:
> > > > > https://github-releases.githubusercontent.com/80314213/0186bc60-b675-
> > > > 11e7-83c0-13aced4..
> > > > > <https://github-releases.githubusercontent.com/80314213/0186bc60-
> > > > b675-
> > > > > 11e7-83c0-13aced4..>.<see
> > > > > log>
> > > > > downloading: sources/expat-2.1.0.tar.gz - 549.4kB of 549.4kB (100%)
> > > > > reporting: devel/expat-2.1.0-1.cfg ->
> > > > > expat-2.1.0-x86_64-linux-gnu-1.txt
> > > > > reporting: devel/expat-2.1.0-1.cfg ->
> > > > > expat-2.1.0-x86_64-linux-gnu-1.xml
> > > > > config: devel/gmp-6.1.0.cfg
> > > > > package: gmp-6.1.0-x86_64-linux-gnu-1
> > > > > download: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
> > > > > <https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2> ->
> > > > > sources/gmp-6.1.0.tar.bz2
> > > > > downloading: sources/gmp-6.1.0.tar.bz2 - 2.3MB of 2.3MB (100%)
> > > > > reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.txt
> > > > > reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.xml
> > > > > config: tools/rtems-gdb-10.cfg
> > > > > error: shell macro failed:
> > > > > /home/idadel/quick-start/src/rsb/source-builder/sb/rtems-build-dep -c
> > > > gcc  -l :
> > > > > 2: error: no library (-l) provided
> > > >
> > > > I think this looks like something with Windows and the shell.
> > > >
> > >
> > > Our nightly test build ran into the same problem.
> > > The runner uses Ubuntu 18.04.
> > > I ran again with the trace option and the error source in question seems to be here:
> > >
> > > config: source-builder/config/gdb-common-1.cfg: 118:>%define gdb-python-lib-check %(%{_sbdir}/sb/rtems-build-dep -c %{__cc} %{gdb-host-libs} -l %{gdb-python-config-libs}) [True]
> > > exe: shell: /tmp/rtems-source-builder/source-builder/sb/rtems-build-dep -c gcc  -l
> > > exe: /tmp/rtems-source-builder/source-builder/sb/rtems-build-dep -c gcc  -l
> > > shell-output: 2 error: no library (-l) provided
> > > error: shell macro failed: /tmp/rtems-source-builder/source-builder/sb/rtems-build-dep -c gcc  -l : 2: error: no library (-l) provided
> > > Build Set: Time 0:00:35.508777
> > >
> >
> > It means %{gdb-python-config-libs} is empty/missing. Would need to
> > back out from there to figure out why.
> >
>
> https://devel.rtems.org/ticket/4335
>
> The fix is coming shortly.
>

This has been fixed on 5 and master, please `git pull` to update RSB
and try again.

> > > I also tried a few earlier commits.
> > > The last working commit for me is
> > > 47d540e - (2 days ago) 7: Update tool chain - Sebastian Huber
> > >
> > > I don't know very much about the rsb internals, but hope this might help someone who does.
> > >
> > > Best regards,
> > >
> > >     Jan
> > >
> > > > Could you please run with --trace and then search the log file for this the
> > > > above line. The shell macro should be present that failed.
> > > >
> > > > > Build FAILED
> > > > > Build Set: Time 0:00:12.713688
> > > > > Build FAILED
> > > > >
> > > > > Also for some reason when I run "sb-check" it tells me "command not
> > > > found"
> > > >
> > > > This looks like a Windows issue.
> > > >
> > > > Chris
> > > > _______________________________________________
> > > > users mailing list
> > > > users at rtems.org
> > > > http://lists.rtems.org/mailman/listinfo/users
> > > _______________________________________________
> > > users mailing list
> > > users at rtems.org
> > > http://lists.rtems.org/mailman/listinfo/users


More information about the users mailing list