Re: webkit do_compile failed

2007-09-16 Thread Sudharshan S
On Sat, 2007-09-15 at 20:15 -0500, Tom Z wrote:
 I seemed to hit a problem just before the do_compile in the same 
 build process for webkit, all the solutions posted here so far don't 
 seem to apply, as there seems to have no  
 
  build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libWebKitGdk.*
  
 file yet in my build directory.
 
 Below is the log from my rebuild attempt, after I did the 
 clean-package-webkit-gtk. 
 
 Any idea would be greatly appreciated.
 
 Tom
Hello,

Changing SRCREV_pn-webkit-gtk to 25582
in /openembedded/conf/distro/include/sane-srcrevs.inc seems to solve the
problem.

Regards
Sudharshan S

blog: http://www.sudharsh.wordpress.com


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: webkit do_compile failed

2007-09-15 Thread Tom Z
I seemed to hit a problem just before the do_compile in the same 
build process for webkit, all the solutions posted here so far don't 
seem to apply, as there seems to have no  

 build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libWebKitGdk.*
 
file yet in my build directory.

Below is the log from my rebuild attempt, after I did the 
clean-package-webkit-gtk. 

Any idea would be greatly appreciated.

Tom


# make clean-package-webkit-gtk
.
#
# make rebuild-package-webkit-gtk
( . ./setup-env  cd build  bitbake -c rebuild webkit-gtk )
NOTE: Handling BitBake files: \ (4684/4684) [100 %]
NOTE: Parsing finished. 4454 cached, 0 parsed, 230 skipped, 0 masked.
NOTE: build 200709151956: started

OE Build Configuration:
BB_VERSION = 1.8.8
OE_REVISION= 6fefb143c481e55636810f8546f5f5eca73a85c7
TARGET_ARCH= arm
TARGET_OS  = linux-gnueabi
MACHINE= fic-gta01
DISTRO = openmoko
DISTRO_VERSION = P1-September-Snapshot-20070916
TARGET_FPU = soft

NOTE: Resolving missing task queue dependencies
NOTE: preferred version 2.5 of glibc not available (for item
virtual/arm-angstrom-linux-gnueabi-libc-for-gcc)
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1 of 1 (ID: 0,
/media/sdc1/moko/openembedded/packages/webkit/webkit-gtk_svn.bb, do_rebuild)
NOTE: package webkit-gtk-0.0+svnr25582-r25571: started
NOTE: package webkit-gtk-0.0+svnr25582-r25571-r1: task do_rebuild: started
NOTE: package webkit-gtk-0.0+svnr25582-r25571-r1: task do_clean: started
NOTE: removing
/media/sdc1/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25582-r25571-r1
NOTE: removing
/media/sdc1/moko/build/tmp/stamps/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25582-r25571-r1.*
NOTE: package webkit-gtk-0.0+svnr25582-r25571-r1: task do_clean: completed
NOTE: package webkit-gtk-0.0+svnr25582-r25571-r1: task do_fetch: started
NOTE: fetch
http://downloads.openmoko.org/sources/JavaScriptCore_svn.webkit.org_.repository.webkit.trunk._25582-r25571_.tar.gz
--19:56:42--
http://downloads.openmoko.org/sources/JavaScriptCore_svn.webkit.org_.repository.webkit.trunk._25582-r25571_.tar.gz
Resolving downloads.openmoko.org... 88.198.93.219
Connecting to downloads.openmoko.org|88.198.93.219|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
19:56:42 ERROR 404: Not Found.

NOTE: Fetch
svn://svn.webkit.org/repository/webkit/trunk/;module=JavaScriptCore;proto=http
svn: Syntax error in revision argument '25582-r25571'
NOTE: Task failed: Fetch failed: Fetch command export
PATH=/media/sdc1/moko/build/tmp/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/media/sdc1/moko/build/tmp/staging/i686-linux/bin:/media/sdc1/moko/build/tmp/cross/bin:/media/sdc1/moko/bitbake/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/stuff/bitbake/bin:.:/home/tzheng/bin:/opt/axis2c/bin:/opt/gsoap/bin:/opt/java/ant/bin:/opt/java/j2se/jdk/bin:/opt/rar/:/opt/cbrowser:/opt/cscope/bin:/opt/firefox:/opt/netscape:/opt/expat/bin:/opt/perl5/bin:/opt/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/etc:/usr/bin/X11:/opt/arm/bin;
/usr/bin/env svn co -r 25582-r25571
http://svn.webkit.org/repository/webkit/trunk//JavaScriptCore JavaScriptCore
failed with signal 1, output:

NOTE: package webkit-gtk-0.0+svnr25582-r25571-r1: task do_fetch: failed
ERROR: Error in executing:
ERROR: Exception:bb.build.EventException Message:('Function failed in task:
Fetch failed: Fetch command export
PATH=/media/sdc1/moko/build/tmp/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/media/sdc1/moko/build/tmp/staging/i686-linux/bin:/media/sdc1/moko/build/tmp/cross/bin:/media/sdc1/moko/bitbake/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/stuff/bitbake/bin:.:/home/tzheng/bin:/opt/axis2c/bin:/opt/gsoap/bin:/opt/java/ant/bin:/opt/java/j2se/jdk/bin:/opt/rar/:/opt/cbrowser:/opt/cscope/bin:/opt/firefox:/opt/netscape:/opt/expat/bin:/opt/perl5/bin:/opt/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/etc:/usr/bin/X11:/opt/arm/bin;
/usr/bin/env svn co -r 25582-r25571
http://svn.webkit.org/repository/webkit/trunk//JavaScriptCore JavaScriptCore
failed with signal 1, output:\n', bb.build.TaskFailed instance at
0xd16448c)
ERROR: Printing the environment of the function
ERROR: Error in executing:
ERROR: Exception:bb.build.EventException Message:('Function failed in task:
Fetch failed: Fetch command export
PATH=/media/sdc1/moko/build/tmp/staging/i686-linux/bin/arm-angstrom-linux-gnueabi:/media/sdc1/moko/build/tmp/staging/i686-linux/bin:/media/sdc1/moko/build/tmp/cross/bin:/media/sdc1/moko/bitbake/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/stuff/bitbake/bin:.:/home/tzheng/bin:/opt/axis2c/bin:/opt/gsoap/bin:/opt/java/ant/bin:/opt/java/j2se/jdk/bin:/opt/rar/:/opt/cbrowser:/opt/cscope/bin:/opt/firefox:/opt/netscape:/opt/expat/bin:/opt/perl5/bin:/opt/local/bin:/sbin:/usr/sbin:/bin:/usr/bin:/etc:/usr/bin/X11:/opt/arm/bin;
/usr/bin/env svn co -r 25582-r25571
http://svn.webkit.org/repository/webkit/trunk//JavaScriptCore JavaScriptCore
failed 

Re: webkit do_compile failed

2007-09-11 Thread Alessandro Iurlano
 I'm obviously a few months behind other developers as I've only had my
 Neo1973 a few days, but why is it that we run into these compiling
 issues and simply deleting the files and rebuilding the single package
 will get us past the error? Is it that the package (in this case, the
 webkit package or openmoko-terminal2 package) get updated while we're
 running our 8-hour compiles?

 -id


My guess is that the fetch command for that package is executed at
some early point of openmoko-devel-image and the created directory has
the subversion HEAD revision number in its name. When hours or days
later the build command for that package is executed, the HEAD
revision number has changed and so does the directory name. Hence the
no such file or directory error. Removing the work directory and the
fetch and unpack stamps forces make openmoko-devel-image to download
an extract the package again but with correct directory name, at least
until other commits are made.
This way of directory naming is pretty new. A few weeks ago the dir
name was create with the date in it and this problem only affected
builds that lasted more than a day.

Alessandro.

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: webkit do_compile failed

2007-09-10 Thread Alessandro Iurlano
On 9/9/07, Emre Turkay [EMAIL PROTECTED] wrote:
 Hi folks,

 After clean
 make update-makefile
 make setup
 make update
 make openmoko-devel-image

 I get the following error, any ideas?

 Thanks,

 emre

 NOTE: Running task 2688 of 3300 (ID: 1455,
 /home/emre/moko/openembedded/packages/webkit/webkit-gtk_svn.bb,
 do_compile)
 NOTE: package webkit-gtk-0.0+svnr25457-r25447: started
 NOTE: package webkit-gtk-0.0+svnr25457-r25447-r1: task do_compile: started
 ERROR: function do_compile failed
 ERROR: log data follows
 (/home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1/temp/log.do_compile.14313)
 | 
 /home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1/temp/run.do_compile.14313:
 line 223: cd: 
 /home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1//JavaScriptCore/pcre:
 No such file or directory
 NOTE: Task failed:
 /home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1/temp/log.do_compile.14313
 NOTE: package webkit-gtk-0.0+svnr25457-r25447-r1: task do_compile: failed
 ERROR: TaskFailed event exception, aborting
 NOTE: package webkit-gtk-0.0+svnr25457-r25447: failed
 ERROR: Build of
 /home/emre/moko/openembedded/packages/webkit/webkit-gtk_svn.bb
 do_compile failed
 ERROR: Task 1455
 (/home/emre/moko/openembedded/packages/webkit/webkit-gtk_svn.bb,
 do_compile) failed
 NOTE: Tasks Summary: Attempted 2687 tasks of which 2687 didn't need to
 be rerun and 1 failed.
 ERROR: '/home/emre/moko/opene

It happened to me as well a few days ago. I think that this happens if
there is a commit in webkit between the fetch phase and the install
phase. If that happens, the directory name is not valid anymore.
Try doing a make clean-package-webkit-gtk, then rm
built/tmp/stamps/armsomething I can't remember right now/webkit-gtk*
 and finally make rebuild-package-webkit-gtk before running make
openmoko-devel-image again

Hope this helps,
Alessandro
webkit-gtk-0.0+svnr25457-r25447-r1

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: webkit do_compile failed

2007-09-10 Thread George Barta
Looks like we must also remove
build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libWebKitGdk.*

Thank you for posting the fix, I've been stuck there for 2 days now :(

On 9/10/07, Alessandro Iurlano [EMAIL PROTECTED] wrote:
 On 9/9/07, Emre Turkay [EMAIL PROTECTED] wrote:
  Hi folks,
 
  After clean
  make update-makefile
  make setup
  make update
  make openmoko-devel-image
 
  I get the following error, any ideas?
 
  Thanks,
 
  emre
 
  NOTE: Running task 2688 of 3300 (ID: 1455,
  /home/emre/moko/openembedded/packages/webkit/webkit-gtk_svn.bb,
  do_compile)
  NOTE: package webkit-gtk-0.0+svnr25457-r25447: started
  NOTE: package webkit-gtk-0.0+svnr25457-r25447-r1: task do_compile: started
  ERROR: function do_compile failed
  ERROR: log data follows
  (/home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1/temp/log.do_compile.14313)
  | 
  /home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1/temp/run.do_compile.14313:
  line 223: cd: 
  /home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1//JavaScriptCore/pcre:
  No such file or directory
  NOTE: Task failed:
  /home/emre/moko/build/tmp/work/armv4t-angstrom-linux-gnueabi/webkit-gtk-0.0+svnr25457-r25447-r1/temp/log.do_compile.14313
  NOTE: package webkit-gtk-0.0+svnr25457-r25447-r1: task do_compile: failed
  ERROR: TaskFailed event exception, aborting
  NOTE: package webkit-gtk-0.0+svnr25457-r25447: failed
  ERROR: Build of
  /home/emre/moko/openembedded/packages/webkit/webkit-gtk_svn.bb
  do_compile failed
  ERROR: Task 1455
  (/home/emre/moko/openembedded/packages/webkit/webkit-gtk_svn.bb,
  do_compile) failed
  NOTE: Tasks Summary: Attempted 2687 tasks of which 2687 didn't need to
  be rerun and 1 failed.
  ERROR: '/home/emre/moko/opene

 It happened to me as well a few days ago. I think that this happens if
 there is a commit in webkit between the fetch phase and the install
 phase. If that happens, the directory name is not valid anymore.
 Try doing a make clean-package-webkit-gtk, then rm
 built/tmp/stamps/armsomething I can't remember right now/webkit-gtk*
  and finally make rebuild-package-webkit-gtk before running make
 openmoko-devel-image again

 Hope this helps,
 Alessandro
 webkit-gtk-0.0+svnr25457-r25447-r1

 ___
 OpenMoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: webkit do_compile failed

2007-09-10 Thread ian douglas
George Barta wrote:
 Looks like we must also remove
 build/tmp/staging/arm-angstrom-linux-gnueabi/lib/libWebKitGdk.*
 
 Thank you for posting the fix, I've been stuck there for 2 days now :(


I got past this issue without removing the above-mentioned file(s).

Once I got past the webkit, I hit a similar issue with openmoko-terminal2:

rm -rf \
  build/tmp/stamps/armv4t-angstrom-linux-gnueabi/openmoko-terminal2*
make rebuild-package-openmoko-terminal2
make openmoko-devel-image

... and it worked like a charm.

I'm obviously a few months behind other developers as I've only had my
Neo1973 a few days, but why is it that we run into these compiling
issues and simply deleting the files and rebuilding the single package
will get us past the error? Is it that the package (in this case, the
webkit package or openmoko-terminal2 package) get updated while we're
running our 8-hour compiles?

-id

___
OpenMoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community