All of lore.kernel.org
 help / color / mirror / Atom feed
* m4-native, zedboard, "Please port gnulib fseeko.c to your platform"
@ 2018-11-13 20:28 Robert P. J. Day
  2018-11-13 23:50 ` akuster808
  2018-11-14  9:52 ` Gunnar Andersson
  0 siblings, 2 replies; 4+ messages in thread
From: Robert P. J. Day @ 2018-11-13 20:28 UTC (permalink / raw)
  To: Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 3033 bytes --]


  been away from YP for a few months, diving back in, want to build a
core-image-minimal for my zedboard, and i will first admit that i'm
using a non-approved distro (fully-updated fedora 29):

"WARNING: Host distribution "fedora-29" has not been validated with
this version of the build system; you may possibly experience
unexpected failures. It is recommended that you use a tested
distribution."

  no matter, i will live dangerously. but then things take an ugly
turn:

"WARNING: Your host glibc verson (2.28) is newer than that in
uninative (2.27). Disabling uninative so that sstate is not
corrupted."

  ok, let's see how far we get ... and that's here, trying to compile
m4-native:

| gcc   -I. -I../../m4-1.4.18/lib
-isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
-isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
-O2 -pipe -c -o freadahead.o ../../m4-1.4.18/lib/freadahead.c
| gcc   -I. -I../../m4-1.4.18/lib
-isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
-isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
-O2 -pipe -c -o fseeko.o ../../m4-1.4.18/lib/fseeko.c
| ../../m4-1.4.18/lib/freadahead.c: In function ‘freadahead’:
| ../../m4-1.4.18/lib/fseeko.c: In function ‘rpl_fseeko’:
| ../../m4-1.4.18/lib/freadahead.c:92:3: error: #error "Please port
gnulib freadahead.c to your platform! Look at the definition of
fflush, fread, ungetc on your system, then report this to bug-gnulib."
|   #error "Please port gnulib freadahead.c to your platform! Look at
the definition of fflush, fread, ungetc on your system, then report
this to bug-gnulib."
|    ^~~~~
| ../../m4-1.4.18/lib/fseeko.c:110:4: error: #error "Please port
gnulib fseeko.c to your platform! Look at the code in fseeko.c, then
report this to bug-gnulib."
|    #error "Please port gnulib fseeko.c to your platform! Look at the
code in fseeko.c, then report this to bug-gnulib."


and so on. red hat's bugzilla has an entry for just this:

https://bugzilla.redhat.com/show_bug.cgi?id=1595702

but i'm unsure (read, have no clue) how to deal with this, and i
suspect it affects more targets than just zedboard which is why i'm
asking on the general YP list.

  thoughts? is there a cheap fix for this? i'm about to dive into
debugging this, but if someone wants to make my life easy, that'd be
great.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

* Re: m4-native, zedboard, "Please port gnulib fseeko.c to your platform"
  2018-11-13 20:28 m4-native, zedboard, "Please port gnulib fseeko.c to your platform" Robert P. J. Day
@ 2018-11-13 23:50 ` akuster808
  2018-11-14  9:52 ` Gunnar Andersson
  1 sibling, 0 replies; 4+ messages in thread
From: akuster808 @ 2018-11-13 23:50 UTC (permalink / raw)
  To: Robert P. J. Day, Yocto discussion list

[-- Attachment #1: Type: text/plain, Size: 2995 bytes --]

Robert,

On 11/13/18 12:28 PM, Robert P. J. Day wrote:
>   been away from YP for a few months, diving back in, want to build a
> core-image-minimal for my zedboard, and i will first admit that i'm
> using a non-approved distro (fully-updated fedora 29):
>
> "WARNING: Host distribution "fedora-29" has not been validated with
> this version of the build system; you may possibly experience
> unexpected failures. It is recommended that you use a tested
> distribution."
>
>   no matter, i will live dangerously. but then things take an ugly
> turn:
>
> "WARNING: Your host glibc verson (2.28) is newer than that in
> uninative (2.27). Disabling uninative so that sstate is not
> corrupted."

>   ok, let's see how far we get ... and that's here, trying to compile
> m4-native:
>
> | gcc   -I. -I../../m4-1.4.18/lib
> -isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
> -isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
> -O2 -pipe -c -o freadahead.o ../../m4-1.4.18/lib/freadahead.c
> | gcc   -I. -I../../m4-1.4.18/lib
> -isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
> -isystem/home/rpjday/oe/builds/zedboard/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include
> -O2 -pipe -c -o fseeko.o ../../m4-1.4.18/lib/fseeko.c
> | ../../m4-1.4.18/lib/freadahead.c: In function ‘freadahead’:
> | ../../m4-1.4.18/lib/fseeko.c: In function ‘rpl_fseeko’:
> | ../../m4-1.4.18/lib/freadahead.c:92:3: error: #error "Please port
> gnulib freadahead.c to your platform! Look at the definition of
> fflush, fread, ungetc on your system, then report this to bug-gnulib."
> |   #error "Please port gnulib freadahead.c to your platform! Look at
> the definition of fflush, fread, ungetc on your system, then report
> this to bug-gnulib."
> |    ^~~~~
> | ../../m4-1.4.18/lib/fseeko.c:110:4: error: #error "Please port
> gnulib fseeko.c to your platform! Look at the code in fseeko.c, then
> report this to bug-gnulib."
> |    #error "Please port gnulib fseeko.c to your platform! Look at the
> code in fseeko.c, then report this to bug-gnulib."
>
>
> and so on. red hat's bugzilla has an entry for just this:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1595702
>
> but i'm unsure (read, have no clue) how to deal with this, and i
> suspect it affects more targets than just zedboard which is why i'm
> asking on the general YP list.
>
>   thoughts? is there a cheap fix for this? i'm about to dive into
> debugging this, but if someone wants to make my life easy, that'd be
> great.

Thud has :
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-devtools/m4?h=thud&id=95ca077ab871ceff46c2052f324f879a1d624ff4

with backports pending verification for sumo but missed th Rocko cutoff.

- armin

> rday
>
>

[-- Attachment #2: Type: text/html, Size: 4066 bytes --]

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

* Re: m4-native, zedboard, "Please port gnulib fseeko.c to your platform"
  2018-11-13 20:28 m4-native, zedboard, "Please port gnulib fseeko.c to your platform" Robert P. J. Day
  2018-11-13 23:50 ` akuster808
@ 2018-11-14  9:52 ` Gunnar Andersson
  2018-11-14 12:59   ` Outback Dingo
  1 sibling, 1 reply; 4+ messages in thread
From: Gunnar Andersson @ 2018-11-14  9:52 UTC (permalink / raw)
  To: Robert P. J. Day, Yocto discussion list

Robert,

On Tue, 2018-11-13 at 15:28 -0500, Robert P. J. Day wrote:
>   been away from YP for a few months, diving back in, want to build a
> core-image-minimal for my zedboard, and i will first admit that i'm
> using a non-approved distro (fully-updated fedora 29):
> 

[...]

> but i'm unsure (read, have no clue) how to deal with this

If upgrading Yocto/poky and layers is not an option for you, then building
in a container is the typical approach.  This isolates you from any host-
distro issues, since any distro can be used in the container.

Many just set up their own with a simple Docker file, but from what I
remember the CROPS project is one common project recommended in the past. 
Here's a random starting point I found [1].

HTH,
- Gunnar

[1] https://www.yoctoproject.org/learn-items/cross-platform-enablement-for-t
he-yocto-project-with-containers/




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

* Re: m4-native, zedboard, "Please port gnulib fseeko.c to your platform"
  2018-11-14  9:52 ` Gunnar Andersson
@ 2018-11-14 12:59   ` Outback Dingo
  0 siblings, 0 replies; 4+ messages in thread
From: Outback Dingo @ 2018-11-14 12:59 UTC (permalink / raw)
  To: gandersson; +Cc: yocto

On Wed, Nov 14, 2018 at 5:19 PM Gunnar Andersson <gandersson@genivi.org> wrote:
>
> Robert,
>
> On Tue, 2018-11-13 at 15:28 -0500, Robert P. J. Day wrote:
> >   been away from YP for a few months, diving back in, want to build a
> > core-image-minimal for my zedboard, and i will first admit that i'm
> > using a non-approved distro (fully-updated fedora 29):
> >
>
> [...]
>
> > but i'm unsure (read, have no clue) how to deal with this
>
> If upgrading Yocto/poky and layers is not an option for you, then building
> in a container is the typical approach.  This isolates you from any host-
> distro issues, since any distro can be used in the container.
>
> Many just set up their own with a simple Docker file, but from what I
> remember the CROPS project is one common project recommended in the past.
> Here's a random starting point I found [1].
>

move to thud, ive confirmed it works on fedora 29 after seeing the
same issue, or ...VM with Debian / Ubuntu


> HTH,
> - Gunnar
>
> [1] https://www.yoctoproject.org/learn-items/cross-platform-enablement-for-t
> he-yocto-project-with-containers/
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


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

end of thread, other threads:[~2018-11-14 13:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-13 20:28 m4-native, zedboard, "Please port gnulib fseeko.c to your platform" Robert P. J. Day
2018-11-13 23:50 ` akuster808
2018-11-14  9:52 ` Gunnar Andersson
2018-11-14 12:59   ` Outback Dingo

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.