Skip to contentSkip to conversation

uxen-guest-tools: inherit dos2unix to fix do_patch failure

PATCH Applied Martin Jansa 3 participants 7 messages Jul 23, 2021 – Dec 8, 2021 3 messages 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]

#1 lore raw

Now with do_patch fixed it fails a bit later in do_compile with:

| make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent
make rule.
| make[1]: Entering directory
'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source'
| make[2]: Entering directory
'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'
| CC [M]
/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.o
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
In function 'uxen_hypercall_init':
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:127:24:
error: too many arguments to function '__vmalloc'
| 127 | uxen_hcbase = __vmalloc(PAGE_SIZE, GFP_KERNEL,
PAGE_KERNEL_EXEC);

|       |                        ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:9:
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/vmalloc.h:131:14:
note: declared here

|   131 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
|       |              ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:21,
| from
/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:3:
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
At top level:
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:43:
error: expected ',' or ';' before 'KBUILD_MODFILE'

|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                                           ^~~~~~~~~~~~~~
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/moduleparam.h:26:61:
note: in definition of macro '__MODULE_INFO'
|    26 |                 = __MODULE_INFO_PREFIX __stringify(tag) "=" info
|       |                                                             ^~~~
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:25:
note: in expansion of macro 'MODULE_INFO'
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                         ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:229:34:
note: in expansion of macro 'MODULE_FILE'
| 229 | #define MODULE_LICENSE(_license) MODULE_FILE MODULE_INFO(license,
_license)

|       |                                  ^~~~~~~~~~~
|
/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:156:1:
note: in expansion of macro 'MODULE_LICENSE'
|   156 | MODULE_LICENSE("GPL");
|       | ^~~~~~~~~~~~~~

at least with oe-core/master, will check with older kernel in dunfell next.

Quoted 37 lines · Martin Jansa via lists.yoctoproject.org

* fixes:
ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt
--quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch
patching file Makefile
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 19 (different line endings).
2 out of 2 hunks FAILED -- rejects in file Makefile
Patch fix-Makefile-for-OE-kernel-build.patch does not apply (enforce
with -f)

---
 recipes-extended/uxen/uxen-guest-tools_4.1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +0 -0
index 757f1e3..4dcfe51 100644
@@ -19,4 +19,4 @@ LIC_FILES_CHKSUM =

"file://../Bromium-4.1.8-Open-Source-Software.pdf;md5=cf120df

S = "${WORKDIR}/uxen-vmsupport-linux-${PV}"

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +1 -2
-inherit module
+inherit module dos2unix
--

2.30.2

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

#3 lore raw

it builds ok with 5.4 in dunfell now, only gatesgarth with 5.8 and newer with 5.10 kernel are broken

Quoted 105 lines · Martin Jansa via lists.yoctoproject.org

Now with do_patch fixed it fails a bit later in do_compile with:

| make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent
make rule.
| make[1]: Entering directory
'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source'
| make[2]: Entering directory
'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'
| CC [M]
/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.o
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
In function 'uxen_hypercall_init':
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:127:24:
error: too many arguments to function '__vmalloc'
| 127 | uxen_hcbase = __vmalloc(PAGE_SIZE, GFP_KERNEL,
PAGE_KERNEL_EXEC);

|       |                        ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:9:
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/vmalloc.h:131:14:
note: declared here

|   131 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
|       |              ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:21,
| from
/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:3:
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
At top level:
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:43:
error: expected ',' or ';' before 'KBUILD_MODFILE'

|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                                           ^~~~~~~~~~~~~~
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/moduleparam.h:26:61:
note: in definition of macro '__MODULE_INFO'
|    26 |                 = __MODULE_INFO_PREFIX __stringify(tag) "=" info
|       |                                                             ^~~~
|
/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:25:
note: in expansion of macro 'MODULE_INFO'
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                         ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:229:34:
note: in expansion of macro 'MODULE_FILE'
| 229 | #define MODULE_LICENSE(_license) MODULE_FILE
MODULE_INFO(license, _license)

|       |                                  ^~~~~~~~~~~
|
/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:156:1:
note: in expansion of macro 'MODULE_LICENSE'
|   156 | MODULE_LICENSE("GPL");
|       | ^~~~~~~~~~~~~~

at least with oe-core/master, will check with older kernel in dunfell next.

Quoted 37 lines · Martin Jansa via lists.yoctoproject.org

* fixes:
ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt
--quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch
patching file Makefile
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 19 (different line endings).
2 out of 2 hunks FAILED -- rejects in file Makefile
Patch fix-Makefile-for-OE-kernel-build.patch does not apply (enforce
with -f)

---
 recipes-extended/uxen/uxen-guest-tools_4.1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +0 -0
index 757f1e3..4dcfe51 100644
@@ -19,4 +19,4 @@ LIC_FILES_CHKSUM =

"file://../Bromium-4.1.8-Open-Source-Software.pdf;md5=cf120df

S = "${WORKDIR}/uxen-vmsupport-linux-${PV}"

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +1 -2
-inherit module
+inherit module dos2unix
--

2.30.2

#4 lore raw
Quoted 3 lines · Martin Jansa

it builds ok with 5.4 in dunfell now, only gatesgarth with 5.8 and newer with 5.10 kernel are broken

I've applied your patch, and have pushed it to the repo.

I'm also seeing the build failure now.

I tried to bump the version of the package, but it still has the same kernel build issue. (my efforts are here:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?h=master-test&id=3ae2e9b3036890968cb9b152d128db9b47f01c89)

Christoper: did you want to take a look at the uprev / fix of the build ?

Bruce

Quoted 75 lines · Martin Jansa via lists.yoctoproject.org
Quoted 71 lines

Now with do_patch fixed it fails a bit later in do_compile with:

| make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
| make[1]: Entering directory '/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source'
| make[2]: Entering directory '/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'
|   CC [M]  /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.o
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c: In function 'uxen_hypercall_init':
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:127:24: error: too many arguments to function '__vmalloc'
|   127 |         uxen_hcbase =  __vmalloc(PAGE_SIZE, GFP_KERNEL, PAGE_KERNEL_EXEC);
|       |                        ^~~~~~~~~
| In file included from /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:9:
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/vmalloc.h:131:14: note: declared here
|   131 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
|       |              ^~~~~~~~~
| In file included from /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:21,
|                  from /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:3:
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c: At top level:
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:43: error: expected ',' or ';' before 'KBUILD_MODFILE'
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                                           ^~~~~~~~~~~~~~
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/moduleparam.h:26:61: note: in definition of macro '__MODULE_INFO'
|    26 |                 = __MODULE_INFO_PREFIX __stringify(tag) "=" info
|       |                                                             ^~~~
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:25: note: in expansion of macro 'MODULE_INFO'
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                         ^~~~~~~~~~~
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:229:34: note: in expansion of macro 'MODULE_FILE'
|   229 | #define MODULE_LICENSE(_license) MODULE_FILE MODULE_INFO(license, _license)
|       |                                  ^~~~~~~~~~~
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:156:1: note: in expansion of macro 'MODULE_LICENSE'
|   156 | MODULE_LICENSE("GPL");
|       | ^~~~~~~~~~~~~~

at least with oe-core/master, will check with older kernel in dunfell next.

Quoted 31 lines · Martin Jansa via lists.yoctoproject.org

* fixes:
ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch
patching file Makefile
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 19 (different line endings).
2 out of 2 hunks FAILED -- rejects in file Makefile
Patch fix-Makefile-for-OE-kernel-build.patch does not apply (enforce with -f)

---
 recipes-extended/uxen/uxen-guest-tools_4.1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +1 -2
index 757f1e3..4dcfe51 100644
@@ -19,4 +19,4 @@ LIC_FILES_CHKSUM = "file://../Bromium-4.1.8-Open-Source-Software.pdf;md5=cf120df
 
 S = "${WORKDIR}/uxen-vmsupport-linux-${PV}"
 
-inherit module
+inherit module dos2unix
--

2.30.2

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#5 lore raw
Quoted 8 lines · Bruce Ashfield
Quoted 3 lines · Martin Jansa

it builds ok with 5.4 in dunfell now, only gatesgarth with 5.8 and newer with 5.10 kernel are broken

I've applied your patch, and have pushed it to the repo.

Quoted 7 lines

I'm also seeing the build failure now.

I tried to bump the version of the package, but it still has the same kernel build issue. (my efforts are here:
https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?h=master-test&id=3ae2e9b3036890968cb9b152d128db9b47f01c89)

Christoper: did you want to take a look at the uprev / fix of the build ?

A quick update on this: I did take a look and repro'd the build failure with the current Linux 5.10 kernel.
I've filed a ticket on the upstream project issue tracker with some details and am waiting on a response.

Christopher

Quoted 85 lines

Bruce

Quoted 61 lines · Martin Jansa via lists.yoctoproject.org
Quoted 60 lines

Now with do_patch fixed it fails a bit later in do_compile with:

| make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
| make[1]: Entering directory '/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source'
| make[2]: Entering directory '/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'
|   CC [M]  /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.o
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c: In function 'uxen_hypercall_init':
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:127:24: error: too many arguments to function '__vmalloc'
|   127 |         uxen_hcbase =  __vmalloc(PAGE_SIZE, GFP_KERNEL, PAGE_KERNEL_EXEC);
|       |                        ^~~~~~~~~
| In file included from /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:9:
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/vmalloc.h:131:14: note: declared here
|   131 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
|       |              ^~~~~~~~~
| In file included from /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:21,
|                  from /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:3:
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c: At top level:
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:43: error: expected ',' or ';' before 'KBUILD_MODFILE'
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                                           ^~~~~~~~~~~~~~
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/moduleparam.h:26:61: note: in definition of macro '__MODULE_INFO'
|    26 |                 = __MODULE_INFO_PREFIX __stringify(tag) "=" info
|       |                                                             ^~~~
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:25: note: in expansion of macro 'MODULE_INFO'
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                         ^~~~~~~~~~~
| /OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:229:34: note: in expansion of macro 'MODULE_FILE'
|   229 | #define MODULE_LICENSE(_license) MODULE_FILE MODULE_INFO(license, _license)
|       |                                  ^~~~~~~~~~~
| /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:156:1: note: in expansion of macro 'MODULE_LICENSE'
|   156 | MODULE_LICENSE("GPL");
|       | ^~~~~~~~~~~~~~

at least with oe-core/master, will check with older kernel in dunfell next.

Quoted 23 lines · Martin Jansa via lists.yoctoproject.org

* fixes:
ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt --quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch
patching file Makefile
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 19 (different line endings).
2 out of 2 hunks FAILED -- rejects in file Makefile
Patch fix-Makefile-for-OE-kernel-build.patch does not apply (enforce with -f)

---
 recipes-extended/uxen/uxen-guest-tools_4.1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +0 -0
index 757f1e3..4dcfe51 100644
@@ -19,4 +19,4 @@ LIC_FILES_CHKSUM = "file://../Bromium-4.1.8-Open-Source-Software.pdf;md5=cf120df
 
 S = "${WORKDIR}/uxen-vmsupport-linux-${PV}"
 
Quoted 14 lines
Quoted 11 lines
Quoted 8 lines
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +1 -2
-inherit module
+inherit module dos2unix
--

2.30.2

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#6 lore raw

Hi Christopher,

any update on this?

Bruce tried to fix this MODULE_LICENSE issue recently in:
https://git.yoctoproject.org/meta-virtualization/diff/recipes-extended/uxen/uxen-guest-tools/0001-vm-support-fix-build-for-kernel-s-5.4.patch?id=844f4e1d7be32b4888193357d944fcf84170d019

but it still fails for newer kernel as shown in:
https://lists.yoctoproject.org/g/meta-virtualization/message/6927

Regards,

Quoted 155 lines · Christopher Clark
Quoted 2 lines · Bruce Ashfield

On Fri, Jul 23, 2021 at 9:29 AM Martin Jansa <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

it builds ok with 5.4 in dunfell now, only gatesgarth with 5.8 and

newer with 5.10 kernel are broken

Quoted 9 lines
Quoted 1 line

I've applied your patch, and have pushed it to the repo.

I'm also seeing the build failure now.

I tried to bump the version of the package, but it still has the same kernel build issue. (my efforts are here:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?h=master-test&id=3ae2e9b3036890968cb9b152d128db9b47f01c89
)

Quoted 2 lines

Christoper: did you want to take a look at the uprev / fix of the build ?

A quick update on this: I did take a look and repro'd the build failure with the current Linux 5.10 kernel.
I've filed a ticket on the upstream project issue tracker with some details and am waiting on a response.

Christopher

Quoted 5 lines

Bruce

Quoted 1 line

On Fri, Jul 23, 2021 at 2:54 PM Martin Jansa via

lists.yoctoproject.org <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines

Now with do_patch fixed it fails a bit later in do_compile with:

| make[1]: warning: jobserver unavailable: using -j1. Add '+' to

parent make rule.

Quoted 1 line
Quoted 1 line
Quoted 1 line

| make[1]: Entering directory

'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| make[2]: Entering directory

'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| CC [M]

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.o

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
In function 'uxen_hypercall_init':

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:127:24:
error: too many arguments to function '__vmalloc'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 127 | uxen_hcbase = __vmalloc(PAGE_SIZE, GFP_KERNEL,

PAGE_KERNEL_EXEC);

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
|       |                        ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:9:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/vmalloc.h:131:14:
note: declared here

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   131 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
|       |              ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:21,

Quoted 1 line
Quoted 1 line
Quoted 1 line

| from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:3:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
At top level:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:43:
error: expected ',' or ';' before 'KBUILD_MODFILE'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                                           ^~~~~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/moduleparam.h:26:61:
note: in definition of macro '__MODULE_INFO'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 26 | = __MODULE_INFO_PREFIX __stringify(tag) "="

info

Quoted 1 line
Quoted 1 line
Quoted 1 line

| |

^~~~

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:25:
note: in expansion of macro 'MODULE_INFO'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                         ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:229:34:
note: in expansion of macro 'MODULE_FILE'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 229 | #define MODULE_LICENSE(_license) MODULE_FILE

MODULE_INFO(license, _license)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
|       |                                  ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:156:1:
note: in expansion of macro 'MODULE_LICENSE'

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
|   156 | MODULE_LICENSE("GPL");
|       | ^~~~~~~~~~~~~~

at least with oe-core/master, will check with older kernel in dunfell

next.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Fri, Jul 23, 2021 at 2:46 PM Martin Jansa via

lists.yoctoproject.org <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

* fixes:
ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt

--quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch patching file Makefile
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 19 (different line endings).
2 out of 2 hunks FAILED -- rejects in file Makefile Patch fix-Makefile-for-OE-kernel-build.patch does not apply

(enforce with -f)

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Review

Quoted 7 lines
---
 recipes-extended/uxen/uxen-guest-tools_4.1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/recipes-extended/uxen/uxen-guest-tools_4.1.7.bb

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb LIC_FILES_CHKSUM =

Quoted 4 lines

index 757f1e3..4dcfe51 100644

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +0 -0
@@ -19,4 +19,4 @@ LIC_FILES_CHKSUM =

"file://../Bromium-4.1.8-Open-Source-Software.pdf;md5=cf120df

Quoted 23 lines
Quoted 17 lines
Quoted 14 lines
Quoted 11 lines
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +1 -2
 S = "${WORKDIR}/uxen-vmsupport-linux-${PV}"
 
-inherit module
+inherit module dos2unix
--

2.30.2

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

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

#8 lore raw

I've found the cause of MODULE_LICENSE issue and sent updated PATCHv2, see:
https://lists.yoctoproject.org/g/meta-virtualization/message/6929
https://lists.yoctoproject.org/g/meta-virtualization/message/6930

Christopher can you please try to upstream these changes for newer kernels? Me and Bruce both failed to find up2date upstream repo, but you mentioned before that you have reported the issue in some upstream bugtracker (where you can possibly propose these changes).

I never used uxen-guest-tools, I was fixing it just to resolve build failures in world builds, so I haven't tested it in runtime at all.

Regards,

Quoted 176 lines · Martin Jansa via lists.yoctoproject.org

Hi Christopher,

any update on this?

Bruce tried to fix this MODULE_LICENSE issue recently in:

https://git.yoctoproject.org/meta-virtualization/diff/recipes-extended/uxen/uxen-guest-tools/0001-vm-support-fix-build-for-kernel-s-5.4.patch?id=844f4e1d7be32b4888193357d944fcf84170d019

but it still fails for newer kernel as shown in:
https://lists.yoctoproject.org/g/meta-virtualization/message/6927

Regards,

Quoted 156 lines · Christopher Clark
Quoted 2 lines · Bruce Ashfield

On Fri, Jul 23, 2021 at 9:29 AM Martin Jansa <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

it builds ok with 5.4 in dunfell now, only gatesgarth with 5.8 and

newer with 5.10 kernel are broken

Quoted 9 lines
Quoted 1 line

I've applied your patch, and have pushed it to the repo.

I'm also seeing the build failure now.

I tried to bump the version of the package, but it still has the same kernel build issue. (my efforts are here:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?h=master-test&id=3ae2e9b3036890968cb9b152d128db9b47f01c89
)

Quoted 2 lines

Christoper: did you want to take a look at the uprev / fix of the build

?

A quick update on this: I did take a look and repro'd the build failure with the current Linux 5.10 kernel.
I've filed a ticket on the upstream project issue tracker with some details and am waiting on a response.

Christopher

Quoted 5 lines

Bruce

Quoted 1 line

On Fri, Jul 23, 2021 at 2:54 PM Martin Jansa via

lists.yoctoproject.org <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines

Now with do_patch fixed it fails a bit later in do_compile with:

| make[1]: warning: jobserver unavailable: using -j1. Add '+' to

parent make rule.

Quoted 1 line
Quoted 1 line
Quoted 1 line

| make[1]: Entering directory

'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| make[2]: Entering directory

'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| CC [M]

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.o

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
In function 'uxen_hypercall_init':

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:127:24:
error: too many arguments to function '__vmalloc'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 127 | uxen_hcbase = __vmalloc(PAGE_SIZE, GFP_KERNEL,

PAGE_KERNEL_EXEC);

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
|       |                        ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:9:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/vmalloc.h:131:14:
note: declared here

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   131 | extern void *__vmalloc(unsigned long size, gfp_t gfp_mask);
|       |              ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:21,

Quoted 1 line
Quoted 1 line
Quoted 1 line

| from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:3:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
At top level:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:43:
error: expected ',' or ';' before 'KBUILD_MODFILE'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                                           ^~~~~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/moduleparam.h:26:61:
note: in definition of macro '__MODULE_INFO'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 26 | = __MODULE_INFO_PREFIX __stringify(tag)

"=" info

Quoted 1 line
Quoted 1 line
Quoted 1 line

| |

^~~~

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:25:
note: in expansion of macro 'MODULE_INFO'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                         ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:229:34:
note: in expansion of macro 'MODULE_FILE'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 229 | #define MODULE_LICENSE(_license) MODULE_FILE

MODULE_INFO(license, _license)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
|       |                                  ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:156:1:
note: in expansion of macro 'MODULE_LICENSE'

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
|   156 | MODULE_LICENSE("GPL");
|       | ^~~~~~~~~~~~~~

at least with oe-core/master, will check with older kernel in

dunfell next.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Fri, Jul 23, 2021 at 2:46 PM Martin Jansa via

lists.yoctoproject.org <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

* fixes:
ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt

--quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch patching file Makefile
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 19 (different line endings).
2 out of 2 hunks FAILED -- rejects in file Makefile Patch fix-Makefile-for-OE-kernel-build.patch does not apply

(enforce with -f)

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Review

Quoted 7 lines
---
 recipes-extended/uxen/uxen-guest-tools_4.1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/recipes-extended/uxen/uxen-guest-tools_4.1.7.bb

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb LIC_FILES_CHKSUM =

Quoted 4 lines

index 757f1e3..4dcfe51 100644

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +0 -0
@@ -19,4 +19,4 @@ LIC_FILES_CHKSUM =

"file://../Bromium-4.1.8-Open-Source-Software.pdf;md5=cf120df

Quoted 23 lines
Quoted 17 lines
Quoted 14 lines
Quoted 11 lines
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +1 -2
 S = "${WORKDIR}/uxen-vmsupport-linux-${PV}"
 
-inherit module
+inherit module dos2unix
--

2.30.2

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#9 lore raw
Quoted 4 lines · Martin Jansa

I've found the cause of MODULE_LICENSE issue and sent updated PATCHv2, see:
https://lists.yoctoproject.org/g/meta-virtualization/message/6929
https://lists.yoctoproject.org/g/meta-virtualization/message/6930

Hi Martin, Bruce

Apologies for taking a long time to reply to the work on the uxen tools and thanks to both of you for your patches.

Quoted 5 lines

Christopher can you please try to upstream these changes for newer kernels? Me and Bruce both failed to find up2date upstream repo, but you mentioned before that you have reported the issue in some upstream bugtracker (where you can possibly propose these changes).

Ack, and I agree, I would like to get this fixed upstream to retire the patches. The issue tracker is https://github.com/uxen-virt/uxen/issues and I'll add a reference to that to the recipe in my next update to it.

Quoted 4 lines

I never used uxen-guest-tools, I was fixing it just to resolve build failures in world builds, so I haven't tested it in runtime at all.

Ack - thanks for addressing the build issue. I've now studied the patches, the uxen tools driver code and code in Linux, and believe that some additional changes may be necessary for the newer kernels - I will look into that (I will need a bit of time, with holidays, end of year etc. - hope that's ok).

Christopher

Quoted 183 lines

Regards,

Quoted 177 lines · Martin Jansa via lists.yoctoproject.org

Hi Christopher,

any update on this?

Bruce tried to fix this MODULE_LICENSE issue recently in:

https://git.yoctoproject.org/meta-virtualization/diff/recipes-extended/uxen/uxen-guest-tools/0001-vm-support-fix-build-for-kernel-s-5.4.patch?id=844f4e1d7be32b4888193357d944fcf84170d019

but it still fails for newer kernel as shown in:
https://lists.yoctoproject.org/g/meta-virtualization/message/6927

Regards,

Quoted 157 lines · Christopher Clark
Quoted 2 lines · Bruce Ashfield

On Fri, Jul 23, 2021 at 9:29 AM Martin Jansa <[email protected]>

Quoted 2 lines · wrote:
Quoted 2 lines

it builds ok with 5.4 in dunfell now, only gatesgarth with 5.8 and

newer with 5.10 kernel are broken

Quoted 9 lines
Quoted 1 line

I've applied your patch, and have pushed it to the repo.

I'm also seeing the build failure now.

I tried to bump the version of the package, but it still has the same kernel build issue. (my efforts are here:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?h=master-test&id=3ae2e9b3036890968cb9b152d128db9b47f01c89
)

Quoted 2 lines

Christoper: did you want to take a look at the uprev / fix of the

build ?

A quick update on this: I did take a look and repro'd the build failure with the current Linux 5.10 kernel.
I've filed a ticket on the upstream project issue tracker with some details and am waiting on a response.

Christopher

Quoted 5 lines

Bruce

Quoted 1 line

On Fri, Jul 23, 2021 at 2:54 PM Martin Jansa via

lists.yoctoproject.org <[email protected]>

Quoted 4 lines · wrote:
Quoted 4 lines
Quoted 4 lines

Now with do_patch fixed it fails a bit later in do_compile with:

| make[1]: warning: jobserver unavailable: using -j1. Add '+' to

parent make rule.

Quoted 1 line
Quoted 1 line
Quoted 1 line

| make[1]: Entering directory

'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| make[2]: Entering directory

'/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-build-artifacts'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| CC [M]

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.o

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
In function 'uxen_hypercall_init':

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:127:24:
error: too many arguments to function '__vmalloc'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 127 | uxen_hcbase = __vmalloc(PAGE_SIZE, GFP_KERNEL,

PAGE_KERNEL_EXEC);

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
|       |                        ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:9:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/vmalloc.h:131:14:
note: declared here

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 131 | extern void *__vmalloc(unsigned long size, gfp_t

gfp_mask);

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
|       |              ^~~~~~~~~
| In file included from

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:21,

Quoted 1 line
Quoted 1 line
Quoted 1 line

| from

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:3:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:
At top level:

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:43:
error: expected ',' or ';' before 'KBUILD_MODFILE'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                                           ^~~~~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/moduleparam.h:26:61:
note: in definition of macro '__MODULE_INFO'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 26 | = __MODULE_INFO_PREFIX __stringify(tag)

"=" info

Quoted 1 line
Quoted 1 line
Quoted 1 line

| |

^~~~

Quoted 1 line
Quoted 1 line
Quoted 1 line

|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:182:25:
note: in expansion of macro 'MODULE_INFO'

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
|   182 | #define MODULE_FILE     MODULE_INFO(file, KBUILD_MODFILE);
|       |                         ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work-shared/qemux86-64/kernel-source/include/linux/module.h:229:34:
note: in expansion of macro 'MODULE_FILE'

Quoted 1 line
Quoted 1 line
Quoted 1 line

| 229 | #define MODULE_LICENSE(_license) MODULE_FILE

MODULE_INFO(license, _license)

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
|       |                                  ^~~~~~~~~~~
|

/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/uxen-vmsupport-linux-4.1.7/uxenhc/hypercall.c:156:1:
note: in expansion of macro 'MODULE_LICENSE'

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
|   156 | MODULE_LICENSE("GPL");
|       | ^~~~~~~~~~~~~~

at least with oe-core/master, will check with older kernel in

dunfell next.

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

On Fri, Jul 23, 2021 at 2:46 PM Martin Jansa via

lists.yoctoproject.org <[email protected]>

Quoted 3 lines · wrote:
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

* fixes:
ERROR: uxen-guest-tools-4.1.7-r0 do_patch: Command Error: 'quilt

--quiltrc /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/uxen-guest-tools/4.1.7-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

stdout: Applying patch fix-Makefile-for-OE-kernel-build.patch patching file Makefile
Hunk #1 FAILED at 1 (different line endings).
Hunk #2 FAILED at 19 (different line endings).
2 out of 2 hunks FAILED -- rejects in file Makefile Patch fix-Makefile-for-OE-kernel-build.patch does not apply

(enforce with -f)

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Review

Quoted 7 lines
---
 recipes-extended/uxen/uxen-guest-tools_4.1.7.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/recipes-extended/uxen/uxen-guest-tools_4.1.7.bb

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb LIC_FILES_CHKSUM =

Quoted 4 lines

index 757f1e3..4dcfe51 100644

recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +0 -0
@@ -19,4 +19,4 @@ LIC_FILES_CHKSUM =

"file://../Bromium-4.1.8-Open-Source-Software.pdf;md5=cf120df

Quoted 23 lines
Quoted 17 lines
Quoted 14 lines
Quoted 11 lines
recipes-extended/uxen/uxen-guest-tools_4.1.7.bb +1 -2
 S = "${WORKDIR}/uxen-vmsupport-linux-${PV}"
 
-inherit module
+inherit module dos2unix
--

2.30.2

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II