Ticket #2169 (closed defect: fixed)

Opened 10 years ago

Last modified 12 months ago

mokomakefile/org.openmoko.asu.stable: illume_svn.bb do_fetch failed

Reported by: lindi Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version: unspecified
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:
Reproducible:

Description

Steps to reproduce:
1) wget http://www.rwhitby.net/files/openmoko/Makefile
2) make setup
3) make setup-machine-om-gta02
4) sudo sysctl -w vm.mmap_min_addr=0
5) cat >> build/conf/local.conf <<EOF
PARALLEL_MAKE = "-j6"
BB_NUMBER_THREADS = "6"
GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fi_FI.UTF-8 nl_NL.UTF-8"
EOF
6) script -c 'make image' ../build1.log

Expected results:
6) Stable distro builds from source (Om2008.8, org.openmoko.asu.stable, openmoko-asu-image)

Actual results:
6) Build fails with

svn: '/svn/e/!svn/bc/38081/trunk/illume' path not found
...
NOTE: package illume-0.0+svnr35818-r13: task do_fetch: failed
...
ERROR: Build of /local/lindi/openmoko/mokomakefile/openembedded/packages/e17/illume_svn.bb do_fetch failed

More info:
1) See attached build1.log.gz for full build log.

Attachments

build1.log.gz (164.6 KB) - added by lindi 10 years ago.

Change History

Changed 10 years ago by lindi

comment:1 Changed 10 years ago by joel

I can confirm that the stable image doesn't build out of the box.

Main problem is that the source packages are missing for the revisions that the build system tries to download. It looks like direct svn access is used as fallback but fails as well. I had to manually find existing version and put new revision numbers in the following file:

$OMDIR/openembedded/conf/distro/includes/sane-srcrevs.inc

You're for example missing: illume_svn.enlightenment.org_.svn.e.trunk_35818_.tar.gz at http://downloads.openmoko.org/sources/

So you can try setting illume revision to something that exists. I used the following to make it build (don't know if it's the best choice...):

 EFL_SRCREV ?= "36540"
 SRCREV_pn-illume ?= "36520" 

comment:2 Changed 10 years ago by lindi

I retried build today but this time I did not get past step 2:

$ make setup
( [ -e stamps/bitbake ] && \
          [ -e bitbake/.git ] ) || \
        ( git clone -n git://git.openmoko.org/git/bitbake.git bitbake )
Initialized empty Git repository in /local/lindi/openmoko/mokomakefile/bitbake/.git/
remote: Generating pack...
remote: Done counting 6148 objects.
remote: Deltifying 6148 objects.
remote:  100% (6148/6148) done
remote: Total 6148, written 6148 (delta 3580), reused 6142 (delta 3577)
Receiving objects: 100% (6148/6148), 1.10 MiB | 1267 KiB/s, done.
Resolving deltas: 100% (3580/3580), done.
( cd bitbake && \
          ( git branch | egrep -e ' bitbake-om$' > /dev/null || \
            git checkout -b bitbake-om --track origin/bitbake-om ))
( cd bitbake && git checkout bitbake-om )
Already on "bitbake-om"
[ -d stamps ] || mkdir stamps
touch stamps/bitbake
( [ -e stamps/openembedded ] && \
          [ -e openembedded/.git ] ) || \
        ( git clone -n git://git.openmoko.org/git/openmoko.git openembedded )
Initialized empty Git repository in /local/lindi/openmoko/mokomakefile/openembedded/.git/
remote: Generating pack...
remote: Done counting 179526 objects.
remote: Deltifying 179526 objects.
remote:  100% (179526/179526) done
Receiving objects: 100% (179526/179526), 85.77 MiB | 5565 KiB/s, done.
remote: Total 179526, written 179526 (delta 123425), reused 170517 (delta 117312)
Resolving deltas: 100% (123425/123425), done.
( cd openembedded && \
          ( git branch | egrep -e ' org.openmoko.asu.stable$' > /dev/null || \
            git checkout -b org.openmoko.asu.stable --track origin/org.openmoko.asu.stable ))
fatal: git checkout: updating paths is incompatible with switching branches/forcing
Did you intend to checkout 'origin/org.openmoko.asu.stable' which can not be resolved as commit?
make: *** [setup-openembedded] Error 128

Any idea what I am doing wrong?

comment:3 Changed 10 years ago by cfriedt

You need to change the Makefile

OM_GIT_BRANCH = org.openmoko.stable

instead of

OM_GIT_BRANCH = org.openmoko.asu.stable

You'll see why if you run

cd openembedded
git branch -r

This is probably something that Rod Whitby should probably change at some point in the MokoMakefile?.

comment:4 Changed 10 years ago by rwhitby

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in MokoMakefile? r32.

comment:5 Changed 10 years ago by lindi

Please reopen. I retried the build again and now it fails in step 6:

NOTE: package libusb-0.1.12-r3: task do_populate_staging: completed
NOTE: package libusb-0.1.12: completed
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR:  0107:           for file in os.listdir(dir):
ERROR:  0108:                   m = list_re.match(file)
ERROR:  0109:                   if m:
ERROR:  0110:                           dep_pkg = m.group(1)
ERROR:  0111:                           fd = open(os.path.join(dir, file))
ERROR:  0112:                           lines = fd.readlines()
ERROR:  0113:                           fd.close()
ERROR:  0114:                           ver_file = os.path.join(dir, dep_pkg + '.ver')
ERROR:  0115:                           lib_ver = None
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR: Error in executing: 
ERROR: Exception:<type 'exceptions.IOError'> Message:[Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'
ERROR: Printing the environment of the function
ERROR: Build of /home/lindi/l/openmoko/mokomakefile/openembedded/packages/libusb/libusb_0.1.12.bb do_package failed
Traceback (most recent call last):
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/bin/bitbake", line 189, in <module>
    main()
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/bin/bitbake", line 186, in main
    cooker.cook()
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 636, in cook
    return self.buildTargets(pkgs_to_build)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 547, in buildTargets
    failures = rq.execute_runqueue()
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/runqueue.py", line 842, in execute_runqueue
    self.execute_runqueue_internal()
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/runqueue.py", line 951, in execute_runqueue_internal
    self.cooker.tryBuild(fn)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 133, in tryBuild
    return self.tryBuildPackage(fn, item, self.configuration.cmd, the_data)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/cooker.py", line 107, in tryBuildPackage
    bb.build.exec_task('do_%s' % task, the_data)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 278, in exec_task
    exec_func(task, localdata)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
    exec code in context
  File "do_package", line 4, in <module>
  File "do_package", line 2, in do_package
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 113, in exec_func
    exec_func_python(func, d)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
    exec code in context
  File "insane_do_package", line 4, in <module>
  File "insane_do_package", line 2, in insane_do_package
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 113, in exec_func
    exec_func_python(func, d)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
    exec code in context
  File "package_do_package", line 11, in <module>
  File "package_do_package", line 8, in package_do_package
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 113, in exec_func
    exec_func_python(func, d)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/build.py", line 136, in exec_func_python
    utils.better_exec(comp, g, tmp, bbfile)
  File "/home/lindi/l/openmoko/mokomakefile/bitbake/lib/bb/utils.py", line 144, in better_exec
    exec code in context
  File "package_do_shlibs", line 167, in <module>
  File "package_do_shlibs", line 111, in package_do_shlibs
IOError: [Errno 2] No such file or directory: '/local/lindi/openmoko/mokomakefile/build/tmp/staging/armv4t-angstrom-linux-gnueabi/shlibs/libusbpp.list'

...

NOTE: Checking Package: gst-plugin-subparse-dev
NOTE: DONE with PACKAGE QA
NOTE: package gst-plugins-base-0.10.17-r3: task do_package: completed
NOTE: package gst-plugins-base-0.10.17: completed
NOTE: Tasks Summary: Attempted 4269 tasks of which 0 didn't need to be rerun and 1 failed.
ERROR: '/home/lindi/l/openmoko/mokomakefile/openembedded/packages/libusb/libusb_0.1.12.bb' failed
NOTE: build 200901051400: completed
make: *** [openmoko-asu-image] Error 1

comment:6 Changed 10 years ago by rwhitby

The ticket summary says "mokomakefile/org.openmoko.asu.stable: illume_svn.bb do_fetch failed" - your new problem does not match that. Please create a new ticket for a new problem.

comment:7 Changed 10 years ago by lindi

Well yes, I do not have the permission to change the bug title either :-) I copypasted stuff to bug #2200 now

comment:8 Changed 16 months ago by JasonNit

Последние новости здесь <a href=http://kfaktiv.ru/>kfaktiv.ru</a>

comment:9 Changed 16 months ago by Edwardnus

Полезная информация о строительстве и ремонте <a href=http://montazhnik02.ru>montazhnik02.ru</a>

comment:10 Changed 15 months ago by Richardgon

Читайте много информации о стройке и ремонте <a href=http://teletap.org>teletap.org</a>

comment:11 Changed 12 months ago by Sofiyapaync

cost cialis india

<a href=http://cialisactiveokl.com/>cheap cialis</a>


<a href="http://cialisactiveokl.com/">cialis super active</a>


acheter cialis en allemagne

comment:12 Changed 12 months ago by Sofiyapaync

es y que viagra como toma el

http://viagraprofessionalok.com/ - cheap viagra


<a href="http://viagraprofessionalok.com/">viagra generic</a>


viagra buy online australia

comment:13 Changed 12 months ago by Sofiyapaync

turkse viagra bestellen

http://viagraprofessionalok.com/ - viagra buy


<a href="http://viagraprofessionalok.com/">viagra buy</a>


authentic viagra on line

comment:14 Changed 12 months ago by Sofiyapaync

non pescription cialis

<a href=http://cialisactiveokl.com/>cheap cialis</a>


<a href="http://cialisactiveokl.com/">cialis super active</a>


non pescription cialis

comment:15 Changed 12 months ago by Sofiyapaync

only today soft cialis

http://cialisactiveokl.com/ - cialis online


<a href="http://cialisactiveokl.com/">cilais price</a>


shelf life of cialis tablets

comment:16 Changed 12 months ago by Sofiyapaync

viagra italia farmaci

http://viagraprofessionalok.com/ - cheap viagra


<a href="http://viagraprofessionalok.com/">buy viagra online</a>


try it viagra 100mg pills

comment:17 Changed 12 months ago by Sofiyapaync

viagra delivered to australia

<a href=http://viagra100mgonlineh.com/>buy viagra online</a>


<a href="http://viagra100mgonlineh.com/">cheap viagra</a>


pharmacie qui vend du viagra

comment:18 Changed 12 months ago by Sofiyapaync

better than brand viagra

http://viagraprofessionalok.com/ - viagra


<a href="http://viagraprofessionalok.com/">viagra</a>


viagra generic sample packs

comment:19 Changed 12 months ago by Moisespaync

buy cheap genuine cialis

http://buyxocialishnline.com/ - cialis online


<a href="http://buyxocialishnline.com/">cialis generic</a>


cialis for sale in usa

comment:20 Changed 12 months ago by Dollypaync

we like it cialis uk buy

<a href=http://canadiancialisonlinex.com/>canadian cialis</a>


<a href="http://canadiancialisonlinex.com/">generic cialis</a>


very good site brand cialis

comment:21 Changed 12 months ago by Dennpaync

main ingredient in viagra

http://buyviagrahzonline.com/ - viagra


<a href="http://buyviagrahzonline.com/">buy viagra online</a>


cialis vs viagra levitra

comment:22 Changed 12 months ago by Moisespaync

cialis paris sans ordonnanc

http://cialisonlinehocheap.com/ - generic cialis


<a href="http://cialisonlinehocheap.com/">cialis online</a>


socialismo

comment:23 Changed 12 months ago by Dollypaync

cheap cialis tablets

<a href=http://canadiancialisonlinex.com/>generic cialis</a>


<a href="http://canadiancialisonlinex.com/">generic cialis</a>


cialis side effects

comment:24 Changed 12 months ago by Goilpaync

prezzo di farmaco di viagra

<a href=http://viagragenonlineq.com/>cheap viagra</a>


<a href="http://viagragenonlineq.com/">buy viagra online</a>


viagra non pres473cription

comment:25 Changed 12 months ago by Noilpaync

cialis portugal

<a href=http://cheapcialisdiscounts.com/>generic cialis online</a>


<a href="http://cheapcialisdiscounts.com/">generic cialis online</a>


quanto costa cialis da 10 mg

Note: See TracTickets for help on using tickets.