OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
> Why Not Cutting Edge?
lardman
post May 17 2006, 12:55 AM
Post #16





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Hmm, ignore that bit, I've changed it now.

It should have read "If you want to compile a Zaurus 2.4.x kernel, then you need the old GCC 2.95.3 toolchain installed." Now I don't remember what machine you have, but as long as it's not a 5500/5000D, you can ignore this bit and continue.


Si
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 17 2006, 02:32 AM
Post #17





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(lardman @ May 17 2006, 09:55 AM)
It should have read "If you want to compile a Zaurus 2.4.x kernel, then you need the old GCC 2.95.3 toolchain installed." Now I don't remember what machine you have, but as long as it's not a 5500/5000D, you can ignore this bit and continue.
*

OK, I'm ready then. But what now? Do I understand it correctly that I can only compile a package for which the recipe has been entered in the onlne directory?

How can I see which packages are available?

If I wanna compile something else for which I have the sourcecode how do I do it? Or should I just compile it on the Z?
Go to the top of the page
 
+Quote Post
lardman
post May 17 2006, 03:35 AM
Post #18





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
Do I understand it correctly that I can only compile a package for which the recipe has been entered in the onlne directory?


Yes (but it's not really online, all of the meta data are downloaded onto your build machine, and then you update these data against the central repository.)

QUOTE
How can I see which packages are available?


Look in the org.openembedded.*/packages/* directories at the names of the .bb files.

QUOTE
If I wanna compile something else for which I have the sourcecode how do I do it? Or should I just compile it on the Z?


You can:

* Create a .bb (recipe) for the program and have bitbake build it automatically.
* Use the toolchain built by OE/bitbake, but don't use bitbake itself for your program.
* Install the OZ native toolchain on your Zaurus and build there.
* Use a stand-alone OZ cross-toolchain (though I can only find a link for the GPE version atm and it's basically just a packaged up version of the toolchain built by bitbake/OE anyway.)


Si
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 17 2006, 04:05 AM
Post #19





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(lardman @ May 17 2006, 12:35 PM)
Look in the org.openembedded.*/packages/* directories at the names of the .bb files.
*

OK smile.gif
CODE
debian:/home/cvs/oe/build# bitbake php
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Using cache in '/home/cvs/oe/build/tmp/cache'
ERROR: no files to build.
NOTE: Parsing finished. 0 cached, 0 parsed, 0 skipped, 0 masked.
ERROR: Nothing provides dependency php
debian:/home/cvs/oe/build#
???
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 17 2006, 04:53 AM
Post #20





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



OK, seems what the Getting Started page doesn't mention is you should set the BBFILES variable:
CODE
export BBFILES=/path_to_org.openembedded.dev/packages/*/*.bb
So I did that and it ran, but at the end:
CODE
# bitbake php
...
...
...
NOTE: Parsing finished. 0 cached, 3242 parsed, 130 skipped, 0 masked.
NOTE: build 200605171430: started

OE Build Configuration:
BB_VERSION      = "1.4.3"
OE_REVISION     = "ba16b6be903db78f8236334b0c2e2ece4be9d708"
TARGET_ARCH    = "INVALID"
TARGET_OS        = "INVALID"
MACHINE            = ""
DISTRO              = ""
DISTRO_VERSION = ""
TARGET_FPU       = ""

ERROR: The following variable(s) were not set: TARGET_ARCH, TARGET_OS
Please set them directly, or choose a MACHINE or DISTRO that sets them.
#
How should I set them and to what?

Running a 3200, OZ GPE 3.4.5.1-rc2

I didn't see anything about this in the Getting Started page... sad.gif
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 17 2006, 12:36 PM
Post #21





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



Trying further:
CODE
debian:/home/cvs/oe/build# bitbake -b /home/cvs/oe/org.openembedded.dev/packages/php/php_5.0.5.bb
NOTE: package php-5.0.5: started
NOTE: package php-5.0.5-r0: task do_fetch: started
NOTE: package php-5.0.5-r0: task do_fetch: completed
NOTE: package php-5.0.5-r0: task do_patch: started
NOTE: Applying patch 'autotools.patch'
ERROR: function do_patchcmd failed
ERROR: see log in /home/cvs/oe/build/tmp/work/php-5.0.5-r0/temp/log.do_patchcmd.6949
NOTE: Task failed: /home/cvs/oe/build/tmp/work/php-5.0.5-r0/temp/log.do_patchcmd.6949
NOTE: package php-5.0.5-r0: task do_patch: failed
ERROR: TaskFailed event exception, aborting
NOTE: package php-5.0.5: failed
ERROR: Build of 'php' failed
Build statistics:
 Attempted builds: 1
 Failed builds: 1
debian:/home/cvs/oe/build#
Can you advise me what to do?
Go to the top of the page
 
+Quote Post
koen
post May 17 2006, 01:37 PM
Post #22





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



Try watching http://handhelds.org/~zecke/org.openembedded.htm
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 17 2006, 01:51 PM
Post #23





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(koen @ May 17 2006, 10:37 PM)

OK, this explains a lot.

For the 3200 what should I put in as the device c3xx0, or c3x00, or something else?
Go to the top of the page
 
+Quote Post
koen
post May 18 2006, 01:12 AM
Post #24





Group: Members
Posts: 1,014
Joined: 4-January 05
From: Enschede, The Netherlands
Member No.: 6,107



QUOTE(ShiroiKuma @ May 17 2006, 09:51 PM)
QUOTE(koen @ May 17 2006, 10:37 PM)

OK, this explains a lot.

For the 3200 what should I put in as the device c3xx0, or c3x00, or something else?
*



you can see the list of machines in org.openembedded.dev/conf/machine/ , but 'spitz' would be the one you want
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 18 2006, 03:12 AM
Post #25





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



I've made progress, but still get stuck:
CODE
debian:/home/cvs/oe/build# bitbake php
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to increase performance.
NOTE: Using cache in '/home/cvs/oe/build/tmp/cache'
NOTE: Parsing finished. 3246 cached, 0 parsed, 135 skipped, 0 masked.
NOTE: package quilt-native-0.42: started
NOTE: package quilt-native-0.42-r0: task do_fetch: started
NOTE: fetch http://download.savannah.gnu.org/releases/quilt/quilt-0.42.tar.gz
--12:48:27--  http://download.savannah.gnu.org/releases/quilt/quilt-0.42.tar.gz
          => `/home/cvs/oe/build/tmp/downloads/quilt-0.42.tar.gz'
Resolving download.savannah.gnu.org... 199.232.41.75
Connecting to download.savannah.gnu.org|199.232.41.75|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 355,294 (347K), 307,510 (300K) remaining [application/x-tar]

100%[++++================================>] 355,294       14.27K/s    ETA 00:00

12:49:01 (9.76 KB/s) - `/home/cvs/oe/build/tmp/downloads/quilt-0.42.tar.gz' saved [355294/355294]

NOTE: package quilt-native-0.42-r0: task do_fetch: completed
NOTE: package quilt-native-0.42-r0: task do_unpack: started
NOTE: Unpacking /home/cvs/oe/build/tmp/downloads/quilt-0.42.tar.gz to /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/
NOTE: package quilt-native-0.42-r0: task do_unpack: completed
NOTE: package quilt-native-0.42-r0: task do_patch: started
NOTE: Applying patch 'install.patch'
NOTE: Applying patch 'nostrip.patch'
NOTE: package quilt-native-0.42-r0: task do_patch: completed
NOTE: package quilt-native-0.42-r0: task do_configure: started
NOTE: package quilt-native-0.42-r0: task do_configure: completed
NOTE: package quilt-native-0.42-r0: task do_compile: started
ERROR: function do_compile failed
ERROR: log data follows (/home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp/log.do_compile.6929)
| NOTE: make
| bin/quilt.in -> bin/quilt
| bin/guards.in -> bin/guards
| quilt/add.in -> quilt/add
| quilt/annotate.in -> quilt/annotate
| quilt/applied.in -> quilt/applied
| quilt/delete.in -> quilt/delete
| quilt/diff.in -> quilt/diff
| quilt/edit.in -> quilt/edit
| quilt/files.in -> quilt/files
| quilt/fold.in -> quilt/fold
| quilt/fork.in -> quilt/fork
| quilt/graph.in -> quilt/graph
| quilt/grep.in -> quilt/grep
| quilt/header.in -> quilt/header
| quilt/import.in -> quilt/import
| quilt/mail.in -> quilt/mail
| quilt/new.in -> quilt/new
| quilt/next.in -> quilt/next
| quilt/patches.in -> quilt/patches
| quilt/pop.in -> quilt/pop
| quilt/previous.in -> quilt/previous
| quilt/push.in -> quilt/push
| quilt/refresh.in -> quilt/refresh
| quilt/remove.in -> quilt/remove
| quilt/rename.in -> quilt/rename
| quilt/series.in -> quilt/series
| quilt/setup.in -> quilt/setup
| quilt/snapshot.in -> quilt/snapshot
| quilt/top.in -> quilt/top
| quilt/unapplied.in -> quilt/unapplied
| quilt/upgrade.in -> quilt/upgrade
| scripts/patchfns.in -> scripts/patchfns
| scripts/parse-patch.in -> scripts/parse-patch
| scripts/inspect.in -> scripts/inspect
| scripts/dependency-graph.in -> scripts/dependency-graph
| scripts/edmail.in -> scripts/edmail
| scripts/remove-trailing-ws.in -> scripts/remove-trailing-ws
| ccache gcc -I/home/cvs/oe/build/tmp/staging/i686-linux/include -O2 -Wall -I/home/cvs/oe/build/tmp/staging/i686-linux/include -L/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-O1 i686 lib/backup-files.c   -o lib/backup-files
| gcc: i686: No such file or directory
| make: *** [lib/backup-files] Error 1
| FATAL: oe_runmake failed
NOTE: Task failed: /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp/log.do_compile.6929
NOTE: package quilt-native-0.42-r0: task do_compile: failed
ERROR: TaskFailed event exception, aborting
NOTE: package quilt-native-0.42: failed
ERROR: Build of php failed
debian:/home/cvs/oe/build#

My conf/local.conf file
CODE
debian:/home/cvs/oe/build# cat conf/local.conf
DL_DIR="/home/cvs/oe"
BBFILES="/home/cvs/oe/org.openembedded.dev/packages/*/*.bb"

TARGET_OS="linux"
TARGET_ARCH="arm"
TARGET_FPU="soft"

MACHINE="spitz"
DISTRO="openzaurus-3.5.4.1"

IMAGE_FSTYPES="jffs2 tar"
BBINCLUDELOGS="yes"

PREFERRED_PROVIDERS="virtual/qte:qte virtual/libqpe:libqpe-opie"
PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-qpe "debian:/home/cvs/oe/build#

What is the i686 thing? Did I forget to set something?
Go to the top of the page
 
+Quote Post
lardman
post May 18 2006, 03:28 AM
Post #26





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



You have a floating 'i686' in your gcc command:

CODE
-Wl,-O1 i686 lib/backup-files.c


That shouldn't be there. I'm not sure how it's got there either (my output is identical bar that extra word.) Might be worth checking the .run file in tmp/work/i686-linux/quilt-native/temp/ to see if it's been included in an env var for some reason.


Si
Go to the top of the page
 
+Quote Post
lardman
post May 18 2006, 04:23 AM
Post #27





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



Can you post an URL to /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp/log.do_compile.6929 ?

Or come on #oe or #openzaurus and pastebin (oe.pastebin.com iirc) the contents of the file so we can take a look-see.


Si
Go to the top of the page
 
+Quote Post
Mickeyl
post May 18 2006, 04:24 AM
Post #28





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



(obligatory pointer to a workaround, because I don't like quilt...):

echo "INHERIT += 'patcher'" >> conf/local.conf

then rebuild and never pull your hairs because of quilt...
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 18 2006, 04:49 AM
Post #29





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(lardman @ May 18 2006, 12:28 PM)
You have a floating 'i686' in your gcc command:

CODE
-Wl,-O1 i686 lib/backup-files.c


That shouldn't be there. I'm not sure how it's got there either (my output is identical bar that extra word.) Might be worth checking the .run file in tmp/work/i686-linux/quilt-native/temp/ to see if it's been included in an env var for some reason.
*

There is no tmp/work/i686-linux dir, but in tmp/work/quilt-native-0.42-r0/temp/run.do_compile.6929, I have:
CODE
#!/bin/sh -e
export CPPFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include"

export sharedstatedir="/home/cvs/oe/build/tmp/staging/com"

export localstatedir="/home/cvs/oe/build/tmp/staging/var"

export palmqtdir="/opt/QtPalmtop"

export CPP="gcc -E"

export MANIFEST="/home/cvs/oe/org.openembedded.dev/packages/quilt/files/./manifest"

export mandir="/home/cvs/oe/build/tmp/staging/i686-linux/share/man"

export exec_prefix="/home/cvs/oe/build/tmp/staging/i686-linux"

export OPIEDIR="/home/cvs/oe/build/tmp/staging/i686-linux"

export STRIP="strip"

export BUILD_CC="ccache gcc"

export BUILD_LDFLAGS="-L/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-O1"

export TARGET_ARCH="i686"

export CONFIG_SITE="/home/cvs/oe/org.openembedded.dev/site/i686-linux"

export base_sbindir="/home/cvs/oe/build/tmp/staging/i686-linux/bin"

export CXX="ccache g++"

export prefix="/home/cvs/oe/build/tmp/staging"

export BUILD_CFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include -O2"

export TARGET_CXXFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -fpermissive"

export BUILD_LD="ld"

export DL_DIR="/home/cvs/oe/build/tmp/downloads"

export BUILD_RANLIB="ranlib"

export STAGING_IDLDIR="/home/cvs/oe/build/tmp/staging/i686-linux/share/idl"

export CCLD="ccache gcc"

export QMAKE_MKSPEC_PATH="/home/cvs/oe/build/tmp/staging/i686-linux/share/qmake"

export LD="ld"

export BUILD_CXXFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include -O2 -fpermissive"

export PKG_CONFIG_PATH="/home/cvs/oe/build/tmp/staging/i686-linux/share/pkgconfig"

export oldincludedir="/home/cvs/oe/build/tmp/staging/i686-linux/include"

export sysconfdir="/home/cvs/oe/build/tmp/staging/etc"

export TARGET_LDFLAGS="-L/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-O1"

export base_libdir="/home/cvs/oe/build/tmp/staging/i686-linux/lib"

export docdir="/home/cvs/oe/build/tmp/staging/i686-linux/share/doc"

export PATCH_GET="0"

export QPEDIR="/home/cvs/oe/build/tmp/staging/i686-linux"

export CXXFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include -O2"

export palmtopdir="/opt/QtPalmtop"

export QTDIR="/home/cvs/oe/build/tmp/staging/i686-linux/qt2"

export PKG_CONFIG_DISABLE_UNINSTALLED="yes"

export infodir="/home/cvs/oe/build/tmp/staging/i686-linux/share/info"

export BUILD_CCLD="gcc"

export libdir="/home/cvs/oe/build/tmp/staging/i686-linux/lib"

export datadir="/home/cvs/oe/build/tmp/staging/i686-linux/share"

export base_prefix="/home/cvs/oe/build/tmp/staging/i686-linux"

export CC="ccache gcc"

export BBPATH="/home/cvs/oe/org.openembedded.dev/packages/quilt:/home/cvs/oe/org.openembedded.dev/packages/quilt:/home/cvs/oe:/home/cvs/oe/org.openembedded.dev"

export F77="ccache g77"

export TARGET_OS="linux"

export IMAGE_FSTYPES="jffs2 tar.gz"

export RANLIB="ranlib"

export BUILD_STRIP="strip"

export MAKE="make"

export BUILD_CXX="ccache g++"

export servicedir="/home/cvs/oe/build/tmp/staging/srv"

export STAGING_SIPDIR="/home/cvs/oe/build/tmp/staging/i686-linux/share/sip"

export TARGET_CFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"

export base_bindir="/home/cvs/oe/build/tmp/staging/i686-linux/bin"

export LDFLAGS="-L/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-O1"

export BUILD_CPP="cpp"

export BUILD_F77="ccache g77"

export bindir="/home/cvs/oe/build/tmp/staging/i686-linux/bin"

export BBFILES="/home/cvs/oe/org.openembedded.dev/packages/*/*.bb"

export PATH="/home/cvs/oe/build/tmp/staging/i686-linux/bin/i686-linux:/home/cvs/oe/build/tmp/staging/i686-linux/bin:/home/cvs/oe/build/tmp/cross/bin:/home/cvs/oe/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"

export AS="as"

export AR="ar"

export libexecdir="/home/cvs/oe/build/tmp/staging/i686-linux/libexec"

export BUILD_CPPFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include"

export includedir="/home/cvs/oe/build/tmp/staging/i686-linux/include"

export sbindir="/home/cvs/oe/build/tmp/staging/i686-linux/bin"

export BUILD_AR="ar"

export CFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include -O2"

export TARGET_CPPFLAGS="-I/home/cvs/oe/build/tmp/staging/i686-linux/include"

base_do_package() {
    :

}

oewarn() {
    echo "WARNING:" "$*"

}

oe_soinstall() {
    # Purpose: Install shared library file and
    #          create the necessary links
    # Example:
    #
    # oe_
    #
    #oenote installing shared library $1 to $2
    #
    libname=`basename $1`
    install -m 755 $1 $2/$libname
    sonamelink=`readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
    solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
    ln -sf $libname $2/$sonamelink
    ln -sf $libname $2/$solink

}

autotools_do_install() {
    oe_runmake 'DESTDIR=/home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/image' install

}

oe_machinstall() {
    # Purpose: Install machine dependent files, if available
    #          If not available, check if there is a default
    #          If no default, just touch the destination
    # Example:
    #                $1  $2   $3         $4
    # oe_machinstall -m 0644 fstab /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/image/etc/fstab
    #
    # TODO: Check argument number?
    #
    filename=`basename $3`
    dirname=`dirname $3`

    for o in `echo task_do_compile:local:spitz:openzaurus-3.5.4.1:linux:i686:build-linux | tr ':' ' '`; do
 if [ -e $dirname/$o/$filename ]; then
     oenote $dirname/$o/$filename present, installing to $4
     install $1 $2 $dirname/$o/$filename $4
     return
 fi
    done
#    oenote overrides specific file NOT present, trying default=$3...
    if [ -e $3 ]; then
 oenote $3 present, installing to $4
 install $1 $2 $3 $4
    else
 oenote $3 NOT present, touching empty $4
 touch $4
    fi

}

die() {
    oefatal "$*"

}

autotools_stage_all() {
    if [ "${INHIBIT_AUTO_STAGE}" = "1" ]
    then
 return
    fi
    rm -rf /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging
    mkdir -p /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging
    oe_runmake DESTDIR="/home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging" install
    if [ -d /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/include ]; then
 cp -fpPR /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/include/* /home/cvs/oe/build/tmp/staging/i686-linux/include
    fi
    if [ -d /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/lib ]
    then
 for i in /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/lib/*.la
 do
     if [ ! -f "$i" ]; then
   cp -fpPR /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/lib/* /home/cvs/oe/build/tmp/staging/i686-linux/lib
   break
     fi
     oe_libinstall -so $(basename $i .la) /home/cvs/oe/build/tmp/staging/i686-linux/lib
 done
    fi
    if [ -d /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal ]; then
 install -d /home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal
 cp -fpPR /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal/* /home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal
    fi
    rm -rf /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging

}

oefatal() {
    echo "FATAL:" "$*"
    exit 1

}

base_do_install() {
    :

}

base_do_compile() {
    if [ -e Makefile -o -e makefile ]; then
 oe_runmake || die "make failed"
    else
 oenote "nothing to compile"
    fi

}

do_package() {
    base_do_package

}

do_stage() {
    if [ "${INHIBIT_NATIVE_STAGE_INSTALL}" != "1" ]
    then
 oe_runmake install
    fi

}

autotools_do_configure() {
    case quilt-native in
    autoconf*)
;;
    automake*)
;;
    *)
 # WARNING: gross hack follows:
 # An autotools built package generally needs these scripts, however only
 # automake or libtoolize actually install the current versions of them.
 # This is a problem in builds that do not use libtool or automake, in the case
 # where we -need- the latest version of these scripts.  e.g. running a build
 # for a package whose autotools are old, on an x86_64 machine, which the old
 # config.sub does not support.  Work around this by installing them manually
 # regardless.
 ( for ac in `find /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42 -name configure.in -o -name configure.ac`; do
     rm -f `dirname $ac`/configure
     done )
 if [ -e /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42/configure.in -o -e /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42/configure.ac ]; then
     olddir=`pwd`
     cd /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42
     if [ x"default" = xdefault ]; then
   acpaths=
   for i in `find /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42 -maxdepth 2 -name \*.m4|grep -v 'aclocal.m4'| \
       grep -v 'acinclude.m4' | sed -e 's,\(.*/\).*$,\1,'|sort -u`; do
       acpaths="$acpaths -I $i"
   done
     else
   acpaths="default"
     fi
     AUTOV=`automake --version |head -n 1 |sed "s/.* //;s/\.[0-9]\+$//"`
     automake --version
     echo "AUTOV is $AUTOV"
     install -d /home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal
     install -d /home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal-$AUTOV
     acpaths="$acpaths -I /home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal-$AUTOV -I /home/cvs/oe/build/tmp/staging/i686-linux/share/aclocal"
     # autoreconf is too shy to overwrite aclocal.m4 if it doesn't look
     # like it was auto-generated.  Work around this by blowing it away
     # by hand, unless the package specifically asked not to run aclocal.
     if ! echo --exclude=autopoint | grep -q "aclocal"; then
   rm -f aclocal.m4
     fi
     if [ -e configure.in ]; then
    CONFIGURE_AC=configure.in
     else
    CONFIGURE_AC=configure.ac
     fi
     if grep "^AM_GLIB_GNU_GETTEXT" $CONFIGURE_AC >/dev/null; then
    if grep "sed.*POTFILES" $CONFIGURE_AC >/dev/null; then
      : do nothing -- we still have an old unmodified configure.ac
    else
      oenote Executing glib-gettextize --force --copy
      echo "no" | glib-gettextize --force --copy
    fi
     fi
     if grep "^AC_PROG_INTLTOOL" $CONFIGURE_AC >/dev/null; then
    oenote Executing intltoolize --copy --force --automake
    intltoolize --copy --force --automake
     fi
     oenote Executing autoreconf --verbose --install --force --exclude=autopoint $acpaths
     mkdir -p m4
     autoreconf -Wcross --verbose --install --force --exclude=autopoint $acpaths || oefatal "autoreconf execution failed."
     cd $olddir
 fi
;;
    esac
    if [ -e /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42/configure ]; then
 oe_runconf
    else
 oenote "nothing to configure"
    fi

}

oedebug() {
    test $# -ge 2 || {
 echo "Usage: oedebug level \"message\""
 exit 1
    }

    test ${OEDEBUG:-0} -ge $1 && {
 shift
 echo "DEBUG:" $*
    }

}

base_do_stage() {
    :

}

do_compile() {
    base_do_compile

}

oe_libinstall() {
    # Purpose: Install a library, in all its forms
    # Example
    #
    # oe_libinstall libltdl /home/cvs/oe/build/tmp/staging/i686-linux/lib/
    # oe_libinstall -C src/libblah libblah /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/image//home/cvs/oe/build/tmp/staging/i686-linux/lib/
    dir=""
    libtool=""
    silent=""
    require_static=""
    require_shared=""
    staging_install=""
    while [ "$#" -gt 0 ]; do
 case "$1" in
 -C)
     shift
     dir="$1"
 ;;
 -s)
     silent=1
 ;;
 -a)
     require_static=1
 ;;
 -so)
     require_shared=1
 ;;
 -*)
     oefatal "oe_libinstall: unknown option: $1"
 ;;
 *)
     break;
 ;;
 esac
 shift
    done

    libname="$1"
    shift
    destpath="$1"
    if [ -z "$destpath" ]; then
 oefatal "oe_libinstall: no destination path specified"
    fi
    if echo "$destpath/" | egrep '^/home/cvs/oe/build/tmp/staging/i686-linux/lib/' >/dev/null
    then
 staging_install=1
    fi

    __runcmd () {
 if [ -z "$silent" ]; then
     echo >&2 "oe_libinstall: $*"
 fi
 $*
    }

    if [ -z "$dir" ]; then
 dir=`pwd`
    fi
    dotlai=$libname.lai
    dir=$dir`(cd $dir; find -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"`
    olddir=`pwd`
    __runcmd cd $dir

    lafile=$libname.la
    if [ -f "$lafile" ]; then
 # libtool archive
 eval `cat $lafile|grep "^library_names="`
 libtool=1
    else
 library_names="$libname.so* $libname.dll.a"
    fi

    __runcmd install -d $destpath/
    dota=$libname.a
    if [ -f "$dota" -o -n "$require_static" ]; then
 __runcmd install -m 0644 $dota $destpath/
    fi
    if [ -f "$dotlai" -a -n "$libtool" ]; then
 if test -n "$staging_install"
 then
     # stop libtool using the final directory name for libraries
     # in staging:
     __runcmd rm -f $destpath/$libname.la
     __runcmd sed -e 's/^installed=yes$/installed=no/' -e '/^dependency_libs=/s,/home/cvs/oe/build/tmp/work/quilt-native-0.42-r0[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/cvs/oe/build/tmp/staging/i686-linux/lib/\1,g' $dotlai >$destpath/$libname.la
 else
     __runcmd install -m 0644 $dotlai $destpath/$libname.la
 fi
    fi

    for name in $library_names; do
 files=`eval echo $name`
 for f in $files; do
     if [ ! -e "$f" ]; then
   if [ -n "$libtool" ]; then
       oefatal "oe_libinstall: $dir/$f not found."
   fi
     elif [ -L "$f" ]; then
   __runcmd cp -P "$f" $destpath/
     elif [ ! -L "$f" ]; then
   libfile="$f"
   __runcmd install -m 0755 $libfile $destpath/
     fi
 done
    done

    if [ -z "$libfile" ]; then
 if  [ -n "$require_shared" ]; then
     oefatal "oe_libinstall: unable to locate shared library"
 fi
    elif [ -z "$libtool" ]; then
 # special case hack for non-libtool .so.#.#.# links
 baselibfile=`basename "$libfile"`
 if (echo $baselibfile | grep -qE '^lib.*\.so\.[0-9.]*$'); then
     sonamelink=`readelf -d $libfile |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
     solink=`echo $baselibfile | sed -e 's/\.so\..*/.so/'`
     if [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then
   __runcmd ln -sf $baselibfile $destpath/$sonamelink
     fi
     __runcmd ln -sf $baselibfile $destpath/$solink
 fi
    fi

    __runcmd cd "$olddir"

}

oe_runmake() {
    if [ x"$MAKE" = x ]; then MAKE=make; fi
    oenote make ${PARALLEL_MAKE}  "$@"
    make ${PARALLEL_MAKE}  "$@" || die "oe_runmake failed"

}

do_install() {
    true

}

autotools_stage_includes() {
    if [ "${INHIBIT_AUTO_STAGE_INCLUDES}" != "1" ]
    then
 rm -rf /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging
 mkdir -p /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging
 make DESTDIR="/home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging" install
 cp -pPR /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging//home/cvs/oe/build/tmp/staging/i686-linux/include/* /home/cvs/oe/build/tmp/staging/i686-linux/include
 rm -rf /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/temp-staging
    fi

}

oe_runconf() {
    if [ -x /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42/configure ]; then
 cfgcmd="/home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42/configure \
     --build=i686-linux \
     --host=i686-linux \
     --target=i686-linux \
     --prefix=/home/cvs/oe/build/tmp/staging \
     --exec_prefix=/home/cvs/oe/build/tmp/staging/i686-linux \
     --bindir=/home/cvs/oe/build/tmp/staging/i686-linux/bin \
     --sbindir=/home/cvs/oe/build/tmp/staging/i686-linux/bin \
     --libexecdir=/home/cvs/oe/build/tmp/staging/i686-linux/libexec \
     --datadir=/home/cvs/oe/build/tmp/staging/i686-linux/share \
     --sysconfdir=/home/cvs/oe/build/tmp/staging/etc \
     --sharedstatedir=/home/cvs/oe/build/tmp/staging/com \
     --localstatedir=/home/cvs/oe/build/tmp/staging/var \
     --libdir=/home/cvs/oe/build/tmp/staging/i686-linux/lib \
     --includedir=/home/cvs/oe/build/tmp/staging/i686-linux/include \
     --oldincludedir=/home/cvs/oe/build/tmp/staging/i686-linux/include \
     --infodir=/home/cvs/oe/build/tmp/staging/i686-linux/share/info \
     --mandir=/home/cvs/oe/build/tmp/staging/i686-linux/share/man \
     --disable-nls \
     $@"
 oenote "Running $cfgcmd..."
 $cfgcmd || oefatal "oe_runconf failed"
    else
 oefatal "no configure script found"
    fi

}

do_configure() {
    oe_runconf

}

oenote() {
    echo "NOTE:" "$*"

}

MIRRORS() {
ftp://ftp.debian.org/debian/pool/main    http://snapshot.debian.net/archive/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.de.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.au.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.cl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.hr.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.fi.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.hk.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.hu.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.ie.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.it.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.jp.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.no.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.pl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.ro.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.si.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.es.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.se.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool    ftp://ftp.tr.debian.org/debian/pool
ftp://ftp.gnu.org/gnu    ftp://mirrors.kernel.org/gnu
ftp://ftp.gnu.org/gnu    ftp://ftp.matrix.com.br/pub/gnu
ftp://ftp.gnu.org/gnu    ftp://ftp.cs.ubc.ca/mirror2/gnu
ftp://ftp.gnu.org/gnu    ftp://sunsite.ust.hk/pub/gnu
ftp://ftp.gnu.org/gnu    ftp://ftp.ayamura.org/pub/gnu
ftp://ftp.kernel.org/pub    http://www.kernel.org/pub
ftp://ftp.kernel.org/pub    ftp://ftp.us.kernel.org/pub
ftp://ftp.kernel.org/pub    ftp://ftp.uk.kernel.org/pub
ftp://ftp.kernel.org/pub    ftp://ftp.hk.kernel.org/pub
ftp://ftp.kernel.org/pub    ftp://ftp.au.kernel.org/pub
ftp://ftp.kernel.org/pub    ftp://ftp.jp.kernel.org/pub
ftp://.*/.*/    http://www.oesources.org/source/current/
http://.*/.*/    http://www.oesources.org/source/current/

}

base_do_configure() {
    :

}

cd /home/cvs/oe/build/tmp/work/quilt-native-0.42-r0/quilt-0.42
do_compile
...
i686 all over

and log.do_compile.6929:
CODE
NOTE: make
bin/quilt.in -> bin/quilt
bin/guards.in -> bin/guards
quilt/add.in -> quilt/add
quilt/annotate.in -> quilt/annotate
quilt/applied.in -> quilt/applied
quilt/delete.in -> quilt/delete
quilt/diff.in -> quilt/diff
quilt/edit.in -> quilt/edit
quilt/files.in -> quilt/files
quilt/fold.in -> quilt/fold
quilt/fork.in -> quilt/fork
quilt/graph.in -> quilt/graph
quilt/grep.in -> quilt/grep
quilt/header.in -> quilt/header
quilt/import.in -> quilt/import
quilt/mail.in -> quilt/mail
quilt/new.in -> quilt/new
quilt/next.in -> quilt/next
quilt/patches.in -> quilt/patches
quilt/pop.in -> quilt/pop
quilt/previous.in -> quilt/previous
quilt/push.in -> quilt/push
quilt/refresh.in -> quilt/refresh
quilt/remove.in -> quilt/remove
quilt/rename.in -> quilt/rename
quilt/series.in -> quilt/series
quilt/setup.in -> quilt/setup
quilt/snapshot.in -> quilt/snapshot
quilt/top.in -> quilt/top
quilt/unapplied.in -> quilt/unapplied
quilt/upgrade.in -> quilt/upgrade
scripts/patchfns.in -> scripts/patchfns
scripts/parse-patch.in -> scripts/parse-patch
scripts/inspect.in -> scripts/inspect
scripts/dependency-graph.in -> scripts/dependency-graph
scripts/edmail.in -> scripts/edmail
scripts/remove-trailing-ws.in -> scripts/remove-trailing-ws
ccache gcc -I/home/cvs/oe/build/tmp/staging/i686-linux/include -O2 -Wall -I/home/cvs/oe/build/tmp/staging/i686-linux/include -L/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-rpath,/home/cvs/oe/build/tmp/staging/i686-linux/lib -Wl,-O1 i686 lib/backup-files.c   -o lib/backup-files
gcc: i686: No such file or directory
make: *** [lib/backup-files] Error 1
FATAL: oe_runmake failed

I've never used IRC, I'll gladly come online, if you tell me how, sorry sad.gif
Go to the top of the page
 
+Quote Post
ShiroiKuma
post May 18 2006, 04:51 AM
Post #30





Group: Members
Posts: 902
Joined: 22-May 04
Member No.: 3,385



QUOTE(Mickeyl @ May 18 2006, 01:24 PM)
(obligatory pointer to a workaround, because I don't like quilt...):

echo "INHERIT += 'patcher'" >> conf/local.conf

Did this...
QUOTE
then rebuild and never pull your hairs because of quilt...
*

Same outcome, perhaps it's not rebuilding, but starting where it left off. How do you start from scratch?
Go to the top of the page
 
+Quote Post

4 Pages V  < 1 2 3 4 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 15th September 2014 - 11:30 PM