Repository navigation
Closed
Description
Following fbcode_builder Docker instructions. The application of the libnl patch fails due to invalid path to patch.
Step 155/176 : RUN git apply '/home'/''/'openr/build/fix-route-obj-attr-list.patch'
---> Running in 9282948f15c2
fatal: can't open patch '/home//openr/build/fix-route-obj-attr-list.patch': No such file or directory
The command '/bin/bash -c git apply '/home'/''/'openr/build/fix-route-obj-attr-list.patch'' returned a non-zero code: 128
+ build_exit_code=128
Command adapted from fbcode_builder instructions. Used appropriate variables from travis.yml:
ubuntu@ubuntu-xenial:~/openr/build/fbcode_builder$ os_image=ubuntu:16.04 gcc_version=5 make_parallelism=2 travis_cache_dir=~/travis_ccache ./travis_docker_build.sh &> build_at_$(date +'%Y%m%d_%H%M%S').logOmitting log.
Step 145/176 : USER root
---> Running in ad4795367064
---> 42200aefe0cd
Removing intermediate container ad4795367064
Step 146/176 : RUN mkdir -p '/home' && chown 'nobody' '/home'
---> Running in ff3a615607e4
---> b03d9dba3ba0
Removing intermediate container ff3a615607e4
Step 147/176 : USER 'nobody'
---> Running in 498e7424d1ec
---> 8c12806307f3
Removing intermediate container 498e7424d1ec
Step 148/176 : WORKDIR '/home'
---> 962bb96c3e46
Removing intermediate container 02cb6da4bc4d
Step 149/176 : RUN git clone https://github.com/'thom311/libnl'
---> Running in 3a583b0d25ab
Cloning into 'libnl'...
---> 12f91c2ee263
Removing intermediate container 3a583b0d25ab
Step 150/176 : USER root
---> Running in 234429c9d4d9
---> beeeadd9ec94
Removing intermediate container 234429c9d4d9
Step 151/176 : RUN mkdir -p '/home'/'libnl'/'.' && chown 'nobody' '/home'/'libnl'/'.'
---> Running in e6b6847c7480
---> b4a6d4d38fd3
Removing intermediate container e6b6847c7480
Step 152/176 : USER 'nobody'
---> Running in aea6d7e5cdfe
---> b35d3fc2a729
Removing intermediate container aea6d7e5cdfe
Step 153/176 : WORKDIR '/home'/'libnl'/'.'
---> 75bc4133851b
Removing intermediate container 72645b3cb669
Step 154/176 : RUN git checkout 'libnl3_2_25'
---> Running in 8c6faf34cc12
Note: checking out 'libnl3_2_25'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at dcc5375... libnl-3.2.25 release
---> 4fca6570cf73
Removing intermediate container 8c6faf34cc12
Step 155/176 : RUN git apply '/home'/''/'openr/build/fix-route-obj-attr-list.patch'
---> Running in 9282948f15c2
fatal: can't open patch '/home//openr/build/fix-route-obj-attr-list.patch': No such file or directory
The command '/bin/bash -c git apply '/home'/''/'openr/build/fix-route-obj-attr-list.patch'' returned a non-zero code: 128
+ build_exit_code=128
+ echo 'Build failed with code 128, trying to save ccache'
Build failed with code 128, trying to save ccache
Is the ~/openr/build/fbcode_builder the correct directory to run the build command from? Anything incorrect here? Attempting manual Docker build due to #3.
Metadata
Metadata
Assignees
Labels
No labels
Activity
saifhhasan commentedon Nov 18, 2017
@jstrizich Can you help with this issue as you recently added this patch. It seems that user returned here is
emptyand hence path is invalid.remingtonc commentedon Nov 28, 2017
This build issue is resolved based on build today.
LinkMonitorTest - Explicitly delete objects in TearDown
Bugfix: fix kvstore stuck issue during desctruction sequence
Fix KvStore unclean exit with thriftSyncTimer fired after thriftPeers…