[GH-ISSUE #1086] debian package build on Ubuntu 20.4 (Focal) fails to find guiunittests #865

Open
opened 2026-05-05 07:13:55 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @carlmorgan on GitHub (Mar 3, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1086

Describe the bug
Building Deb package fails during test phase - guiunittests not found

bin/guiunittests binary exists, and runs / passes. Looks like could just be the search path of the resultant DEB ctest makefile.

To Reproduce
git clean -fxd
dpkg-buildpackage -B -us -uc -d

Expected behavior
DEB Package to continue building / complete (has been running for previous months within internal CI)

Source based manual build completes fine.

Desktop (please complete the following information):

  • OS: Linux Ubuntu 20.04 - Deb build
  • Barrier version Master (Appeared short after commit f2bf7cb7e1 (Jan 3 23:00:54 2021))

Additional context

dh_auto_test -a -O--buildsystem=cmake -O--builddirectory=build -O-Ptarget_build/debian -O--parallel
        cd build && make -j12 test ARGS\+=-j12

Running tests...
/usr/bin/ctest --force-new-ctest-process  -j12
Test project <build dir>
    Start 1: guiunittests
Could not find executable guiunittests
Looked in the following places:
guiunittests
guiunittests
Release/guiunittests
Release/guiunittests
Debug/guiunittests
Debug/guiunittests
MinSizeRel/guiunittests
MinSizeRel/guiunittests
RelWithDebInfo/guiunittests
RelWithDebInfo/guiunittests
Deployment/guiunittests
Deployment/guiunittests
Development/guiunittests
Development/guiunittests
Unable to find executable: guiunittests
1/1 Test #1: guiunittests .....................***Not Run   0.00 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) =   0.00 sec

The following tests FAILED:
          1 - guiunittests (Not Run)
Errors while running CTest

Originally created by @carlmorgan on GitHub (Mar 3, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1086 **Describe the bug** Building Deb package fails during test phase - guiunittests not found bin/guiunittests binary exists, and runs / passes. Looks like could just be the search path of the resultant DEB ctest makefile. **To Reproduce** git clean -fxd dpkg-buildpackage -B -us -uc -d **Expected behavior** DEB Package to continue building / complete (has been running for previous months within internal CI) Source based manual build completes fine. **Desktop (please complete the following information):** - OS: Linux Ubuntu 20.04 - Deb build - Barrier version Master (Appeared short after commit f2bf7cb7e1c501424909da7e744d242a6715d437 (Jan 3 23:00:54 2021)) **Additional context** ``` dh_auto_test -a -O--buildsystem=cmake -O--builddirectory=build -O-Ptarget_build/debian -O--parallel cd build && make -j12 test ARGS\+=-j12 Running tests... /usr/bin/ctest --force-new-ctest-process -j12 Test project <build dir> Start 1: guiunittests Could not find executable guiunittests Looked in the following places: guiunittests guiunittests Release/guiunittests Release/guiunittests Debug/guiunittests Debug/guiunittests MinSizeRel/guiunittests MinSizeRel/guiunittests RelWithDebInfo/guiunittests RelWithDebInfo/guiunittests Deployment/guiunittests Deployment/guiunittests Development/guiunittests Development/guiunittests Unable to find executable: guiunittests 1/1 Test #1: guiunittests .....................***Not Run 0.00 sec 0% tests passed, 1 tests failed out of 1 Total Test time (real) = 0.00 sec The following tests FAILED: 1 - guiunittests (Not Run) Errors while running CTest ```
gitea-mirror added the
bug
label 2026-05-05 07:13:55 -06:00
Author
Owner

@p12tic commented on GitHub (Jun 25, 2021):

Thanks for reporting this bug.

<!-- gh-comment-id:868479796 --> @p12tic commented on GitHub (Jun 25, 2021): Thanks for reporting this bug.
Author
Owner

@tubaman commented on GitHub (Oct 9, 2023):

Workaround: Before building set the following:

export PATH=$PATH:$PWD/build/bin
<!-- gh-comment-id:1753635416 --> @tubaman commented on GitHub (Oct 9, 2023): Workaround: Before building set the following: export PATH=$PATH:$PWD/build/bin
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#865
No description provided.