Skip to content

invalid bash produces invalid variable names in stuations where GNU autotools works well #31

Description

@eli-schwartz
>>> Configuring source in /var/tmp/portage/dev-libs/libserdes-8.0.0/work/libserdes-8.0.0 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64
checking for OS or distribution... ok (Gentoo)
checking for C compiler from CC env... failed
checking for gcc (by command)... ok
checking for C++ compiler from CXX env... failed
checking for C++ compiler (g++)... ok
checking executable ld... ok
checking executable nm... ok
checking executable objdump... ok
checking executable strip... ok
checking for pkgconfig (by command)... ok
checking for install (by command)... ok
checking for PIC (by compile)... ok
checking for GNU-compatible linker options... ok
checking for GNU linker-script ld flag... ok
checking for socket (by compile)... ok
mklove/modules/configure.base: line 773: mkl__avro-c__name: invalid variable name
checking for x:avro-c... failed
mklove/modules/configure.base: line 773: mkl__avro-c__name: invalid variable name
checking for x:avro-c...mklove/modules/configure.base: line 126: MKL_STATUS_avro-c: invalid variable name
 ok
mklove/modules/configure.base: line 773: mkl__avro-cpp__name: invalid variable name
checking for x:avro-cpp... failed
mklove/modules/configure.base: line 773: mkl__avro-cpp__name: invalid variable name
checking for x:avro-cpp...mklove/modules/configure.base: line 126: MKL_STATUS_avro-cpp: invalid variable name
 failed (disable)
checking for librdkafka (by pkg-config)... failed
checking for librdkafka (by compile)... failed (disable)
checking for jansson (by pkg-config)... ok
checking for libcurl (by pkg-config)... ok
checking for libpthread (by pkg-config)... failed
checking for libpthread (by compile)... ok
checking for librt (by pkg-config)... failed
checking for librt (by compile)... ok
checking for nm (by env NM)... ok (cached)
checking for perl (by command)... ok
Generated Makefile.config
Generated config.h

Configuration summary:
  prefix                   /usr
  ARCH                     x86_64
  CPU                      generic
  BUILD                    x86_64-pc-linux-gnu
  HOST                     x86_64-pc-linux-gnu
  mandir                   /usr/share/man
  infodir                  /usr/share/info
  datadir                  /usr/share
  sysconfdir               /etc
  localstatedir            /var/lib
  DISABL_DEP_TRACK         y
  DISABL_SILENT_RULES      y
  libdir                   /usr/lib64
  MKL_APP_NAME             
  MKL_APP_DESC_ONELINE     
  LDFLAGS                  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64
  MKL_DISTRO               Gentoo
  CC                       gcc
  CXX                      g++
  LD                       ld
  NM                       nm
  OBJDUMP                  objdump
  STRIP                    strip
  CFLAGS                   -pipe -ggdb -march=native -fstack-protector-all -O2 -fdiagnostics-color=always -frecord-gcc-switches -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing  -Wformat -Werror=format-security  
  CXXFLAGS                 -pipe -ggdb -march=native -fstack-protector-all -O2 -fdiagnostics-color=always -frecord-gcc-switches -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing  -Wformat -Werror=format-security -Wno-non-virtual-dtor
  CPPFLAGS                 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith
  PKG_CONFIG               pkg-config
  INSTALL                  install
  LIB_LDFLAGS              -shared -Wl,-soname,$(LIBFILENAME)
  LDFLAG_LINKERSCRIPT      -Wl,--version-script=
  ENABLE_AVRO_C            y
  LIBS                     -lavro -ljansson -lcurl -lpthread -lrt
  ENABLE_AVRO_CPP          n
  ENABLE_LIBRDKAFKA        n
  SYMDUMPER                $(NM) -D
  exec_prefix              /usr
  bindir                   /usr/bin
  sbindir                  /usr/sbin
  libexecdir               /usr/libexec
  sharedstatedir           /usr/com
  includedir               /usr/include
Generated config.cache

Now type 'make' to build
>>> Source configured.
```\

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions