Skip to content

unsuccessful diagnosis: build failure #215

@keszybz

Description

@keszybz

IIRC, feedback on misdiagnosis was wanted. If not, feel free to close.

https://kojipkgs.fedoraproject.org//work/tasks/5710/130085710/build.log
fails with:

cd /builddir/build/BUILD/tarantool-2.4.2.68-build/tarantool-2.4.2.68/redhat-linux-build/third_party/luajit && /usr/bin/gmake BUILDMODE=static HOST_CC="/usr/bin/gcc" TARGET_CC="/usr/bin/gcc" TARGET_CFLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fexceptions -funwind-tables -fno-common -fopenmp -msse2 -Wno-parentheses-equality -Wno-tautological-compare -Wno-misleading-indentation -Wno-varargs -Wno-implicit-fallthrough" TARGET_LD="/usr/bin/ld" TARGET_LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes" TARGET_AR="/usr/bin/ar rcus" TARGET_STRIP="/usr/bin/strip" TARGET_SYS="Linux" CCOPT="-O2" CCDEBUG="" XCFLAGS="-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -DNVALGRIND -DNVALGRIND=1 -DLUAJIT_SMART_STRINGS=1" Q='' MACOSX_DEPLOYMENT_TARGET="" clean
/builddir/build/BUILD/tarantool-2.4.2.68-build/tarantool-2.4.2.68/extra/lemon.c:1030:6: error: conflicting types for ‘FindLinks’; have ‘void(struct lemon *)’
 1030 | void FindLinks(struct lemon *lemp)
      |      ^~~~~~~~~
/builddir/build/BUILD/tarantool-2.4.2.68-build/tarantool-2.4.2.68/extra/lemon.c:176:6: note: previous declaration of ‘FindLinks’ with type ‘void(void)’
  176 | void FindLinks();
      |      ^~~~~~~~~
/builddir/build/BUILD/tarantool-2.4.2.68-build/tarantool-2.4.2.68/extra/lemon.c:1065:6: error: conflicting types for ‘FindFollowSets’; have ‘void(struct lemon *)’
 1065 | void FindFollowSets(struct lemon *lemp)
      |      ^~~~~~~~~~~~~~
/builddir/build/BUILD/tarantool-2.4.2.68-build/tarantool-2.4.2.68/extra/lemon.c:177:6: note: previous declaration of ‘FindFollowSets’ with type ‘void(void)’
  177 | void FindFollowSets();
      |      ^~~~~~~~~~~~~~
/builddir/build/BUILD/tarantool-2.4.2.68-build/tarantool-2.4.2.68/extra/lemon.c:1101:6: error: conflicting types for ‘FindActions’; have ‘void(struct lemon *)’
 1101 | void FindActions(struct lemon *lemp)
      |      ^~~~~~~~~~~
/builddir/build/BUILD/tarantool-2.4.2.68-build/tarantool-2.4.2.68/extra/lemon.c:178:6: note: previous declaration of ‘FindActions’ with type ‘void(void)’
  178 | void FindActions();
      |      ^~~~~~~~~~~

Arrrgh, Log Detective does not allow the output to be selected!!!

The error message doesn't provide enough information to accurately determine the cause of the command failure.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Someday in future

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions