Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

creating build #6236

@rsidhaarth

Description

@rsidhaarth

Could not able to create a build using 5.1.2.tar.gz using "build/clean_build.sh"

[root@ops trafficcontrol]# build/clean_build.sh
++ readlink build/clean_build.sh
+ script_path=
+ script_path=build/clean_build.sh
++ dirname build/clean_build.sh
+ cd build
++ git rev-parse --show-toplevel
+ tc_volume=
+ tc_volume=/trafficcontrol
+ export GOPATH=/tmp/go GOOS=linux
+ GOPATH=/tmp/go
+ GOOS=linux
+ tc_dir=/tmp/go/src/github.com/apache/trafficcontrol
+ which cygpath
+ mkdir -p /tmp/go
+ cd /tmp/go
++ dirname /tmp/go/src/github.com/apache/trafficcontrol
+ mkdir -p src pkg bin /tmp/go/src/github.com/apache
+ rsync -a --exclude=/dist --exclude=/.m2 /trafficcontrol/ /tmp/go/src/github.com/apache/trafficcontrol
rsync: change_dir "/trafficcontrol" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2]
+ exit_code=23
+ '[' 23 -ne 0 ']'
+ echo 'Error on line 1 of build/clean_build.sh'
Error on line 1 of build/clean_build.sh
+ cleanup
+ setowner /trafficcontrol /trafficcontrol/dist
++ stat -c%u:%g /trafficcontrol
++ stat -f%u:%g /trafficcontrol
stat: invalid option -- '%'
Try 'stat --help' for more information.
+ own=
[root@ops trafficcontrol]#

Where as if I clone https://github.com/apache/trafficcontrol , the same is working and version 6 is getting built.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething isn't working as intendedbuildrelated to the build process

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions