mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] nettle build error
@ 2014-04-24  2:00 Jon Ringle
  2014-04-24  5:04 ` Jon Ringle
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Ringle @ 2014-04-24  2:00 UTC (permalink / raw)
  To: ptxdist

I have a ptxdist project that I recently updated from
ptxdist-2014.02.0 to 2014.04.0. There was a version bump for nettle
from 2.5 to 2.7.1. I am getting the following build error on nettle
now:

make[3]: Entering directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
Makefile:595: ecc-generic-modq.o.d: No such file or directory
arm-v5te-linux-gnueabi-gcc -I.  -DHAVE_CONFIG_H -g -O2 -ggdb3
-Wno-pointer-sign -Wall -W   -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith
-Wbad-function-cast -Wnested-externs -fpic -MT ecc-dup-jj.o -MD -MP
-MF ecc-dup-jj.o.d -fpic -c ecc-dup-jj.c \
        && true
make[3]: *** No rule to make target `ecc-modq.o.d'.  Stop.
make[3]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
make[2]: *** [eccdata.stamp] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
make[1]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
make[1]: *** [all] Error 2
make: *** [/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/state/nettle.compile]
Error 2

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] nettle build error
  2014-04-24  2:00 [ptxdist] nettle build error Jon Ringle
@ 2014-04-24  5:04 ` Jon Ringle
  2014-04-24  7:40   ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Ringle @ 2014-04-24  5:04 UTC (permalink / raw)
  To: ptxdist

On Wed, Apr 23, 2014 at 10:00 PM, Jon Ringle <jon@ringle.org> wrote:
> I have a ptxdist project that I recently updated from
> ptxdist-2014.02.0 to 2014.04.0. There was a version bump for nettle
> from 2.5 to 2.7.1. I am getting the following build error on nettle
> now:

Interestingly, if I run 'ptxdist images' again, nettle builds
successfully and continues on...

Jon

>
> make[3]: Entering directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
> Makefile:595: ecc-generic-modq.o.d: No such file or directory
> arm-v5te-linux-gnueabi-gcc -I.  -DHAVE_CONFIG_H -g -O2 -ggdb3
> -Wno-pointer-sign -Wall -W   -Wmissing-prototypes
> -Wmissing-declarations -Wstrict-prototypes   -Wpointer-arith
> -Wbad-function-cast -Wnested-externs -fpic -MT ecc-dup-jj.o -MD -MP
> -MF ecc-dup-jj.o.d -fpic -c ecc-dup-jj.c \
>         && true
> make[3]: *** No rule to make target `ecc-modq.o.d'.  Stop.
> make[3]: Leaving directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
> make[2]: *** [eccdata.stamp] Error 2
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
> make[1]: Leaving directory
> `/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
> make[1]: *** [all] Error 2
> make: *** [/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/state/nettle.compile]
> Error 2

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] nettle build error
  2014-04-24  5:04 ` Jon Ringle
@ 2014-04-24  7:40   ` Michael Olbrich
  2014-04-24 12:15     ` Jon Ringle
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2014-04-24  7:40 UTC (permalink / raw)
  To: ptxdist

On Thu, Apr 24, 2014 at 01:04:56AM -0400, Jon Ringle wrote:
> On Wed, Apr 23, 2014 at 10:00 PM, Jon Ringle <jon@ringle.org> wrote:
> > I have a ptxdist project that I recently updated from
> > ptxdist-2014.02.0 to 2014.04.0. There was a version bump for nettle
> > from 2.5 to 2.7.1. I am getting the following build error on nettle
> > now:
> 
> Interestingly, if I run 'ptxdist images' again, nettle builds
> successfully and continues on...

If you run "ptxdist clean nettle" and then "ptxdist images' again, does it
fail again? If yes, then this may be a parallel building issue. Try
adding "NETTLE_MAKE_PAR := NO" to nettle.make and see if you can still
provoke the error.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] nettle build error
  2014-04-24  7:40   ` Michael Olbrich
@ 2014-04-24 12:15     ` Jon Ringle
  0 siblings, 0 replies; 4+ messages in thread
From: Jon Ringle @ 2014-04-24 12:15 UTC (permalink / raw)
  To: ptxdist

On Thu, Apr 24, 2014 at 3:40 AM, Michael Olbrich
<m.olbrich@pengutronix.de> wrote:
> On Thu, Apr 24, 2014 at 01:04:56AM -0400, Jon Ringle wrote:
>> On Wed, Apr 23, 2014 at 10:00 PM, Jon Ringle <jon@ringle.org> wrote:
>> > I have a ptxdist project that I recently updated from
>> > ptxdist-2014.02.0 to 2014.04.0. There was a version bump for nettle
>> > from 2.5 to 2.7.1. I am getting the following build error on nettle
>> > now:
>>
>> Interestingly, if I run 'ptxdist images' again, nettle builds
>> successfully and continues on...
>
> If you run "ptxdist clean nettle" and then "ptxdist images' again, does it
> fail again? If yes, then this may be a parallel building issue. Try
> adding "NETTLE_MAKE_PAR := NO" to nettle.make and see if you can still
> provoke the error.

Yes I was able to reproduce an error (with a different target than before):
make[3]: Entering directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
make[3]: *** No rule to make target `ecc-add-jjj.o.d'.  Stop.
make[3]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
make[2]: *** [eccdata.stamp] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/build-target/nettle-2.7.1'
make: *** [/home/jringle/code/ptx/ec1k-rootfs/platform-EC1K/state/nettle.compile]
Error 2

Adding NETTLE_MAKE_PAR := NO does fix the issue


>
> Michael
>
> --
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
>
> --
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-04-24 12:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-24  2:00 [ptxdist] nettle build error Jon Ringle
2014-04-24  5:04 ` Jon Ringle
2014-04-24  7:40   ` Michael Olbrich
2014-04-24 12:15     ` Jon Ringle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox