Skip to contentSkip to conversation

automake: upgrading to 1.16.3 FAILED

AUH [email protected] 1 participant 1 message Dec 15, 2020

lore
Share & tools
lore
#0 lore raw

Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe *automake* to *1.16.3* has Failed (devtool error).

Detailed error information:

The following devtool command failed: upgrade automake -V 1.16.3
NOTE: Starting bitbake server...
NOTE: Reconnecting to bitbake server...
NOTE: Retrying server connection (#1)...
Loading cache...done.
Loaded 1419 entries from dependency cache.
INFO: Extracting current version source...
Removing 1 recipes from the x86_64 sysroot...done.
NOTE: Resolving any missing task queue dependencies

Build Configuration:

BB_VERSION           = "1.49.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "x86_64-poky-linux"
MACHINE              = "qemux86-64"
DISTRO               = "poky"
DISTRO_VERSION       = "3.2+snapshot-e397c67133b19959048a93011992d3fda79edf0d"
TUNE_FEATURES        = "m64 core2"
TARGET_FPU           = ""

meta
meta-poky
meta-yocto-bsp = "tmp-auh-upgrades:e397c67133b19959048a93011992d3fda79edf0d"
workspace = "master:796be0593a607938aef3941372a9238b7e895446"

Initialising tasks...done.
Sstate summary: Wanted 5 Found 0 Missed 5 Current 15 (0% match, 75% complete)
NOTE: Executing Tasks
ERROR: 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:devtool_post_unpack(d)
     0003:

File: '/home/pokybuild/yocto-worker/auh/build/build/poky/meta/classes/devtool-source.bbclass', lineno: 150, function: devtool_post_unpack
0146: "doesn't use any source or the correct source "
0147: "directory could not be determined" % d.getVar('PN'))
0148:
0149: devbranch = d.getVar('DEVTOOL_DEVBRANCH')
*** 0150: setup_git_repo(srcsubdir, d.getVar('PV'), devbranch, d=d)

     0151:
     0152:    (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srcsubdir)
     0153:    initial_rev = stdout.rstrip()
     0154:    with open(os.path.join(tempdir, 'initial_rev'), 'w') as f:

File: '/home/pokybuild/yocto-worker/auh/build/build/poky/scripts/lib/devtool/__init__.py', lineno: 234, function: setup_git_repo
0230: for line in excludes:
0231: f.write(line)
0232:
0233: bb.process.run('git checkout -b %s' % devbranch, cwd=repodir)
*** 0234: bb.process.run('git tag -f %s' % basetag, cwd=repodir)
0235:
0236:def recipe_to_append(recipefile, config, wildcard=False):
0237: """
0238: Convert a recipe file to a bbappend file path within the workspace.
File: '/home/pokybuild/yocto-worker/auh/build/build/poky/bitbake/lib/bb/process.py', lineno: 184, function: run

     0180:        if not stderr is None:
     0181:            stderr = stderr.decode("utf-8")
     0182:
     0183:    if pipe.returncode != 0:

*** 0184: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0185: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'git tag -f devtool-base' failed with exit code 128:
fatal: Failed to resolve 'HEAD' as a valid ref.

ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-64-poky-linux/automake/1.16.2-r0/devtooltmp-uu0e88eg/temp/log.do_unpack.35063
ERROR: 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:devtool_post_unpack(d)
     0003:

File: '/home/pokybuild/yocto-worker/auh/build/build/poky/meta/classes/devtool-source.bbclass', lineno: 150, function: devtool_post_unpack
0146: "doesn't use any source or the correct source "
0147: "directory could not be determined" % d.getVar('PN'))
0148:
0149: devbranch = d.getVar('DEVTOOL_DEVBRANCH')
*** 0150: setup_git_repo(srcsubdir, d.getVar('PV'), devbranch, d=d)

     0151:
     0152:    (stdout, _) = bb.process.run('git rev-parse HEAD', cwd=srcsubdir)
     0153:    initial_rev = stdout.rstrip()
     0154:    with open(os.path.join(tempdir, 'initial_rev'), 'w') as f:
File: '/home/pokybuild/yocto-worker/auh/build/build/poky/scripts/lib/devtool/__init__.py', lineno: 233, function: setup_git_repo
     0229:    with open(excludefile, 'w') as f:
     0230:        for line in excludes:
     0231:            f.write(line)
     0232:
 *** 0233:    bb.process.run('git checkout -b %s' % devbranch, cwd=repodir)
     0234:    bb.process.run('git tag -f %s' % basetag, cwd=repodir)
     0235:
     0236:def recipe_to_append(recipefile, config, wildcard=False):
     0237:    """
File: '/home/pokybuild/yocto-worker/auh/build/build/poky/bitbake/lib/bb/process.py', lineno: 184, function: run
     0180:        if not stderr is None:
     0181:            stderr = stderr.decode("utf-8")
     0182:
     0183:    if pipe.returncode != 0:

*** 0184: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0185: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of 'git checkout -b devtool-orig' failed with exit code 128:
fatal: A branch named 'devtool-orig' already exists.

ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/auh/build/build/build/tmp/work/core2-64-poky-linux/automake/1.16.2-r0/devtooltmp-uu0e88eg/temp/log.do_unpack.35062
NOTE: Tasks Summary: Attempted 71 tasks of which 66 didn't need to be rerun and 2 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
ERROR: Extracting source for automake failed

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper