Hi,

When I was trying to add a package to be built from RSB, I came a
cross an error. The package is downloaded as *.zip file. The error I
got when extracting the package is (quoted from the log file):

"prep: or1ksim: %setup -q -n or32-master
making dir: 
/run/media/hesham/2cdb13e0-83ac-4ebd-9ead-be52de50707c/home/hesham/RTEMS/rsb/bare/config/devel/sources
script: 72: cd 
/run/media/hesham/2cdb13e0-83ac-4ebd-9ead-be52de50707c/home/hesham/RTEMS/rsb/bare/config/devel/build/or1ksim
script: 73: /bin/rm -rf or32-master
error: or1ksim-git.cfg:0: macro '%{__zip}' not found
error: or1ksim-git.cfg:0: macro '%{__zip}' not found
error: or1ksim-git.cfg:0: macro '%{__zip}' not found
script: 74: %{__zip} -u
/run/media/hesham/2cdb13e0-83ac-4ebd-9ead-be52de50707c/home/hesham/RTEMS/rsb/bare/config/devel/sources/or32-master.zip
| /bin/tar -xvvf -
script: 75: cd or32-master"

There is no macro with name "__zip", the command causing this error is
at source-builder/sb/download.py:47

When I replaced __zip with __unzip (in the previous file) I got the
following error:
"/bin/tar: This does not look like a tar archive"

It seems like source-builder/sb/build.py (at line 155) always passes
along the extracted file to "| %{__tar_extract}" even it was .zip
file.

Thanks,
Hesham
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to