[oe] krb recipe
Tim Ellis
tim at ngndg.com
Sat Jan 31 14:59:39 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
> }
>
> foonas email is a bit broken so using this one atm. I am unable to
> recreate a failure here - I am unsure also why it would fail for you
> or need a subsequent do_configure, do you have more information? I
> can put this in a do_unpack - since this ships as a signed tar.gz in
> a tar archive this looked like the least messy way to do it.
>
> - 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
>
> Since I am working with angstrom I am unable to recreate this
> unfortunately. It would be great if we can track down what exactly
> is doing this though to make it fail for your distribution. I will
> take a look.
>
> Tim
More information about the Openembedded-devel
mailing list