[SOLVED] some 14.2 packages in SBo fail to build (autoconf)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
some 14.2 packages in SBo fail to build (autoconf)
I'm building a series of packages that I depend on from SBo, but a couple failed with the same error that is related to autoconf. I'm building on an upgraded 14.2 (from 14.1) where I followed all instructions of UPGRADE.TXT.
faac fails with:
Code:
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
/usr/share/aclocal/autotrace.m4:7: warning: underquoted definition of AM_PATH_AUTOTRACE
/usr/share/aclocal/autotrace.m4:7: run info Automake 'Extending aclocal'
/usr/share/aclocal/autotrace.m4:7: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
sh: line 1: 1041 Done echo 'm4_define([m4_require_silent_probe], [-])'
1042 Segmentation fault | autom4te --language Autoconf-without-aclocal-m4 - /usr/share/a
and later:
Code:
aclocal: error: echo failed with exit status: 139
ming also fails in a similar way:
Code:
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal --force -I macros
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
/usr/share/aclocal/autotrace.m4:7: warning: underquoted definition of AM_PATH_AUTOTRACE
/usr/share/aclocal/autotrace.m4:7: run info Automake 'Extending aclocal'
/usr/share/aclocal/autotrace.m4:7: or see http://www.gnu.org/software/automake/manual/automake.html#Extending-aclocal
sh: line 1: 3192 Done echo 'm4_define([m4_require_silent_probe], [-])'
3193 Segmentation fault | /usr/bin/autom4te --language Autoconf-without-aclocal-m4 - /usr/share/aclocal-1.15/internal/ac-config-macro-dirs.m4
and later
Code:
aclocal: error: echo failed with exit status: 139
autoreconf: aclocal failed with exit status: 139
these are the versions of the automake tools in my system:
autoconf (GNU Autoconf) 2.69
autoreconf (GNU Autoconf) 2.69
automake (GNU automake) 1.15
m4 (GNU M4) 1.4.17
Any ideas of what could be wrong and how to fix it?
The segfault is the significant thing here. You can investigate it like any other segfault: type 'ulimit -c unlimited' before you run the SlackBuild, then after autom4te dumps core type 'gdb /usr/bin/autom4te core', then type 'backtrace' and see what was happening when it died.
Wild guess: something may be wrong with perl on your system: maybe cpan modules or SBo perl packages you installed under 14.1 and haven't rebuilt yet. Remove any of that stuff and double-check that Slackware's main perl package is properly installed and up to date.
The segfault is the significant thing here. You can investigate it like any other segfault: type 'ulimit -c unlimited' before you run the SlackBuild, then after autom4te dumps core type 'gdb /usr/bin/autom4te core', then type 'backtrace' and see what was happening when it died.
Wild guess: something may be wrong with perl on your system: maybe cpan modules or SBo perl packages you installed under 14.1 and haven't rebuilt yet. Remove any of that stuff and double-check that Slackware's main perl package is properly installed and up to date.
Ok, will investigate this; several PERL packages had not yet been upgraded, so will try doing them first.
Might be beneficial to set up slackpkg and then run slackpkg clean-system to see what packages you have installed that are not part of Slackware. It might give you a better starting point on what to investigate.
NOTE: Running that won't automatically erase those programs. It will just provide you a prompt listing them all and allowing you to select/deselect them.
55020: you were on the right track there. I removed all the perl library packages that were in the system and now the segfault disappeared and the packages build properly. It was easier to remove all packages rather than trying to identify the culprit, so I am not sure which one it was...
Of course, will then rebuild those packages again as they will be needed dependencies of other things. (I am building perl- packages from SBo, but wondering if I shouldn't just be using CPAN instead as that would likely be easier...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.