Build failed in Jenkins: cgit-master #181 - origin/master - 899f415

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


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

Changes:

[Jason] extra-head-content: introduce another option for meta tags

------------------------------------------
Started by an SCM change
Building in workspace <https://hupie.dyndns.org:15051/jenkins/job/cgit-master/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
 > git submodule foreach --recursive git reset --hard # timeout=10
 > git submodule foreach --recursive 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 899f4152cb028e6053609195c51310b6132d7a7b (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 899f4152cb028e6053609195c51310b6132d7a7b
Commit message: "extra-head-content: introduce another option for meta tags"
 > git rev-list --no-walk a35da2933caf88fbdd0e108be7f03beabd3b0523 # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
 > git submodule foreach --recursive git reset --hard # timeout=10
 > git submodule foreach --recursive git clean -fdx # timeout=10
 > git remote # timeout=10
 > git submodule init # timeout=10
 > git submodule sync # timeout=10
 > git config --get remote.origin.url # timeout=10
 > git submodule init # timeout=10
 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10
 > git config --get submodule.git.url # timeout=10
 > git config -f .gitmodules --get submodule.git.path # timeout=10
 > git submodule update --init --recursive git
Set build name.
New build name is '#181 - origin/master - 899f415'
[workspace] $ /bin/bash /tmp/jenkins2950257007990086134.sh
    SUBDIR git
CGIT_VERSION = v1.1-61-g899f
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:487:3: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
   strncpy(name, value, len);
   ^~~~~~~~~~~~~~~~~~~~~~~~~
../shared.c:484: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:1143:36: error: ‘CGIT_SNAPSHOT_FORMAT_TAR_INDEX’ undeclared (first use in this function)
              cgit_snapshot_formats[CGIT_SNAPSHOT_FORMAT_TAR_INDEX])) {
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ui-shared.c:1143: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 '#181 - origin/master - 899f415'
Archiving artifacts


More information about the CGit mailing list