Skip to contentSkip to conversation

autoconf: upgrading to 2.70 FAILED

AUH [email protected] 3 participants 3 messages Dec 15, 2020 – Dec 30, 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 *autoconf* to *2.70* has Failed (devtool error).

Detailed error information:

The following devtool command failed: upgrade autoconf -V 2.70
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...
INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these 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 6 Found 0 Missed 6 Current 14 (0% match, 70% 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/autoconf/2.69-r11/devtooltmp-ndi0v_y0/temp/log.do_unpack.31654
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/autoconf/2.69-r11/devtooltmp-ndi0v_y0/temp/log.do_unpack.31653
NOTE: Tasks Summary: Attempted 66 tasks of which 61 didn't need to be rerun and 2 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
ERROR: Extracting source for autoconf 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

#1 lore raw

I wish GNU would just let autotools stagnate and die (non-GNU moving to meson in droves should've given them a clue). But here we are: first new release of autoconf in 8 years.

Ross, would you be able to look into updating this?

Alex

Quoted 165 lines · On Tue, 15 Dec 2020 at 14:24, <[email protected]> wrote:

Hello,

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

Detailed error information:

The following devtool command failed: upgrade autoconf -V 2.70
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...
INFO: SRC_URI contains some conditional appends/prepends - will create branches to represent these
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 6 Found 0 Missed 6 Current 14 (0% match, 70% 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/autoconf/2.69-r11/devtooltmp-ndi0v_y0/temp/log.do_unpack.31654
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/autoconf/2.69-r11/devtooltmp-ndi0v_y0/temp/log.do_unpack.31653
NOTE: Tasks Summary: Attempted 66 tasks of which 61 didn't need to be
rerun and 2 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 2 seconds
ERROR: Extracting source for autoconf 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

#2 lore raw
Quoted 5 lines · Alexander Kanavin

I wish GNU would just let autotools stagnate and die (non-GNU moving to meson in droves should've given them a clue). But here we are:
first new release of autoconf in 8 years.

Ross, would you be able to look into updating this?

Ross has a branch with these changes on. I believe in the last rc, they forced an upgrade of gnulib which basically breakes everything for us (thanks autotools maintainers).

Fixing the gnulib mess would be the blocker on getting it in, Ross had done awesome work in pulling the rest together.

http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=ross/autoconf270

Cheers,

Richard