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 error with the old repo #742

Closed
zhenggen-xu opened this issue Jun 22, 2017 · 3 comments
Closed

build error with the old repo #742

zhenggen-xu opened this issue Jun 22, 2017 · 3 comments

Comments

@zhenggen-xu
Copy link
Collaborator

I had the sonic-buildimage version:
commit d083d7e
which was built fine before. But now when I do "make target/sonic-broadcom.bin" again, I see below error:

Executing rules for target/docker-base.gz
Sending build context to Docker daemon 97.74 MB
Step 1/12 : FROM debian:jessie
jessie: Pulling from library/debian
9f0706ba7422: Pulling fs layer
9f0706ba7422: Verifying Checksum
9f0706ba7422: Download complete
9f0706ba7422: Pull complete
Digest: sha256:4bc62f74d246e8428be8dd3833461ba2cfd135064aed4001f3c12b87a011e30c
Status: Downloaded newer image for debian:jessie
---> 62a932a5c143
Step 2/12 : RUN find /usr/share/doc -depth ( -type f -o -type l ) ! -name copyright | xargs rm || true
---> Running in ef7872d749b5
---> f61e68082843
Removing intermediate container ef7872d749b5
Step 3/12 : RUN while [ -n "$(find /usr/share/doc -depth -type d -empty -print -exec rmdir {} +)" ]; do :; done
---> Running in dd201b291719
---> 7b5dea5e21a1
Removing intermediate container dd201b291719
Step 4/12 : RUN rm -rf /usr/share/man/* /usr/share/groff/* /usr/share/info/* /usr/share/lintian/* /usr/share/linda/* /var/cache/man/* /usr/share/locale/*
---> Running in 0d92e380620c
---> 05c458f4e4a4
Removing intermediate container 0d92e380620c
Step 5/12 : ENV DEBIAN_FRONTEND noninteractive
---> Running in 44b6e3694f34
---> 246b54e1f547
Removing intermediate container 44b6e3694f34
Step 6/12 : COPY sources.list /etc/apt/sources.list
---> c47d9da3ab9a
Removing intermediate container ce85b8101dd7
Step 7/12 : COPY dpkg_01_drop /etc/dpkg/dpkg.cfg.d/01_drop
---> 879658dce237
Removing intermediate container ff7528ab34f2
Step 8/12 : RUN apt-get clean && apt-get update
---> Running in 1b5d0904378f
E: Could not open lock file /var/cache/apt/archives/lock - open (2: No such file or directory)
E: Unable to lock the download directory
The command '/bin/sh -c apt-get clean && apt-get update' returned a non-zero code: 100
slave.mk:298: recipe for target 'target/docker-base.gz' failed
make: *** [target/docker-base.gz] Error 1
make: Leaving directory '/sonic'
make: *** [target/sonic-broadcom.bin] Error 2

I didn't change the code/repo and it looked like the build scripts pulled something that was not compatible with the old repo?

@zhenggen-xu
Copy link
Collaborator Author

tried rebuild the slave docker etc didn't help.

@ehocchen
Copy link

ehocchen commented Nov 7, 2017

come up the same problem. Create the missing file can fix my problem. Refer to silvio/docker-matrix#32

@lguohan
Copy link
Collaborator

lguohan commented Nov 7, 2017

refer to this issue. #685

close this issue as it is resolved.

@lguohan lguohan closed this as completed Nov 7, 2017
yxieca added a commit to yxieca/sonic-buildimage that referenced this issue Jan 16, 2019
To include following changes:

- [teammgrd]: Add retry logic for starting port channel with teamd (sonic-net#756)
- [portsorch] fix bug in initializePort (sonic-net#753)
- [intfmgrd] Fix intfmgrd hanging untill first interface becomes ready (sonic-net#748)
- [intfmgrd]: Support loopback (sonic-net#742)
-Improve comments for neighbor warmrestart related functions and warmRestartAssist class (sonic-net#740)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this issue Jan 16, 2019
To include following changes:

- [teammgrd]: Add retry logic for starting port channel with teamd (#756)
- [portsorch] fix bug in initializePort (#753)
- [intfmgrd] Fix intfmgrd hanging untill first interface becomes ready (#748)
- [intfmgrd]: Support loopback (#742)
-Improve comments for neighbor warmrestart related functions and warmRestartAssist class (#740)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
yxieca added a commit that referenced this issue Jan 16, 2019
To include following changes:

- [teammgrd]: Add retry logic for starting port channel with teamd (#756)
- [portsorch] fix bug in initializePort (#753)
- [intfmgrd] Fix intfmgrd hanging untill first interface becomes ready (#748)
- [intfmgrd]: Support loopback (#742)
-Improve comments for neighbor warmrestart related functions and warmRestartAssist class (#740)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
madhanmellanox pushed a commit to madhanmellanox/sonic-buildimage that referenced this issue Mar 23, 2020
* [intfmgrd]: Support loopback

Signed-off-by: Marian Pritsak <marianp@mellanox.com>

* [vs]: Add virtual switch test for loopback interfaces

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
lguohan pushed a commit to Sabareesh-Kumar-Anandan/sonic-buildimage that referenced this issue Dec 19, 2020
[syncd] Translate removed RIDs in fdb notification (sonic-net#734)
[syncd] Move syncd classes to syncd namespace (sonic-net#742)
[vs] Use /sbin/ip absolute path for ip command in MACsecManager (sonic-net#744)
[saidiscovery] Update saidiscovery to use VendorSai object and metadata (sonic-net#736)
Remove Winline warning since it depends on external headers (sonic-net#741)

Signed-off-by: Sabareesh Kumar Anandan <sanandan@marvell.com>
lguohan pushed a commit that referenced this issue Dec 19, 2020
[vs] Add workaround for clean up macsec ports (#752)
[logfile]: Add handling of Sairedis rec filename (#747)
Update README.md
[meta] Fix stat_mode enums to sai_bulk_op_error_mode_t (#753)
[syncd][tests] Add syncd deprecated attribute value test (#751)
[vs] Skip MACsec clean up if /sbin/ip is not accessible (#750)
Configure enable -Wcast-align=strict when supported by compiler (#749)
[syncd] Translate depreacated attr enum values to new ones (#746)
[sairedis]vs SAI support for voq neighbor (#725)
[syncd] Translate removed RIDs in fdb notification (#734)
[syncd] Move syncd classes to syncd namespace (#742)
[vs] Use /sbin/ip absolute path for ip command in MACsecManager (#744)
[saidiscovery] Update saidiscovery to use VendorSai object and metadata (#736)
Remove Winline warning since it depends on external headers (#741)
[meta] Enable strict cast-align warning (#738)
[vs] Use meta class instead info when using unittests (#740)
[vs] Support flush entry type all on virtual switch (#735)
[vslib]: Add MACsec state to state base (#722)
[README.md] Update installation steps (#730)
Switch Capability support (#728)
[vs] Fail switch create when warm boot requested and no warm boot state (#739)
Dynamic Port breakout fix the crash, port down event processing after<80> (#727)
Code clean (#721)

Signed-off-by: Sabareesh Kumar Anandan <sanandan@marvell.com>
AidanCopeland pushed a commit to Metaswitch/sonic-buildimage that referenced this issue Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants