Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid version (double separator '-'): 1.31.1+0webos3-0webos3-r0webos13: Requires: busybox-dev = 1.31.1+0webos3-0webos3-r0webos13 #21

Open
anphetamina opened this issue Sep 22, 2021 · 0 comments

Comments

@anphetamina
Copy link

Compiling using poky dunfell for qemux86-64 will throw the following error

ERROR: busybox-1.31.1-r0 do_package_write_rpm: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_package_rpm(d)
     0003:
File: '/home/cladm1/var-fslc-yocto/sources/poky/meta/classes/package_rpm.bbclass', lineno: 710, function: do_package_rpm
     0706:
     0707:    # Build the rpm package!
     0708:    d.setVar('BUILDSPEC', cmd + "\n" + cleanupcmd + "\n")
     0709:    d.setVarFlag('BUILDSPEC', 'func', '1')
 *** 0710:    bb.build.exec_func('BUILDSPEC', d)
     0711:
     0712:    if d.getVar('RPM_SIGN_PACKAGES') == '1':
     0713:        bb.build.exec_func("sign_rpm", d)
     0714:}
File: '/home/cladm1/var-fslc-yocto/sources/poky/bitbake/lib/bb/build.py', lineno: 251, function: exec_func
     0247:    with bb.utils.fileslocked(lockfiles):
     0248:        if ispython:
     0249:            exec_func_python(func, d, runfile, cwd=adir)
     0250:        else:
 *** 0251:            exec_func_shell(func, d, runfile, cwd=adir)
     0252:
     0253:    try:
     0254:        curcwd = os.getcwd()
     0255:    except:
File: '/home/cladm1/var-fslc-yocto/sources/poky/bitbake/lib/bb/build.py', lineno: 452, function: exec_func_shell
     0448:    with open(fifopath, 'r+b', buffering=0) as fifo:
     0449:        try:
     0450:            bb.debug(2, "Executing shell function %s" % func)
     0451:            with open(os.devnull, 'r+') as stdin, logfile:
 *** 0452:                bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
     0453:        finally:
     0454:            os.unlink(fifopath)
     0455:
     0456:    bb.debug(2, "Shell function %s finished" % func)
File: '/home/cladm1/var-fslc-yocto/sources/poky/bitbake/lib/bb/process.py', lineno: 182, function: run
     0178:        if not stderr is None:
     0179:            stderr = stderr.decode("utf-8")
     0180:
     0181:    if pipe.returncode != 0:
 *** 0182:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0183:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/home/cladm1/var-fslc-yocto/build_qemu/tmp/work/core2-64-poky-linux/busybox/1.31.1-r0/temp/run.BUILDSPEC.11926' failed with exit code 1:
error: line 487: Invalid version (double separator '-'): 1.31.1+0webos3-0webos3-r0webos13: Requires: busybox-dev = 1.31.1+0webos3-0webos3-r0webos13
Building target platforms: core2_64-poky-linux
Building for target core2_64-poky-linux
WARNING: exit code 1 from a shell command.


ERROR: Logfile of failure stored in: /home/cladm1/var-fslc-yocto/build_qemu/tmp/work/core2-64-poky-linux/busybox/1.31.1-r0/temp/log.do_package_write_rpm.11926
ERROR: Task (/home/cladm1/var-fslc-yocto/sources/poky/meta/recipes-core/busybox/busybox_1.31.1.bb:do_package_write_rpm) failed with exit code '1'

Any suggestions?

sparkleholic pushed a commit to sparkleholic/meta-webosose that referenced this issue Nov 27, 2022
:Release Notes:

:Detailed Notes:
0020-Add-p2p-changes.patch this massive patch doesn't apply and
needs to be re-worked, looks like wifi.c was also reordered a
bit in it, which makes conflict resolution unnecessary painful.

This p2p patch also uses __connman_storage_open_service API
which was already removed in 1.38, so we need to revert this
change from upstream until connectivity team properly updates
these p2p changes for newer connman.

It also probably unnecessary restores e.g. include/types.h which was
already removed in upstream in 2013 with:
  commit 86d25926c8b6ccf22f261cc17d30fbdb2e4d0d14
  Author: Daniel Wagner <daniel.wagner@bmw-carit.de>
  Date:   Tue Jul 23 09:11:07 2013 +0200

    build: Remove unsued types.h header

so I wonder how this patch was created.

ERROR: connman-1.38-r0 do_patch: Command Error: 'quilt --quiltrc /data001/jenkins/gecko/clean-engineering-webos/BUILD/work/raspberrypi4-webos-linux-gnueabi/connman/1.38-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0  Output:
Applying patch 0020-Add-p2p-changes.patch
patching file Makefile.am
Hunk webosose#2 succeeded at 128 (offset -1 lines).
patching file gsupplicant/dbus.c
patching file gsupplicant/dbus.h
patching file gsupplicant/gsupplicant.h
Hunk webosose#7 succeeded at 570 (offset 3 lines).
Hunk webosose#8 succeeded at 593 (offset 3 lines).
Hunk webosose#9 succeeded at 627 (offset 3 lines).
Hunk webosose#10 succeeded at 646 (offset 3 lines).
Hunk webosose#11 succeeded at 678 (offset 3 lines).
Hunk webosose#12 succeeded at 697 (offset 3 lines).
patching file gsupplicant/supplicant.c
Hunk webosose#18 succeeded at 1603 (offset 18 lines).
Hunk webosose#19 succeeded at 1821 (offset 18 lines).
Hunk webosose#20 succeeded at 1853 (offset 18 lines).
Hunk webosose#21 succeeded at 1879 (offset 18 lines).
Hunk webosose#22 succeeded at 1975 (offset 18 lines).
Hunk webosose#23 succeeded at 2686 (offset 18 lines).
Hunk webosose#24 succeeded at 2715 (offset 18 lines).
Hunk webosose#25 succeeded at 3136 (offset 18 lines).
Hunk webosose#26 succeeded at 3288 (offset 18 lines).
Hunk webosose#27 succeeded at 3760 (offset 18 lines).
Hunk webosose#28 succeeded at 3794 (offset 18 lines).
Hunk webosose#29 succeeded at 3868 (offset 18 lines).
Hunk webosose#30 succeeded at 3928 (offset 18 lines).
Hunk webosose#31 succeeded at 3944 (offset 18 lines).
Hunk webosose#32 succeeded at 4009 (offset 18 lines).
Hunk webosose#33 succeeded at 4037 (offset 18 lines).
Hunk webosose#34 succeeded at 4061 (offset 18 lines).
Hunk #35 succeeded at 4078 (offset 18 lines).
Hunk #36 succeeded at 4091 (offset 18 lines).
Hunk #37 succeeded at 4107 (offset 18 lines).
Hunk #38 succeeded at 4144 (offset 18 lines).
Hunk #39 succeeded at 4162 (offset 18 lines).
Hunk #40 succeeded at 4215 (offset 18 lines).
Hunk #41 succeeded at 4229 (offset 18 lines).
Hunk #42 succeeded at 4318 (offset 18 lines).
Hunk #43 succeeded at 4460 (offset 18 lines).
Hunk #44 succeeded at 4486 (offset 18 lines).
Hunk #45 succeeded at 4533 (offset 18 lines).
Hunk #46 succeeded at 4587 (offset 18 lines).
Hunk #47 succeeded at 4597 (offset 18 lines).
Hunk #48 succeeded at 4613 (offset 18 lines).
Hunk #49 succeeded at 9245 (offset 18 lines).
Hunk #50 succeeded at 9266 (offset 18 lines).
Hunk #51 succeeded at 9657 (offset 18 lines).
Hunk #52 succeeded at 9676 (offset 18 lines).
Hunk #53 succeeded at 9838 (offset 18 lines).
Hunk #54 succeeded at 9873 (offset 18 lines).
Hunk #55 succeeded at 10143 (offset 18 lines).
Hunk #56 succeeded at 10252 (offset 18 lines).
patching file include/dbus.h
patching file include/device.h
patching file include/group.h
patching file include/network.h
patching file include/peer.h
patching file include/sd.h
patching file include/technology.h
patching file include/types.h
patching file plugins/wifi.c
Hunk webosose#2 succeeded at 63 with fuzz 2 (offset 2 lines).
Hunk webosose#3 succeeded at 75 with fuzz 1 (offset 2 lines).
Hunk webosose#4 succeeded at 177 (offset 2 lines).
Hunk webosose#5 succeeded at 193 (offset 2 lines).
Hunk webosose#6 succeeded at 213 (offset 2 lines).
Hunk webosose#7 FAILED at 262.
Hunk webosose#8 succeeded at 3720 (offset 2 lines).
Hunk webosose#9 succeeded at 3736 (offset 2 lines).
Hunk webosose#10 succeeded at 4063 (offset 2 lines).
Hunk webosose#11 succeeded at 4085 (offset 2 lines).
Hunk webosose#12 succeeded at 4114 (offset 2 lines).
1 out of 12 hunks FAILED -- rejects in file plugins/wifi.c
patching file src/connman.h
Hunk webosose#2 succeeded at 464 (offset -1 lines).
Hunk webosose#3 succeeded at 558 (offset -1 lines).
Hunk webosose#4 succeeded at 574 (offset -1 lines).
Hunk webosose#5 succeeded at 699 (offset -1 lines).
Hunk webosose#6 succeeded at 851 (offset -1 lines).
Hunk webosose#7 succeeded at 1007 (offset -1 lines).
Hunk webosose#8 succeeded at 1024 (offset -1 lines).
Hunk webosose#9 succeeded at 1117 (offset -1 lines).
patching file src/dbus.c
patching file src/device.c
patching file src/dhcp.c
patching file src/group.c
patching file src/ippool.c
patching file src/manager.c
patching file src/network.c
patching file src/p2pgo.c
patching file src/peer.c
patching file src/peer_service.c
patching file src/sd.c
patching file src/service.c
Hunk #1 succeeded at 7280 (offset 126 lines).
patching file src/storage.c
Hunk #1 succeeded at 263 (offset -22 lines).
Hunk webosose#2 succeeded at 281 (offset -22 lines).
Hunk webosose#3 succeeded at 465 (offset -22 lines).
patching file src/technology.c
patching file src/util.c
Patch 0020-Add-p2p-changes.patch does not apply (enforce with -f)

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[PLAT-122546] Create GPVB with Yocto 3.2 Gatesgarth
[PLAT-137851] CCC: connman=v1.39

Change-Id: Idda857654f73e2ae9523af5e036513b328ab734a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant