Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-2510

m4 fails to build on recent glibc

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • Guppy, Guppy 7.0.2
    • None
    • None

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

      to fix:

      purge.o ../../m4-1.4.18/lib/fpurge.c
      | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/dl9pf/AGL/build-guppy/build-rpi-net/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/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o fseek.o ../../m4-1.4.18/lib/fseek.c
      | gcc   -I. -I../../m4-1.4.18/lib   -isystem/home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/recipe-sysroot-native/usr/include  -isystem/home/dl9pf/AGL/build-guppy/build-rpi-net/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/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."
      |    ^~~~~
      | make[3]: *** [Makefile:1915: freadahead.o] Error 1
      | make[3]: *** Waiting for unfinished jobs....
      | ../../m4-1.4.18/lib/fseeko.c: In function ‘rpl_fseeko’:
      | ../../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."
      |     ^~~~~
      | make[3]: *** [Makefile:1915: fseeko.o] Error 1
      | make[3]: Leaving directory '/home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/lib'
      | make[2]: *** [Makefile:1674: all] Error 2
      | make[2]: Leaving directory '/home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build/lib'
      | make[1]: *** [Makefile:1572: all-recursive] Error 1
      | make[1]: Leaving directory '/home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/build'
      | make: *** [Makefile:1528: all] Error 2
      | ERROR: oe_runmake failed
      | WARNING: /home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/run.do_compile.17836:1 exit 1 from 'exit 1'
      | ERROR: Function failed: do_compile (log file is located at /home/dl9pf/AGL/build-guppy/build-rpi-net/tmp/work/x86_64-linux/m4-native/1.4.18-r0/temp/log.do_compile.17836)
      ERROR: Task (/home/dl9pf/AGL/build-guppy/poky/meta/recipes-devtools/m4/m4-native_1.4.18.bb:do_compile) failed with exit code '1'
       

      Preferably upstream but a intermediate hotfix in meta-agl-bsp would help as well.

       

      scottm: do etnaviv first, this is a low-prio side-task. If I get the patch done, I'll submit it.

       

        # Subject Branch Project Status CR V

            jsmoeller Jan-Simon Moeller
            jsmoeller Jan-Simon Moeller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: