Build failed in Jenkins: cgit-master-get-git #179 - origin/master - a35da29

Pelagic Jenkins (Public) noreply at pelagic.nl
Tue Jul 3 20:33:20 CEST 2018


See <https://hupie.dyndns.org:15051/jenkins/job/cgit-master-get-git/179/display/redirect?page=changes>

Changes:

[Jason] snapshot: support tar signature for compressed tar

------------------------------------------
Started by an SCM change
Building in workspace <https://hupie.dyndns.org:15051/jenkins/job/cgit-master-get-git/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://git.zx2c4.com/cgit # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Pruning obsolete local branches
Fetching upstream changes from https://git.zx2c4.com/cgit
 > git --version # timeout=10
 > git fetch --tags --progress https://git.zx2c4.com/cgit +refs/heads/*:refs/remotes/origin/* --prune
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision a35da2933caf88fbdd0e108be7f03beabd3b0523 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f a35da2933caf88fbdd0e108be7f03beabd3b0523
Commit message: "snapshot: support tar signature for compressed tar"
 > git rev-list --no-walk c4fbb99cee30fa295e240b429b2dc7e8ad83d535 # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
Set build name.
New build name is '#179 - origin/master - a35da29'
[workspace] $ /bin/bash /tmp/jenkins9063247784625259119.sh
curl -L https://www.kernel.org/pub/software/scm/git/git-2.18.0.tar.gz | tar -xzf - && rm -rf git && mv git-2.18.0 git
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0100   178  100   178    0     0   1078      0 --:--:-- --:--:-- --:--:--  1078
100 7323k  100 7323k    0     0  11.2M      0 --:--:-- --:--:-- --:--:-- 11.2M
    SUBDIR git
CGIT_VERSION = v1.1-60-ga35d
GIT_VERSION = 2.18.0
    * new build flags
    * new CGit build flags
    CC ../cgit.o
    CC ../cache.o
    CC ../cmd.o
    CC ../configfile.o
    CC ../filter.o
    CC ../html.o
    CC ../parsing.o
    CC ../scan-tree.o
    CC ../shared.o
../shared.c: In function ‘expand_macro’:
../shared.c:486:3: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   strncpy(name, value, len);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
../shared.c:483:9: note: length computed here
   len = strlen(value);
         ^~~~~~~~~~~~~
    CC ../ui-atom.o
    CC ../ui-blame.o
    CC ../ui-blob.o
    CC ../ui-clone.o
    CC ../ui-commit.o
    CC ../ui-diff.o
    CC ../ui-log.o
    CC ../ui-patch.o
    CC ../ui-plain.o
    CC ../ui-refs.o
    CC ../ui-repolist.o
    CC ../ui-shared.o
../ui-shared.c: In function ‘cgit_print_snapshot_links’:
../ui-shared.c:1141:36: error: ‘CGIT_SNAPSHOT_FORMAT_TAR_INDEX’ undeclared (first use in this function)
              cgit_snapshot_formats[CGIT_SNAPSHOT_FORMAT_TAR_INDEX])) {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ui-shared.c:1141:36: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [../cgit.mk:130: ../ui-shared.o] Error 1
make: *** [Makefile:76: cgit] Error 2
Build step 'Execute shell' marked build as failure
Set build name.
New build name is '#179 - origin/master - a35da29'
Archiving artifacts


More information about the CGit mailing list