| View previous topic :: View next topic |
| Writer | Message |
Pita Tux's lil' helper Joined: 09 April 2020 Posts: 101 | Posted: Wednesday May xx, 2020 12:20 pm Post subject area: Libtool Version Mismatch issue | | | I've been trying to brand a php ext for our project described here: https://forums.gentoo.org/viewtopic-t-1113056.html and I'thousand running into a version mismatch mistake for libtool. When I run brand on my ext, I get this error: | Code: | libtool: Version mismatch error. This is libtool 2.4.6, just the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.6 libtool: and run autoconf once again. make: *** [Makefile:192: php_tsync.lo] Error 63 | This is what is run to build: | Code: | phpize --clean && phpize && aclocal && libtoolize --forcefulness && autoheader && autoconf && ./configure --enable-tsync && make make clean && brand | I tried following the advice of this: https://stackoverflow.com/questions/3096989/libtool-version-mismatch-error but their solutions seem to not be working. Any ideas? | |
| Back to peak | |
|
UlFie Tux's lil' helper Joined: 01 November 2011 Posts: 112 Location: Wuppertal | Posted: Wed May twenty, 2020 iii:44 pm Post subject: Re: Libtool Version Mismatch issue | | | | Pita wrote: | | Code: | phpize --clean && phpize && aclocal && libtoolize --force && autoheader && autoconf && ./configure --enable-tsync && brand clean && brand | | Which of these 9 (ix!) commands is it that fails? Run them one past one, wait at the output each of them yields upwards to the error (not the one on screen which seems to be empty; I would assume, they write out certain files), and tell us more! | |
| Back to elevation | |
|
Pita Tux'due south lil' helper Joined: 09 April 2020 Posts: 101 | Posted: Wed May 20, 2020 4:26 pm Post subject field: | | | Information technology fails on the make. Hither'due south the full output: | Code: | phpize --make clean && phpize && aclocal && libtoolize --strength && autoheader && autoconf && ./configure --enable-tsync && make clean && brand Cleaning.. Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 autoconf-2.69: alarm: both `configure.ac' and `configure.in' are present. autoconf-2.69: alarm: proceeding with `configure.air-conditioning'. autoheader-2.69: 'configure.air conditioning' and 'configure.in' both present. autoheader-ii.69: proceeding with 'configure.ac' aclocal-one.sixteen: warning: autoconf input should exist named 'configure.ac', not 'configure.in' aclocal-1.16: alarm: 'configure.ac' and 'configure.in' both present. aclocal-1.xvi: proceeding with 'configure.air-conditioning' build/libtool.m4:274: warning: underquoted definition of _LT_AC_TRY_LINK build/libtool.m4:274: run info Automake 'Extending aclocal' build/libtool.m4:274: or see https://world wide web.gnu.org/software/automake/manual/automake.html#Extending-aclocal libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: linking file 'build/ltmain.sh' libtoolize: You should add together the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider calculation '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoheader-2.69: 'configure.ac' and 'configure.in' both present. autoheader-2.69: proceeding with 'configure.ac' autoconf-two.69: warning: both `configure.air conditioning' and `configure.in' are present. autoconf-2.69: warning: proceeding with `configure.ac'. checking for grep that handles long lines and -eastward... /bin/grep checking for egrep... /bin/grep -East checking for a sed that does not truncate output... /bin/sed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cc... cc checking whether the C compiler works... yes checking for C compiler default output file proper noun... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether nosotros are using the GNU C compiler... yes checking whether cc accepts -g... yeah checking for cc option to take ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for organisation library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yep checking build system type... i686-pc-linux-gnu checking host system blazon... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr/lib/php7.four checking for PHP includes... -I/usr/lib/php7.four/include/php -I/usr/lib/php7.four/include/php/main -I/usr/lib/php7.4/include/php/TSRM -I/usr/lib/php7.4/include/php/Zend -I/usr/lib/php7.4/include/php/ext -I/usr/lib/php7.4/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php7.4/lib/extensions/no-debug-non-zts-20190902 checking for PHP installed headers prefix... /usr/lib/php7.4/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable tsync support... yeah, shared checking for a sed that does not truncate output... /bin/sed checking for ld used past cc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-uniform nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yeah checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yep checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yeah checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... aye checking dlfcn.h presence... yep checking for dlfcn.h... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc selection to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yep checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... aye checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... aye checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: patching config.h.in configure: creating ./config.status config.status: creating config.h find . -name \*.gcno -o -name \*.gcda | xargs rm -f notice . -name \*.lo -o -name \*.o | xargs rm -f detect . -name \*.la -o -name \*.a | xargs rm -f detect . -name \*.so | xargs rm -f find . -name .libs -a -type d|xargs rm -rf rm -f libphp.la modules/* libs/* /bin/sh /usr/src/spectracom/phpext/tsync/libtool --mode=compile cc -I. -I/usr/src/spectracom/phpext/tsync -DPHP_ATOM_INC -I/usr/src/spectracom/phpext/tsync/include -I/usr/src/spectracom/phpext/tsync/main -I/usr/src/spectracom/phpext/tsync -I/usr/lib/php7.4/include/php -I/usr/lib/php7.four/include/php/main -I/usr/lib/php7.four/include/php/TSRM -I/usr/lib/php7.4/include/php/Zend -I/usr/lib/php7.4/include/php/ext -I/usr/lib/php7.iv/include/php/ext/engagement/lib -I/usr/src/spectracom/phpext/tsync/.. -I/usr/src/spectracom/tsync/lafayette/include -I/usr/src/spectracom/tsync/tsync/common/h -I/usr/src/spectracom/tsync/tsync/common/lib -I/usr/src/spectracom/tsync/tsync/common/tsync/lib -I/usr/src/spectracom/tsync/tsync/common/tsync/h -I/usr/src/spectracom/tsync/tsync/linux/h -I/usr/src/spectracom/tsync/tsync/linux/tsync/h -I/usr/src/spectracom/tsync/tsync/examples -DHAVE_CONFIG_H -grand -O2 -DLAFAYETTE -c /usr/src/spectracom/phpext/tsync/php_tsync.c -o php_tsync.lo libtool: Version mismatch mistake. This is libtool two.iv.6, but the libtool: definition of this LT_INIT comes from an older release. libtool: Yous should recreate aclocal.m4 with macros from libtool two.iv.half dozen libtool: and run autoconf again. make: *** [Makefile:192: php_tsync.lo] Mistake 63 | | |
| Back to top | |
|
UlFie Tux's lil' helper Joined: 01 Nov 2011 Posts: 112 Location: Wuppertal | Posted: Midweek May xx, 2020 5:thirty pm Mail service subject: | | | It'south never a good thought to ignore early warnings . | Pita wrote: | | Lawmaking: | autoconf-2.69: warning: both `configure.ac' and `configure.in' are present. autoheader-2.69: 'configure.air-conditioning' and 'configure.in' both nowadays. aclocal-1.16: alert: autoconf input should exist named 'configure.ac', non 'configure.in' aclocal-ane.16: alert: 'configure.air conditioning' and 'configure.in' both present. build/libtool.m4:274: alert: underquoted definition of _LT_AC_TRY_LINK libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoheader-2.69: 'configure.air-conditioning' and 'configure.in' both present. autoconf-2.69: alarm: both `configure.ac' and `configure.in' are present. | | I'd propose fixing all that. Peculiarly the suggested changes for aclocal.m4 sound of import, information technology'southward that file which contains something the terminal error complains about. | |
| Back to elevation | |
|
Pita Tux's lil' helper Joined: 09 Apr 2020 Posts: 101 | Posted: Wed May 20, 2020 7:13 pm Post subject field: | | | | I've fixed them all and I still get the same error | |
| Back to elevation | |
|
GDH-gentoo l33t Joined: 20 Jul 2019 Posts: 866 Location: Southward America | Posted: Midweek May 20, 2020 7:l pm Post subject: | | | | Y'all could try looking at the output of observe . -proper name '*.m4' -exec grep -E 'macro_(version|revision)' {} +, in the aforementioned directory you were running those commands, and see if there's anything resembling a version number that is non ii.iv.6. As well, I believe it is generally recommended to use the autoreconf control with suitable options instead of individually calling aclocal, autoheader, libtoolize and autoconf. See info autoreconf. | |
| Back to top | |
|
Pita Tux'south lil' helper Joined: 09 April 2020 Posts: 101 | Posted: Wed May 20, 2020 8:05 pm Post subject area: | | | | Code: | gentooSS /usr/src/spectracom/phpext/tsync # find . -name '*.m4' -exec grep -E 'macro_(version|revision)' {} + grep: ./m4/ltsugar.m4: No such file or directory grep: ./m4/ltversion.m4: No such file or directory grep: ./m4/libtool.m4: No such file or directory grep: ./m4/lt~obsolete.m4: No such file or directory grep: ./m4/ltoptions.m4: No such file or directory | | |
| Back to pinnacle | |
|
GDH-gentoo l33t Joined: 20 Jul 2019 Posts: 866 Location: Southward America | Posted: Wednesday May xx, 2020 9:25 pm Post discipline: | | | find finds .m4 files but grep says that they practice not exist ? Fine, try grep -E 'macro_(version|revision)' m4/* and encounter if there's anything resembling a version number that is non ii.4.6. Is m4/ the only directory that contains .m4 files? | |
| Dorsum to top | |
|
UlFie Tux's lil' helper Joined: 01 Nov 2011 Posts: 112 Location: Wuppertal | Posted: Wed May 20, 2020 11:47 pm Post subject: | | | | GDH-gentoo wrote: | find finds .m4 files just grep says that they exercise not be ? | They could be symlinks pointing to non-existing files. What does ls -Fla m4 say? | |
| Back to superlative | |
|
Pita Tux's lil' helper Joined: 09 April 2020 Posts: 101 | Posted: Thu May 21, 2020 12:01 pm Post subject: | | | | Code: | gentooSS /target/gentoo/usr/src/spectracom/phpext/tsync # grep -E 'macro_(version|revision)' m4/* m4/ltversion.m4:[macro_version='2.4.vi' m4/ltversion.m4:macro_revision='2.4.6' m4/ltversion.m4:_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) m4/ltversion.m4:_LT_DECL(, macro_revision, 0) | | Code: | gentooSS /target/gentoo/usr/src/spectracom/phpext/tsync # ls -Fla m4 total 8 drwxrwxr-x ii root root 4096 May xx 14:07 ./ drwxrwxr-x 7 root root 4096 May xx xv:12 ../ lrwxrwxrwx one root root 29 May xx xiv:07 libtool.m4 -> /usr/share/aclocal/libtool.m4 lrwxrwxrwx 1 root root 33 May 20 14:07 lt~obsolete.m4 -> /usr/share/aclocal/lt~obsolete.m4 lrwxrwxrwx 1 root root 31 May xx xiv:07 ltoptions.m4 -> /usr/share/aclocal/ltoptions.m4 lrwxrwxrwx 1 root root 29 May xx 14:07 ltsugar.m4 -> /usr/share/aclocal/ltsugar.m4 lrwxrwxrwx 1 root root 31 May 20 14:07 ltversion.m4 -> /usr/share/aclocal/ltversion.m4 | | |
| Back to tiptop | |
|
GDH-gentoo l33t Joined: twenty Jul 2019 Posts: 866 Location: S America | Posted: Thu May 21, 2020 12:58 pm Post discipline: | | | | Are you irresolute things betwixt each mail and not telling? That looks OK, postal service now the output of grep -Due east '(macro_version|_revision|VERSION=)' libtool in the same directory yous ran the original commands. | |
| Back to meridian | |
|
Pita Tux'due south lil' helper Joined: 09 Apr 2020 Posts: 101 | Posted: Thu May 21, 2020 1:11 pm Postal service subject area: | | | I oasis't changed anything | Lawmaking: | gentooSS /usr/src/spectracom/phpext/tsync # grep -E '(macro_version|_revision|VERSION=)' libtool VERSION=2.4.half dozen package_revision=2.4.6 if test "$package_revision" != "$macro_revision"; and then if test "$VERSION" != "$macro_version"; so if test -z "$macro_version"; then $progname: definition of this LT_INIT comes from $Parcel $macro_version. $progname: Version mismatch error. This is $Parcel $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision generated_by_libtool_version='$macro_version' number_revision=$3 revision=$number_revision | | |
| Back to elevation | |
|
GDH-gentoo l33t Joined: xx Jul 2019 Posts: 866 Location: South America | Posted: Thu May 21, 2020 one:48 pm Post subject field: | | | | OK, now post the output of phpize --clean && phpize && autoreconf --force --install --verbose --symlink && ./configure --enable-tsync, then redo the previous grep control. | |
| Back to top | |
|
Pita Tux'due south lil' helper Joined: 09 Apr 2020 Posts: 101 | Posted: Thu May 21, 2020 2:37 pm Post subject: | | | | Code: | gentooSS /usr/src/spectracom/phpext/tsync # grep -E '(macro_version|_revision|VERSION=)' libtool VERSION=ii.4.six package_revision=ii.4.6 if test "$package_revision" != "$macro_revision"; and so if test "$VERSION" != "$macro_version"; and so if test -z "$macro_version"; and so $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: Version mismatch mistake. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision generated_by_libtool_version='$macro_version' number_revision=$3 revision=$number_revision | | |
| Back to tiptop | |
|
UlFie Tux's lil' helper Joined: 01 November 2011 Posts: 112 Location: Wuppertal | Posted: Thu May 21, 2020 two:52 pm Mail subject: | | | | Pita wrote: | I haven't inverse anything | Code: | gentooSS /usr/src/spectracom/phpext/tsync # | | Well, really yous seem to exist moving around in different directories equally previously you showed u.s. | Code: | | gentooSS /target/gentoo/usr/src/spectracom/phpext/tsync # | Is this some prefix install or chroot jail? Make sure your symlinks in m4/ actually betoken where they should, and if this is a chroot jail make sure that the relevant packages are installed and upward to date inside of it (and not simply in the outside system). | |
| Dorsum to elevation | |
|
GDH-gentoo l33t Joined: 20 Jul 2019 Posts: 866 Location: South America | Posted: Thu May 21, 2020 3:05 pm Mail service subject area: | | | Whatsoever the crusade is, something is not working well with the build system. The libtool script is generated by the configure script, which is generated in plough from other components. This is what the output of grep for a generated libtool script should look like: | Code: | $ grep -E '(macro_version|_revision|VERSION=)' libtool macro_version=2.4.6 macro_revision=two.four.6 VERSION=2.4.6 package_revision=2.4.6 if test "$package_revision" != "$macro_revision"; then if examination "$VERSION" != "$macro_version"; so if test -z "$macro_version"; then $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision generated_by_libtool_version='$macro_version' number_revision=$3 revision=$number_revision | See the actress lines at the starting time? You don't have them, and with the information yous posted and so far, it's impossible to diagnose why. | |
| Back to top | |
|
Pita Tux's lil' helper Joined: 09 April 2020 Posts: 101 | Posted: Thu May 21, 2020 3:43 pm Post subject: | | | | What boosted data practice you need to help diagnose this? I'll mail whatever yous need | |
| Back to peak | |
|
GDH-gentoo l33t Joined: 20 Jul 2019 Posts: 866 Location: Due south America | Posted: Thu May 21, 2020 4:31 pm Mail subject: | | | You didn't post the requested output. This would provide better data about what the build system is doing earlier starting to compile. | GDH-gentoo wrote: | | OK, now postal service the output of phpize --clean && phpize && autoreconf --force --install --verbose --symlink && ./configure --enable-tsync | | |
| Back to top | |
|
Pita Tux'due south lil' helper Joined: 09 Apr 2020 Posts: 101 | Posted: Thu May 21, 2020 4:33 pm Mail service subject: | | | | Code: | gentooSS /usr/src/spectracom/phpext/tsync # phpize --make clean && phpize && autoreconf --force --install --verbose --symlink && ./configure --enable-tsync Cleaning.. Configuring for: PHP Api Version: 20190902 Zend Module Api No: 20190902 Zend Extension Api No: 320190902 autoconf-two.69: warning: both `configure.ac' and `configure.in' are present. autoconf-2.69: warning: proceeding with `configure.air-conditioning'. autoheader-2.69: 'configure.air conditioning' and 'configure.in' both present. autoheader-2.69: proceeding with 'configure.ac' autoreconf-2.69: 'configure.ac' and 'configure.in' both nowadays. autoreconf-2.69: proceeding with 'configure.air conditioning' autoreconf-2.69: Inbound directory `.' autoreconf-2.69: configure.ac: not using Gettext autoreconf-2.69: running: aclocal --force aclocal-i.16: warning: autoconf input should be named 'configure.air-conditioning', not 'configure.in' aclocal-i.16: alarm: 'configure.ac' and 'configure.in' both present. aclocal-1.sixteen: proceeding with 'configure.ac' build/libtool.m4:274: warning: underquoted definition of _LT_AC_TRY_LINK build/libtool.m4:274: run info Automake 'Extending aclocal' build/libtool.m4:274: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf-2.69: configure.ac: tracing autoconf-two.69: warning: both `configure.air conditioning' and `configure.in' are present. autoconf-ii.69: alarm: proceeding with `configure.ac'. autoreconf-two.69: running: libtoolize --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: linking file 'build/ltmain.sh' libtoolize: alarm: no serial number on '/usr/share/aclocal/libtool.m4', not copying. libtoolize: alarm: no serial number on '/usr/share/aclocal/ltoptions.m4', not copying. libtoolize: warning: no serial number on '/usr/share/aclocal/ltsugar.m4', non copying. libtoolize: warning: no serial number on '/usr/share/aclocal/ltversion.m4', not copying. libtoolize: warning: no serial number on '/usr/share/aclocal/lt~obsolete.m4', non copying. libtoolize: You should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. aclocal-1.xvi: warning: autoconf input should exist named 'configure.air conditioning', not 'configure.in' aclocal-i.16: warning: 'configure.ac' and 'configure.in' both present. aclocal-1.16: proceeding with 'configure.air-conditioning' build/libtool.m4:274: warning: underquoted definition of _LT_AC_TRY_LINK build/libtool.m4:274: run info Automake 'Extending aclocal' build/libtool.m4:274: or see https://world wide web.gnu.org/software/automake/manual/automake.html#Extending-aclocal autoreconf-2.69: running: /usr/bin/autoconf-2.69 --strength autoconf-2.69: alarm: both `configure.ac' and `configure.in' are present. autoconf-2.69: alert: proceeding with `configure.air-conditioning'. autoreconf-two.69: running: /usr/bin/autoheader-ii.69 --force autoheader-2.69: 'configure.ac' and 'configure.in' both present. autoheader-2.69: proceeding with 'configure.ac' autoreconf-2.69: configure.ac: not using Automake autoreconf-2.69: Leaving directory `.' checking for grep that handles long lines and -eastward... /bin/grep checking for egrep... /bin/grep -Due east checking for a sed that does non truncate output... /bin/sed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for cc... cc checking whether the C compiler works... aye checking for C compiler default output file proper noun... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yep checking for cc option to have ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yep checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target organization type... i686-pc-linux-gnu checking for PHP prefix... /usr/lib/php7.4 checking for PHP includes... -I/usr/lib/php7.4/include/php -I/usr/lib/php7.iv/include/php/main -I/usr/lib/php7.iv/include/php/TSRM -I/usr/lib/php7.4/include/php/Zend -I/usr/lib/php7.4/include/php/ext -I/usr/lib/php7.4/include/php/ext/engagement/lib checking for PHP extension directory... /usr/lib/php7.4/lib/extensions/no-debug-non-zts-20190902 checking for PHP installed headers prefix... /usr/lib/php7.iv/include/php checking if debug is enabled... no checking if zts is enabled... no checking for gawk... gawk checking whether to enable tsync support... yes, shared checking for a sed that does non truncate output... /bin/sed checking for ld used past cc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yeah checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yeah checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yeah checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... aye checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yeah checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of control line arguments... 1572864 checking control to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce Motion-picture show... -fPIC checking if cc Flick flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yep checking whether the cc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.then checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: patching config.h.in configure: creating ./config.condition config.condition: creating config.h | | |
| Back to top | |
|
GDH-gentoo l33t Joined: twenty Jul 2019 Posts: 866 Location: S America | Posted: Thu May 21, 2020 5:28 pm Post subject: | | | | Pita wrote: | | Code: | build/libtool.m4:274: alert: underquoted definition of _LT_AC_TRY_LINK build/libtool.m4:274: run info Automake 'Extending aclocal' build/libtool.m4:274: or see https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal ... libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: linking file 'build/ltmain.sh' | | Is at that place a build/ subdirectory there? If yep, what is its content? | Pita wrote: | | Code: | libtoolize: warning: no series number on '/usr/share/aclocal/libtool.m4', non copying. libtoolize: alarm: no serial number on '/usr/share/aclocal/ltoptions.m4', not copying. libtoolize: alert: no serial number on '/usr/share/aclocal/ltsugar.m4', not copying. libtoolize: warning: no serial number on '/usr/share/aclocal/ltversion.m4', not copying. libtoolize: alert: no serial number on '/usr/share/aclocal/lt~obsolete.m4', non copying. | | Oh? What's the output of grep '# serial' m4/*? For Libtool ii.four.six it should be: | Lawmaking: | m4/libtool.m4:# serial 58 LT_INIT m4/lt~obsolete.m4:# serial 5 lt~obsolete.m4 m4/ltoptions.m4:# serial eight ltoptions.m4 m4/ltsugar.m4:# serial 6 ltsugar.m4 m4/ltversion.m4:# series 4179 ltversion.m4 | | |
| Dorsum to top | |
|
Pita Tux's lil' helper Joined: 09 April 2020 Posts: 101 | Posted: Thu May 21, 2020 5:50 pm Mail service subject: | | | | GDH-gentoo wrote: | | Pita wrote: | | Code: | build/libtool.m4:274: warning: underquoted definition of _LT_AC_TRY_LINK build/libtool.m4:274: run info Automake 'Extending aclocal' build/libtool.m4:274: or come across https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal ... libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: linking file 'build/ltmain.sh' | | Is there a build/ subdirectory there? If aye, what is its content? | Pita wrote: | | Code: | libtoolize: warning: no serial number on '/usr/share/aclocal/libtool.m4', not copying. libtoolize: warning: no serial number on '/usr/share/aclocal/ltoptions.m4', not copying. libtoolize: warning: no serial number on '/usr/share/aclocal/ltsugar.m4', not copying. libtoolize: alarm: no serial number on '/usr/share/aclocal/ltversion.m4', non copying. libtoolize: warning: no serial number on '/usr/share/aclocal/lt~obsolete.m4', not copying. | | Oh? What'south the output of grep '# serial' m4/*? For Libtool 2.iv.6 information technology should be: | Code: | m4/libtool.m4:# serial 58 LT_INIT m4/lt~obsolete.m4:# series v lt~obsolete.m4 m4/ltoptions.m4:# serial viii ltoptions.m4 m4/ltsugar.m4:# serial half dozen ltsugar.m4 m4/ltversion.m4:# series 4179 ltversion.m4 | | | Code: | gentooSS /usr/src/spectracom/phpext/tsync # ls build ax_check_compile_flag.m4 config.approximate libtool.m4 Makefile.global php.m4 shtool ax_gcc_func_attribute.m4 config.sub ltmain.sh php_cxx_compile_stdcxx.m4 pkg.m4 | | Code: | gentooSS /usr/src/spectracom/phpext/tsync # grep '# serial' m4/* grep: m4/libtool.m4: No such file or directory grep: m4/lt~obsolete.m4: No such file or directory grep: m4/ltoptions.m4: No such file or directory grep: m4/ltsugar.m4: No such file or directory grep: m4/ltversion.m4: No such file or directory | | |
| Dorsum to top | |
|
GDH-gentoo l33t Joined: 20 Jul 2019 Posts: 866 Location: Southward America | Posted: Thu May 21, 2020 6:14 pm Post field of study: | | | | Pita wrote: | | Code: | # grep '# serial' m4/* grep: m4/libtool.m4: No such file or directory grep: m4/lt~obsolete.m4: No such file or directory grep: m4/ltoptions.m4: No such file or directory grep: m4/ltsugar.m4: No such file or directory grep: m4/ltversion.m4: No such file or directory | | | Pita wrote: | | Code: | # ls -Fla m4 total 8 drwxrwxr-x 2 root root 4096 May 20 14:07 ./ drwxrwxr-10 7 root root 4096 May 20 15:12 ../ lrwxrwxrwx 1 root root 29 May xx 14:07 libtool.m4 -> /usr/share/aclocal/libtool.m4 lrwxrwxrwx one root root 33 May 20 fourteen:07 lt~obsolete.m4 -> /usr/share/aclocal/lt~obsolete.m4 lrwxrwxrwx 1 root root 31 May xx 14:07 ltoptions.m4 -> /usr/share/aclocal/ltoptions.m4 lrwxrwxrwx ane root root 29 May 20 14:07 ltsugar.m4 -> /usr/share/aclocal/ltsugar.m4 lrwxrwxrwx 1 root root 31 May 20 14:07 ltversion.m4 -> /usr/share/aclocal/ltversion.m4 | | Are these dangling symlinks? I.e. do the files they indicate to actually exist? Have you read UlFie's post and checked? | UlFie wrote: | | Is this some prefix install or chroot jail? Make sure your symlinks in m4/ really bespeak where they should, and if this is a chroot jail make sure that the relevant packages are installed and upwards to engagement inside of information technology (and non simply in the outside system). | How did this even succeed before? | Pita wrote: | | Code: | # grep -Due east 'macro_(version|revision)' m4/* m4/ltversion.m4:[macro_version='ii.4.6' m4/ltversion.m4:macro_revision='2.4.six' m4/ltversion.m4:_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) m4/ltversion.m4:_LT_DECL(, macro_revision, 0) | | | |
| Dorsum to top | |
|
UlFie Tux's lil' helper Joined: 01 Nov 2011 Posts: 112 Location: Wuppertal | Posted: Thu May 21, 2020 6:58 pm Post discipline: | | | | GDH-gentoo wrote: | | How did this fifty-fifty succeed before? | That was in a subdirectory of /target/gentoo! The outside organisation has the files the symlinks bespeak to in /usr/share/aclocal , what must be a chroot jail does not (i.e. these files do not be in /target/gentoo/usr/share/aclocal of the outside system). | |
| Back to top | |
|
GDH-gentoo l33t Joined: xx Jul 2019 Posts: 866 Location: South America | Posted: Thu May 21, 2020 7:16 pm Post subject area: | | | | UlFie wrote: | | That was in a subdirectory of /target/gentoo! The outside system has the files the symlinks point to in /usr/share/aclocal , what must be a chroot jail does not (i.eastward. these files do not exist in /target/gentoo/usr/share/aclocal of the exterior system). | Ah, that'south a good observation. | |
| Back to top | |
|
thammer n00b Joined: 14 May 2020 Posts: fifteen | Posted: Wed Jun 17, 2020 vii:xix pm Post subject: | | | After dealing with a few other items in this upgrade saga, I am dorsum to this issue. As a summary, at this step nosotros are building some PHP extension code and have experienced a failure due to "macro_revision" not being divers in the generated libtool script. My biggest frustration is that this occurs randomly in the pre-upgrade surround (if I just run the build multiple times, it will eventually succeed). When nosotros first encountered it during this upgrade procedure it was happening every time. One person found that by deleting a backup file ({something}~) in the directory it started working. I have since "started" over with the upgrade process and now seem to be back to it happening every time I try to build. As you all have gleaned, the build is done in a chroot jail (and unfortunately some of the previous posts jumped back and forth between the host and the chroot environments). I will make all references and commands from inside the chroot jail from here on. Later a hint in another libtool issue thread, I realized that the ltmain.sh in /usr/lib/php7.4/lib/build/ was VERSION=1.five.6. Later on resolving that other issue, I re-emerged dev-lang/php thinking it would resolve this issue. However, that file still is 1.5.6. (and I confirmed that it is actually coming from the php-7.4.6 tarball that sally is using). Still thinking it might be related, I copied the 2.four.6 ltmain.sh file from /usr/share/libtool/build-aux/ to /usr/lib/php7.4/lib/build/ but information technology made no difference. And so, I am back to still trying to figure this out the hard way... I am stepping through the individual commands in build line that was originally posted trying to determine where things go awry, but have still to locate it. The phpize pace creates the build/ directory with (most of?) the m4 files and some others including ltmain.sh which shows VERSION=ii.4.vi. The aclocal step still shows the warning: | Code: | gentooSS /usr/src/spectracom/phpext/tsync # aclocal build/libtool.m4:274: alarm: underquoted definition of _LT_AC_TRY_LINK build/libtool.m4:274: run info Automake 'Extending aclocal' build/libtool.m4:274: or encounter https://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal | This could be a existent issue, only I practise not empathise how it is being caused at that variable only occurs in generated files. Similarly, the libtoolize footstep still has warnings: | Lawmaking: | gentooSS /usr/src/spectracom/phpext/tsync # libtoolize --strength libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: linking file 'build/ltmain.sh' libtoolize: Y'all should add the contents of the following files to 'aclocal.m4': libtoolize: '/usr/share/aclocal/libtool.m4' libtoolize: '/usr/share/aclocal/ltoptions.m4' libtoolize: '/usr/share/aclocal/ltsugar.m4' libtoolize: '/usr/share/aclocal/ltversion.m4' libtoolize: '/usr/share/aclocal/lt~obsolete.m4' libtoolize: Consider calculation 'AC_CONFIG_MACRO_DIRS([m4])' to configure.air conditioning, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. | I created aclocal.m4 with all of that content in this directory, but still go those messages. Should it be in another location? But again, I exercise not empathize what is actually going on. Since phpize creates build/libtool.m4, what did it utilise to create that if not /usr/share/aclocal/libtool.m4? And could there be conflicts betwixt the ii? The ./configure step does not bespeak any problems. libtool is created and shows VERSION=2.4.six but does not have a macro_version or macro_revision divers. And so, unsurprisingly, we get the libtool mistake: | Code: | libtool: Version mismatch error. This is libtool two.4.six, but the libtool: definition of this LT_INIT comes from an older release. libtool: You should recreate aclocal.m4 with macros from libtool 2.iv.6 libtool: and run autoconf again. | I am non sure what "You should recreate aclocal.m4 with macros from libtool 2.4.six". Do I have to put the macro_version and macro_revision in aclocal.m4? Seems like that will exist a maintenance hassle (at a minimum). | GDH-gentoo wrote: | | OK, now post the output of phpize --make clean && phpize && autoreconf --strength --install --verbose --symlink && ./configure --enable-tsync | I ran the autoreconf command in place of 'aclocal && libtoolize --force && autoheader && autoconf'. The generated libtool still does not have macro_version or macro_revision and we withal go the version mismatch error. Any further thoughts or suggestions will be greatly appreciated. _________________ -- .Tim | |
| Back to top | |
|
| Display posts from previous: | |
0 Response to "Bluz You Should Recreate Aclocalm4 With Aclocal and Run Automake Again"
Post a Comment