LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-03-2016, 05:20 PM   #1
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Rep: Reputation: 44
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?
 
Old 07-03-2016, 05:32 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
How did you do the upgrade?
 
Old 07-03-2016, 05:56 PM   #3
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Original Poster
Rep: Reputation: 44
as I said, I followed UPGRADE.TXT included in 14.2.
 
Old 07-03-2016, 06:14 PM   #4
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
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.
 
2 members found this post helpful.
Old 07-03-2016, 06:24 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by metageek View Post
as I said, I followed UPGRADE.TXT included in 14.2.
Oh yeah, you did say that. I thought that you might have used slackpkg to do it.

Sorry for the noise.
 
Old 07-03-2016, 06:44 PM   #6
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Original Poster
Rep: Reputation: 44
Quote:
Originally Posted by 55020 View Post
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.
 
Old 07-03-2016, 06:54 PM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
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.
 
Old 07-03-2016, 07:09 PM   #8
metageek
Member
 
Registered: Jun 2007
Location: Farmington, CT
Distribution: Slackware64
Posts: 204

Original Poster
Rep: Reputation: 44
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...)

I'm marking this problem as solved.
 
Old 07-03-2016, 08:14 PM   #9
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
There's a cpan2tgz package that creates packages for you.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sbopkg and packages outside of SBo solarfields Slackware 1 03-22-2016 11:56 AM
[SOLVED] where is the repo with builded sbo packages a4z Slackware 3 06-09-2015 12:15 PM
[SOLVED] SBo + sbopkg, qt5 build parallel a4z Slackware 3 10-12-2014 11:54 AM
[SOLVED] Keep SBo source packages or delete? warpalpha Slackware 2 11-12-2013 11:01 AM
[SOLVED] SBo SlackBuilds fail at make install under latest -current64 rmjohnso Slackware 2 03-04-2010 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration