All of lore.kernel.org
 help / color / mirror / Atom feed
* abort()ing pseudo client by server request
@ 2022-03-22  7:11 Vasyl Vavrychuk
  0 siblings, 0 replies; only message in thread
From: Vasyl Vavrychuk @ 2022-03-22  7:11 UTC (permalink / raw)
  To: OE-core

I run

    bitbake hello -c clean && \
        bitbake hello && \
        echo >> meta/recipes-example/hello/files/main.c && \
        bitbake hello

but it fails with

    abort()ing pseudo client by server request

pseudo.log contains

    path mismatch [3 links]: ino 764030498 db
'.../hello/1.0-r0/package/usr/src/debug/hello/1.0-r0/hello.h' req
'.../hello/1.0-r0/hello.h'.

Tested on honister, recipe and sources are below, would be grateful for help.

meta/recipes-example/hello/hello.bb:

LICENSE = "CLOSED"

SRC_URI = " \
    file://hello.h \
    file://main.c \
    file://Makefile \
"

S = "${WORKDIR}"

do_install() {
    install -d ${D}${bindir}
    install -m 0755 hello ${D}${bindir}

    install -d ${D}${includedir}
    install -m 0644 ${S}/hello.h ${D}${includedir}
}

SSTATE_SKIP_CREATION = "1"

--------------------------------------------------------------------------------
meta/recipes-example/hello/files/Makefile:

CFLAGS += -O0

hello: main.o
        $(CC) $(LDFLAGS) $^ -o $@ $(LOADLIBES) $(LDLIBS)

clean:
        rm -f hello *.o

--------------------------------------------------------------------------------
meta/recipes-example/hello/files/hello.h:

#ifndef _HELLO_H
#define _HELLO_H

struct hello {
        int dummy;
};

#endif /* _HELLO_H */

--------------------------------------------------------------------------------
meta/recipes-example/hello/files/main.c:

#include "hello.h"

int main(int argc, char *argv[])
{
        struct hello hello;
        memset(&hello, 0, sizeof(hello));
        return 0;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-22  7:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22  7:11 abort()ing pseudo client by server request Vasyl Vavrychuk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.