GSoC 2020: [rtems/rsb]: Error while adding ptp support. This time building for xilinx_zynq_a9_qemu

Mritunjay Sharma mritunjaysharma394 at gmail.com
Mon Jun 15 18:46:46 UTC 2020


Hello everyone,

The latest update is that by changing a couple of things in
source-builder/config/ptpd-2-1.cfg
<https://github.com/RTEMS/rtems-source-builder/commit/200b83b105265e6b52f6265ee7390c4c483df116#diff-0f49c6def4c177b0c2ab54bd81c54327>
which
are:

"%source setup ptpd -q -n ptpd-%{ptpd_version}
%patch setup ptpd -p1

+automake --add-missing
+autoreconf --install --force
cd ${build_top}

%build"

GitHub Link:
https://github.com/RTEMS/rtems-source-builder/commit/413ea684f1e8672f921ce80abbc59f1e352acbc2

The earlier configure: error: cannot find install-sh, install.sh, or shtool
in build-aux "../ptpd-master"/build-aux has gone
but another error has come as follows:

"configure.ac:28: installing './compile'
configure.ac:16: installing './install-sh'
configure.ac:16: installing './missing'
configure.ac:13: error: required file 'config.h.in' not found
src/Makefile.am: installing './depcomp'
shell cmd failed: /bin/sh -ex
 /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1/do-build
error: building ptpd-master-arm-rtems5-1"

What can be the reason for this? Should I create another tar of this and
set it as the source?
The trace and report are attached. The tutorial by Heinz has again helped
me a lot!
Thank you for that again!

Thanks,
Mritunjay


On Sun, Jun 14, 2020 at 3:07 AM Mritunjay Sharma <
mritunjaysharma394 at gmail.com> wrote:

> First of all Heinz, I would like to thank you for such a wonderful guide
> which really helped me fix a lot of errors.
> After following your advice, I made certain changes to make PTPd work,
> few errors came again but I managed to remove them with the use of Google.
>
> However, the recent most error has caught me in a fix and I am still
> trying to figure it out where I went wrong.
>
>
> https://github.com/mritunjaysharma394/rtems-source-builder/tree/master/source-builder
> https://github.com/ptpd/ptpd/compare/master...mritunjaysharma394:master
>
> The above two links will tell what changes I have made and the error that
> I am receiving now is:
> "configure: WARNING: unrecognized options: --disable-shared
> configure: error: cannot find install-sh, install.sh, or shtool in
> build-aux "../ptpd-master"/build-aux
> shell cmd failed: /bin/sh -ex
>  /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1/do-build
> error: building ptpd-master-arm-rtems5-1"
>
>
> I have attached the trace log file and error report.
> I tried to google and made few more changes in ptpd Makefile.am but it
> didn't help.
>
> It will be very kind of you all to help me figure out on how to tackle
> this bug.
>
> Thanks
> Mritunjay
>
> On Sun, Jun 7, 2020 at 10:19 AM junkes <junkes at fhi-berlin.mpg.de> wrote:
>
>> This is an unusually long text for the mailing list. I tried to write a
>> kind
>> of tutorial using an example for a GSOC student. I'm looking forward to
>> the
>> comments from the pros and can write it down completely.
>>
>> Hello, Mritunjay
>>
>> if I understood it correctly, one idea of the rtems source builder is to
>> make existing
>> software packages usable for RTEMS. Most existing software packages do
>> not work without
>> changes in the RTEMS environment. You have already noticed this with ptpd
>> ;-)
>>
>> The most common auto-tools and configure have trouble making the correct
>> assumptions for the rtems environment. Here you have to intervene. This
>> can
>> be done with the builder-cfg files.
>>
>> This is a bit of hard work and you have to approach it with small steps.
>> You also have to use not so clean tricks in different places. When you
>> have
>> achieved the integration you can/must then try to optimize it so that it
>> becomes
>> generally valid.
>>
>> That's my policy. Maybe the others here in the maillist have more ideas,
>> also for me.
>>
>> I have now tried to implement what I mean using a similar example
>> (openntp).
>> Unfortunately, I haven't finished yet, but I hope to clear a few hurdles
>> for you.
>>
>> I was doing some digging around and I came across this:
>> https://github.com/openntpd-portable/openntpd-portable
>>
>> Here I was then confronted with the same problems as you with autoreconf
>> etc. Here it
>> didn't work, just run autoreconf twice and generate a tar-file for
>> installation like
>> I did with the ptpd from github.
>> Then I found this:
>> https://artfiles.org/openbsd/OpenNTPD/openntpd-6.2p3.tar.gz
>>
>> Now I have made a "standard" config file for rsb:
>>
>> #
>> # OpenNTPd 6.2p3 Version 1.
>> #
>> # This configuration file configure's, make's and install's OpenNTPd.
>> #
>>
>> %if %{release} == %{nil}
>> %define release 1
>> %endif
>>
>> Name:      openntpd-%{openntpd_version}-%{_host}-%{release}
>> Summary:   NTP is the Network Time Protocol.
>> Version:   %{openntpd_version}
>> Release:   %{release}
>> URL:       https://github.com/openntpd-portable
>>
>> #
>> # NTP Source
>> #
>> %source set openntpd
>> https://artfiles.org/openbsd/OpenNTPD/openntpd-%{openntpd_version}.tar.gz
>> %hash sha512 openntpd-%{openntpd_version}.tar.gz
>> 56a04bfd8b161b365607673ac80086ff53ae943938fa49bf52edbc541432eca30730a46a4af581fe26ce3bbceb144cb25982a38959b7a3f9304c727fe60f9
>> f50
>>
>> #
>> # Prepare the source code.
>> #
>> %prep
>> build_top=$(pwd)
>>
>>
>>  source_dir_openntpd="openntpd-%{openntpd_version}"
>>  %source setup openntpd -q -n openntpd-%{openntpd_version}
>>  %patch setup openntpd -p1
>>
>>  cd ${build_top}
>>
>> %build
>>  build_top=$(pwd)
>>
>>  %{build_directory}
>>
>>  mkdir -p ${build_dir}
>>  cd ${build_dir}
>>
>>  %{host_build_flags}
>>
>>  ../${source_dir_openntpd}/configure \
>>    --host=%{_host} \
>>    --prefix=%{_prefix} \
>>    --bindir=%{_bindir} \
>>    --exec_prefix=%{_exec_prefix} \
>>    --includedir=%{_includedir} \
>>    --libdir=%{_libdir} \
>>    --libexecdir=%{_libexecdir} \
>>    --mandir=%{_mandir} \
>>    --infodir=%{_infodir} \
>>    --datadir=%{_datadir} \
>>    --disable-shared \
>>    --enable-static \
>>    --with-gnu-ld \
>>    --disable-https-constraint
>>
>>  %{__make} all
>>
>>  cd ${build_top}
>>
>> %install
>>  build_top=$(pwd)
>>
>>  %{__rmdir} $SB_BUILD_ROOT
>>
>> cd ${build_dir}
>>  %{__make} DESTDIR=$SB_BUILD_ROOT install
>>  cd ${build_top}
>>
>>
>> Then I "executed" that.
>> [h1 at earth rtems (master *)]$ ../source-builder/sb-set-builder --log
>> log.ntpd.txt --with-rtems-bsp=xilinx_zynq_a9_qemu --host=arm-rtems5
>> --prefix /home/h1/GSOC/RTEMS/5.0.0-m20
>> 03 net/ntpd
>> RTEMS Source Builder - Set Builder, 5 (26e335ca159e modified)
>> Build Set: net/ntpd
>> config: net/openntpd-6.2p3-1.cfg
>> package: openntpd-6.2p3-arm-rtems5-1
>> building: openntpd-6.2p3-arm-rtems5-1
>> error: building openntpd-6.2p3-arm-rtems5-1
>> Build FAILED
>>  See error report: rsb-report-openntpd-6.2p3-arm-rtems5-1.txt
>> error: building openntpd-6.2p3-arm-rtems5-1
>> Build Set: Time 0:00:16.036623
>> Build FAILED
>>
>> Error! I looked at that one:
>> [h1 at earth rtems (master *)]$ tail -20
>> rsb-report-openntpd-6.2p3-arm-rtems5-1.txt
>>  CC       setproctitle.lo
>>  CC       bsd-setresgid.lo
>>  CC       bsd-setresuid.lo
>>  CCLD     libcompat.la
>> arm-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')
>>  CCLD     libcompatnoopt.la
>> arm-rtems5-ar: `u' modifier ignored since `D' is the default (see `U')
>> make[1]: Leaving directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/compat'
>>
>> Making all in src
>> make[1]: Entering directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src'
>>
>>  CC       ntpd-client.o
>> arm-rtems5-gcc: fatal error:
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/arm-rtems5/xilinx_zynq_a9_qemu/lib/bsp_specs:
>> attempt to rename spec 'endfile' to already defined spec 'old_endfi
>> le'
>> compilation terminated.
>> Makefile:526: recipe for target 'ntpd-client.o' failed
>> make[1]: *** [ntpd-client.o] Error 1
>> make[1]: Leaving directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src'
>>
>> Makefile:401: recipe for target 'all-recursive' failed
>> make: *** [all-recursive] Error 1
>> shell cmd failed: /bin/sh -ex
>>  /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/do-build
>>
>>
>> In build/openntpd-6.2p3-arm-rtems5-1/openntpd-6.2p3/src/Makefile.am I
>> found that CFLAGS gets includes twice which leads to this error "attempt to
>> rename..."
>> ...
>> ntpd_CFLAGS = $(CFLAGS)
>> ntpd_CFLAGS += -DSYSCONFDIR=\"$(sysconfdir)\"
>> ntpd_CFLAGS += -DLOCALSTATEDIR=\"$(localstatedir)\"
>> ...
>>
>> Then I changed the cfg-file:
>>
>> ...
>> %{host_build_flags}
>>
>> # src/Makefile.am includes CFLAGS twice?
>> # this leads to : bsp_specs: attempt to rename spec 'endfile' to already
>> defined spec 'old_endfile'
>> #
>>  sed -i 's/ntpd_CFLAGS = $(CFLAGS)/ntpd_CFLAGS = $(CFLAGS)/g'
>> ../${source_dir_openntpd}/src/Makefile.am
>>  sed -i 's/ntpd_CFLAGS += -DSYSCONFDIR=/ntpd_CFLAGS = -DSYSCONFDIR=/g'
>> ../${source_dir_openntpd}/src/Makefile.am
>>
>>  ../${source_dir_openntpd}/configure \
>>    --host=%{_host} \
>> ...
>>
>> Now I've come a long way, but
>>
>> [h1 at earth rtems (master *)]$ tail -20
>> rsb-report-openntpd-6.2p3-arm-rtems5-1.txt
>>       asnprintf
>>  CC       ntpd-ntp.o
>>  CC       ntpd-ntp_dns.o
>> ../../openntpd-6.2p3/src/ntp_dns.c: In function 'ntp_dns':
>> ../../openntpd-6.2p3/src/ntp_dns.c:58:6: warning: implicit declaration of
>> function 'setpriority'; did you mean 'setprotoent'?
>> [-Wimplicit-function-declaration]
>>  if (setpriority(PRIO_PROCESS, 0, 0) == -1)
>>      ^~~~~~~~~~~
>>      setprotoent
>> ../../openntpd-6.2p3/src/ntp_dns.c:58:18: error: 'PRIO_PROCESS'
>> undeclared (first use in this function); did you mean 'EINPROGRESS'?
>>  if (setpriority(PRIO_PROCESS, 0, 0) == -1)
>>                  ^~~~~~~~~~~~
>>                  EINPROGRESS
>> ../../openntpd-6.2p3/src/ntp_dns.c:58:18: note: each undeclared
>> identifier is reported only once for each function it appears in
>> Makefile:624: recipe for target 'ntpd-ntp_dns.o' failed
>> make[1]: *** [ntpd-ntp_dns.o] Error 1
>> make[1]: Leaving directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src'
>>
>> make: *** [all-recursive] Error 1
>> Makefile:401: recipe for target 'all-recursive' failed
>> shell cmd failed: /bin/sh -ex
>>  /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/do-build
>>
>>
>> Now a little bit of searching...
>>
>> Adding "#include <rtems/bsd/sys/resource.h>" solves the problem.
>>
>> But the next one arises:
>>
>> make[1]: Entering directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src'
>>
>>  CC       ntpd-ntpd.o
>>  CC       ntpd-parse.o
>> parse.y: In function 'yyerror':
>> parse.y:473:6: warning: implicit declaration of function 'vasprintf'; did
>> you mean 'vasnprintf'? [-Wimplicit-function-declaration]
>> parse.y: In function 'yylex':
>> parse.y:686:22: warning: implicit declaration of function 'strtonum'; did
>> you mean 'strtoul'? [-Wimplicit-function-declaration]
>>  CC       ntpd-fake-sensors.o
>>  CC       ntpd-server.o
>> ../../openntpd-6.2p3/src/server.c: In function 'setup_listeners':
>> ../../openntpd-6.2p3/src/server.c:65:21: error: 'struct if_data' has no
>> member named 'ifi_rdomain'; did you mean 'ifi_addrlen'?
>>      rdomain = ifd->ifi_rdomain;
>>                     ^~~~~~~~~~~
>>                     ifi_addrlen
>> Makefile:708: recipe for target 'ntpd-server.o' failed
>>
>> That looks a little more complicated. It uses an if_data structure that
>> is probably only available in openbsd?
>>
>> But also here google helps ;-)
>> Here I found a patch :
>> https://github.com/freebsd/freebsd-ports/tree/master/net/openntpd/files
>>
>> [h1 at earth build-cxc (master *)]$ patch ../openntpd-6.2p3/src/server.c
>> /tmp/openntp/openntpd-6.2p3/patch-src_server.c
>>
>> And it's gotten me this far:
>>
>> [h1 at earth build-cxc (master *)]$ make
>> Making all in include
>> make[1]: Entering directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/include'
>>
>> make[1]: Nothing to be done for 'all'.
>> make[1]: Leaving directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/include'
>>
>> Making all in compat
>> make[1]: Entering directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/compat'
>>
>> make[1]: Nothing to be done for 'all'.
>> make[1]: Leaving directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/compat'
>>
>> Making all in src
>> make[1]: Entering directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src'
>>
>>  CC       ntpd-server.o
>>  CC       ntpd-util.o
>>  CCLD     ntpd
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> ntpd-ntp_dns.o: in function `ntp_dns':
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src/../../openntpd-6.2p3/src/ntp_dns.c:59:
>> undefined reference to `setpriority'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> ntpd-ntpd.o: in function `main':
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src/../../openntpd-6.2p3/src/ntpd.c:243:
>> undefined reference to `setpriority'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/b
>> uild-cxc/src/../../openntpd-6.2p3/src/ntpd.c:251: undefined reference to
>> `daemon'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/b
>> uild-cxc/src/../../openntpd-6.2p3/src/ntpd.c:330: undefined reference to
>> `daemon'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> ntpd-ntpd.o: in function `dispatch_imsg':
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src/../../openntpd-6.2p3/src/ntpd.c:435:
>> undefined reference to `daemon'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> ntpd-ntpd.o: in function `ntpd_adjtime':
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src/../../openntpd-6.2p3/src/ntpd.c:487:
>> undefined reference to `update_time_sy
>> nc_status'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> ntpd-ntpd.o: in function `ntpd_adjfreq':
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src/../../openntpd-6.2p3/src/ntpd.c:498:
>> undefined reference to `adjfreq'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/b
>> uild-cxc/src/../../openntpd-6.2p3/src/ntpd.c:522: undefined reference to
>> `adjfreq'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> ntpd-ntpd.o: in function `ntpd_settime':
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src/../../openntpd-6.2p3/src/ntpd.c:542:
>> undefined reference to `settimeofday'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> ntpd-ntpd.o: in function `readfreq':
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src/../../openntpd-6.2p3/src/ntpd.c:565:
>> undefined reference to `adjfreq'
>> /home/h1/GSOC/RTEMS/5.0.0-m2003/lib/gcc/arm-rtems5/7.5.0/../../../../arm-rtems5/bin/ld:
>> /home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/b
>> uild-cxc/src/../../openntpd-6.2p3/src/ntpd.c:574: undefined reference to
>> `adjfreq'
>> collect2: error: ld returned 1 exit status
>> Makefile:476: recipe for target 'ntpd' failed
>> make[1]: *** [ntpd] Error 1
>> make[1]: Leaving directory
>> '/home/h1/GSOC/RTEMS_DEV/rtems-source-builder/rtems/build/openntpd-6.2p3-arm-rtems5-1/build-cxc/src'
>>
>> Makefile:401: recipe for target 'all-recursive' failed
>> make: *** [all-recursive] Error 1
>>
>> This is where I am now. From now on, it's gonna be exciting. Now it's all
>> about anchoring the daemon process in RTEMS.
>> But that is nice work now. I still have to do it.
>>
>> But I wanted to show you this step-by-step so you can get over the first
>> hurdles.
>> I hope this helps you and it was not too long.
>> Heinz
>>
>>
>>
>>
>>
>> On 2020-06-06 01:31, Mritunjay Sharma wrote:
>>
>>
>> Thank you so much Heinz for such a detailed response.
>> It really helped me a lot.
>>
>> As advised by you and Heinz, I changed the source to
>> https://github.com/mritunjaysharma394/ptpd/archive/master.zip
>> with suggested changes. However, I have encountered few bugs again
>> related to autoreconf.
>> It looks somewhat like this:
>>
>> + autoreconf -i -v
>> autoreconf: Entering directory `.'
>> autoreconf: configure.ac: not using Gettext
>> autoreconf: running: aclocal -I m4
>> autoreconf: configure.ac: tracing
>> autoreconf: configure.ac: creating directory build-aux
>> autoreconf: configure.ac: not using Libtool
>> autoreconf: running: /home/mritunjay/development/rtems/5/bin/autoconf
>> configure.ac:28: error: possibly undefined macro: AC_PROG_LIBTOOL
>>       If this token and others are legitimate, please use
>> m4_pattern_allow.
>>       See the Autoconf documentation.
>> autoreconf: /home/mritunjay/development/rtems/5/bin/autoconf failed with
>> exit status: 1
>> shell cmd failed: /bin/sh -ex
>>  /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1/do-build
>> error: building ptpd-master-arm-rtems5-1
>>
>> I have attached the error report as well and changes in cfg files can be
>> found here:
>>
>> https://github.com/mritunjaysharma394/rtems-source-builder/commit/6b6bb2b3bd778ebe56e9a1bf3aec1747b078fd39
>>
>> Thanks,
>> Mritunjay
>>
>>
>> On Fri, Jun 5, 2020 at 2:53 AM Gedare Bloom <gedare at rtems.org> wrote:
>>
>> On Thu, Jun 4, 2020 at 1:38 PM junkes <junkes at fhi-berlin.mpg.de> wrote:
>> >
>> > Hallo Mritunjay,
>> >
>> > You can't just take the github ptpd sources and make them work in
>> RTEMS. You have to make some configuration
>> > and sources changes before you can build the with the rsb.
>> >
>> > Some things like the sys/cpuset.h seems not to be fully compatible yet
>> and so the configure simply makes
>> > "wrong" decisions. E.g. defines HAVE_SYS_CPUSET_H = 1 as sys/cpuset.h
>> exists.I played a little bit with it and reset
>> > the definition in ptpd-master/src/ptpd.h  (quick and dirty) and could
>> reduce the error messages because there is a query for
>> > this variable in the code (src/dep/sys.c):
>> >
>> > in ptpd.h after the include of the created configs :
>> >
>> > ...
>> > #ifdef HAVE_CONFIG_H
>> > # include <config.h>
>> > #endif /* HAVE_CONFIG_H */
>> >
>> > #undef HAVE_NTP_GETTIME
>> > #undef HAVE_SYS_CPUSET_H
>> >
>> > #ifdef linux
>> > ...
>> >
>> > in src/dep/sys.c
>> >
>> > ...
>> > #ifdef HAVE_SYS_CPUSET_H
>> >        cpuset_t mask;
>> >        CPU_ZERO(&mask);
>> >        if(cpu >= 0) {
>> >            CPU_SET(cpu,&mask);
>> >        } else {
>> >                int i;
>> >                for(i = 0;  i < CPU_SETSIZE; i++) {
>> >                        CPU_SET(i, &mask);
>> >                }
>> >        }
>> >        return(cpuset_setaffinity(CPU_LEVEL_WHICH, CPU_WHICH_PID,
>> >                              -1, sizeof(mask), &mask));
>> > #endif /* HAVE_SYS_CPUSET_H */
>> >
>> > In src/dep/constants_dep.h  one can find:
>> >
>> > * platform dependent */
>> >
>> > #if !defined(linux) && !defined(__NetBSD__) && !defined(__FreeBSD__) &&
>> \
>> > !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__sun) &&
>> !defined(__QNXNTO__)
>> > #error PTPD hasn't been ported to this OS - should be possible \
>> > if it's POSIX compatible, if you succeed, report it to
>> ptpd-devel at sourceforge.net
>> > #endif
>> >
>> > here I added "&& !defined(__rtems__)
>> >
>> > and here:
>> > ...
>> > #if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__APPLE__)
>> || defined(__OpenBSD__) || defined(__sun) || defined(__QNXNTO__) ||
>> defined(__rtems__)
>> > # include <sys/types.h>
>> > # include <sys/socket.h>
>> > #ifdef HAVE_SYS_SOCKIO_H
>> > #include <sys/sockio.h>
>> > #endif /* HAVE_SYS_SOCKIO_H */
>> > # include <netinet/in.h>
>> > # include <net/if.h>
>> > # include <net/if_dl.h>
>> > # include <net/if_types.h>
>> > #ifdef HAVE_NET_IF_ETHER_H
>> > #  include <net/if_ether.h>
>> > ...
>> >
>> > and so on... You'd have to bite through it once and then you will
>> surely get it compiled.
>> >
>> Great start Heinz! Mritunjay, I think this definitely the way forward.
>> Later, you might try to circle back and fix the hacks in nicer ways by
>> learning how to make the autoconf stuff work correctly, and contribute
>> those fixes back upstream to ptpd project.
>>
>> > HTH Heinz
>> >
>> >
>> >
>> > On 2020-06-04 20:29, Mritunjay Sharma wrote:
>> >
>> >
>> >
>> > On Thu, Jun 4, 2020 at 11:07 PM Sebastian Huber <
>> sebastian.huber at embedded-brains.de> wrote:
>> >
>> > On 04/06/2020 16:22, Gedare Bloom wrote:
>> >
>> > >>> In the github version this code is conditional on sys/cpuset.h
>> being present.
>> > >>>
>> > > Well, we do have a sys/cpuset.h in newlib. It doesn't have these BSD
>> > > definitions though. Probably either:
>> > > 1. Add more stuff to sys/cpuset.h to make it support BSDisms. This
>> > > would mean adding cpuset_setaffinity support in rtems, I guess.
>> > > 2. Figure out how to disable the conditional code using the
>> > > cpuset_setaffinity function.
>> > The <sys/cpuset.h> is already as compatible as possible to glibc and
>> > FreeBSD. There is always room for improvement, however, in this area it
>> > will be difficult.
>> >
>> >
>> > Please it would be kind of you all to guide on what is the best thing I
>> can do next. It is looking
>> > a little difficult. If something similar has been done earlier, sharing
>> it can be a lot helpful to take a cue.
>> >
>> > Mritunjay
>> >
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel
>> >
>> >
>> > _______________________________________________
>> > devel mailing list
>> > devel at rtems.org
>> > http://lists.rtems.org/mailman/listinfo/devel
>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200616/3196f3e1/attachment-0001.html>
-------------- next part --------------
RTEMS Tools Project - Source Builder Error Report
 Build: error: building ptpd-master-arm-rtems5-1
 Command Line: ../source-builder/sb-set-builder --log=log --prefix=/home/mritunjay/development/rtems/5 --with-tools=/home/mritunjay/development/rtems/5 --host=arm-rtems5 --with-rtems-bsp=xilinx_zynq_a9_qemu net/ptpd
 Python: 2.7.17 (default, Apr 15 2020, 17:20:14) [GCC 7.5.0]
 git://git.rtems.org/rtems-source-builder.git/origin/855818015a378a8333754625296f3b15ce52aadd-modified
 Linux mritunjay-XPS-15-9570 5.3.0-51-generic #44~18.04.2-Ubuntu SMP Thu Apr 23 14:27:18 UTC 2020 x86_64
Tail of the build log:
script:142:   CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
script:143:   CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:144:   CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:145: else
script:146:   LDFLAGS="${SB_BUILD_LDFLAGS}"
script:147:   LDLIBS="${SB_BUILD_LIBS}"
script:148:   LIBS="${SB_BUILD_LIBS}"
script:149:   CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:150:   CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
script:151:   CC_FOR_BUILD=${CC}
script:152:   CXX_FOR_BUILD=${CXX}
script:153: fi
script:154: export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
script:155: export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
script:156: export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
script:157: ../${source_dir_ptpd}/configure  --host=arm-rtems5  --prefix=/home/mritunjay/development/rtems/5  --bindir=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/bin  --exec_prefix=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu  --includedir=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/include  --libdir=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib  --libexecdir=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/libexec  --mandir=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/share/man  --infodir=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/share/info  --datadir=/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/share  --disable-statistics  --enable-slave-only  --disable-posix-timers  --with-max-unicast-destinations=2048  --enable-experimental-options
script:158: make all
script:159: cd ${build_top}
script:160: echo "==> %install:"
script:161: build_top=$(pwd)
script:162: /bin/rm -rf $SB_BUILD_ROOT
script:163: cd ${build_dir}
script:164: make DESTDIR=$SB_BUILD_ROOT install
script:165: cd ${build_top
script:  1: #!/bin/sh
script:  2: # ___build_pre as set up in defaults.py
script:  3: # Save the original path away.
script:  4: export SB_ORIG_PATH=${PATH}
script:  5: # Directories
script:  6: SB_PREFIX="/home/mritunjay/development/rtems/5"
script:  7: SB_PREFIX_CLEAN=$(echo "/home/mritunjay/development/rtems/5" | /bin/sed -e 's/^\///')
script:  8: SB_SOURCE_DIR="/home/mritunjay/development/rtems/rsb/rtems/sources"
script:  9: SB_BUILD_DIR="/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1"
script: 10: # host == build, use build; host != build, host uses host and build uses build
script: 11: SB_HOST_CPPFLAGS="-I/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/include"
script: 12: # Optionally do not add includes to c/cxx flags as newer configure's complain
script: 13: SB_HOST_CFLAGS="-qrtems -B/home/mritunjay/development/rtems/5/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections "
script: 14: SB_HOST_CXXFLAGS="-qrtems -B/home/mritunjay/development/rtems/5/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections "
script: 15: SB_HOST_LDFLAGS="-L/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib $(echo "-qrtems -B/home/mritunjay/development/rtems/5/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections" | awk '{for (i=1;i<NF;++i) if ($i ~ /\-m/) printf("%s ",$i);}') -L/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/${SB_PREFIX_CLEAN}/lib"
script: 16: SB_HOST_LIBS="-lbsd -lm -lz -lrtemsdefaultconfig"
script: 17: SB_BUILD_CFLAGS="-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/${SB_PREFIX_CLEAN}/include"
script: 18: SB_BUILD_CXXFLAGS="-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/${SB_PREFIX_CLEAN}/include"
script: 19: SB_BUILD_LDFLAGS=" -L/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/${SB_PREFIX_CLEAN}/lib"
script: 20: SB_BUILD_LBS=""
script: 21: SB_CFLAGS="${SB_BUILD_CFLAGS} "
script: 22: SB_CXXFLAGS="${SB_BUILD_CXXFLAGS} "
script: 23: SB_ARCH="arm"
script: 24: SB_OS="linux"
script: 25: export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
script: 26: export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
script: 27: export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
script: 28: export SB_CFLAGS SB_CXXFLAGS
script: 29: # Documentation
script: 30: SB_DOC_DIR="/home/mritunjay/development/rtems/5/share/doc"
script: 31: export SB_DOC_DIR
script: 32: # Packages
script: 33: SB_PACKAGE_NAME="ptpd-master-arm-rtems5-1"
script: 34: SB_PACKAGE_BUILDNAME="ptpd-master-arm-rtems5-1"
script: 35: SB_PACKAGE_VERSION="master"
script: 36: SB_PACKAGE_RELEASE="1"
script: 37: export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
script: 38: # Build directories
script: 39: export SB_PREFIX
script: 40: SB_BUILD_DIR="/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1"
script: 41: SB_BUILD_ROOT="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000"
script: 42: SB_BUILD_ROOT_BINDIR="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000/${SB_PREFIX_CLEAN}/bin"
script: 43: export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
script: 44: SB_BUILD_CXC_DIR="/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1-cxc"
script: 45: SB_BUILD_CXC_ROOT="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000-cxc"
script: 46: SB_BUILD_CXC_ROOT_BINDIR="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000-cxc/${SB_PREFIX_CLEAN}/bin"
script: 47: export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
script: 48: SB_TMPROOT="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd"
script: 49: SB_TMPPREFIX="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/${SB_PREFIX_CLEAN}"
script: 50: SB_TMPBINDIR="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/${SB_PREFIX_CLEAN}/bin"
script: 51: export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
script: 52: SB_TMPCXCROOT="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd"
script: 53: SB_TMPCXCPREFIX="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/${SB_PREFIX_CLEAN}"
script: 54: SB_TMPCXCBINDIR="/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/${SB_PREFIX_CLEAN}/bin"
script: 55: export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
script: 56: # Extra path support
script: 57: SB_EXTRAPATH="/home/mritunjay/development/rtems/rsb/source-builder"
script: 58: # The compiler flags
script: 59: 
script: 60: 
script: 61: export CFLAGS_FOR_TARGET
script: 62: export CXXFLAGS_FOR_TARGET
script: 63: # Set up the path. Put the CXC path first.
script: 64: if test -n "${SB_TMPBINDIR}" ; then
script: 65:  PATH="${SB_TMPBINDIR}:$PATH"
script: 66: fi
script: 67: if test -n "${SB_TMPCXCBINDIR}" ; then
script: 68:  PATH="${SB_TMPCXCBINDIR}:$PATH"
script: 69: fi
script: 70: if test -n "${SB_EXTRAPATH}" ; then
script: 71:  PATH="${SB_EXTRAPATH}:$PATH"
script: 72: fi
script: 73: PATH="/home/mritunjay/development/rtems/5/bin:$PATH"
script: 74: 
script: 75: export PATH
script: 76: # Default environment set up.
script: 77: LANG=C
script: 78: export LANG
script: 79: unset DISPLAY || :
script: 80: umask 022
script: 81: cd "/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1"
script: 82: echo "=> ptpd-master-arm-rtems5-1: CLEAN"
script: 83: echo "==> %clean:"
removing: /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1
making dir: /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1
write script: /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1/do-build
write script: /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1/do-clean
building: ptpd-master-arm-rtems5-1
run: /bin/sh -ex  /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1/do-build
+ export SB_ORIG_PATH=/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ SB_PREFIX=/home/mritunjay/development/rtems/5
+ echo /home/mritunjay/development/rtems/5
+ /bin/sed -e s/^\///
+ SB_PREFIX_CLEAN=home/mritunjay/development/rtems/5
+ SB_SOURCE_DIR=/home/mritunjay/development/rtems/rsb/rtems/sources
+ SB_BUILD_DIR=/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1
+ SB_HOST_CPPFLAGS=-I/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/include
+ SB_HOST_CFLAGS=-qrtems -B/home/mritunjay/development/rtems/5/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections 
+ SB_HOST_CXXFLAGS=-qrtems -B/home/mritunjay/development/rtems/5/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections 
+ echo -qrtems -B/home/mritunjay/development/rtems/5/arm-rtems5/lib/ -B/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib/ --specs bsp_specs -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9 -O0 -g -ffunction-sections -fdata-sections
+ awk {for (i=1;i<NF;++i) if ($i ~ /\-m/) printf("%s ",$i);}
+ SB_HOST_LDFLAGS=-L/home/mritunjay/development/rtems/5/arm-rtems5/xilinx_zynq_a9_qemu/lib -march=armv7-a -mthumb -mfpu=neon -mfloat-abi=hard -mtune=cortex-a9  -L/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/lib
+ SB_HOST_LIBS=-lbsd -lm -lz -lrtemsdefaultconfig
+ SB_BUILD_CFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/include
+ SB_BUILD_CXXFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/include
+ SB_BUILD_LDFLAGS= -L/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/lib
+ SB_BUILD_LBS=
+ SB_CFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/include 
+ SB_CXXFLAGS=-O2 -g -pipe -I/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/include 
+ SB_ARCH=arm
+ SB_OS=linux
+ export SB_SOURCE_DIR SB_BUILD_DIR SB_ARCH SB_OS
+ export SB_HOST_CPPFLAGS SB_HOST_CFLAGS SB_HOST_CXXFLAGS SB_HOST_LDFLAGS SB_HOST_LIBS
+ export SB_BUILD_CFLAGS SB_BUILD_CXXFLAGS SB_BUILD_LDFLAGS SB_BUILD_LIBS
+ export SB_CFLAGS SB_CXXFLAGS
+ SB_DOC_DIR=/home/mritunjay/development/rtems/5/share/doc
+ export SB_DOC_DIR
+ SB_PACKAGE_NAME=ptpd-master-arm-rtems5-1
+ SB_PACKAGE_BUILDNAME=ptpd-master-arm-rtems5-1
+ SB_PACKAGE_VERSION=master
+ SB_PACKAGE_RELEASE=1
+ export SB_PACKAGE_NAME SB_PACKAGE_VERSION SB_PACKAGE_RELEASE
+ export SB_PREFIX
+ SB_BUILD_DIR=/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1
+ SB_BUILD_ROOT=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000
+ SB_BUILD_ROOT_BINDIR=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000/home/mritunjay/development/rtems/5/bin
+ export SB_BUILD_ROOT SB_BUILD_DIR SB_BUILD_ROOT_BINDIR
+ SB_BUILD_CXC_DIR=/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1-cxc
+ SB_BUILD_CXC_ROOT=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000-cxc
+ SB_BUILD_CXC_ROOT_BINDIR=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/ptpd-master-arm-rtems5-1-1000-cxc/home/mritunjay/development/rtems/5/bin
+ export SB_BUILD_CXC_ROOT SB_BUILD_CXC_DIR SB_BUILD_CXC_ROOT_BINDIR
+ SB_TMPROOT=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd
+ SB_TMPPREFIX=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5
+ SB_TMPBINDIR=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/bin
+ export SB_TMPROOT SB_TMPPREFIX SB_TMPBINDIR
+ SB_TMPCXCROOT=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd
+ SB_TMPCXCPREFIX=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/home/mritunjay/development/rtems/5
+ SB_TMPCXCBINDIR=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/home/mritunjay/development/rtems/5/bin
+ export SB_TMPCXCROOT SB_TMPCXCPREFIX SB_TMPCXCBINDIR
+ SB_EXTRAPATH=/home/mritunjay/development/rtems/rsb/source-builder
+ export CFLAGS_FOR_TARGET
+ export CXXFLAGS_FOR_TARGET
+ test -n /home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/bin
+ PATH=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ test -n /home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/home/mritunjay/development/rtems/5/bin
+ PATH=/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/home/mritunjay/development/rtems/5/bin:/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ test -n /home/mritunjay/development/rtems/rsb/source-builder
+ PATH=/home/mritunjay/development/rtems/rsb/source-builder:/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/home/mritunjay/development/rtems/5/bin:/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ PATH=/home/mritunjay/development/rtems/5/bin:/home/mritunjay/development/rtems/rsb/source-builder:/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000-cxc/net/ptpd/home/mritunjay/development/rtems/5/bin:/home/mritunjay/development/rtems/rsb/rtems/build/tmp/sb-1000/net/ptpd/home/mritunjay/development/rtems/5/bin:/home/mritunjay/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ export PATH
+ LANG=C
+ export LANG
+ unset DISPLAY
+ umask 022
+ cd /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1
+ echo => ptpd-master-arm-rtems5-1: BUILD
+ echo ==> %prep:
=> ptpd-master-arm-rtems5-1: BUILD
==> %prep:
+ pwd
+ build_top=/home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1
+ source_dir_ptpd=ptpd-master
+ cd /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1
+ /bin/rm -rf ptpd-master
+ /bin/tar -xvv+  -f -
/bin/gzip -dc /home/mritunjay/development/rtems/rsb/rtems/sources/ptpd.tar.gz
drwxr-xr-x mritunjay/mritunjay 0 2020-06-07 11:02 ptpd-master/
-rw-r--r-- mritunjay/mritunjay 866 2020-06-06 03:35 ptpd-master/Makefile.am
drwxr-xr-x mritunjay/mritunjay   0 2020-06-06 03:35 ptpd-master/src/
-rw-r--r-- mritunjay/mritunjay 8635 2020-06-06 03:35 ptpd-master/src/arith.c
-rw-r--r-- mritunjay/mritunjay 15404 2020-06-06 03:35 ptpd-master/src/ptp_datatypes.h
-rw-r--r-- mritunjay/mritunjay 63438 2020-06-06 03:35 ptpd-master/src/Doxyfile
-rw-r--r-- mritunjay/mritunjay 23434 2020-06-06 03:35 ptpd-master/src/datatypes.h
-rw-r--r-- mritunjay/mritunjay  2133 2020-06-06 03:35 ptpd-master/src/Makefile.am
-rw-r--r-- mritunjay/mritunjay   943 2020-06-06 03:35 ptpd-master/src/ptp_primitives.h
-rw-r--r-- mritunjay/mritunjay  3846 2020-06-06 03:35 ptpd-master/src/ptp_timers.c
-rw-r--r-- mritunjay/mritunjay 26831 2020-06-06 03:35 ptpd-master/src/bmc.c
-rw-r--r-- mritunjay/mritunjay 10405 2020-06-06 03:35 ptpd-master/src/leap-seconds.list
-rw-r--r-- mritunjay/mritunjay  3658 2020-06-06 03:35 ptpd-master/src/ptp_timers.h
-rw-r--r-- mritunjay/mritunjay   735 2020-06-06 03:35 ptpd-master/src/templates.conf
-rw-r--r-- mritunjay/mritunjay 46086 2020-06-06 03:35 ptpd-master/src/signaling.c
-rw-r--r-- mritunjay/mritunjay 34260 2020-06-06 03:35 ptpd-master/src/display.c
-rw-r--r-- mritunjay/mritunjay 34562 2020-06-06 03:35 ptpd-master/src/ptpd2.conf.default-full
-rw-r--r-- mritunjay/mritunjay 67869 2020-06-06 03:35 ptpd-master/src/ptpd2.conf.5.in
-rw-r--r-- mritunjay/mritunjay  2912 2020-06-06 03:35 ptpd-master/src/Makefile.old
-rw-r--r-- mritunjay/mritunjay 123250 2020-06-06 03:35 ptpd-master/src/protocol.c
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/dep/
-rw-r--r-- mritunjay/mritunjay   5761 2020-06-06 03:35 ptpd-master/src/dep/constants_dep.h
-rw-r--r-- mritunjay/mritunjay  74744 2020-06-06 03:35 ptpd-master/src/dep/sys.c
-rw-r--r-- mritunjay/mritunjay  10526 2020-06-06 03:35 ptpd-master/src/dep/ipv4_acl.c
-rw-r--r-- mritunjay/mritunjay  60485 2020-06-06 03:35 ptpd-master/src/dep/net.c
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/dep/iniparser/
-rw-r--r-- mritunjay/mritunjay    309 2020-06-06 03:35 ptpd-master/src/dep/iniparser/AUTHORS
-rw-r--r-- mritunjay/mritunjay  11711 2020-06-06 03:35 ptpd-master/src/dep/iniparser/iniparser.h
-rw-r--r-- mritunjay/mritunjay   7422 2020-06-06 03:35 ptpd-master/src/dep/iniparser/dictionary.h
-rw-r--r-- mritunjay/mritunjay    295 2020-06-06 03:35 ptpd-master/src/dep/iniparser/README
-rw-r--r-- mritunjay/mritunjay   1083 2020-06-06 03:35 ptpd-master/src/dep/iniparser/LICENSE
-rw-r--r-- mritunjay/mritunjay  23637 2020-06-06 03:35 ptpd-master/src/dep/iniparser/iniparser.c
-rw-r--r-- mritunjay/mritunjay  15181 2020-06-06 03:35 ptpd-master/src/dep/iniparser/dictionary.c
-rw-r--r-- mritunjay/mritunjay   3971 2020-06-06 03:35 ptpd-master/src/dep/datatypes_dep.h
-rw-r--r-- mritunjay/mritunjay   6205 2020-06-06 03:35 ptpd-master/src/dep/eventtimer_itimer.c
-rw-r--r-- mritunjay/mritunjay  20593 2020-06-06 03:35 ptpd-master/src/dep/configdefaults.c
-rw-r--r-- mritunjay/mritunjay  91140 2020-06-06 03:35 ptpd-master/src/dep/msg.c
-rw-r--r-- mritunjay/mritunjay  12560 2020-06-06 03:35 ptpd-master/src/dep/alarms.c
-rw-r--r-- mritunjay/mritunjay   1081 2020-06-06 03:35 ptpd-master/src/dep/configdefaults.h
-rw-r--r-- mritunjay/mritunjay  41486 2020-06-06 03:35 ptpd-master/src/dep/servo.c
-rw-r--r-- mritunjay/mritunjay  19618 2020-06-06 03:35 ptpd-master/src/dep/ptpd_dep.h
-rw-r--r-- mritunjay/mritunjay   2354 2020-06-06 03:35 ptpd-master/src/dep/eventtimer.h
-rw-r--r-- mritunjay/mritunjay  11581 2020-06-06 03:35 ptpd-master/src/dep/outlierfilter.c
-rw-r--r-- mritunjay/mritunjay   5727 2020-06-06 03:35 ptpd-master/src/dep/eventtimer_posix.c
-rw-r--r-- mritunjay/mritunjay   1238 2020-06-06 03:35 ptpd-master/src/dep/ipv4_acl.h
-rw-r--r-- mritunjay/mritunjay  90135 2020-06-06 03:35 ptpd-master/src/dep/snmp.c
-rw-r--r-- mritunjay/mritunjay  31954 2020-06-06 03:35 ptpd-master/src/dep/startup.c
-rw-r--r-- mritunjay/mritunjay 137634 2020-06-06 03:35 ptpd-master/src/dep/daemonconfig.c
-rw-r--r-- mritunjay/mritunjay  26635 2020-06-06 03:35 ptpd-master/src/dep/statistics.c
-rw-r--r-- mritunjay/mritunjay   2840 2020-06-06 03:35 ptpd-master/src/dep/daemonconfig.h
-rw-r--r-- mritunjay/mritunjay   4935 2020-06-06 03:35 ptpd-master/src/dep/alarms.h
-rw-r--r-- mritunjay/mritunjay   5957 2020-06-06 03:35 ptpd-master/src/dep/statistics.h
-rw-r--r-- mritunjay/mritunjay   3013 2020-06-06 03:35 ptpd-master/src/dep/eventtimer.c
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/dep/ntpengine/
-rw-r--r-- mritunjay/mritunjay  20443 2020-06-06 03:35 ptpd-master/src/dep/ntpengine/ntpdcontrol.c
-rw-r--r-- mritunjay/mritunjay  12271 2020-06-06 03:35 ptpd-master/src/dep/ntpengine/ntpdcontrol.h
-rw-r--r-- mritunjay/mritunjay   8689 2020-06-06 03:35 ptpd-master/src/dep/ntpengine/ntp_isc_md5.c
-rw-r--r-- mritunjay/mritunjay   3298 2020-06-06 03:35 ptpd-master/src/dep/ntpengine/ntp_isc_md5.h
-rw-r--r-- mritunjay/mritunjay   3695 2020-06-06 03:35 ptpd-master/src/dep/outlierfilter.h
-rw-r--r-- mritunjay/mritunjay  71143 2020-06-06 03:35 ptpd-master/src/management.c
-rw-r--r-- mritunjay/mritunjay  26559 2020-06-06 03:35 ptpd-master/src/timingdomain.c
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/def/
-rw-r--r-- mritunjay/mritunjay    439 2020-06-06 03:35 ptpd-master/src/def/README
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/def/signalingTLV/
-rw-r--r-- mritunjay/mritunjay    418 2020-06-06 03:35 ptpd-master/src/def/signalingTLV/grantUnicastTransmission.def
-rw-r--r-- mritunjay/mritunjay    294 2020-06-06 03:35 ptpd-master/src/def/signalingTLV/cancelUnicastTransmission.def
-rw-r--r-- mritunjay/mritunjay    347 2020-06-06 03:35 ptpd-master/src/def/signalingTLV/requestUnicastTransmission.def
-rw-r--r-- mritunjay/mritunjay    299 2020-06-06 03:35 ptpd-master/src/def/signalingTLV/acknowledgeCancelUnicastTransmission.def
-rw-r--r-- mritunjay/mritunjay    200 2020-06-06 03:35 ptpd-master/src/def/signalingTLV/signalingTLV.def
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/def/managementTLV/
-rw-r--r-- mritunjay/mritunjay    246 2020-06-06 03:35 ptpd-master/src/def/managementTLV/logAnnounceInterval.def
-rw-r--r-- mritunjay/mritunjay   1112 2020-06-06 03:35 ptpd-master/src/def/managementTLV/clockDescription.def
-rw-r--r-- mritunjay/mritunjay    208 2020-06-06 03:35 ptpd-master/src/def/managementTLV/unicastNegotiationEnable.def
-rw-r--r-- mritunjay/mritunjay    256 2020-06-06 03:35 ptpd-master/src/def/managementTLV/logMinPdelayReqInterval.def
-rw-r--r-- mritunjay/mritunjay    272 2020-06-06 03:35 ptpd-master/src/def/managementTLV/utcProperties.def
-rw-r--r-- mritunjay/mritunjay    306 2020-06-06 03:35 ptpd-master/src/def/managementTLV/errorStatus.def
-rw-r--r-- mritunjay/mritunjay    237 2020-06-06 03:35 ptpd-master/src/def/managementTLV/clockAccuracy.def
-rw-r--r-- mritunjay/mritunjay    253 2020-06-06 03:35 ptpd-master/src/def/managementTLV/announceReceiptTimeout.def
-rw-r--r-- mritunjay/mritunjay    245 2020-06-06 03:35 ptpd-master/src/def/managementTLV/userDescription.def
-rw-r--r-- mritunjay/mritunjay    225 2020-06-06 03:35 ptpd-master/src/def/managementTLV/priority2.def
-rw-r--r-- mritunjay/mritunjay    225 2020-06-06 03:35 ptpd-master/src/def/managementTLV/priority1.def
-rw-r--r-- mritunjay/mritunjay    194 2020-06-06 03:35 ptpd-master/src/def/managementTLV/time.def
-rw-r--r-- mritunjay/mritunjay    580 2020-06-06 03:35 ptpd-master/src/def/managementTLV/parentDataSet.def
-rw-r--r-- mritunjay/mritunjay    208 2020-06-06 03:35 ptpd-master/src/def/managementTLV/initialize.def
-rw-r--r-- mritunjay/mritunjay    239 2020-06-06 03:35 ptpd-master/src/def/managementTLV/timescaleProperties.def
-rw-r--r-- mritunjay/mritunjay    305 2020-06-06 03:35 ptpd-master/src/def/managementTLV/timePropertiesDataSet.def
-rw-r--r-- mritunjay/mritunjay    631 2020-06-06 03:35 ptpd-master/src/def/managementTLV/portDataSet.def
-rw-r--r-- mritunjay/mritunjay    276 2020-06-06 03:35 ptpd-master/src/def/managementTLV/versionNumber.def
-rw-r--r-- mritunjay/mritunjay    235 2020-06-06 03:35 ptpd-master/src/def/managementTLV/traceabilityProperties.def
-rw-r--r-- mritunjay/mritunjay    217 2020-06-06 03:35 ptpd-master/src/def/managementTLV/slaveOnly.def
-rw-r--r-- mritunjay/mritunjay    239 2020-06-06 03:35 ptpd-master/src/def/managementTLV/delayMechanism.def
-rw-r--r-- mritunjay/mritunjay    262 2020-06-06 03:35 ptpd-master/src/def/managementTLV/managementTLV.def
-rw-r--r-- mritunjay/mritunjay    292 2020-06-06 03:35 ptpd-master/src/def/managementTLV/currentDataSet.def
-rw-r--r-- mritunjay/mritunjay    480 2020-06-06 03:35 ptpd-master/src/def/managementTLV/defaultDataSet.def
-rw-r--r-- mritunjay/mritunjay    225 2020-06-06 03:35 ptpd-master/src/def/managementTLV/domain.def
-rw-r--r-- mritunjay/mritunjay    238 2020-06-06 03:35 ptpd-master/src/def/managementTLV/logSyncInterval.def
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/def/derivedData/
-rw-r--r-- mritunjay/mritunjay    211 2020-06-06 03:35 ptpd-master/src/def/derivedData/timestamp.def
-rw-r--r-- mritunjay/mritunjay    268 2020-06-06 03:35 ptpd-master/src/def/derivedData/portAddress.def
-rw-r--r-- mritunjay/mritunjay    175 2020-06-06 03:35 ptpd-master/src/def/derivedData/timeInterval.def
-rw-r--r-- mritunjay/mritunjay    454 2020-06-06 03:35 ptpd-master/src/def/derivedData/faultRecord.def
-rw-r--r-- mritunjay/mritunjay    212 2020-06-06 03:35 ptpd-master/src/def/derivedData/ptpText.def
-rw-r--r-- mritunjay/mritunjay    246 2020-06-06 03:35 ptpd-master/src/def/derivedData/tlv.def
-rw-r--r-- mritunjay/mritunjay    261 2020-06-06 03:35 ptpd-master/src/def/derivedData/clockQuality.def
-rw-r--r-- mritunjay/mritunjay    232 2020-06-06 03:35 ptpd-master/src/def/derivedData/portIdentity.def
-rw-r--r-- mritunjay/mritunjay    378 2020-06-06 03:35 ptpd-master/src/def/derivedData/physicalAddress.def
-rw-r--r-- mritunjay/mritunjay    440 2020-06-06 03:35 ptpd-master/src/def/derivedData/timePropertiesDS.def
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/src/def/message/
-rw-r--r-- mritunjay/mritunjay    423 2020-06-06 03:35 ptpd-master/src/def/message/management.def
-rw-r--r-- mritunjay/mritunjay    717 2020-06-06 03:35 ptpd-master/src/def/message/header.def
-rw-r--r-- mritunjay/mritunjay    229 2020-06-06 03:35 ptpd-master/src/def/message/signaling.def
-rw-r--r-- mritunjay/mritunjay  12222 2020-06-06 03:35 ptpd-master/src/constants.h
-rw-r--r-- mritunjay/mritunjay  16380 2020-06-06 03:35 ptpd-master/src/ptpd2.8.in
-rw-r--r-- mritunjay/mritunjay  15005 2020-06-06 03:35 ptpd-master/src/ptpd.h
-rw-r--r-- mritunjay/mritunjay   5313 2020-06-06 03:35 ptpd-master/src/timingdomain.h
-rw-r--r-- mritunjay/mritunjay   1346 2020-06-06 03:35 ptpd-master/src/ptpd2.conf.minimal
-rw-r--r-- mritunjay/mritunjay   4500 2020-06-06 03:35 ptpd-master/src/ptpd.c
-rw-r--r-- mritunjay/mritunjay    455 2020-06-06 03:35 ptpd-master/README.repocheckout
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/tools/
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/tools/ntplib/
-rw-r--r-- mritunjay/mritunjay    141 2020-06-06 03:35 ptpd-master/tools/ntplib/NAMESPACE
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/tools/ntplib/R/
-rw-r--r-- mritunjay/mritunjay   6631 2020-06-06 03:35 ptpd-master/tools/ntplib/R/ntplib.R
-rw-r--r-- mritunjay/mritunjay    489 2020-06-06 03:35 ptpd-master/tools/ntplib/DESCRIPTION
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/tools/ntplib/man/
-rw-r--r-- mritunjay/mritunjay    382 2020-06-06 03:35 ptpd-master/tools/ntplib/man/ntpPeerRead.Rd
-rw-r--r-- mritunjay/mritunjay    515 2020-06-06 03:35 ptpd-master/tools/ntplib/man/ntpHistogram.Rd
-rw-r--r-- mritunjay/mritunjay    504 2020-06-06 03:35 ptpd-master/tools/ntplib/man/ntpLoopRead.Rd
-rw-r--r-- mritunjay/mritunjay    421 2020-06-06 03:35 ptpd-master/tools/ntplib/man/ntpLoopStats.Rd
-rw-r--r-- mritunjay/mritunjay    529 2020-06-06 03:35 ptpd-master/tools/ntplib/man/ntpGraph.Rd
-rwxr-xr-x mritunjay/mritunjay   2323 2020-06-06 03:35 ptpd-master/tools/compare.R
-rwxr-xr-x mritunjay/mritunjay   2002 2020-06-06 03:35 ptpd-master/tools/offset.R
-rwxr-xr-x mritunjay/mritunjay    478 2020-06-06 03:35 ptpd-master/tools/filter_response.m
-rwxr-xr-x mritunjay/mritunjay   2048 2020-06-06 03:35 ptpd-master/tools/graph.R
-rw-r--r-- mritunjay/mritunjay    303 2020-06-06 03:35 ptpd-master/tools/cleanup_sf2.sed
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/tools/ptplib/
-rw-r--r-- mritunjay/mritunjay    269 2020-06-06 03:35 ptpd-master/tools/ptplib/NAMESPACE
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/tools/ptplib/R/
-rw-r--r-- mritunjay/mritunjay  16322 2020-06-06 03:35 ptpd-master/tools/ptplib/R/ptplib.R
-rw-r--r-- mritunjay/mritunjay    507 2020-06-06 03:35 ptpd-master/tools/ptplib/DESCRIPTION
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/tools/ptplib/man/
-rw-r--r-- mritunjay/mritunjay    464 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpStats.Rd
-rw-r--r-- mritunjay/mritunjay    536 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpCompare.Rd
-rw-r--r-- mritunjay/mritunjay    484 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpOffsetStats.Rd
-rw-r--r-- mritunjay/mritunjay    381 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpQualityRead.Rd
-rw-r--r-- mritunjay/mritunjay    511 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpGraph.Rd
-rw-r--r-- mritunjay/mritunjay    384 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpQualityGraph.Rd
-rw-r--r-- mritunjay/mritunjay    360 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpHistogramCompare.Rd
-rw-r--r-- mritunjay/mritunjay    494 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpLogRead.Rd
-rw-r--r-- mritunjay/mritunjay    348 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpQualityStats.Rd
-rw-r--r-- mritunjay/mritunjay    356 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpHistogram.Rd
-rw-r--r-- mritunjay/mritunjay    417 2020-06-06 03:35 ptpd-master/tools/ptplib/man/ptpQualityGraphCompare.Rd
-rwxr-xr-x mritunjay/mritunjay   7672 2020-06-06 03:35 ptpd-master/tools/snmptpq
-rwxr-xr-x mritunjay/mritunjay   2048 2020-06-06 03:35 ptpd-master/tools/stats.R
-rwxr-xr-x mritunjay/mritunjay   1987 2020-06-06 03:35 ptpd-master/tools/offset_stats.m
-rw-r--r-- mritunjay/mritunjay    336 2020-06-06 03:35 ptpd-master/tools/cleanup.sed
-rw-r--r-- mritunjay/mritunjay   2705 2020-06-06 03:35 ptpd-master/tools/README.md
-rwxr-xr-x mritunjay/mritunjay   2000 2020-06-06 03:35 ptpd-master/tools/ntpoffset.R
-rw-r--r-- mritunjay/mritunjay  36026 2020-06-07 11:02 ptpd-master/aclocal.m4
-rw-r--r-- mritunjay/mritunjay  17458 2020-06-07 14:56 ptpd-master/configure.ac
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/m4/
-rw-r--r-- mritunjay/mritunjay    131 2020-06-06 03:35 ptpd-master/m4/version.m4
drwxr-xr-x mritunjay/mritunjay      0 2020-06-07 11:02 ptpd-master/autom4te.cache/
-rw-r--r-- mritunjay/mritunjay 245010 2020-06-07 11:02 ptpd-master/autom4te.cache/output.1
-rw-r--r-- mritunjay/mritunjay   7327 2020-06-07 11:02 ptpd-master/autom4te.cache/requests
-rw-r--r-- mritunjay/mritunjay  46257 2020-06-07 11:02 ptpd-master/autom4te.cache/traces.0
-rw-r--r-- mritunjay/mritunjay 245010 2020-06-07 11:02 ptpd-master/autom4te.cache/output.0
-rw-r--r-- mritunjay/mritunjay  57397 2020-06-07 11:02 ptpd-master/autom4te.cache/traces.1
-rw-r--r-- mritunjay/mritunjay    845 2020-06-06 03:35 ptpd-master/Makefile.old
-rw-r--r-- mritunjay/mritunjay  20155 2020-06-06 03:35 ptpd-master/ChangeLog
-rw-r--r-- mritunjay/mritunjay   2058 2020-06-06 03:35 ptpd-master/TODO
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/packagebuild/
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/
-rw-r--r-- mritunjay/mritunjay   2050 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/ptpd.conf
-rw-r--r-- mritunjay/mritunjay   7236 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/ptpd.spec
-rw-r--r-- mritunjay/mritunjay    460 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/ptpd.service
-rw-r--r-- mritunjay/mritunjay    242 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/ptpd.sysconfig
-rw-r--r-- mritunjay/mritunjay   3256 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/ptpd.init
-rw-r--r-- mritunjay/mritunjay   1975 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/README.RH
-rwxr-xr-x mritunjay/mritunjay   2700 2020-06-06 03:35 ptpd-master/packagebuild/rpm-rh/rpmbuild.sh
-rw-r--r-- mritunjay/mritunjay    479 2020-06-06 03:35 ptpd-master/.gitignore
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/doc/
-rw-r--r-- mritunjay/mritunjay   6505 2020-06-06 03:35 ptpd-master/doc/ptpd-2.3.0-migration-guide.html
-rw-r--r-- mritunjay/mritunjay 272225 2020-06-06 03:35 ptpd-master/doc/IEEE1588v1_vs_IEEE1588v2.pdf
-rw-r--r-- mritunjay/mritunjay 138186 2020-06-06 03:35 ptpd-master/doc/draft-ietf-tictoc-ptp-mib-01.txt
-rw-r--r-- mritunjay/mritunjay 323600 2020-06-06 03:35 ptpd-master/doc/ptpd_2005_1588_conference_paper.pdf
-rw-r--r-- mritunjay/mritunjay   4151 2020-06-06 03:35 ptpd-master/doc/index.html
-rw-r--r-- mritunjay/mritunjay 172062 2020-06-06 03:35 ptpd-master/doc/PTPBASE-MIB.txt
-rw-r--r-- mritunjay/mritunjay   2349 2020-06-06 03:35 ptpd-master/COPYRIGHT
-rwxr-xr-x mritunjay/mritunjay 243781 2020-06-07 11:02 ptpd-master/configure
-rw-r--r-- mritunjay/mritunjay   1793 2020-06-06 03:35 ptpd-master/README.md
drwxr-xr-x mritunjay/mritunjay      0 2020-06-07 11:02 ptpd-master/build-aux/
-rw-r--r-- mritunjay/mritunjay   6233 2020-06-06 03:35 ptpd-master/INSTALL
-rw-r--r-- mritunjay/mritunjay    119 2020-06-06 03:35 ptpd-master/.travis.yml
drwxr-xr-x mritunjay/mritunjay      0 2020-06-06 03:35 ptpd-master/test/
-rw-r--r-- mritunjay/mritunjay  15580 2020-06-06 03:35 ptpd-master/test/client-e2e-8023.conf
-rw-r--r-- mritunjay/mritunjay    610 2020-06-06 03:35 ptpd-master/test/testing.org
-rw-r--r-- mritunjay/mritunjay  15565 2020-06-06 03:35 ptpd-master/test/client-e2e-pcap.conf
-rw-r--r-- mritunjay/mritunjay  15558 2020-06-06 03:35 ptpd-master/test/client-e2e-socket.conf
+ tar_exit=0
+ cd ptpd-master
+ /bin/chmod -R a+rX,g-w,o-w .
+ automake --add-missing
configure.ac:28: installing './compile'
configure.ac:16: installing './install-sh'
configure.ac:16: installing './missing'
configure.ac:13: error: required file 'config.h.in' not found
src/Makefile.am: installing './depcomp'
shell cmd failed: /bin/sh -ex  /home/mritunjay/development/rtems/rsb/rtems/build/ptpd-master-arm-rtems5-1/do-build
error: building ptpd-master-arm-rtems5-1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log
Type: application/octet-stream
Size: 45884 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200616/3196f3e1/attachment-0001.obj>


More information about the devel mailing list