Send buglog mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.openmoko.org/mailman/listinfo/buglog
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of buglog digest..."
Today's Topics:

   1. Re: Openmoko Bug #2169: mokomakefile/org.openmoko.asu.stable:
      illume_svn.bb do_fetch failed (Openmoko Public Trac)
   2. Openmoko Bug #2200: mokomakefile/org.openmoko.asu.stable: No
      such      file or directory: '.../libusbpp.list' (Openmoko Public Trac)
   3. Re: Openmoko Bug #2169: mokomakefile/org.openmoko.asu.stable:
      illume_svn.bb do_fetch failed (Openmoko Public Trac)
   4. Re: Openmoko Bug #2200: mokomakefile/org.openmoko.asu.stable:
      No        such file or directory: '.../libusbpp.list' (Openmoko Public 
Trac)
   5. Re: Openmoko Bug #2199: bitbake wpa-supplicant-0.6.3 fails
      (OSError) (Openmoko Public Trac)
--- Begin Message ---
#2169: mokomakefile/org.openmoko.asu.stable: illume_svn.bb do_fetch failed
------------------------+---------------------------------------------------
    Reporter:  lindi    |        Owner:  openmoko-devel
        Type:  defect   |       Status:  closed        
    Priority:  normal   |    Milestone:                
   Component:  unknown  |      Version:  unspecified   
    Severity:  normal   |   Resolution:  fixed         
    Keywords:           |     Haspatch:  0             
   Blockedby:           |    Estimated:                
 Patchreview:           |     Blocking:                
Reproducible:           |  
------------------------+---------------------------------------------------

Comment(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.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2169#comment:6>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2200: mokomakefile/org.openmoko.asu.stable: No such file or directory:
'.../libusbpp.list'
---------------------+------------------------------------------------------
 Reporter:  lindi    |          Owner:  openmoko-devel
     Type:  defect   |         Status:  new           
 Priority:  normal   |      Milestone:                
Component:  unknown  |        Version:                
 Severity:  normal   |       Keywords:                
 Haspatch:  0        |      Blockedby:                
Estimated:           |    Patchreview:                
 Blocking:           |   Reproducible:                
---------------------+------------------------------------------------------
 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

 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
 }}}

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2200>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2169: mokomakefile/org.openmoko.asu.stable: illume_svn.bb do_fetch failed
------------------------+---------------------------------------------------
    Reporter:  lindi    |        Owner:  openmoko-devel
        Type:  defect   |       Status:  closed        
    Priority:  normal   |    Milestone:                
   Component:  unknown  |      Version:  unspecified   
    Severity:  normal   |   Resolution:  fixed         
    Keywords:           |     Haspatch:  0             
   Blockedby:           |    Estimated:                
 Patchreview:           |     Blocking:                
Reproducible:           |  
------------------------+---------------------------------------------------

Comment(by lindi):

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

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2169#comment:7>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2200: mokomakefile/org.openmoko.asu.stable: No such file or directory:
'.../libusbpp.list'
---------------------+------------------------------------------------------
 Reporter:  lindi    |          Owner:  openmoko-devel
     Type:  defect   |         Status:  new           
 Priority:  normal   |      Milestone:                
Component:  unknown  |        Version:                
 Severity:  normal   |       Keywords:                
 Haspatch:  0        |      Blockedby:                
Estimated:           |    Patchreview:                
 Blocking:           |   Reproducible:                
---------------------+------------------------------------------------------

Comment(by rwhitby):

 PARALLEL_MAKE = "-j6"
 BB_NUMBER_THREADS = "6"

 Are you able to reproduce with these set to 1?

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2200#comment:1>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
--- Begin Message ---
#2199: bitbake wpa-supplicant-0.6.3 fails (OSError)
---------------------------------------+------------------------------------
    Reporter:  cfriedt                 |        Owner:  openmoko-kernel
        Type:  defect                  |       Status:  reopened       
    Priority:  normal                  |    Milestone:                 
   Component:  System Software         |      Version:                 
    Severity:  normal                  |   Resolution:                 
    Keywords:  wpa-supplicant OSError  |     Haspatch:  0              
   Blockedby:                          |    Estimated:                 
 Patchreview:                          |     Blocking:                 
Reproducible:                          |  
---------------------------------------+------------------------------------

Comment(by cfriedt):

 Well, I've identified the culprit in my issue. It seems that while
 examining bitbake encounters an Error 13 (EPERM) causing the build to
 fail.

 Checking out packages/wpa-supplicant/wpa-suplicant-0.6.inc, at around line
 65, I noticed that there are two symbolic links created in the image dir.


 do_install () {
 ...
         ln -s /etc/wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network
 /if-pre-up.d/wpasupplicant
         ln -s /etc/wpa_supplicant/ifupdown.sh ${D}${sysconfdir}/network
 /if-post-down.d/wpasupplicant
 ...
 }

 On my machine, /etc/wpa_supplicant is owned by root:root and has mode 750.
 Hence the EPERM.

 Now - rule #1 - there should be no access to files on the build system by
 bitbake during the install stage at all. By (obvious?) inspection, there
 really is none! The install process is instructed to create a symbolic
 link called 'etc/network/if-pre-up.d/wpasupplicant' to point to a location
 (/etc/wpa_supplicant/ifupdown.sh). The location that any symbolic link
 points to should be (to some extent) irrelevent.

 So I looked into openembedded/classes/package.bbclass, where the exception
 was coming from, around line 450, stat() is called on the file in the
 image directory ($D). When stat() is called on the symbolic link, it
 actually follows the symbolic link, causing the EPERM.

 A slight modification of package.bbclass is necessary in my opinion, so
 that inappropriate stat() calls are not made to symbolic links.

 Does anyone know how? I'm still a bit of a n00b when it comes to python.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2199#comment:4>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac

--- End Message ---
_______________________________________________
buglog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/buglog

Reply via email to