This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 808cdf0  Revert "cmake: try freebsd again (#237)" (#238)
808cdf0 is described below

commit 808cdf05e338834613fddb89a2f1a95dfc8d307a
Author: Brian Neradt <brian.ner...@gmail.com>
AuthorDate: Mon Oct 16 16:18:30 2023 -0500

    Revert "cmake: try freebsd again (#237)" (#238)
    
    This reverts commit b54cce6181c698cc7465530dd542c38f4728ad0e.
    
    Reverting until we get freebsd working pthread_create:
    
    ```
    [ 25%] Linking CXX executable test_tscore
    cd 
/usr/home/jenkins/workspace/Github_Builds/freebsd/src/cmake-build-release/src/tscore
 && /usr/local/bin/cmake -E cmake_link_script 
CMakeFiles/test_tscore.dir/link.txt --verbose=1
    /usr/bin/c++ CMakeFiles/test_tscore.dir/unit_tests/test_AcidPtr.cc.o 
CMakeFiles/test_tscore.dir/unit_tests/test_ArgParser.cc.o 
CMakeFiles/test_tscore.dir/unit_tests/test_CryptoHash.cc.o 
CMakeFiles/test_tscore.dir/unit_tests/test_Errata.cc.o 
CMakeFiles/test_tscore.dir/unit_tests/test_Extendible.cc.o 
CMakeFiles/test_tscore.dir/unit_tests/test_Encoding.cc.o 
CMakeFiles/test_tscore.dir/unit_tests/test_HKDF.cc.o 
CMakeFiles/test_tscore.dir/unit_tests/test_Histogram.cc.o CMakeFiles/test_tscor 
[...]
    ld: error: undefined symbol: pthread_create
    >>> referenced by test_AcidPtr.cc
    >>>               
CMakeFiles/test_tscore.dir/unit_tests/test_AcidPtr.cc.o:(std::__1::__libcpp_thread_create(pthread**,
 void* (*)(void*), void*))
    c++: error: linker command failed with exit code 1 (use -v to see 
invocation)
    gmake[2]: *** [src/tscore/CMakeFiles/test_tscore.dir/build.make:540: 
src/tscore/test_tscore] Error 1
    gmake[2]: Leaving directory 
'/usr/home/jenkins/workspace/Github_Builds/freebsd/src/cmake-build-release'
    gmake[1]: *** [CMakeFiles/Makefile2:3710: 
src/tscore/CMakeFiles/test_tscore.dir/all] Error 2
    gmake[1]: Leaving directory 
'/usr/home/jenkins/workspace/Github_Builds/freebsd/src/cmake-build-release'
    gmake: *** [Makefile:146: all] Error 2
    ```
---
 jenkins/github/freebsd.pipeline | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/jenkins/github/freebsd.pipeline b/jenkins/github/freebsd.pipeline
index 32102c6..fcfcd11 100644
--- a/jenkins/github/freebsd.pipeline
+++ b/jenkins/github/freebsd.pipeline
@@ -25,7 +25,8 @@ pipeline {
                         set -x
                         set -e
 
-                        if [ -d cmake ]
+                        # `1 -eq 0`: Avoid doing cmake builds for freebsd 
until we install cmake on the CI boxes.
+                        if [ 1 -eq 0 -a -d cmake ]
                         then
                             cmake -B cmake-build-release 
-DBUILD_EXPERIMENTAL_PLUGINS=ON -DCMAKE_INSTALL_PREFIX=/tmp/ats
                             cmake --build cmake-build-release -v

Reply via email to