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

Build failing on 4 month old tree with no changes even though SOURCE_MIRROR_URL is set #93

Open
AdrianB-Flex opened this issue Oct 12, 2018 · 0 comments

Comments

@AdrianB-Flex
Copy link

Tree was building fine when last I touched it - no changes. Today I get this error

WARNING: /home/adrianb/trees/rel_prod/meta-openbmc/yocto/krogoth/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_4.1.bb: Exception during build_dependencies for do_patch
WARNING: /home/adrianb/trees/rel_prod/meta-openbmc/yocto/krogoth/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_4.1.bb: Error during finalise of /home/adrianb/trees/rel_prod/meta-openbmc/yocto/krogoth/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_4.1.bb
ERROR: ExpansionError during parsing /home/adrianb/trees/rel_prod/meta-openbmc/yocto/krogoth/poky/../../../meta-aspeed/recipes-kernel/linux/linux-aspeed_4.1.bb: Failure expanding variable do_patch, expression was cd /home/adrianb/trees/rel_prod/meta-openbmc/build/tmp/work-shared/wedge100/kernel-source

# executes and modifies the source tree as required
patchme wedge100
if [ $? -ne 0 ]; then
	bberror "Could not apply patches for wedge100."
	bbfatal_log "Patch failures can be resolved in the linux source directory /home/adrianb/trees/rel_prod/meta-openbmc/build/tmp/work-shared/wedge100/kernel-source)"
fi

# check to see if the specified SRCREV is reachable from the final branch.
# if it wasn't something wrong has happened, and we should error.
machine_srcrev="${SRCREV_machine}"
if [ -z "${machine_srcrev}" ]; then
	# fallback to SRCREV if a non machine_meta tree is being built
	machine_srcrev="AUTOINC"
	# if SRCREV cannot be reached something is wrong.
	if [ -z "${machine_srcrev}" ]; then
		bbfatal "Neither SRCREV_machine or SRCREV was specified!"
	fi
fi

    if [ -n "yes" ]; then
        current_branch=`git rev-parse --abbrev-ref HEAD`
        machine_branch="${@ get_machine_branch(d, "master" )}"
        if [ "${current_branch}" != "${machine_branch}" ]; then
            bbwarn "After meta data application, the kernel tree branch is ${current_branch}."
            bbwarn "The SRC_URI specified branch ${machine_branch}."
            bbwarn ""
            bbwarn "The branch will be forced to ${machine_branch}, but this means the board meta data"
            bbwarn "(.scc files) do not match the SRC_URI specification."
            bbwarn ""
            bbwarn "The meta data and branch ${machine_branch} should be inspected to ensure the proper"
            bbwarn "kernel is being built."
            git checkout -f ${machine_branch}
        fi
    fi

if [ "${machine_srcrev}" != "AUTOINC" ]; then
	if ! [ "$(git rev-parse --verify ${machine_srcrev}~0)" = "$(git merge-base ${machine_srcrev} HEAD)" ]; then
		bberror "SRCREV ${machine_srcrev} was specified, but is not reachable"
		bbfatal "Check the BSP description for incorrect branch selection, or other errors."
	fi
fi

which triggered exception FetchError: Fetcher failure: Fetch command failed with exit code 128, output:
fatal: unable to access 'https://github.com/theopolis/linux.git/': Failed to connect to github.com port 443: No route to host

Summary: There were 2 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
CL-Ubuntu15:~/.../meta-openbmc/build$

bbinxie pushed a commit to SW-CSA/openbmc that referenced this issue Aug 29, 2019
Summary:
1. Add missing sensor name in pal.c to fix repeated display problem.
Pull Request resolved: facebookexternal/openbmc.accton#93

Test Plan:
Test on minipack:pass

display log of sensor-util before modify:

PV_BAT_VOLT                    (0xD7) :    3.32 Volts | (ok)
PV_BAT_VOLT                    (0xD8) :    1.22 Volts | (ok)
P1V05_MIX_VOLT               (0x8E) :    1.04 Volts | (ok)
1V05MIX_VR_CURR          (0x84) :    2.12 Amps  | (ok)
VDDR_VR_CURR               (0x85) :    0.50 Amps  | (ok)
VCCIN_VR_CURR              (0x83) :    3.00 Amps  | (ok)
VCCIN_VR_VOLT                (0x88) :    1.80 Volts | (ok)
VCCIN_VR_VOLT                (0x8A) :    1.21 Volts | (ok)
VCCIN_VR_VOLT                (0x89) :    1.05 Volts | (ok)

display log of sensor-util after modify:

PV_BAT_VOLT                    (0xD7) :    3.32 Volts | (ok)
PVDDR_VOLT                     (0xD8) :    1.22 Volts | (ok)
P1V05_MIX_VOLT               (0x8E) :    1.04 Volts | (ok)
1V05MIX_VR_CURR          (0x84) :    1.88 Amps  | (ok)
VDDR_VR_CURR               (0x85) :    2.50 Amps  | (ok)
VCCIN_VR_CURR              (0x83) :    9.00 Amps  | (ok)
VCCIN_VR_VOLT                 (0x88) :    1.79 Volts | (ok)
VDDR_VR_VOL                   (0x8A) :    1.21 Volts | (ok)
1V05MIX_VR_VOL              (0x89) :    1.05 Volts | (ok)

Reviewed By: vineelasmile

fbshipit-source-id: fce919a93
facebook-github-bot pushed a commit that referenced this issue Sep 29, 2020
Summary:
ELBERT: Fix PIM8DDM spi_pim_ver

Fix partition label for pim8DD header

Testing:
Can read the header for the pim8dd image

Pull Request resolved: facebookexternal/openbmc.arista#93

Reviewed By: tao-ren

fbshipit-source-id: 32d6d47447
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