asterisk 14.2 on opensuse 13.2

I am trying to install asterisk 14.2 from http://download.opensuse.org/repositories/network:/telephony/openSUSE_13.2/ on an x86_64 server.


pe2950f:~ # uname -a
Linux pe2950f 3.16.7-53-desktop #1 SMP PREEMPT Fri Dec 2 13:19:28 UTC 2016 (7b4a1f9) x86_64 x86_64 x86_64 GNU/Linux
pe2950f:~ # rpm -qa | grep asterisk
asterisk-odbc-14.2.1-2.1.x86_64
asterisk-devel-14.2.1-2.1.x86_64
asterisk-pgsql-14.2.1-2.1.x86_64
asterisk-spandsp-14.2.1-2.1.x86_64
asterisk-freetds-14.2.1-2.1.x86_64
libasteriskssl1-14.2.1-2.1.x86_64
asterisk-14.2.1-2.1.x86_64
asterisk-console-14.2.1-2.1.x86_64
asterisk-sounds-base-14.2.1-2.1.noarch
asterisk-moh-base-14.2.1-2.1.noarch
asterisk-dahdi-14.2.1-2.1.x86_64
pe2950f:~ # rpm -qa | grep dahdi
dahdi-linux-2.11.1-1.1.x86_64
dahdi-linux-kmp-desktop-2.11.1_k3.16.6_2-1.1.x86_64
dahdi-tools-2.11.1-4.1.x86_64
asterisk-dahdi-14.2.1-2.1.x86_64
pe2950f:~ #  /etc/init.d/dahdi status
Checking for dahdi ... modules loaded.                                                                                                            running
dahdi.service - LSB: Load and initialize Dahdi.
   Loaded: loaded (/etc/init.d/dahdi)
   Active: active (exited) since Tue 2017-01-31 07:04:28 PST; 1h 44min ago
  Process: 11013 ExecStart=/etc/init.d/dahdi start (code=exited, status=0/SUCCESS)

pe2950f:~ # 


When I attempt to start asterisk, I receive:


pe2950f:~ # asterisk -vc
Asterisk 14.2.1, Copyright (C) 1999 - 2016, Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
 Initializing Custom Configuration Options ]
PBX UUID: 305161bb-eb3d-4982-a076-582edba486d4
 Asterisk Dynamic Loader Starting:
[Jan 31 08:49:11] NOTICE[12041]: cdr.c:4213 cdr_toggle_runtime_options: CDR simple logging enabled.
 Asterisk PBX Core Initializing
 Asterisk Dynamic Loader Starting:
[Jan 31 08:49:12] NOTICE[12041]: loader.c:1440 load_modules: 322 modules will be loaded.
Inconsistency detected by ld.so: dl-lookup.c: 406: do_lookup_x: Assertion `!(({ __typeof (({ struct pthread *__self; asm ("mov %%fs:%c1,%0" : "=r" (__self) : "i" (__builtin_offsetof (struct pthread, header.self))); __self;})-&gt;header.rtld_must_xmm_save) __value; if (sizeof (__value) == 1) asm volatile ("movb %%fs:%P2,%b0" : "=q" (__value) : "0" (0), "i" (__builtin_offsetof (struct pthread, header.rtld_must_xmm_save))); else if (sizeof (__value) == 4) asm volatile ("movl %%fs:%P1,%0" : "=r" (__value) : "i" (__builtin_offsetof (struct pthread, header.rtld_must_xmm_save))); else { if (sizeof (__value) != 8) abort (); asm volatile ("movq %%fs:%P1,%q0" : "=r" (__value) : "i" (__builtin_offsetof (struct pthread, header.rtld_must_xmm_save))); } __value; }) != 0)' failed!
pe2950f:~ # 

I had asterisk 13 installed from the same repository and it would start just fine, but when I saw 14 show up I decided to upgrade to 14 and am starting to regret my decision. Any ideas on how to pursue this error?

I see that the date of the files on the repo of that version is 2017-01-17. That is strange, because it is the same date that openSUSE 13.2 went out of support. It looks thus if they have put a new, but broken, version in the repo in the last possible moment :frowning:

Maybe you can contact the maintainers of the repo.

How do I figure out the maintainer of the repo?

Am Tue, 31 Jan 2017 17:56:01 GMT
schrieb eheman <eheman@no-mx.forums.microfocus.com>:

> How do I figure out the maintainer of the repo?
>
>

Use

rpm -qi --changelog NAME_OF_ONE_OF_THE_ASTERISK_PACKAGES

to get the mail address.

AK


Never attribute to malice that which can be adequately explained by stupidity.
(R.J. Hanlon)

Thanks.


pe2950f:~ # rpm -qi --changelog asterisk-14.2.1-2.1.x86_64
Name        : asterisk
Version     : 14.2.1
Release     : 2.1
Architecture: x86_64
Install Date: Mon 30 Jan 2017 01:54:02 PM PST
Group       : Productivity/Telephony/Servers
Size        : 46736716
License     : BSD-2-Clause and BSD-4-Clause or GPL-2.0
Signature   : RSA/SHA256, Tue 17 Jan 2017 06:11:38 AM PST, Key ID f6789ebfb0d19f7e                                                                           
Source RPM  : asterisk-14.2.1-2.1.src.rpm                                                                                                                    
Build Date  : Tue 17 Jan 2017 06:07:59 AM PST                                                                                                                
Build Host  : cloud121                                                                                                                                       
Relocations : (not relocatable)                                                                                                                              
Vendor      : obs://build.opensuse.org/network:telephony                                                                                                     
URL         : http://asterisk.org/                                                                                                                           
Summary     : The Asterisk Open Source PBX                                                                                                                   
Description :                                                                                                                                                
Asterisk is a complete PBX in software. It provides all of the                                                                                               
features you would expect from a PBX and more. Asterisk does voice                                                                                           
over IP in three protocols and can interoperate with almost all                                                                                              
standards-based telephony equipment using relatively inexpensive                                                                                             
hardware.                                                                                                                                                    
                                                                                                                                                             
Asterisk provides voicemail services with directory, call                                                                                                    
conferencing, interactive voice response, and call queuing. It has                                                                                           
support for three-way calling, caller ID services, ADSI, SIP, and                                                                                            
H.323 (as both client and gateway).                                                                                                                          
                                                                                                                                                             
Documentation is available on the Asterisk home page                                                                                                         
(http://asterisk.org) and on the Asterisk wiki
(http://voip-info.org/wiki-Asterisk).
Distribution: network:telephony / openSUSE_13.2
* Tue Jan 17 2017 jengelh@inai.de
- Enable app_meetme

* Thu Dec 08 2016 michael@stroeder.com
- Update to new upstream release 14.2.1 with security fixes:
  * AST-2016-008: Crash on SDP offer or answer from endpoint using Opus
  * AST-2016-009: Remote unauthenticated sessions in chan_sip
(end snip)

I dropped the maintainer an email yesterday. No reply yet.

I may be on the trail of the problem. One of the co-requisite packages from the repo for digium adapter card support (yes, I have a digium card in the server) is
dahdi-linux-kmp-default-2.11.1_k3.16.6_2-1.1.x86_64.rpm

and it is installed. But, the kernel level installed from yast online update on the server is:


pe2950f:~/# uname -a
Linux pe2950f 3.16.7-53-desktop #1 SMP PREEMPT Fri Dec 2 13:19:28 UTC 2016 (7b4a1f9) x86_64 x86_64 x86_64 GNU/Linux

If I understand that right, 3.16.6_2-1.1 is not equal to 3.16.7-53.

I vaguely recall that there is sensitivity in Asterisk concerning the dahdi modules and the kernel.

No reply from the package maintainer.

I grabbed the source rpms for dahdi and asterisk from the /source directory in that repository and was able to rebuild them. I started first by rebuilding only the dahdi package from the dahdi-linux-2.11.1.tar.gz from the source rpm, but the asterisk module still failed with the same error in my original post. I then moved on to make and make install of asterisk from the asterisk-14.2.1.tar.gz in the source rpm. Asterisk now starts ok and gives me a CLI prompt.

It would seem based on my experience that whatever is in the rpm in the repository I cited in my original post is no good.