[oe] krb recipe

Mike (mwester) mwester at dls.net
Sat Jan 31 06:49:51 UTC 2009


- This doesn't work.  First, I don't think the unpack belongs in do_configure, but be that as it may.  The big issue is that the patch creates a source file, which causes patching to fail because the source file already exists for any subsequent attempt to run do_configure.

do_configure() {
        tar xzf ${WORKDIR}/krb5-1.6.3.tar.gz -C ${WORKDIR}/
        patch -p1 < ${WORKDIR}/fix-uclibc-ruserpass-collision.patch
        oe_runconf
}



- do_configure failes if TARGET_LINK_HASH_STYLE is not set.  Right now it's only set for Angstrom distros, so this recipe only builds for Angstrom.  Note the extra space between "-O1" and "-lpthread" in the first line; something stripped extra white space as it was passed through somewhere.

configure: error: `LDFLAGS' has changed since the previous run:
configure:   former value:  -L/u/slug/slugos/tmp/staging/armv5teb-linux-gnueabi/usr/lib -Wl,-rpath-link,/u/slug/slugos/\
tmp/staging/armv5teb-linux-gnueabi/usr/lib -Wl,-O1  -lpthread
configure:   current value: -L/u/slug/slugos/tmp/staging/armv5teb-linux-gnueabi/usr/lib -Wl,-rpath-link,/u/slug/slugos/\
tmp/staging/armv5teb-linux-gnueabi/usr/lib -Wl,-O1 -lpthread
configure: error: changes in the environment can compromise the build


Regards,
Mike (mwester)




More information about the Openembedded-devel mailing list