curl / Mailing Lists / curl-library / Single Mail

curl-library

building 'master' branch from github...

From: Michael Felt <michael_at_felt.demon.nl>
Date: Sun, 12 Nov 2017 13:27:03 +0100

michael_at_x071:[/data/prj/aixtools/curl]git clone
https://github.com/curl/curl.git curl-master
Cloning into 'curl-master'...
remote: Counting objects: 131328, done.
remote: Compressing objects: 100% (31/31), done.
remote: Total 131328 (delta 11), reused 12 (delta 3), pack-reused 131294
Receiving objects: 100% (131328/131328), 48.30 MiB | 2.58 MiB/s, done.
Resolving deltas: 100% (102129/102129), done.
Checking out files: 100% (2855/2855), done.

michael_at_x071:[/data/prj/aixtools/curl]cd *master
michael_at_x071:[/data/prj/aixtools/curl/curl-master]./buildconf
buildconf: autoconf version 2.69 (ok)
buildconf: autom4te version 2.69 (ok)
buildconf: autoheader version 2.69 (ok)
buildconf: automake version 1.15 (ok)
buildconf: aclocal version 1.15 (ok)
buildconf: libtoolize version 2.4.6 (ok)
buildconf: GNU m4 version 1.4.17 (ok)
buildconf: running libtoolize
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
buildconf: converting all mv to mv -f in local m4/libtool.m4
buildconf: running aclocal
buildconf: converting all mv to mv -f in local aclocal.m4
buildconf: running autoheader
buildconf: running autoconf
buildconf: running automake
configure.ac:126: installing './compile'
configure.ac:181: installing './config.guess'
configure.ac:181: installing './config.sub'
configure.ac:126: installing './install-sh'
configure.ac:127: installing './missing'
docs/examples/Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
buildconf: OK
michael_at_x071:[/data/prj/aixtools/curl/curl-master]

And now the build process:

root_at_x064:[/data/prj/aixtools/curl/curl-master]buildaix
--with-ca-bundle=/var/ssl/cacert.pem
VRMF
xlc is /usr/vacpp/bin/xlc
+ CPPFLAGS="-I/opt/include" CFLAGS="-I/opt/include -O2 -qmaxmem=-1
-qarch=pwr5"\
         ./configure\
                 --prefix=/opt \
                 --sysconfdir=/var/curl-master/etc\
                 --sharedstatedir=/var/curl-master/com\
                 --localstatedir=/var/curl-master\
                 --mandir=/usr/share/man\
                 --infodir=/opt/share/info/curl-master
--with-ca-bundle=/var/ssl/cacert.pem\
                         > .buildaix/configure.out
configure: WARNING: Continuing even with errors mentioned immediately
above this line.
configure: WARNING: Cannot find libraries for LDAP support: LDAP disabled
configure: WARNING: libpsl was not found
configure: WARNING: Cannot find libraries for IDN support: IDN disabled
configure: WARNING: Continuing even with errors mentioned immediately
above this line.
+ make > .buildaix/make.out
"Makefile", line 3808: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3809: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3810: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3811: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3813: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3814: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3815: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3816: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3817: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3818: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3819: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3822: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3823: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3824: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3826: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3862: make: 1254-055 Dependency line needs colon or
double colon operator.
make: 1254-058 Fatal errors encountered -- cannot continue.
make: 1254-004 The error code from the last command is 1.

Stop.
make returned an error
  - Deeper - (looking into make.out) - does not get very deep!

root_at_x064:[/data/prj/aixtools/curl/curl-master]more .buildaix/make.out
Making all in lib

So - make V=1

root_at_x064:[/data/prj/aixtools/curl/curl-master]make V=1
Making all in lib
"Makefile", line 3808: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3809: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3810: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3811: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3813: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3814: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3815: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3816: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3817: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3818: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3819: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3822: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3823: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3824: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3826: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3862: make: 1254-055 Dependency line needs colon or
double colon operator.
make: 1254-058 Fatal errors encountered -- cannot continue.
make: 1254-004 The error code from the last command is 1.

As these are all comments - frustrating...

make -d - tail of file returns:

defining transformation from `.c' to `.obj'
inserting .c(1)...at end of list
inserting .obj(4)...at end of list
transformation .c.obj complete
defining transformation from `.c' to `.lo'
inserting .c(1)...at end of list
inserting .lo(2)...before .o(3)
transformation .c.lo complete
"Makefile", line 3808: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3809: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3810: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3811: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3813: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3814: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3815: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3816: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3817: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3818: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3819: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3822: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3823: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3824: make: 1254-055 Dependency line needs colon or
double colon operator.
"Makefile", line 3826: make: 1254-055 Dependency line needs colon or
double colon operator.
May be += operator present
Global:GITIGNOREFILES = $(CODE_COVERAGE_OUTPUT_FILE)
$(CODE_COVERAGE_OUTPUT_DIRECTORY)
Global:code_coverage_v_lcov_cap = $(code_coverage_v_lcov_cap_$(V))
Global:code_coverage_v_lcov_cap_ =
$(code_coverage_v_lcov_cap_$(AM_DEFAULT_VERBOSITY))
Global:code_coverage_v_lcov_cap_0 = @echo "  LCOV   --capture"
$(CODE_COVERAGE_OUTPUT_FILE);
Global:code_coverage_v_lcov_ign = $(code_coverage_v_lcov_ign_$(V))
Global:code_coverage_v_lcov_ign_ =
$(code_coverage_v_lcov_ign_$(AM_DEFAULT_VERBOSITY))
Global:code_coverage_v_lcov_ign_0 = @echo "  LCOV   --remove /tmp/*"
$(CODE_COVERAGE_IGNORE_PATTERN);
Global:code_coverage_v_genhtml = $(code_coverage_v_genhtml_$(V))
Global:code_coverage_v_genhtml_ =
$(code_coverage_v_genhtml_$(AM_DEFAULT_VERBOSITY))
Global:code_coverage_v_genhtml_0 = @echo "  GEN   "
$(CODE_COVERAGE_OUTPUT_DIRECTORY);
Global:code_coverage_quiet = $(code_coverage_quiet_$(V))
Global:code_coverage_quiet_ = $(code_coverage_quiet_$(AM_DEFAULT_VERBOSITY))
Global:code_coverage_quiet_0 = --quiet
Global:code_coverage_sanitize = $(subst -,_,$(subst .,_,$(1)))
"Makefile", line 3862: make: 1254-055 Dependency line needs colon or
double colon operator.
May be += operator present
Global:AM_DISTCHECK_CONFIGURE_FLAGS = --disable-code-coverage
make: 1254-058 Fatal errors encountered -- cannot continue.

On further examination - while the error message is about colon, it
seems to all be related to a new extension to the Makefile.

+# Code coverage
+#
+# Optional:
+#  - CODE_COVERAGE_DIRECTORY: Top-level directory for code coverage
reporting.
+#    Multiple directories may be specified, separated by whitespace.
+#    (Default: $(top_builddir))
+#  - CODE_COVERAGE_OUTPUT_FILE: Filename and path for the .info file
generated
+#    by lcov for code coverage. (Default:
+#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info)
+#  - CODE_COVERAGE_OUTPUT_DIRECTORY: Directory for generated code coverage
+#    reports to be created. (Default:
+#    $(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage)
+#  - CODE_COVERAGE_BRANCH_COVERAGE: Set to 1 to enforce branch coverage,
+#    set to 0 to disable it and leave empty to stay with the default.
+#    (Default: empty)
+#  - CODE_COVERAGE_LCOV_SHOPTS_DEFAULT: Extra options shared between
both lcov
+#    instances. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
+#  - CODE_COVERAGE_LCOV_SHOPTS: Extra options to shared between both lcov
+#    instances. (Default: $CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
+#  - CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH: --gcov-tool pathtogcov
+#  - CODE_COVERAGE_LCOV_OPTIONS_DEFAULT: Extra options to pass to the
+#    collecting lcov instance. (Default:
$CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
+#  - CODE_COVERAGE_LCOV_OPTIONS: Extra options to pass to the
collecting lcov
+#    instance. (Default: $CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
+#  - CODE_COVERAGE_LCOV_RMOPTS_DEFAULT: Extra options to pass to the
filtering
+#    lcov instance. (Default: empty)
+#  - CODE_COVERAGE_LCOV_RMOPTS: Extra options to pass to the filtering lcov
+#    instance. (Default: $CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
+#  - CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT: Extra options to pass to the
+#    genhtml instance. (Default: based on $CODE_COVERAGE_BRANCH_COVERAGE)
+#  - CODE_COVERAGE_GENHTML_OPTIONS: Extra options to pass to the genhtml
+#    instance. (Default: $CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
+#  - CODE_COVERAGE_IGNORE_PATTERN: Extra glob pattern of files to ignore
+#
+# The generated report will be titled using the $(PACKAGE_NAME) and
+# $(PACKAGE_VERSION). In order to add the current git hash to the title,
+# use the git-version-gen script, available online.
+
+# Optional variables
+CODE_COVERAGE_DIRECTORY ?= $(top_builddir)
+CODE_COVERAGE_OUTPUT_FILE ?=
$(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage.info
+CODE_COVERAGE_OUTPUT_DIRECTORY ?=
$(PACKAGE_NAME)-$(PACKAGE_VERSION)-coverage
+CODE_COVERAGE_BRANCH_COVERAGE ?=
+CODE_COVERAGE_LCOV_SHOPTS_DEFAULT ?= $(if
$(CODE_COVERAGE_BRANCH_COVERAGE),\
+--rc lcov_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
+CODE_COVERAGE_LCOV_SHOPTS ?= $(CODE_COVERAGE_LCOV_SHOPTS_DEFAULT)
+CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH ?= --gcov-tool "$(GCOV)"
+CODE_COVERAGE_LCOV_OPTIONS_DEFAULT ?=
$(CODE_COVERAGE_LCOV_OPTIONS_GCOVPATH)
+CODE_COVERAGE_LCOV_OPTIONS ?= $(CODE_COVERAGE_LCOV_OPTIONS_DEFAULT)
+CODE_COVERAGE_LCOV_RMOPTS_DEFAULT ?=
+CODE_COVERAGE_LCOV_RMOPTS ?= $(CODE_COVERAGE_LCOV_RMOPTS_DEFAULT)
+CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT ?=\
+$(if $(CODE_COVERAGE_BRANCH_COVERAGE),\
+--rc genhtml_branch_coverage=$(CODE_COVERAGE_BRANCH_COVERAGE))
+CODE_COVERAGE_GENHTML_OPTIONS ?= $(CODE_COVERAGE_GENHTML_OPTIONS_DEFAULT)
+CODE_COVERAGE_IGNORE_PATTERN ?=
+
+GITIGNOREFILES ?=
+GITIGNOREFILES += $(CODE_COVERAGE_OUTPUT_FILE)
$(CODE_COVERAGE_OUTPUT_DIRECTORY)
+

...

My first thought was the "?=" - but now I recall the actual ERROR
message from make -d:

...

"makefile", line 3214: make: 1254-055 Dependency line needs colon or
double colon operator.
May be += operator present
Global:AM_DISTCHECK_CONFIGURE_FLAGS = --disable-code-coverage

Seems the killer here is the += operator - coming from somewhere.

As a simple test - I just deleted the lines 3184,$

And - make seems to work fine.

New (actually old - reported earlier) issue comes up.

Shall post that as a new thread.

mvg,

Michael

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-11-12