[SERVER-43961] Allow absolute path in BUILD_DIR with ICECC Created: 11/Oct/19  Updated: 29/Oct/19  Resolved: 29/Oct/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Benjamin Caimano (Inactive)
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-44147 Synchronize buildscripts/icecc_create... Closed
Operating System: ALL
Sprint: Service Arch 2019-10-21
Participants:

 Description   

We add `pwd` to the icecream output path. This is probably a leftover from the tmpdir scheme in icecream vanilla.



 Comments   
Comment by Benjamin Caimano (Inactive) [ 29/Oct/19 ]

Closing this in favor of SERVER-44147.

Comment by Githook User [ 29/Oct/19 ]

Author:

{'name': 'Andrew Morrow', 'email': 'andrew.morrow@10gen.com'}

Message: Revert "SERVER-43961 Allow absolute path in BUILD_DIR with ICECC"

This reverts commit 517f375f3690c51d77bf8227aed4d1d97359af93.
Branch: master
https://github.com/mongodb/mongo/commit/cb59e55f28cc1eac9b724554d1f770e4b855a711

Comment by Andrew Morrow (Inactive) [ 29/Oct/19 ]

I'm going to revert this commit, so I'm re-opening the issue. It currently breaks icecream with SCons for me:

$ /usr/bin/time python3 src/third_party/scons-3.1.1/scons.py --implicit-cache --cache --build-fast-and-loose=on --dbg=on --opt=on --link-model=dynamic
scons: Reading SConscript files ...
scons: running with args /usr/bin/python3 src/third_party/scons-3.1.1/scons.py --implicit-cache --cache --build-fast-and-loose=on --dbg=on --opt=on --link-model=dynamic
Using variable customization file /home/andrew/.scons/site_scons/mongo_custom_variables.py
scons version: 3.1.1
python version: 3 6 8 'final' 0
CC is /usr/bin/clang-8
/usr/bin/clang-8 resolves to /usr/lib/llvm-8/bin/clang
CXX is /usr/bin/clang++-8
/usr/bin/clang++-8 resolves to /usr/lib/llvm-8/bin/clang
Checking whether the C compiler works... yes
Checking whether the C++ compiler works... yes
Checking that the C++ compiler can link a C++ program... yes
...
adding file /etc/ld.so.conf.d/zz_i386-biarch-compat.conf
adding file /etc/ld.so.conf.d/zz_x32-biarch-compat.conf
creating build/scons/icecc/9979ccca17bd4a52022e20c3536c75bb.tar.gz
tar (child): build/scons/icecc/9979ccca17bd4a52022e20c3536c75bb.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: build/scons/icecc/9979ccca17bd4a52022e20c3536c75bb.tar.gz: Wrote only 4096 of 10240 bytes
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Couldn't create archive
Checking for C function fallocate()... no
Checking for C function sync_file_range()... no
Checking for C header file x86intrin.h... no
Checking for C header file arm_neon.h... no
Checking for sasl_version_info(0, 0, 0, 0, 0, 0) in C library sasl2... no
Could not find <sasl/sasl.h> and sasl library, required for enterprise build.
See .../config.log for details
Command exited with non-zero status 1
24.05user 7.57system 0:30.58elapsed 103%CPU (0avgtext+0avgdata 151360maxresident)k
0inputs+422424outputs (21major+1330370minor)pagefaults 0swaps

Comment by Githook User [ 22/Oct/19 ]

Author:

{'name': 'Ben Caimano', 'username': 'bcaimano', 'email': 'ben.caimano@mongodb.com'}

Message: SERVER-43961 Allow absolute path in BUILD_DIR with ICECC
Branch: master
https://github.com/mongodb/mongo/commit/517f375f3690c51d77bf8227aed4d1d97359af93

Generated at Thu Feb 08 05:04:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.