Loading ...
Sorry, an error occurred while loading the content.

Can't get OpenSlug 2.3 to compile

Expand Messages
  • matt@mattbostock.com
    Hi, I can t get OpenSlug 2.3 to compile: NOTE: Using cache in /home/matt/slug/openslug/tmp/cache NOTE: Parsing finished. 2518 cached, 0 parsed, 40 skipped, 0
    Message 1 of 7 , Aug 4, 2005
    • 0 Attachment
      Hi,

      I can't get OpenSlug 2.3 to compile:

      NOTE: Using cache in '/home/matt/slug/openslug/tmp/cache'
      NOTE: Parsing finished. 2518 cached, 0 parsed, 40 skipped, 0 masked.
      NOTE: build 200508041523: started

      OE Build Configuration:
      TARGET_ARCH = "armeb"
      TARGET_OS = "linux"
      MACHINE = "nslu2"
      DISTRO = "openslug"
      TARGET_FPU = "soft"

      NOTE: multiple providers are available (glibc, glibc-intermediate);
      NOTE: consider defining PREFERRED_PROVIDER_virtual/armeb-linux-libc-for-gcc
      NOTE: package glibc-2.3.5+cvs20050627: started
      NOTE: package glibc-2.3.5+cvs20050627-r0: task do_fetch: started
      NOTE: package glibc-2.3.5+cvs20050627-r0: task do_fetch: completed
      NOTE: package glibc-2.3.5+cvs20050627-r0: task do_compile: started
      ERROR: function do_compile failed
      ERROR: see log in
      /home/matt/slug/openslug/tmp/work/glibc-2.3.5+cvs20050627-r0/temp/log.do_compile.11427
      NOTE: Task failed:
      /home/matt/slug/openslug/tmp/work/glibc-2.3.5+cvs20050627-r0/temp/log.do_compile.11427
      NOTE: package glibc-2.3.5+cvs20050627-r0: task do_compile: failed
      ERROR: TaskFailed event exception, aborting
      NOTE: package glibc-2.3.5+cvs20050627: failed
      ERROR: Build of openslug-packages failed
      make[1]: *** [firmware] Error 1
      make[1]: Leaving directory `/home/matt/slug/openslug'
      make: *** [openslug] Error 2


      From
      /home/matt/slug/openslug/tmp/work/glibc-2.3.5+cvs20050627-r0/temp/log.do_compile.11427:


      nss_nis/nis-proto.c: At top level:
      nss_nis/nis-proto.c:233: error: return type is an incomplete type
      nss_nis/nis-proto.c:233: error: conflicting types for
      '_nss_nis_getprotobynumber_r'
      ../include/netdb.h:274: error: previous declaration of
      '_nss_nis_getprotobynumber_r' was here
      nss_nis/nis-proto.c:233: error: conflicting types for
      '_nss_nis_getprotobynumber_r'
      ../include/netdb.h:274: error: previous declaration of
      '_nss_nis_getprotobynumber_r' was here
      nss_nis/nis-proto.c: In function `_nss_nis_getprotobynumber_r':
      nss_nis/nis-proto.c:235: error: storage size of 'retval' isn't known
      nss_nis/nis-proto.c:241: error: `NSS_STATUS_UNAVAIL' undeclared (first
      use in this function)
      nss_nis/nis-proto.c:241: warning: `return' with a value, in function
      returning void
      nss_nis/nis-proto.c:248: error: `NSS_STATUS_SUCCESS' undeclared (first
      use in this function)
      nss_nis/nis-proto.c:250: error: `NSS_STATUS_TRYAGAIN' undeclared (first
      use in this function)
      nss_nis/nis-proto.c:252: warning: `return' with a value, in function
      returning void
      nss_nis/nis-proto.c:259: warning: `return' with a value, in function
      returning void
      nss_nis/nis-proto.c:272: warning: `return' with a value, in function
      returning void
      nss_nis/nis-proto.c:274: error: `NSS_STATUS_NOTFOUND' undeclared (first
      use in this function)
      nss_nis/nis-proto.c:274: warning: `return' with a value, in function
      returning void
      nss_nis/nis-proto.c:276: warning: `return' with a value, in function
      returning void
      nss_nis/nis-proto.c:235: warning: unused variable `retval'
      make[4]: ***
      [/home/matt/slug/openslug/tmp/work/glibc-2.3.5+cvs20050627-r0/build-armeb-linux/nis/nis-proto.os]
      Error 1
      make[4]: Leaving directory
      `/home/matt/slug/openslug/tmp/work/glibc-2.3.5+cvs20050627-r0/libc/nis'
      make[3]: *** [nis/others] Error 2
      make[3]: Leaving directory
      `/home/matt/slug/openslug/tmp/work/glibc-2.3.5+cvs20050627-r0/libc'
      make[2]: *** [all] Error 2
      make[2]: Leaving directory
      `/home/matt/slug/openslug/tmp/work/glibc-2.3.5+cvs20050627-r0/build-armeb-linux'
      FATAL: oe_runmake failed

      Thanks!
      Matt :)
    • John Bowler
      From: matt@mattbostock.com ... Which apparently means that nss_status is not defined at this line in the file, hence all the following errors. The file might
      Message 2 of 7 , Aug 4, 2005
      • 0 Attachment
        From: matt@...
        >NOTE: package glibc-2.3.5+cvs20050627-r0: task do_compile: started
        >nss_nis/nis-proto.c:233: error: return type is an incomplete type

        Which apparently means that nss_status is not defined at this line in the
        file, hence all the following errors. The file might be corrupted
        (nis-proto.c). Here is the md5sum of the same file from my tree (this,
        itself, from the source tarball):

        OpenSlug-2.3/src/tmp/work/glibc-2.3.5+cvs20050627-r0/libc/nis/nss_nis $
        md5sum nis-proto.c
        e38e5e9b1e78455cf1b459b4a2eb95a1 nis-proto.c

        But I don't think it is that - I think something has changed somewhere else
        to stop nss_status being defined in this file. So unpack a separate copy of
        the source tarball and, for each file in the tarball, make sure it matches
        the corresponding file in your tree (in fact a simple diff -r on
        'openembedded' should be sufficient).

        I'm assuming you have already done a 'make clean' (i.e. rm -rf'ed the tmp
        directory) and made sure the problem is repeatable, but even then I had a
        lot of such problems a few weeks back because of a Linux kernel problem on
        my build machine (apparently bugs in 2.6.11-mm3 when I config the kernel to
        be interruptible). I found redoing the build would help - you've already
        tried that, but if it went wrong before do_compile then clearing glibc from
        stamps and work may help (i.e. rm -rf */glibc* from the tmp directory).

        John Bowler <jbowler@...>
      • matt@mattbostock.com
        ... Hi John, Thanks for your reply. I checked the md5sum; it s the same as yours. I also deleted the tmp directory and retried, and got the same problem again.
        Message 3 of 7 , Aug 4, 2005
        • 0 Attachment
          John Bowler wrote:
          > Which apparently means that nss_status is not defined at this line in the
          > file, hence all the following errors. The file might be corrupted
          > (nis-proto.c). Here is the md5sum of the same file from my tree (this,
          > itself, from the source tarball):
          >
          > OpenSlug-2.3/src/tmp/work/glibc-2.3.5+cvs20050627-r0/libc/nis/nss_nis $
          > md5sum nis-proto.c
          > e38e5e9b1e78455cf1b459b4a2eb95a1 nis-proto.c
          >
          > But I don't think it is that - I think something has changed somewhere else
          > to stop nss_status being defined in this file. So unpack a separate copy of
          > the source tarball and, for each file in the tarball, make sure it matches
          > the corresponding file in your tree (in fact a simple diff -r on
          > 'openembedded' should be sufficient).
          >
          > I'm assuming you have already done a 'make clean' (i.e. rm -rf'ed the tmp
          > directory) and made sure the problem is repeatable, but even then I had a
          > lot of such problems a few weeks back because of a Linux kernel problem on
          > my build machine (apparently bugs in 2.6.11-mm3 when I config the kernel to
          > be interruptible). I found redoing the build would help - you've already
          > tried that, but if it went wrong before do_compile then clearing glibc from
          > stamps and work may help (i.e. rm -rf */glibc* from the tmp directory).

          Hi John,

          Thanks for your reply. I checked the md5sum; it's the same as yours. I
          also deleted the tmp directory and retried, and got the same problem
          again. I also tried downloading another copy of the source, and it
          stopped at the same place.

          My build machine is running the vanilla Gentoo kernel, just patched for
          Reiser4. Are there no binaries available for OpenSlug 2.3?

          Many thanks,
          Matt :)
        • yahpn
          I also noticed a problem compiling openslug 2.3. This fetch fails: NOTE: fetch http://microcom.port5.com/m102.tar.gz I think perhaps this URL no longer
          Message 4 of 7 , Aug 4, 2005
          • 0 Attachment
            I also noticed a problem compiling openslug 2.3. This fetch fails:

            NOTE: fetch http://microcom.port5.com/m102.tar.gz

            I think perhaps this URL no longer exists. A wget of it also fails.
          • Andreas Jaggi
            ... Same problem here while doing make build-openslug . I fixed it by replacing http://microcom.port5.com/m102.tar.gz with
            Message 5 of 7 , Aug 4, 2005
            • 0 Attachment
              * yahpn, Fre 05 Aug 2005 00:02:13 CEST:
              > I also noticed a problem compiling openslug 2.3. This fetch fails:
              >
              > NOTE: fetch http://microcom.port5.com/m102.tar.gz
              >
              > I think perhaps this URL no longer exists. A wget of it also fails.

              Same problem here while doing "make build-openslug".

              I fixed it by replacing http://microcom.port5.com/m102.tar.gz with
              http://downloads.openwrt.org/sources/m102.tar.gz in the
              openembedded/packages/microcom/microcom_1.02.bb file.

              Andreas
            • Øyvind Repvik
              ... Yes, microcom.port5.com has disappeared from the surface of the earth (or something). Temporary fix is either: 1. Download
              Message 6 of 7 , Aug 5, 2005
              • 0 Attachment
                Andreas Jaggi wrote:
                > * yahpn, Fre 05 Aug 2005 00:02:13 CEST:
                >
                >>I also noticed a problem compiling openslug 2.3. This fetch fails:
                >>
                >>NOTE: fetch http://microcom.port5.com/m102.tar.gz
                >>
                >>I think perhaps this URL no longer exists. A wget of it also fails.
                >
                >
                > Same problem here while doing "make build-openslug".
                >
                > I fixed it by replacing http://microcom.port5.com/m102.tar.gz with
                > http://downloads.openwrt.org/sources/m102.tar.gz in the
                > openembedded/packages/microcom/microcom_1.02.bb file.
                >
                > Andreas
                Yes, microcom.port5.com has disappeared from the surface of the earth
                (or something). Temporary fix is either:

                1. Download http://sources.nslu2-linux.org/sources/m102.tar.gz to your
                download directory and echo "c7817035dc41cb02e7cfb565cf9b7401" >
                downloads/m102.tar.gz.md5

                2. Remove from openembedded/packages/meta/openslug-packages.bb

                3. Wait for the new openslug release which is just around the corner.

                Regards,
                Øyvind Repvik
                Openslug package manager
              • Øyvind Repvik
                Øyvind Repvik wrote: Forgot to mention that microcom is in the stable feed as of *now*, so you can install it from the feed if you need it. ... Regards,
                Message 7 of 7 , Aug 5, 2005
                • 0 Attachment
                  Øyvind Repvik wrote:

                  Forgot to mention that microcom is in the stable feed as of *now*, so
                  you can install it from the feed if you need it.

                  > Yes, microcom.port5.com has disappeared from the surface of the earth
                  > (or something). Temporary fix is either:
                  >
                  > 1. Download http://sources.nslu2-linux.org/sources/m102.tar.gz to your
                  > download directory and echo "c7817035dc41cb02e7cfb565cf9b7401" >
                  > downloads/m102.tar.gz.md5
                  >
                  > 2. Remove from openembedded/packages/meta/openslug-packages.bb
                  >
                  > 3. Wait for the new openslug release which is just around the corner.
                  >
                  Regards,
                  Øyvind Repvik
                  Openslug package manager
                Your message has been successfully submitted and would be delivered to recipients shortly.