Skip to contentSkip to conversation

krb recipe

DISCUSSION Tim Ellis 1 participant 1 message Jan 31, 2009 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Tim Ellis

author
#1 lore raw
Quoted 29 lines

- 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