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

Annoying errors when building slugosbe-packages

Expand Messages
  • Sébastien Lorquet
    Hi, I just wanted to compile slugos be. I grabbed the master makefile I edited slugos/local.conf : squalyl@debian:~/oe$ cat slugos/conf/local.conf
    Message 1 of 11 , Mar 6, 2009
    • 0 Attachment
      Hi,

      I just wanted to compile slugos be.

      I grabbed the master makefile
      I edited slugos/local.conf :

      squalyl@debian:~/oe$ cat slugos/conf/local.conf
      DISTRO_VERSION="5.3-alpha"

      make slugosbe-image was a perfect run.

      but...

      squalyl@debian:~/oe$ make slugosbe-packages
      (snip)
      NOTE: build 200903060914: started

      OE Build Configuration:
      BB_VERSION        = "1.8.12"
      METADATA_BRANCH   = "org.openembedded.dev"
      METADATA_REVISION = "cdd27f17b730c0f5ba537fdee6a9086549f67410"
      TARGET_ARCH       = "armeb"
      TARGET_OS         = "linux-gnueabi"
      MACHINE           = "nslu2be"
      DISTRO            = "slugos"
      DISTRO_VERSION    = "5.3-alpha"
      TARGET_FPU        = "soft"

      NOTE: Running task 2421 of 6197 (ID: 2677, /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb, do_fetch)
      NOTE: package setpwc-1.1: started
      NOTE: package setpwc-1.1-r0: task do_fetch: started
      NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d' and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
      NOTE: Task failed: Checksum of 'http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
      NOTE: package setpwc-1.1-r0: task do_fetch: failed
      ERROR: TaskFailed event exception, aborting
      NOTE: package setpwc-1.1: failed
      ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb do_fetch failed
      ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb, do_fetch) failed
      (snip)
      make: *** [slugosbe-packages] Erreur 2

      digging into openembedded/conf/checksums.ini, I get:

      squalyl@debian:~/oe$ grep -A 2 setpwc openembedded/conf/checksums.ini
      [http://www.vanheusden.com/setpwc/setpwc-0.9.tgz]
      md5=0ec56a142d79bc2dd346fc6f12f9aa5e
      sha256=827940306b30e3d92805052b31e8bff2f326fca7574b162260ca5386027091c1
      --
      [http://www.vanheusden.com/setpwc/setpwc-1.1.tgz]
      md5=acc0266534c5dc13ad1153ec890c1b8d
      sha256=ee8b74fc74229b76c95d1d3360a5540239e77f32d100f8c3ed318e76fd19e09b

      Basically, bitbake tries to build setpwc-1.1 but looks at the 0.9 checksum.

      I noticed that openembedded/packages/setpwc/setpwc_1.1.bb does not contains any "PV=" information while SRC_URI uses this variable.
      I edited the file to add a PV="1.1" line
      After that, I got the same:

      NOTE: Running task 2421 of 6197 (ID: 2677, /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb, do_fetch)
      NOTE: package setpwc-1.1: started
      NOTE: package setpwc-1.1-r0: task do_fetch: started
      NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d' and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
      NOTE: Task failed: Checksum of 'http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
      NOTE: package setpwc-1.1-r0: task do_fetch: failed
      ERROR: TaskFailed event exception, aborting
      NOTE: package setpwc-1.1: failed
      ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb do_fetch failed
      ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb, do_fetch) failed

      :(

      I can cheat, hack, and edit the file to change the checksum.
      But how can I *fix* this?

      Sebastien

    • reuter.rudolf
      ... Hello Sebastien, I am fighting a similar problem. make slugosbe-image works also for me. Then I wanted to just compile the example package helloworld ,
      Message 2 of 11 , Mar 6, 2009
      • 0 Attachment
        --- In nslu2-linux@yahoogroups.com, Sébastien Lorquet <squalyl@...> wrote:
        >
        > Hi,
        >
        > I just wanted to compile slugos be.
        >
        > I grabbed the master makefile
        > I edited slugos/local.conf :
        >
        > squalyl@debian:~/oe$ cat slugos/conf/local.conf
        > DISTRO_VERSION="5.3-alpha"
        >
        > make slugosbe-image was a perfect run.
        >
        > but...
        >
        > squalyl@debian:~/oe$ make slugosbe-packages
        > (snip)
        > NOTE: build 200903060914: started
        >
        > OE Build Configuration:
        > BB_VERSION = "1.8.12"
        > METADATA_BRANCH = "org.openembedded.dev"
        > METADATA_REVISION = "cdd27f17b730c0f5ba537fdee6a9086549f67410"
        > TARGET_ARCH = "armeb"
        > TARGET_OS = "linux-gnueabi"
        > MACHINE = "nslu2be"
        > DISTRO = "slugos"
        > DISTRO_VERSION = "5.3-alpha"
        > TARGET_FPU = "soft"
        >
        > NOTE: Running task 2421 of 6197 (ID: 2677,
        > /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb,
        > do_fetch)
        > NOTE: package setpwc-1.1: started
        > NOTE: package setpwc-1.1-r0: task do_fetch: started
        > NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d'
        > and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
        > NOTE: Task failed: Checksum of '
        > http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
        > NOTE: package setpwc-1.1-r0: task do_fetch: failed
        > ERROR: TaskFailed event exception, aborting
        > NOTE: package setpwc-1.1: failed
        > ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/
        > setpwc_1.1.bb do_fetch failed
        > ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/
        > setpwc_1.1.bb, do_fetch) failed
        > (snip)
        > make: *** [slugosbe-packages] Erreur 2
        >
        > digging into openembedded/conf/checksums.ini, I get:
        >
        > squalyl@debian:~/oe$ grep -A 2 setpwc openembedded/conf/checksums.ini
        > [http://www.vanheusden.com/setpwc/setpwc-0.9.tgz%5d
        > md5=0ec56a142d79bc2dd346fc6f12f9aa5e
        > sha256=827940306b30e3d92805052b31e8bff2f326fca7574b162260ca5386027091c1
        > --
        > [http://www.vanheusden.com/setpwc/setpwc-1.1.tgz%5d
        > md5=acc0266534c5dc13ad1153ec890c1b8d
        > sha256=ee8b74fc74229b76c95d1d3360a5540239e77f32d100f8c3ed318e76fd19e09b
        >
        > Basically, bitbake tries to build setpwc-1.1 but looks at the 0.9 checksum.
        >
        > I noticed that openembedded/packages/setpwc/setpwc_1.1.bb does not contains
        > any "PV=" information while SRC_URI uses this variable.
        > I edited the file to add a PV="1.1" line
        > After that, I got the same:
        >
        > NOTE: Running task 2421 of 6197 (ID: 2677,
        > /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb,
        > do_fetch)
        > NOTE: package setpwc-1.1: started
        > NOTE: package setpwc-1.1-r0: task do_fetch: started
        > NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d'
        > and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
        > NOTE: Task failed: Checksum of '
        > http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
        > NOTE: package setpwc-1.1-r0: task do_fetch: failed
        > ERROR: TaskFailed event exception, aborting
        > NOTE: package setpwc-1.1: failed
        > ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/
        > setpwc_1.1.bb do_fetch failed
        > ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/
        > setpwc_1.1.bb, do_fetch) failed
        >
        > :(
        >
        > I can cheat, hack, and edit the file to change the checksum.
        > But how can I *fix* this?
        >
        > Sebastien
        >
        Hello Sebastien,

        I am fighting a similar problem. "make slugosbe-image" works also
        for me. Then I wanted to just compile the example package
        "helloworld", as described in the usermanual from openembedded.org.
        No way.
        After reading your message I started also "make slugosbe-packages".
        BitBake is now at 836 from 6197 jobs. When I have a result,
        I will let you know.

        Regards, Rudolf
      • Rod Whitby
        Be aware that it s not unusual for slugosbe-packages to have some build failures. There are just too many packages for us to keep them all up to date and
        Message 3 of 11 , Mar 6, 2009
        • 0 Attachment
          Be aware that it's not unusual for slugosbe-packages to have some build failures.
          There are just too many packages for us to keep them all up to date and building.
          You should also check the OE bugtracker to see if the problem has already been reported there.
          -- Rod

          -----Original Message-----
          From: "reuter.rudolf" <reuterru@...>
          Date: Friday, Mar 6, 2009 11:29 pm
          Subject: [nslu2-linux] Re: Annoying errors when building slugosbe-packages
          To: nslu2-linux@yahoogroups.comReply-To: nslu2-linux@yahoogroups.com

          --- In nslu2-linux@yahoogroups.com, S�bastien Lorquet <squalyl@...> wrote:
          >>
          >> Hi,
          >>
          >> I just wanted to compile slugos be.
          >>
          >> I grabbed the master makefile
          >> I edited slugos/local.conf :
          >>
          >> squalyl@debian:~/oe$ cat slugos/conf/local.conf
          >> DISTRO_VERSION="5.3-alpha"
          >>
          >> make slugosbe-image was a perfect run.
          >>
          >> but...
          >>
          >> squalyl@debian:~/oe$ make slugosbe-packages
          >> (snip)
          >> NOTE: build 200903060914: started
          >>
          >> OE Build Configuration:
          >> BB_VERSION = "1.8.12"
          >> METADATA_BRANCH = "org.openembedded.dev"
          >> METADATA_REVISION = "cdd27f17b730c0f5ba537fdee6a9086549f67410"
          >> TARGET_ARCH = "armeb"
          >> TARGET_OS = "linux-gnueabi"
          >> MACHINE = "nslu2be"
          >> DISTRO = "slugos"
          >> DISTRO_VERSION = "5.3-alpha"
          >> TARGET_FPU = "soft"
          >>
          >> NOTE: Running task 2421 of 6197 (ID: 2677,
          >> /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb,
          >> do_fetch)
          >> NOTE: package setpwc-1.1: started
          >> NOTE: package setpwc-1.1-r0: task do_fetch: started
          >> NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d'
          >> and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
          >> NOTE: Task failed: Checksum of '
          >> http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
          >> NOTE: package setpwc-1.1-r0: task do_fetch: failed
          >> ERROR: TaskFailed event exception, aborting
          >> NOTE: package setpwc-1.1: failed
          >> ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/
          >> setpwc_1.1.bb do_fetch failed
          >> ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/
          >> setpwc_1.1.bb, do_fetch) failed
          >> (snip)
          >> make: *** [slugosbe-packages] Erreur 2
          >>
          >> digging into openembedded/conf/checksums.ini, I get:
          >>
          >> squalyl@debian:~/oe$ grep -A 2 setpwc openembedded/conf/checksums.ini
          >> [http://www.vanheusden.com/setpwc/setpwc-0.9.tgz%5d
          >> md5=0ec56a142d79bc2dd346fc6f12f9aa5e
          >> sha256�7940306b30e3d92805052b31e8bff2f326fca7574b162260ca5386027091c1
          >> --
          >> [http://www.vanheusden.com/setpwc/setpwc-1.1.tgz%5d
          >> md5=acc0266534c5dc13ad1153ec890c1b8d
          >> sha256=ee8b74fc74229b76c95d1d3360a5540239e77f32d100f8c3ed318e76fd19e09b
          >>
          >> Basically, bitbake tries to build setpwc-1.1 but looks at the 0.9 checksum.
          >>
          >> I noticed that openembedded/packages/setpwc/setpwc_1.1.bb does not contains
          >> any "PV=" information while SRC_URI uses this variable.
          >> I edited the file to add a PV="1.1" line
          >> After that, I got the same:
          >>
          >> NOTE: Running task 2421 of 6197 (ID: 2677,
          >> /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb,
          >> do_fetch)
          >> NOTE: package setpwc-1.1: started
          >> NOTE: package setpwc-1.1-r0: task do_fetch: started
          >> NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d'
          >> and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
          >> NOTE: Task failed: Checksum of '
          >> http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
          >> NOTE: package setpwc-1.1-r0: task do_fetch: failed
          >> ERROR: TaskFailed event exception, aborting
          >> NOTE: package setpwc-1.1: failed
          >> ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/
          >> setpwc_1.1.bb do_fetch failed
          >> ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/
          >> setpwc_1.1.bb, do_fetch) failed
          >>
          >> :(
          >>
          >> I can cheat, hack, and edit the file to change the checksum.
          >> But how can I *fix* this?
          >>
          >> Sebastien
          >>
          >Hello Sebastien,
          >
          >I am fighting a similar problem. "make slugosbe-image" works also
          >for me. Then I wanted to just compile the example package
          >"helloworld", as described in the usermanual from openembedded.org.
          >No way.
          >After reading your message I started also "make slugosbe-packages".
          >BitBake is now at 836 from 6197 jobs. When I have a result,
          >I will let you know.
          >
          >Regards, Rudolf
          >
          >
          >
          >------------------------------------
          >
          >Yahoo! Groups Links
          >
          >
          >
          >
        • Sébastien Lorquet
          Ah, thanks, I understand. make slugosbe-packages attempts to build every OE package, that s it? I ll check there. A faster option should be to ignore broken
          Message 4 of 11 , Mar 6, 2009
          • 0 Attachment
            Ah, thanks, I understand. make slugosbe-packages attempts to build every OE package, that's it?

            I'll check there.

            A faster option should be to ignore broken packages, ie with a file that contains ignored package names. How could I do that?


            On Fri, Mar 6, 2009 at 2:04 PM, Rod Whitby <rod@...> wrote:
            Be aware that it's not unusual for slugosbe-packages to have some build failures.
            There are just too many packages for us to keep them all up to date and building.
            You should also check the OE bugtracker to see if the problem has already been reported there.
            -- Rod

            -----Original Message-----
            From: "reuter.rudolf" <reuterru@...>
            Date: Friday, Mar 6, 2009 11:29 pm
            Subject: [nslu2-linux] Re: Annoying errors when building slugosbe-packages
            To: nslu2-linux@yahoogroups.comReply-To: nslu2-linux@yahoogroups.com

            --- In nslu2-linux@yahoogroups.com, Sébastien Lorquet <squalyl@...> wrote:
            >>
            >> Hi,
            >>
            >> I just wanted to compile slugos be.
            >>
            >> I grabbed the master makefile
            >> I edited slugos/local.conf :
            >>
            >> squalyl@debian:~/oe$ cat slugos/conf/local.conf
            >> DISTRO_VERSION="5.3-alpha"
            >>
            >> make slugosbe-image was a perfect run.
            >>
            >> but...
            >>
            >> squalyl@debian:~/oe$ make slugosbe-packages
            >> (snip)
            >> NOTE: build 200903060914: started
            >>
            >> OE Build Configuration:
            >> BB_VERSION        = "1.8.12"
            >> METADATA_BRANCH   = "org.openembedded.dev"
            >> METADATA_REVISION = "cdd27f17b730c0f5ba537fdee6a9086549f67410"
            >> TARGET_ARCH       = "armeb"
            >> TARGET_OS         = "linux-gnueabi"
            >> MACHINE           = "nslu2be"
            >> DISTRO            = "slugos"
            >> DISTRO_VERSION    = "5.3-alpha"
            >> TARGET_FPU        = "soft"
            >>
            >> NOTE: Running task 2421 of 6197 (ID: 2677,
            >> /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb,
            >> do_fetch)
            >> NOTE: package setpwc-1.1: started
            >> NOTE: package setpwc-1.1-r0: task do_fetch: started
            >> NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d'
            >> and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
            >> NOTE: Task failed: Checksum of '
            >> http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
            >> NOTE: package setpwc-1.1-r0: task do_fetch: failed
            >> ERROR: TaskFailed event exception, aborting
            >> NOTE: package setpwc-1.1: failed
            >> ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/
            >> setpwc_1.1.bb do_fetch failed
            >> ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/
            >> setpwc_1.1.bb, do_fetch) failed
            >> (snip)
            >> make: *** [slugosbe-packages] Erreur 2
            >>
            >> digging into openembedded/conf/checksums.ini, I get:
            >>
            >> squalyl@debian:~/oe$ grep -A 2 setpwc openembedded/conf/checksums.ini
            >> [http://www.vanheusden.com/setpwc/setpwc-0.9.tgz]
            >> md5=0ec56a142d79bc2dd346fc6f12f9aa5e
            >> sha256‚7940306b30e3d92805052b31e8bff2f326fca7574b162260ca5386027091c1
            >> --
            >> [http://www.vanheusden.com/setpwc/setpwc-1.1.tgz]
            >> md5=acc0266534c5dc13ad1153ec890c1b8d
            >> sha256=ee8b74fc74229b76c95d1d3360a5540239e77f32d100f8c3ed318e76fd19e09b
            >>
            >> Basically, bitbake tries to build setpwc-1.1 but looks at the 0.9 checksum.
            >>
            >> I noticed that openembedded/packages/setpwc/setpwc_1.1.bb does not contains
            >> any "PV=" information while SRC_URI uses this variable.
            >> I edited the file to add a PV="1.1" line
            >> After that, I got the same:
            >>
            >> NOTE: Running task 2421 of 6197 (ID: 2677,
            >> /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_1.1.bb,
            >> do_fetch)
            >> NOTE: package setpwc-1.1: started
            >> NOTE: package setpwc-1.1-r0: task do_fetch: started
            >> NOTE: The MD5Sums did not match. Wanted: 'acc0266534c5dc13ad1153ec890c1b8d'
            >> and Got: '0ec56a142d79bc2dd346fc6f12f9aa5e'
            >> NOTE: Task failed: Checksum of '
            >> http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed
            >> NOTE: package setpwc-1.1-r0: task do_fetch: failed
            >> ERROR: TaskFailed event exception, aborting
            >> NOTE: package setpwc-1.1: failed
            >> ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/
            >> setpwc_1.1.bb do_fetch failed
            >> ERROR: Task 2677 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/
            >> setpwc_1.1.bb, do_fetch) failed
            >>
            >> :(
            >>
            >> I can cheat, hack, and edit the file to change the checksum.
            >> But how can I *fix* this?
            >>
            >> Sebastien
            >>
            >Hello Sebastien,
            >
            >I am fighting a similar problem. "make slugosbe-image" works also
            >for me. Then I wanted to just compile the example package
            >"helloworld", as described in the usermanual from openembedded.org.
            >No way.
            >After reading your message I started also "make slugosbe-packages".
            >BitBake is now at 836 from 6197 jobs. When I have a result,
            >I will let you know.
            >
            >Regards, Rudolf
            >
            >
            >
            >------------------------------------
            >
            >Yahoo! Groups Links
            >
            >
            >
            >



            ------------------------------------

            Yahoo! Groups Links

            <*> To visit your group on the web, go to:
               http://groups.yahoo.com/group/nslu2-linux/

            <*> Your email settings:
               Individual Email | Traditional

            <*> To change settings online go to:
               http://groups.yahoo.com/group/nslu2-linux/join
               (Yahoo! ID required)

            <*> To change settings via email:
               mailto:nslu2-linux-digest@yahoogroups.com
               mailto:nslu2-linux-fullfeatured@yahoogroups.com

            <*> To unsubscribe from this group, send an email to:
               nslu2-linux-unsubscribe@yahoogroups.com

            <*> Your use of Yahoo! Groups is subject to:
               http://docs.yahoo.com/info/terms/


          • Sébastien Lorquet
            Just filed the bug :) http://bugs.openembedded.net/show_bug.cgi?id=5055 Hope it s not a n00b style report... and if it is, never mind :) However, is there a
            Message 5 of 11 , Mar 6, 2009
            • 0 Attachment
              Just filed the bug :)

              http://bugs.openembedded.net/show_bug.cgi?id=5055

              Hope it's not a n00b style report... and if it is, never mind :)

              However, is there a PACKAGE_EXCLUDES directive somewhere? I couldn't find it.

              Sebastien

              PS: and here is what I get when I add:
              PREFERRED_VERSION_setpwc ?= "0.9"

              in distro/include/preferred-slugos-versions.inc

              \o/

              NOTE: Running task 2420 of 6197 (ID: 2676, /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb, do_setscene)
              NOTE: package setpwc-0.9: started
              NOTE: package setpwc-0.9-r1: task do_setscene: started
              NOTE: Checking if staging package installed
              NOTE: No. Manually removing any installed files
              NOTE: package setpwc-0.9-r1: task do_setscene: completed
              NOTE: package setpwc-0.9: completed
              NOTE: Running task 2421 of 6197 (ID: 2677, /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb, do_fetch)
              NOTE: package setpwc-0.9: started
              NOTE: package setpwc-0.9-r1: task do_fetch: started
              NOTE: fetch http://www.vanheusden.com/setpwc/setpwc-0.9.tgz
              --2009-03-06 14:45:44--  http://www.vanheusden.com/setpwc/setpwc-0.9.tgz
              Resolving www.vanheusden.com... 94.124.120.6
              Connecting to www.vanheusden.com|94.124.120.6|:80... connected.
              HTTP request sent, awaiting response... 200 OK
              Length: 369 [application/x-tar]
              Saving to: `/home/squalyl/oe/slugos/downloads/setpwc-0.9.tgz'

              100%[====================================================================================================================>] 369         --.-K/s   in 0s

              2009-03-06 14:45:44 (20.3 MB/s) - `/home/squalyl/oe/slugos/downloads/setpwc-0.9.tgz' saved [369/369]

              NOTE: package setpwc-0.9-r1: task do_fetch: completed
              NOTE: package setpwc-0.9: completed
              NOTE: Running task 2422 of 6197 (ID: 2678, /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb, do_unpack)
              NOTE: package setpwc-0.9: started
              NOTE: package setpwc-0.9-r1: task do_unpack: started
              NOTE: Unpacking /home/squalyl/oe/downloads/setpwc-0.9.tgz to /home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/setpwc-0.9-r1/
              NOTE: package setpwc-0.9-r1: task do_unpack: completed
              NOTE: package setpwc-0.9: completed
              NOTE: Running task 3290 of 6197 (ID: 2679, /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb, do_patch)
              NOTE: package setpwc-0.9: started
              NOTE: package setpwc-0.9-r1: task do_patch: started
              NOTE: Applying patch 'Makefile.patch' (/home/squalyl/oe/slugos/openembedded/packages/setpwc/files/Makefile.patch)
              ERROR: Error in executing: /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb
              ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1  Output:
              Applying patch Makefile.patch
              can't find file to patch at input line 3
              Perhaps you used the wrong -p or --strip option?
              The text leading up to this was:
              --------------------------
              |*** setpwc-0.9/Makefile.orig   2005-07-26 09:16:09.000000000 +0930
              |--- setpwc-0.9/Makefile        2005-07-26 09:16:18.000000000 +0930
              --------------------------
              No file to patch.  Skipping patch.
              1 out of 1 hunk ignored
              Patch Makefile.patch does not apply (enforce with -f)
              ERROR: Printing the environment of the function
              ERROR: Error in executing: /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb
              ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1  Output:
              Applying patch Makefile.patch
              can't find file to patch at input line 3
              Perhaps you used the wrong -p or --strip option?
              The text leading up to this was:
              --------------------------
              |*** setpwc-0.9/Makefile.orig   2005-07-26 09:16:09.000000000 +0930
              |--- setpwc-0.9/Makefile        2005-07-26 09:16:18.000000000 +0930
              --------------------------
              No file to patch.  Skipping patch.
              1 out of 1 hunk ignored
              Patch Makefile.patch does not apply (enforce with -f)
              ERROR: Printing the environment of the function
              ERROR: Error in executing: /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb
              ERROR: Exception:<class 'CmdError'> Message:Command Error: exit status: 1  Output:
              Applying patch Makefile.patch
              can't find file to patch at input line 3
              Perhaps you used the wrong -p or --strip option?
              The text leading up to this was:
              --------------------------
              |*** setpwc-0.9/Makefile.orig   2005-07-26 09:16:09.000000000 +0930
              |--- setpwc-0.9/Makefile        2005-07-26 09:16:18.000000000 +0930
              --------------------------
              No file to patch.  Skipping patch.
              1 out of 1 hunk ignored
              Patch Makefile.patch does not apply (enforce with -f)
              ERROR: Printing the environment of the function
              ERROR: Build of /home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb do_patch failed
              Traceback (most recent call last):
                File "/home/squalyl/oe/slugos/bitbake/bin/bitbake", line 143, in <module>
                  main()
                File "/home/squalyl/oe/slugos/bitbake/bin/bitbake", line 140, in main
                  cooker.cook()
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/cooker.py", line 644, in cook
                  return self.buildTargets(pkgs_to_build)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/cooker.py", line 551, in buildTargets
                  failures = rq.execute_runqueue()
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/runqueue.py", line 842, in execute_runqueue
                  self.execute_runqueue_internal()
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/runqueue.py", line 951, in execute_runqueue_internal
                  self.cooker.tryBuild(fn)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/cooker.py", line 137, in tryBuild
                  return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/cooker.py", line 111, in tryBuildPackage
                  bb.build.exec_task('do_%s' % task, the_data)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/build.py", line 278, in exec_task
                  exec_func(task, localdata)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/build.py", line 113, in exec_func
                  exec_func_python(func, d)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/build.py", line 136, in exec_func_python
                  utils.better_exec(comp, g, tmp, bbfile)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/utils.py", line 171, in better_exec
                  exec code in context
                File "do_patch", line 4, in <module>
                File "do_patch", line 2, in do_patch
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/build.py", line 113, in exec_func
                  exec_func_python(func, d)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/build.py", line 136, in exec_func_python
                  utils.better_exec(comp, g, tmp, bbfile)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/utils.py", line 171, in better_exec
                  exec code in context
                File "base_do_patch", line 4, in <module>
                File "base_do_patch", line 2, in base_do_patch
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/build.py", line 113, in exec_func
                  exec_func_python(func, d)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/build.py", line 136, in exec_func_python
                  utils.better_exec(comp, g, tmp, bbfile)
                File "/home/squalyl/oe/slugos/bitbake/lib/bb/utils.py", line 171, in better_exec
                  exec code in context
                File "patch_do_patch", line 100, in <module>
                File "patch_do_patch", line 98, in patch_do_patch
                File "<bb>", line 339, in Resolve
              __builtin__.CmdError: Command Error: exit status: 1  Output:
              Applying patch Makefile.patch
              can't find file to patch at input line 3
              Perhaps you used the wrong -p or --strip option?
              The text leading up to this was:
              --------------------------
              |*** setpwc-0.9/Makefile.orig   2005-07-26 09:16:09.000000000 +0930
              |--- setpwc-0.9/Makefile        2005-07-26 09:16:18.000000000 +0930
              --------------------------
              No file to patch.  Skipping patch.
              1 out of 1 hunk ignored
              Patch Makefile.patch does not apply (enforce with -f)
              ERROR: Task 2679 (/home/squalyl/oe/slugos/openembedded/packages/setpwc/setpwc_0.9.bb, do_patch) failed

            • Mike (mwester)
              ... This is a protective feature of the OE system. It has detected that something has gone terribly wrong -- a bad download, the upstream file got changed and
              Message 6 of 11 , Mar 6, 2009
              • 0 Attachment
                Sébastien Lorquet wrote:

                > NOTE: package setpwc-1.1-r0: task do_fetch: started
                > NOTE: The MD5Sums did not match. Wanted:
                > 'acc0266534c5dc13ad1153ec890c1b8d' and Got:
                > '0ec56a142d79bc2dd346fc6f12f9aa5e'
                > NOTE: Task failed: Checksum of
                > 'http://www.vanheusden.com/setpwc/setpwc-1.1.tgz' failed

                This is a protective feature of the OE system. It has detected that
                something has gone terribly wrong -- a bad download, the upstream file
                got changed and is no longer what the original OE or SlugOS developers
                expected it to be -- or even (perhaps) a trojan has been inserted somewhere.

                In any case, this indicates a serious problem, and indeed it should be
                detected and someone needs to investigate what happened and why.

                ...
                > [http://www.vanheusden.com/setpwc/setpwc-1.1.tgz%5d
                > md5=acc0266534c5dc13ad1153ec890c1b8d
                ...

                > Basically, bitbake tries to build setpwc-1.1 but looks at the 0.9 checksum.

                Nope. Wrong conclusion:

                Here's the contents of my downloads, which matches with the downloads on
                the official nslu2-linux.org build servers:

                $ md5sum /home/slug/downloads/setpwc-1.1.tgz
                acc0266534c5dc13ad1153ec890c1b8d setpwc-1.1.tgz

                Now check this out:

                $ wget http://www.vanheusden.com/setpwc/setpwc-1.1.tgz
                2009-03-06 17:54:16 (30.2 MB/s) - `setpwc-1.1.tgz' saved [369/369]
                $ md5sum setpwc-1.1.tgz
                0ec56a142d79bc2dd346fc6f12f9aa5e setpwc-1.1.tgz

                OUCH!!

                So indeed, the download from the upstream location claims to be the 1.1
                version, but it has the same md5sum as the 0.9 version -- and that
                change seemed to have happened rather recently, relatively-speaking.


                > I noticed that openembedded/packages/setpwc/setpwc_1.1.bb
                > <http://setpwc_1.1.bb> does not contains any "PV=" information while
                > SRC_URI uses this variable.

                PV will default to a sane value; setting it manually is only done in
                exceptional cases.

                > I edited the file to add a PV="1.1" line
                > After that, I got the same:

                Yep. No surprise -- that's what OE should do when the upstream version
                has been horribly renamed or copied over.

                > I can cheat, hack, and edit the file to change the checksum.
                > But how can I *fix* this?

                Well, changing the checksum would be a VERY bad idea, as it would
                clearly download the wrong (old) version of the source code, and then
                try to build it using the newer bitbake recipe. If you are lucky, it
                would fail to build - if your are unlucky you would have strange and
                unusual bug or feature regressions in your image that would never be
                able to be tracked down.

                The right thing to do in this case would be to contact the upstream
                source of the original (broken) tarball image, and ask them to fix their
                images. In the interim, you can use google to find alternate mirrors
                for that source tarball, download them, and armed with the correct
                md5sum from the OE checksums file, you can find the one that the
                original OE developers used and tested against. When you find it, put
                it in your downloads directory manually, and create the matching
                <filename>.md5 by hand in the downloads directory as well. That's ugly,
                but it will at least get you the correct sources.

                BTW, it is wise to put your downloads directory somewhere other than
                your build directory, and symlink to it -- that way you don't risk
                deleting such a valuable resource when you clean things up.

                -Mike (mwester)
              • Mike (mwester)
                ... No, only the packages we tell it to add. ... The list of packages in the SlugOS package feed (not SlugOS optware feeds; that s separate) is in the
                Message 7 of 11 , Mar 6, 2009
                • 0 Attachment
                  Sébastien Lorquet wrote:
                  > Ah, thanks, I understand. make slugosbe-packages attempts to build every
                  > OE package, that's it?

                  No, only the packages we tell it to add.

                  > A faster option should be to ignore broken packages, ie with a file that
                  > contains ignored package names. How could I do that?

                  The list of packages in the SlugOS package feed (not SlugOS optware
                  feeds; that's separate) is in the
                  openembedded/packages/meta/slugos-packages.bb file. You'll note that we
                  already break out the working from broken packages.

                  You can move setpwc from one category to the other, and then increment
                  the "PR" variable to trigger the rebuild.

                  Note that you will find packages building that are not listed -- OE has
                  a complex and very deep dependency system, and it will automatically
                  pull in many packages that are required, even if not listed. So it is
                  entirely possible to remove a package and have OE continue to try to
                  build it. That requires you to do a fair amount of "detective work" to
                  find what depends on the package you are trying to remove.

                  In this case, you would be better off to just find a correct version of
                  the source tarball, as I mentioned in the earlier email, and build the
                  full package feeds.

                  (On the other hand, there probably isn't any reason to build the full
                  feeds other than as an exercise -- the SlugOS 5.3-beta feeds should be
                  up and operational already, even though the SlugOS 5.3-beta images got
                  delayed this past week).

                  -Mike (mwester)
                • Sébastien Lorquet
                  ... I suspected something like that after some more thinking. Thanks for all the details. I don t have time this evening, but I think that all will go well
                  Message 8 of 11 , Mar 8, 2009
                  • 0 Attachment
                    > Basically, bitbake tries to build setpwc-1.1 but looks at the 0.9 checksum.

                    Nope.  Wrong conclusion:

                    Here's the contents of my downloads, which matches with the downloads on
                    the official nslu2-linux.org build servers:

                    $ md5sum /home/slug/downloads/setpwc-1.1.tgz
                    acc0266534c5dc13ad1153ec890c1b8d  setpwc-1.1.tgz

                    Now check this out:

                    $ wget http://www.vanheusden.com/setpwc/setpwc-1.1.tgz
                    2009-03-06
                    17:54:16 (30.2 MB/s) - `setpwc-1.1.tgz' saved [369/369]
                    $ md5sum setpwc-1.1.tgz
                    0ec56a142d79bc2dd346fc6f12f9aa5e  setpwc-1.1.tgz

                    OUCH!!

                    So indeed, the download from the upstream location claims to be the 1.1
                    version, but it has the same md5sum as the 0.9 version -- and that
                    change seemed to have happened rather recently, relatively-speaking.


                    I suspected something like that after some more thinking.

                    Thanks for all the details.
                    I don't have time this evening, but I think that all will go well tomorrow:


                    http://bugs.openembedded.net/show_bug.cgi?id=5055

                    not sure what was wrong, but:
                    - moved the recipe to 1.2
                    - removed older versions
                    - added checksum for 1.2
                    so guess this pr is not relevant any more and therefore will close it.

                     

                    > I noticed that openembedded/packages/setpwc/setpwc_1.1.bb
                    > <http://setpwc_1.1.bb> does not contains any "PV=" information while
                    > SRC_URI uses this variable.

                    PV will default to a sane value; setting it manually is only done in
                    exceptional cases.

                    > I edited the file to add a PV="1.1" line
                    > After that, I got the same:

                    Yep.  No surprise -- that's what OE should do when the upstream version
                    has been horribly renamed or copied over.

                    > I can cheat, hack, and edit the file to change the checksum.
                    > But how can I *fix* this?

                    Well, changing the checksum would be a VERY bad idea, as it would
                    clearly download the wrong (old) version of the source code, and then
                    try to build it using the newer bitbake recipe.  If you are lucky, it
                    would fail to build - if your are unlucky you would have strange and
                    unusual bug or feature regressions in your image that would never be
                    able to be tracked down.

                    The right thing to do in this case would be to contact the upstream
                    source of the original (broken) tarball image, and ask them to fix their
                    images.  In the interim, you can use google to find alternate mirrors
                    for that source tarball, download them, and armed with the correct
                    md5sum from the OE checksums file, you can find the one that the
                    original OE developers used and tested against.  When you find it, put
                    it in your downloads directory manually, and create the matching
                    <filename>.md5 by hand in the downloads directory as well.  That's ugly,
                    but it will at least get you the correct sources.

                    BTW, it is wise to put your downloads directory somewhere other than
                    your build directory, and symlink to it -- that way you don't risk
                    deleting such a valuable resource when you clean things up.

                    -Mike (mwester)


                    ------------------------------------

                    Yahoo! Groups Links

                    <*> To visit your group on the web, go to:
                       http://groups.yahoo.com/group/nslu2-linux/

                    <*> Your email settings:
                       Individual Email | Traditional

                    <*> To change settings online go to:
                       http://groups.yahoo.com/group/nslu2-linux/join
                       (Yahoo! ID required)

                    <*> To change settings via email:
                       mailto:nslu2-linux-digest@yahoogroups.com
                       mailto:nslu2-linux-fullfeatured@yahoogroups.com

                    <*> To unsubscribe from this group, send an email to:
                       nslu2-linux-unsubscribe@yahoogroups.com

                    <*> Your use of Yahoo! Groups is subject to:
                       http://docs.yahoo.com/info/terms/


                  • Sébastien Lorquet
                    ... aha! glad to know :) ... Yes, this is an exercise :-) I want a local, managed-to-build-it-myself mirror :-) slugosbe-image is too easy , if it did not
                    Message 9 of 11 , Mar 8, 2009
                    • 0 Attachment
                      On Sat, Mar 7, 2009 at 1:16 AM, Mike (mwester) <mwester@...> wrote:
                      Sébastien Lorquet wrote:
                      > Ah, thanks, I understand. make slugosbe-packages attempts to build every
                      > OE package, that's it?

                      No, only the packages we tell it to add.

                      > A faster option should be to ignore broken packages, ie with a file that
                      > contains ignored package names. How could I do that?

                      The list of packages in the SlugOS package feed (not SlugOS optware
                      feeds; that's separate) is in the
                      openembedded/packages/meta/slugos-packages.bb file.  You'll note that we
                      already break out the working from broken packages.

                      aha! glad to know :)
                       

                      You can move setpwc from one category to the other, and then increment
                      the "PR" variable to trigger the rebuild.

                      Note that you will find packages building that are not listed -- OE has
                      a complex and very deep dependency system, and it will automatically
                      pull in many packages that are required, even if not listed.  So it is
                      entirely possible to remove a package and have OE continue to try to
                      build it.  That requires you to do a fair amount of "detective work" to
                      find what depends on the package you are trying to remove.

                      In this case, you would be better off to just find a correct version of
                      the source tarball, as I mentioned in the earlier email, and build the
                      full package feeds.

                      (On the other hand, there probably isn't any reason to build the full
                      feeds other than as an exercise -- the SlugOS 5.3-beta feeds should be
                      up and operational already, even though the SlugOS 5.3-beta images got
                      delayed this past week).

                      Yes, this is an exercise :-) I want a local, managed-to-build-it-myself mirror :-) slugosbe-image is "too easy", if it did not build, that would be my fault!

                      the fix made by Frans Meulenbroeks solved the setpwc problem by bringing in the 1.2 revision.

                      However...

                      NOTE: Running task 3424 of 6197 (ID: 2023, /home/squalyl/oe/slugos/openembedded/packages/musicpd/mpd_0.14.2.bb, do_compile)
                      NOTE: package mpd-0.14.2: started
                      NOTE: package mpd-0.14.2-r3: task do_compile: started
                      ERROR: function do_compile failed
                      ERROR: see log in /home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/temp/log.do_compile.31730
                      squalyl@debian:~/oe$ cat /home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/temp/log.do_compile.31730
                      NOTE: make
                      make  all-recursive
                      make[1]: Entering directory `/home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2'
                      Making all in src
                      make[2]: Entering directory `/home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2/src'
                      make[2]: Nothing to be done for `all'.
                      make[2]: Leaving directory `/home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2/src'
                      Making all in doc
                      make[2]: Entering directory `/home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2/doc'
                      /usr/bin/xmlto html-nochunks protocol.xml
                      xmlto: input does not validate (status 3)
                      /home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2/doc/protocol.xml:3: warning: failed to load external entity "/home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2/doc/docbook/dtd/xml/4.2/docbookx.dtd"
                                     "docbook/dtd/xml/4.2/docbookx.dtd">
                                                                        ^
                      warning: failed to load external entity "/home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2/doc/docbook/dtd/xml/4.2/docbookx.dtd"
                      validity error : Could not load the external subset "docbook/dtd/xml/4.2/docbookx.dtd"
                      Document /home/squalyl/oe/slugos/tmp/work/armv5teb-linux-gnueabi/mpd-0.14.2-r3/mpd-0.14.2/doc/protocol.xml does not validate

                      WTFlower? :-(

                      lol, I know the method now:

                      while(true) {
                        build
                        fail(x)
                        report to openembedded(x)
                      }

                      So in fact this is a bug report exercise too :-)


                      Sebastien

                    • Mike (mwester)
                      ... Close. It s actually: while(true) { build fail(x) fix(x) report to openembedded(x) } ... Mike (mwester)
                      Message 10 of 11 , Mar 8, 2009
                      • 0 Attachment
                        Sébastien Lorquet wrote:

                        > lol, I know the method now:
                        >
                        > while(true) {
                        > build
                        > fail(x)
                        > report to openembedded(x)
                        > }
                        >
                        > So in fact this is a bug report exercise too :-)

                        Close. It's actually:

                        while(true) {
                        build
                        fail(x)
                        fix(x)
                        report to openembedded(x)
                        }

                        :-)

                        Mike (mwester)
                      • Sébastien Lorquet
                        erm... true... however... find a bad md5 sum... I could do it... but put hands in bad formed xml DTDs and schemas... less sure :-)
                        Message 11 of 11 , Mar 8, 2009
                        • 0 Attachment
                          erm... true...
                          however... find a bad md5 sum... I could do it... but put hands in bad
                          formed xml DTDs and schemas... less sure :-)

                          Mike (mwester) a écrit :
                          > Sébastien Lorquet wrote:
                          >
                          >
                          >> lol, I know the method now:
                          >>
                          >> while(true) {
                          >> build
                          >> fail(x)
                          >> report to openembedded(x)
                          >> }
                          >>
                          >> So in fact this is a bug report exercise too :-)
                          >>
                          >
                          > Close. It's actually:
                          >
                          > while(true) {
                          > build
                          > fail(x)
                          > fix(x)
                          > report to openembedded(x)
                          > }
                          >
                          > :-)
                          >
                          > Mike (mwester)
                          >
                          >
                          > ------------------------------------
                          >
                          > Yahoo! Groups Links
                          >
                          >
                          >
                          >
                        Your message has been successfully submitted and would be delivered to recipients shortly.