Re: [Discuss OpenCPI] Issue running opencpi/scripts/install-opencpi.sh on branch release_1.4

MR
Munro, Robert M.
Thu, Oct 25, 2018 7:36 PM

James,

The repo was cleanly cloned earlier yesterday.  Other than checking out the release_1.4 branch there were no modifications.  A 'make cleaneverything' and 'scripts/install-opencpi.sh' were run with the same result.  A 'git status' command showed the repo was clean and the release_1.4 branch was checked out.

I am currently cloning the repo again and will see if the same issue occurs again.

-----Original Message-----
From: discuss [mailto:discuss-bounces@lists.opencpi.org] On Behalf Of discuss-request@lists.opencpi.org
Sent: Thursday, October 25, 2018 12:00 PM
To: discuss@lists.opencpi.org
Subject: discuss Digest, Vol 8, Issue 3

Send discuss mailing list submissions to
discuss@lists.opencpi.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org
or, via email, send a message with subject or body 'help' to
discuss-request@lists.opencpi.org

You can reach the person managing the list at
discuss-owner@lists.opencpi.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of discuss digest..."

Today's Topics:

  1. Issue running opencpi/scripts/install-opencpi.sh on branch
    release_1.4 (Munro, Robert M.)
  2. Re: Issue running opencpi/scripts/install-opencpi.sh on
    branch release_1.4 (James Kulp)

Message: 1
Date: Wed, 24 Oct 2018 23:30:36 +0000
From: "Munro, Robert M." Robert.Munro@jhuapl.edu
To: "discuss@lists.opencpi.org" discuss@lists.opencpi.org
Subject: [Discuss OpenCPI] Issue running
opencpi/scripts/install-opencpi.sh on branch release_1.4
Message-ID: 50ce3980b93a4470b2f33d57f6d385d6@APLEX08.dom1.jhuapl.edu
Content-Type: text/plain; charset="us-ascii"

I am attempting to build the fsk_loopback test application for a Matchstiq.  I found that some of the required asset components are not available on the release_1.3 branch and moved forward to the release_1.4 branch where the components appear to be present.

During the execution of scripts/install-opencpi.sh the following error is output:

=============Building RCC implementation ad9361_config_proxy.rcc for target(s):
Compiling ad9361_config_proxy.cc for target linux-c7-x86_64,
configuration 0
ad9361_config_proxy.cc: In member function 'virtual OCPI::RCC::RCCResult Ad9361_config_proxyWorker::initialize()':
ad9361_config_proxy.cc:836:5: error: braces around scalar initializer for type 'uint8_t {aka unsigned char}'
};
^
make[2]: *** [target-centos7/ad9361_config_proxy.o] Error 1
make[1]: *** [ad9361_config_proxy.rcc] Error 2
make[1]: Leaving directory /home/user/work/opencpi/projects/assets/hdl/devices' make: *** [rcc] Error 2 make: Leaving directory /home/user/work/opencpi/projects/assets'

Has anyone seen this issue before?  What change is required to get through this compilation?

Thanks,
Robert Munro

James, The repo was cleanly cloned earlier yesterday. Other than checking out the release_1.4 branch there were no modifications. A 'make cleaneverything' and 'scripts/install-opencpi.sh' were run with the same result. A 'git status' command showed the repo was clean and the release_1.4 branch was checked out. I am currently cloning the repo again and will see if the same issue occurs again. -----Original Message----- From: discuss [mailto:discuss-bounces@lists.opencpi.org] On Behalf Of discuss-request@lists.opencpi.org Sent: Thursday, October 25, 2018 12:00 PM To: discuss@lists.opencpi.org Subject: discuss Digest, Vol 8, Issue 3 Send discuss mailing list submissions to discuss@lists.opencpi.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.opencpi.org/mailman/listinfo/discuss_lists.opencpi.org or, via email, send a message with subject or body 'help' to discuss-request@lists.opencpi.org You can reach the person managing the list at discuss-owner@lists.opencpi.org When replying, please edit your Subject line so it is more specific than "Re: Contents of discuss digest..." Today's Topics: 1. Issue running opencpi/scripts/install-opencpi.sh on branch release_1.4 (Munro, Robert M.) 2. Re: Issue running opencpi/scripts/install-opencpi.sh on branch release_1.4 (James Kulp) ---------------------------------------------------------------------- Message: 1 Date: Wed, 24 Oct 2018 23:30:36 +0000 From: "Munro, Robert M." <Robert.Munro@jhuapl.edu> To: "discuss@lists.opencpi.org" <discuss@lists.opencpi.org> Subject: [Discuss OpenCPI] Issue running opencpi/scripts/install-opencpi.sh on branch release_1.4 Message-ID: <50ce3980b93a4470b2f33d57f6d385d6@APLEX08.dom1.jhuapl.edu> Content-Type: text/plain; charset="us-ascii" I am attempting to build the fsk_loopback test application for a Matchstiq. I found that some of the required asset components are not available on the release_1.3 branch and moved forward to the release_1.4 branch where the components appear to be present. During the execution of scripts/install-opencpi.sh the following error is output: > =============Building RCC implementation ad9361_config_proxy.rcc for target(s): > Compiling ad9361_config_proxy.cc for target linux-c7-x86_64, > configuration 0 > ad9361_config_proxy.cc: In member function 'virtual OCPI::RCC::RCCResult Ad9361_config_proxyWorker::initialize()': > ad9361_config_proxy.cc:836:5: error: braces around scalar initializer for type 'uint8_t {aka unsigned char}' > }; > ^ > make[2]: *** [target-centos7/ad9361_config_proxy.o] Error 1 > make[1]: *** [ad9361_config_proxy.rcc] Error 2 > make[1]: Leaving directory `/home/user/work/opencpi/projects/assets/hdl/devices' > make: *** [rcc] Error 2 > make: Leaving directory `/home/user/work/opencpi/projects/assets' Has anyone seen this issue before? What change is required to get through this compilation? Thanks, Robert Munro
MA
Marasco, Aaron
Fri, Oct 26, 2018 11:12 AM

Robert,

I am sorry but I could not replicate your issue either. I just started from absolute zero and ended with it running...

======================= All tests passed: os datatype load-drivers container driver assets swig python av ocpidev core inactive

The commands I used (including my mistakes):

On host:
1001  2018-10-26 06:27:00 docker run -d --name github_test centos:7 /bin/sleep 12h
1002  2018-10-26 06:27:08 docker exec -it github_test bash
In container:

1  git clone https://github.com/opencpi/opencpi.git
2  yum install -y git
3  git clone https://github.com/opencpi/opencpi.git
4  git checkout release_1.4
5  cd opencpi/
6  git checkout release_1.4
7  ./scripts/install-opencpi.sh
8  yum install -y sudo epel-release
9  ./scripts/install-opencpi.sh

Do you have some other changes on your system, like a non-standard version of GCC installed?

Aaron

Robert, I am sorry but I could not replicate your issue either. I just started from absolute zero and ended with it running... ======================= All tests passed: os datatype load-drivers container driver assets swig python av ocpidev core inactive The commands I used (including my mistakes): On host: 1001 2018-10-26 06:27:00 docker run -d --name github_test centos:7 /bin/sleep 12h 1002 2018-10-26 06:27:08 docker exec -it github_test bash In container: 1 git clone https://github.com/opencpi/opencpi.git 2 yum install -y git 3 git clone https://github.com/opencpi/opencpi.git 4 git checkout release_1.4 5 cd opencpi/ 6 git checkout release_1.4 7 ./scripts/install-opencpi.sh 8 yum install -y sudo epel-release 9 ./scripts/install-opencpi.sh Do you have some other changes on your system, like a non-standard version of GCC installed? Aaron
MR
Munro, Robert M.
Fri, Oct 26, 2018 4:45 PM

Aaron and James,

It appears something undesired may have happened during my first clone operation that manifested during the build.  The repo was cloned again and the install-opencpi script ran correctly to completion.  Thanks for looking into the issue and providing feedback.

Thanks,
Robert

From: Marasco, Aaron [mailto:aaron.marasco@bia-boeing.com]
Sent: Friday, October 26, 2018 7:13 AM
To: Munro, Robert M.; discuss@lists.opencpi.org
Subject: Re: Issue running opencpi/scripts/install-opencpi.sh on branch release_1.4

Robert,

I am sorry but I could not replicate your issue either. I just started from absolute zero and ended with it running...
======================= All tests passed: os datatype load-drivers container driver assets swig python av ocpidev core inactive
The commands I used (including my mistakes):
On host:
1001  2018-10-26 06:27:00 docker run -d --name github_test centos:7 /bin/sleep 12h
1002  2018-10-26 06:27:08 docker exec -it github_test bash
In container:
1  git clone https://github.com/opencpi/opencpi.git
2  yum install -y git
3  git clone https://github.com/opencpi/opencpi.git
4  git checkout release_1.4
5  cd opencpi/
6  git checkout release_1.4
7  ./scripts/install-opencpi.sh
8  yum install -y sudo epel-release
9  ./scripts/install-opencpi.sh

Do you have some other changes on your system, like a non-standard version of GCC installed?

Aaron

Aaron and James, It appears something undesired may have happened during my first clone operation that manifested during the build. The repo was cloned again and the install-opencpi script ran correctly to completion. Thanks for looking into the issue and providing feedback. Thanks, Robert From: Marasco, Aaron [mailto:aaron.marasco@bia-boeing.com] Sent: Friday, October 26, 2018 7:13 AM To: Munro, Robert M.; discuss@lists.opencpi.org Subject: Re: Issue running opencpi/scripts/install-opencpi.sh on branch release_1.4 Robert, I am sorry but I could not replicate your issue either. I just started from absolute zero and ended with it running... ======================= All tests passed: os datatype load-drivers container driver assets swig python av ocpidev core inactive The commands I used (including my mistakes): On host: 1001 2018-10-26 06:27:00 docker run -d --name github_test centos:7 /bin/sleep 12h 1002 2018-10-26 06:27:08 docker exec -it github_test bash In container: 1 git clone https://github.com/opencpi/opencpi.git 2 yum install -y git 3 git clone https://github.com/opencpi/opencpi.git 4 git checkout release_1.4 5 cd opencpi/ 6 git checkout release_1.4 7 ./scripts/install-opencpi.sh 8 yum install -y sudo epel-release 9 ./scripts/install-opencpi.sh Do you have some other changes on your system, like a non-standard version of GCC installed? Aaron