p4factory icon indicating copy to clipboard operation
p4factory copied to clipboard

problems on building docker image

Open imaginezz opened this issue 8 years ago • 6 comments

My operation OS is Ubuntu 14.04. I followed by the README.md step by step, and wanna to build a docker image. But when I ran make docker-image in p4factory/targets/switch directory, the program seem work well, but when it processed step 14, there are something wrong. First, it shows that fatal: Not a git repository: ../../.git/modules/submodules/bm but when I go to that directory, I tried git status the git showes that bm is a git repo. Then after checking ,it shows configure: error: The P4_PATH you provided does not exist or is not absolute mmake: *** [clean] Error 2 Then, after compiling something, it shows many messages like Semantic warning: header instance 'outer_udp' is not reachable and will be removed And finally, make: *** [bm_tenjin_output_oldest] Error 1 and quit with error 2

imaginezz avatar Nov 21 '16 08:11 imaginezz

Is this issue resolved ?

poojj avatar Dec 19 '16 02:12 poojj

I find the same error popping up when I say : make docker-image

poojj avatar Dec 19 '16 02:12 poojj

I am not sure what was causing the issue in the first place, but we don't really support make docker-image any more. I believe that the new steps to build a docker image running switch.p4 are here: https://github.com/p4lang/switch#building-switch-docker-image

antoninbas avatar Dec 19 '16 19:12 antoninbas

Thank you. I'll try it. And what can I do to run the INT app in P4factory ? The README in INT showed that I should use make docker-image

imaginezz avatar Dec 22 '16 07:12 imaginezz

According to the team in charge of the INT demo in p4factory, this code is broken for now. They are trying to update the demo to work with the new docker image building process, but there is no ETA for now. Sorry about that.

antoninbas avatar Dec 22 '16 19:12 antoninbas

ok, thank u

imaginezz avatar Dec 31 '16 08:12 imaginezz