4 Replies Latest reply on Mar 15, 2015 9:11 PM by louie.tsai

    Fetch fail for NodeJS on Edison

    louie.tsai

      Hi

      I used latest src edison-image-ww05-15, but failed at building NodeJS.

      How can I resolve the problem?

      thanks

       

      the error fetch log listed below.

       

      /home/louie"; git ls-remote https://github.com/joyent/node.git refs/heads/v0.10.28 refs/tags/v0.10.28^{}

      | DEBUG: Python function base_do_fetch finished

      | DEBUG: Python function do_fetch finished

      | ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:

      | fatal: Invalid gitfile format: .git

      |

      ERROR: Task 2371 (virtual:native:/home/louie/WORK/Projects/Edison/edison-src/device-software/meta-edison-middleware/recipes-devtools/nodejs/nodejs_0.10.28.bb, do_fetch) failed with exit code '1'

      NOTE: Tasks Summary: Attempted 1006 tasks of which 1001 didn't need to be rerun and 1 failed.

      Waiting for 0 running tasks to finish:

        • 1. Re: Fetch fail for NodeJS on Edison
          CMata_Intel

          Hi louie.tsai ;

           

          First, a couple of questions:

          1. Which OS are you using to build the image?

          2. Are you building the default image or a customized one?

           

          I was checking this error in here: How to fix error 128

          You could try with (extracted from there):

          git config --global user.email "you@example.com"
          git config --global user.name "Your Name"
          

           

          If that doesn't fix the issue, take a look at this thread BSP build issue .git  not a git repository you could try with that too.

           

          Regards;

          CMata

          • 2. Re: Fetch fail for NodeJS on Edison
            louie.tsai

            Hi

             

            1. I used Ubuntu 12.04, and built Galileo sucessfully with same NB.

            2. yes. I am building default image.

             

            Git config should be ok.

             

            right now, I got the source code and tar it.

            therefore, I can do_fetch successfully with my tar file.

             

            however, I still stucked at do_configure for NodeJS.

            have anyone encountered the same Nodejs issue?

            Do you have any suggestion for that?

             

            thanks

             

            ERROR: Function failed: do_configure (log file is located at /home/louie/WORK/Projects/Edison/edison-src/out/linux64/build/tmp/work/x86_64-linux/nodejs-native/0.10.28-r1/temp/log.do_configure.29756)

            ERROR: Logfile of failure stored in: /home/louie/WORK/Projects/Edison/edison-src/out/linux64/build/tmp/work/x86_64-linux/nodejs-native/0.10.28-r1/temp/log.do_configure.29756

            Log data follows:

            | DEBUG: Executing python function sysroot_cleansstate

            | DEBUG: Python function sysroot_cleansstate finished

            | DEBUG: Executing shell function do_configure

            | /home/louie/WORK/Projects/Edison/edison-src/out/linux64/build/tmp/work/x86_64-linux/nodejs-native/0.10.28-r1/temp/run.do_configure.29756: 102: /home/louie/WORK/Projects/Edison/edison-src/out/linux64/build/tmp/work/x86_64-linux/nodejs-native/0.10.28-r1/temp/run.do_configure.29756: ./configure: not found

            | WARNING: exit code 127 from a shell command.

            | ERROR: Function failed: do_configure (log file is located at /home/louie/WORK/Projects/Edison/edison-src/out/linux64/build/tmp/work/x86_64-linux/nodejs-native/0.10.28-r1/temp/log.do_configure.29756)

            ERROR: Task 2372 (virtual:native:/home/louie/WORK/Projects/Edison/edison-src/device-software/meta-edison-middleware/recipes-devtools/nodejs/nodejs_0.10.28.bb, do_configure) failed with exit code '1'

            • 3. Re: Fetch fail for NodeJS on Edison
              CMata_Intel

              Hi louie.tsai

               

              I'm sorry for the delay in my response, do you have updates in this? Were you able to build the image succesfully?

               

              A couple of suggestions:

              Check in your PC that you actually have space for the image.

              Try to not use long paths for the edison-src folder

              Are you using a 32 or 64 bits OS? There are some reported issues using a 32 version so you could try with 64.

               

              Regards;

              CMata

              • 4. Re: Fetch fail for NodeJS on Edison
                louie.tsai

                Hi CMata

                 

                I used another fresh Ubuntu 14.04 64bit OS with socat installation.

                it is built successfully now.

                 

                thanks for your help.

                1 of 1 people found this helpful