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

Fix broadcom build issue related with flashrom #21479

Closed
wants to merge 2 commits into from

Conversation

liushilongbuaa
Copy link
Contributor

@liushilongbuaa liushilongbuaa commented Jan 20, 2025

Why I did it

Fix build failure:

mv flashrom_0.9.7_amd64.deb /sonic/target/debs/bookworm/
Cloning into 'flashrom-0.9.7'...
/sonic/src/flashrom/flashrom-0.9.7 /sonic/src/flashrom
fatal: 'tags/0.9.7' is not a commit and a branch 'flashrom-src' cannot be created from it
make[1]: *** [Makefile:9: /sonic/target/debs/bookworm/flashrom_0.9.7_amd64.deb] Error 128
make[1]: Leaving directory '/sonic/src/flashrom'

job link

Work item tracking
  • Microsoft ADO (number only):

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@liushilongbuaa liushilongbuaa changed the title fixflash Fix broadcom build issue related with flash Jan 20, 2025
@liushilongbuaa liushilongbuaa changed the title Fix broadcom build issue related with flash Fix broadcom build issue related with flashrom Jan 20, 2025
@liushilongbuaa liushilongbuaa marked this pull request as ready for review January 20, 2025 09:55
wangxin
wangxin previously approved these changes Jan 20, 2025
@mrafatpanah
Copy link

It is not fixed completly.
I have this error after this change:
dpkg-deb: building package 'flashrom' in '../flashrom_0.9.7_amd64.deb'. dpkg-deb: building package 'flashrom-dbgsym' in '../flashrom-dbgsym_0.9.7_amd64.deb'. make[2]: Leaving directory '/sonic/src/flashrom/flashrom-v0.9.7' dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../flashrom_0.9.7_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) /sonic/src/flashrom mv: cannot stat 'flashrom_v0.9.7_amd64.deb': No such file or directory make[1]: *** [Makefile:9: /sonic/target/debs/bullseye/flashrom_v0.9.7_amd64.deb] Error 1 make[1]: Leaving directory '/sonic/src/flashrom'

@liushilongbuaa
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@bradh352
Copy link
Contributor

heh, dupe of my PR #21473

Copy link
Contributor

@nonodark nonodark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It worked for the image I built.

@wangxin
Copy link
Contributor

wangxin commented Jan 21, 2025

Close this duplicated one and use #21473.

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

Successfully merging this pull request may close these issues.

6 participants