All of lore.kernel.org
 help / color / mirror / Atom feed
* arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
@ 2017-03-30 10:43 Yuvarajesh Valleru
  2017-03-30 10:54 ` Fabien Lahoudere
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvarajesh Valleru @ 2017-03-30 10:43 UTC (permalink / raw)
  To: fabien.lahoudere, yocto

Here is the tree for my recipe and also attached the error.

/home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/
├── files
│ ├── helloworld.cpp
│ └── helloworld.pro
└── helloworld_1.0.bb

1 directory, 3 files

ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log 
file is located at 
/home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742)

ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
Log data follows:
| DEBUG: Executing shell function do_compile
| arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
| arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
| compilation terminated.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742)
ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
   /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
  2017-03-30 10:43 arm-angstrom-linux-gnueabi-gcc: fatal error: no input files Yuvarajesh Valleru
@ 2017-03-30 10:54 ` Fabien Lahoudere
  2017-03-30 12:38   ` Yuvarajesh Valleru
  0 siblings, 1 reply; 7+ messages in thread
From: Fabien Lahoudere @ 2017-03-30 10:54 UTC (permalink / raw)
  To: Yuvarajesh Valleru, yocto

Try 

do_compile() {
          ${CC} ${S}/helloworld.cpp -o ${S}/helloworld
}

On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote:
> Here is the tree for my recipe and also attached the error.
> 
> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/
> ├── files
> │ ├── helloworld.cpp
> │ └── helloworld.pro
> └── helloworld_1.0.bb
> 
> 1 directory, 3 files
> 
> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log 
> file is located at 
> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> r0/temp/log.do_compile.23742)
> 
> ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-
> angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
> Log data follows:
> > DEBUG: Executing shell function do_compile
> > arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
> > arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
> > compilation terminated.
> > WARNING: exit code 1 from a shell command.
> > ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-
> > glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742)
> 
> ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
> NOTE: Writing buildhistory
> 
> Summary: 1 task failed:
>    /home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> hi/helloworld/helloworld_1.0.bb:do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> 
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
  2017-03-30 10:54 ` Fabien Lahoudere
@ 2017-03-30 12:38   ` Yuvarajesh Valleru
  2017-03-30 12:46     ` Fabien Lahoudere
  0 siblings, 1 reply; 7+ messages in thread
From: Yuvarajesh Valleru @ 2017-03-30 12:38 UTC (permalink / raw)
  To: Fabien Lahoudere, yocto

Thanks, It worked. But experienced another error.

ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log 
file is located at 
/home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.31394)
ERROR: Logfile of failure stored in: 
/home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.31394
Log data follows:
| DEBUG: Executing shell function do_compile
| 
/home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/helloworld.cpp:1:23: 
fatal error: QTextStream: No such file or directory
| compilation terminated.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at 
/home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.31394)
ERROR: Task 
(/home/cc/src/oe-core/build/../layers/meta-laye/recipes-hi/helloworld/helloworld_1.0.bb:do_compile) 
failed with exit code '1'
NOTE: Tasks Summary: Attempted 591 tasks of which 590 didn't need to be 
rerun and 1 failed.
NOTE: Writing buildhistory

Summary: 1 task failed:
/home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Am 30.03.2017 um 12:54 schrieb Fabien Lahoudere:
> Try
>
> do_compile() {
>            ${CC} ${S}/helloworld.cpp -o ${S}/helloworld
> }
>
> On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote:
>> Here is the tree for my recipe and also attached the error.
>>
>> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/
>> ├── files
>> │ ├── helloworld.cpp
>> │ └── helloworld.pro
>> └── helloworld_1.0.bb
>>
>> 1 directory, 3 files
>>
>> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
>> file is located at
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/temp/log.do_compile.23742)
>>
>> ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-
>> angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
>> Log data follows:
>>> DEBUG: Executing shell function do_compile
>>> arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
>>> arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
>>> compilation terminated.
>>> WARNING: exit code 1 from a shell command.
>>> ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-
>>> glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742)
>> ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-
>> hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
>> NOTE: Writing buildhistory
>>
>> Summary: 1 task failed:
>>     /home/cc/src/oe-core/build/../layers/meta-layer/recipes-
>> hi/helloworld/helloworld_1.0.bb:do_compile
>> Summary: There was 1 WARNING message shown.
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
  2017-03-30 12:38   ` Yuvarajesh Valleru
@ 2017-03-30 12:46     ` Fabien Lahoudere
  2017-03-30 13:07       ` Gary Thomas
  2017-03-30 15:25       ` Yuvarajesh Valleru
  0 siblings, 2 replies; 7+ messages in thread
From: Fabien Lahoudere @ 2017-03-30 12:46 UTC (permalink / raw)
  To: Yuvarajesh Valleru, yocto

Seems to be related to missing CFLAGS to compile.
IMO you should look at how other recipe build qt4 apps.

On Thu, 2017-03-30 at 14:38 +0200, Yuvarajesh Valleru wrote:
> Thanks, It worked. But experienced another error.
> 
> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log 
> file is located at 
> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> r0/temp/log.do_compile.31394)
> ERROR: Logfile of failure stored in: 
> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> r0/temp/log.do_compile.31394
> Log data follows:
> > DEBUG: Executing shell function do_compile
> > 
> 
> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> r0/helloworld.cpp:1:23: 
> fatal error: QTextStream: No such file or directory
> > compilation terminated.
> > WARNING: exit code 1 from a shell command.
> > ERROR: Function failed: do_compile (log file is located at 
> 
> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> r0/temp/log.do_compile.31394)
> ERROR: Task 
> (/home/cc/src/oe-core/build/../layers/meta-laye/recipes-
> hi/helloworld/helloworld_1.0.bb:do_compile) 
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 591 tasks of which 590 didn't need to be 
> rerun and 1 failed.
> NOTE: Writing buildhistory
> 
> Summary: 1 task failed:
> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile
> Summary: There was 1 WARNING message shown.
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> 
> 
> Am 30.03.2017 um 12:54 schrieb Fabien Lahoudere:
> > Try
> > 
> > do_compile() {
> >            ${CC} ${S}/helloworld.cpp -o ${S}/helloworld
> > }
> > 
> > On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote:
> > > Here is the tree for my recipe and also attached the error.
> > > 
> > > /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/
> > > ├── files
> > > │ ├── helloworld.cpp
> > > │ └── helloworld.pro
> > > └── helloworld_1.0.bb
> > > 
> > > 1 directory, 3 files
> > > 
> > > ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
> > > file is located at
> > > /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-
> > > gnueabi/helloworld/1.0-
> > > r0/temp/log.do_compile.23742)
> > > 
> > > ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-
> > > neon-
> > > angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
> > > Log data follows:
> > > > DEBUG: Executing shell function do_compile
> > > > arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
> > > > arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
> > > > compilation terminated.
> > > > WARNING: exit code 1 from a shell command.
> > > > ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-
> > > > glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> > > > r0/temp/log.do_compile.23742)
> > > 
> > > ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> > > hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
> > > NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
> > > NOTE: Writing buildhistory
> > > 
> > > Summary: 1 task failed:
> > >     /home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> > > hi/helloworld/helloworld_1.0.bb:do_compile
> > > Summary: There was 1 WARNING message shown.
> > > Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> > > 
> > > 
> > > 
> 
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
  2017-03-30 12:46     ` Fabien Lahoudere
@ 2017-03-30 13:07       ` Gary Thomas
  2017-03-30 15:25       ` Yuvarajesh Valleru
  1 sibling, 0 replies; 7+ messages in thread
From: Gary Thomas @ 2017-03-30 13:07 UTC (permalink / raw)
  To: yocto

On 2017-03-30 14:46, Fabien Lahoudere wrote:
> Seems to be related to missing CFLAGS to compile.
> IMO you should look at how other recipe build qt4 apps.

The primary problem is that between the time the info you are following (probably
many years old now - Angstrom has been quite stale since 2015) and now, a lot has
changed.  Most acutely, there is now an expected separation between where sources
live (${S}) and builds occur (${B}) and your recipe needs to take that into consideration.

As Fabien said, look at how other (in this case qt4) recipes work.

>
> On Thu, 2017-03-30 at 14:38 +0200, Yuvarajesh Valleru wrote:
>> Thanks, It worked. But experienced another error.
>>
>> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
>> file is located at
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/temp/log.do_compile.31394)
>> ERROR: Logfile of failure stored in:
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/temp/log.do_compile.31394
>> Log data follows:
>>> DEBUG: Executing shell function do_compile
>>>
>>
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/helloworld.cpp:1:23:
>> fatal error: QTextStream: No such file or directory
>>> compilation terminated.
>>> WARNING: exit code 1 from a shell command.
>>> ERROR: Function failed: do_compile (log file is located at
>>
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/temp/log.do_compile.31394)
>> ERROR: Task
>> (/home/cc/src/oe-core/build/../layers/meta-laye/recipes-
>> hi/helloworld/helloworld_1.0.bb:do_compile)
>> failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 591 tasks of which 590 didn't need to be
>> rerun and 1 failed.
>> NOTE: Writing buildhistory
>>
>> Summary: 1 task failed:
>> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile
>> Summary: There was 1 WARNING message shown.
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>> Am 30.03.2017 um 12:54 schrieb Fabien Lahoudere:
>>> Try
>>>
>>> do_compile() {
>>>            ${CC} ${S}/helloworld.cpp -o ${S}/helloworld
>>> }
>>>
>>> On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote:
>>>> Here is the tree for my recipe and also attached the error.
>>>>
>>>> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/
>>>> ├── files
>>>> │ ├── helloworld.cpp
>>>> │ └── helloworld.pro
>>>> └── helloworld_1.0.bb
>>>>
>>>> 1 directory, 3 files
>>>>
>>>> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
>>>> file is located at
>>>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-
>>>> gnueabi/helloworld/1.0-
>>>> r0/temp/log.do_compile.23742)
>>>>
>>>> ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-
>>>> neon-
>>>> angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
>>>> Log data follows:
>>>>> DEBUG: Executing shell function do_compile
>>>>> arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
>>>>> arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
>>>>> compilation terminated.
>>>>> WARNING: exit code 1 from a shell command.
>>>>> ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-
>>>>> glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>>>>> r0/temp/log.do_compile.23742)
>>>>
>>>> ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-
>>>> hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
>>>> NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
>>>> NOTE: Writing buildhistory
>>>>
>>>> Summary: 1 task failed:
>>>>     /home/cc/src/oe-core/build/../layers/meta-layer/recipes-
>>>> hi/helloworld/helloworld_1.0.bb:do_compile
>>>> Summary: There was 1 WARNING message shown.
>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>>
>>>>
>>>>
>>
>>


-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
  2017-03-30 12:46     ` Fabien Lahoudere
  2017-03-30 13:07       ` Gary Thomas
@ 2017-03-30 15:25       ` Yuvarajesh Valleru
  2017-03-30 16:04         ` Leonardo Sandoval
  1 sibling, 1 reply; 7+ messages in thread
From: Yuvarajesh Valleru @ 2017-03-30 15:25 UTC (permalink / raw)
  To: Fabien Lahoudere, yocto, Gary Thomas

Thank you for great help and suggestions. I will go through other 
recipes and try it again.

Thanks again.


Am 30.03.2017 um 14:46 schrieb Fabien Lahoudere:
> Seems to be related to missing CFLAGS to compile.
> IMO you should look at how other recipe build qt4 apps.
>
> On Thu, 2017-03-30 at 14:38 +0200, Yuvarajesh Valleru wrote:
>> Thanks, It worked. But experienced another error.
>>
>> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
>> file is located at
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/temp/log.do_compile.31394)
>> ERROR: Logfile of failure stored in:
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/temp/log.do_compile.31394
>> Log data follows:
>>> DEBUG: Executing shell function do_compile
>>>
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/helloworld.cpp:1:23:
>> fatal error: QTextStream: No such file or directory
>>> compilation terminated.
>>> WARNING: exit code 1 from a shell command.
>>> ERROR: Function failed: do_compile (log file is located at
>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>> r0/temp/log.do_compile.31394)
>> ERROR: Task
>> (/home/cc/src/oe-core/build/../layers/meta-laye/recipes-
>> hi/helloworld/helloworld_1.0.bb:do_compile)
>> failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 591 tasks of which 590 didn't need to be
>> rerun and 1 failed.
>> NOTE: Writing buildhistory
>>
>> Summary: 1 task failed:
>> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile
>> Summary: There was 1 WARNING message shown.
>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>
>>
>> Am 30.03.2017 um 12:54 schrieb Fabien Lahoudere:
>>> Try
>>>
>>> do_compile() {
>>>             ${CC} ${S}/helloworld.cpp -o ${S}/helloworld
>>> }
>>>
>>> On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote:
>>>> Here is the tree for my recipe and also attached the error.
>>>>
>>>> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/
>>>> ├── files
>>>> │ ├── helloworld.cpp
>>>> │ └── helloworld.pro
>>>> └── helloworld_1.0.bb
>>>>
>>>> 1 directory, 3 files
>>>>
>>>> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
>>>> file is located at
>>>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-
>>>> gnueabi/helloworld/1.0-
>>>> r0/temp/log.do_compile.23742)
>>>>
>>>> ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-
>>>> neon-
>>>> angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
>>>> Log data follows:
>>>>> DEBUG: Executing shell function do_compile
>>>>> arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
>>>>> arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
>>>>> compilation terminated.
>>>>> WARNING: exit code 1 from a shell command.
>>>>> ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-
>>>>> glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
>>>>> r0/temp/log.do_compile.23742)
>>>> ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-
>>>> hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
>>>> NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
>>>> NOTE: Writing buildhistory
>>>>
>>>> Summary: 1 task failed:
>>>>      /home/cc/src/oe-core/build/../layers/meta-layer/recipes-
>>>> hi/helloworld/helloworld_1.0.bb:do_compile
>>>> Summary: There was 1 WARNING message shown.
>>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>>>>
>>>>
>>>>
>>



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
  2017-03-30 15:25       ` Yuvarajesh Valleru
@ 2017-03-30 16:04         ` Leonardo Sandoval
  0 siblings, 0 replies; 7+ messages in thread
From: Leonardo Sandoval @ 2017-03-30 16:04 UTC (permalink / raw)
  To: Yuvarajesh Valleru; +Cc: Gary Thomas, yocto

On Thu, 2017-03-30 at 17:25 +0200, Yuvarajesh Valleru wrote:
> Thank you for great help and suggestions. I will go through other 
> recipes and try it again.
> 

Also, you can try the script 'yocto-layer' ('create' subcommand) to
create a layer with a single recipe (the hello world one)

Leo


> Thanks again.
> 
> 
> Am 30.03.2017 um 14:46 schrieb Fabien Lahoudere:
> > Seems to be related to missing CFLAGS to compile.
> > IMO you should look at how other recipe build qt4 apps.
> >
> > On Thu, 2017-03-30 at 14:38 +0200, Yuvarajesh Valleru wrote:
> >> Thanks, It worked. But experienced another error.
> >>
> >> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
> >> file is located at
> >> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> >> r0/temp/log.do_compile.31394)
> >> ERROR: Logfile of failure stored in:
> >> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> >> r0/temp/log.do_compile.31394
> >> Log data follows:
> >>> DEBUG: Executing shell function do_compile
> >>>
> >> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> >> r0/helloworld.cpp:1:23:
> >> fatal error: QTextStream: No such file or directory
> >>> compilation terminated.
> >>> WARNING: exit code 1 from a shell command.
> >>> ERROR: Function failed: do_compile (log file is located at
> >> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> >> r0/temp/log.do_compile.31394)
> >> ERROR: Task
> >> (/home/cc/src/oe-core/build/../layers/meta-laye/recipes-
> >> hi/helloworld/helloworld_1.0.bb:do_compile)
> >> failed with exit code '1'
> >> NOTE: Tasks Summary: Attempted 591 tasks of which 590 didn't need to be
> >> rerun and 1 failed.
> >> NOTE: Writing buildhistory
> >>
> >> Summary: 1 task failed:
> >> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/helloworld_1.0.bb:do_compile
> >> Summary: There was 1 WARNING message shown.
> >> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> >>
> >>
> >> Am 30.03.2017 um 12:54 schrieb Fabien Lahoudere:
> >>> Try
> >>>
> >>> do_compile() {
> >>>             ${CC} ${S}/helloworld.cpp -o ${S}/helloworld
> >>> }
> >>>
> >>> On Thu, 2017-03-30 at 12:43 +0200, Yuvarajesh Valleru wrote:
> >>>> Here is the tree for my recipe and also attached the error.
> >>>>
> >>>> /home/cc/src/oe-core/build/../layers/meta-layer/recipes-hi/helloworld/
> >>>> ├── files
> >>>> │ ├── helloworld.cpp
> >>>> │ └── helloworld.pro
> >>>> └── helloworld_1.0.bb
> >>>>
> >>>> 1 directory, 3 files
> >>>>
> >>>> ERROR: helloworld-1.0-r0 do_compile: Function failed: do_compile (log
> >>>> file is located at
> >>>> /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-neon-angstrom-linux-
> >>>> gnueabi/helloworld/1.0-
> >>>> r0/temp/log.do_compile.23742)
> >>>>
> >>>> ERROR: Logfile of failure stored in: /home/cc/src/oe-core/build/tmp-glibc/work/armv7at2hf-
> >>>> neon-
> >>>> angstrom-linux-gnueabi/helloworld/1.0-r0/temp/log.do_compile.23742
> >>>> Log data follows:
> >>>>> DEBUG: Executing shell function do_compile
> >>>>> arm-angstrom-linux-gnueabi-gcc: error: helloworld.cpp: No such file or directory
> >>>>> arm-angstrom-linux-gnueabi-gcc: fatal error: no input files
> >>>>> compilation terminated.
> >>>>> WARNING: exit code 1 from a shell command.
> >>>>> ERROR: Function failed: do_compile (log file is located at /home/cc/src/oe-core/build/tmp-
> >>>>> glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/helloworld/1.0-
> >>>>> r0/temp/log.do_compile.23742)
> >>>> ERROR: Task (/home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> >>>> hi/helloworld/helloworld_1.0.bb:do_compile) failed with exit code '1'
> >>>> NOTE: Tasks Summary: Attempted 591 tasks of which 584 didn't need to be rerun and 1 failed.
> >>>> NOTE: Writing buildhistory
> >>>>
> >>>> Summary: 1 task failed:
> >>>>      /home/cc/src/oe-core/build/../layers/meta-layer/recipes-
> >>>> hi/helloworld/helloworld_1.0.bb:do_compile
> >>>> Summary: There was 1 WARNING message shown.
> >>>> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> >>>>
> >>>>
> >>>>
> >>
> 




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-03-30 15:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-30 10:43 arm-angstrom-linux-gnueabi-gcc: fatal error: no input files Yuvarajesh Valleru
2017-03-30 10:54 ` Fabien Lahoudere
2017-03-30 12:38   ` Yuvarajesh Valleru
2017-03-30 12:46     ` Fabien Lahoudere
2017-03-30 13:07       ` Gary Thomas
2017-03-30 15:25       ` Yuvarajesh Valleru
2017-03-30 16:04         ` Leonardo Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.