Summary: | ASTERISK-27739: Asterisk 13.20.0.rc2 Libresample, Hoard and MySQL | ||
Reporter: | Eddie Johnson (ejohnson) | Labels: | |
Date Opened: | 2018-03-12 13:28:13 | Date Closed: | 2018-03-15 09:30:40 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Contrib/General |
Versions: | 13.20.0 | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Centos 7 x86_64 on GCP | Attachments: | |
Description: | After installing the previous version of Asterisk 13.20.0.rc1 I issued a command to check for what packages were needed to allow Asterisk to install. I did the same for 13.20.0.rc2 and received the following:
./install_prereq test ############################################# ## test: test mode. ## Use the commands here to install your system. ############################################# yum install --skip-broken --assumeyes speexdsp-devel mysql-devel libresample-devel hoard yum install --skip-broken --assumeyes speexdsp-devel mysql-devel libresample-devel hoard Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: reflector.westga.edu * epel: mirror.cogentco.com * extras: repo1.ash.innoscale.net * updates: repos-va.psychz.net No package speexdsp-devel available. Package 1:mariadb-devel-5.5.56-2.el7.x86_64 already installed and latest version No package libresample-devel available. No package hoard available. Nothing to do I remember seeing speex installing at the beginning of a list of packages I need fo this installation. I checked: yum list installed speex Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: reflector.westga.edu * epel: mirror.cogentco.com * extras: repo1.ash.innoscale.net * updates: repos-va.psychz.net Installed Packages speex.x86_64 1.2-0.19.rc1.el7 According to this speexdsp is mixed in with speex for Centos: https://github.com/jitsi/jitsi/issues/425 Next I look at the issue of Hoard and libresample for Centos 7 x86_64 and uploaded both packages to my server instance. This is what I received for libresample: yum search libresample Loaded plugins: fastestmirror centos-sclo-rh | 2.9 kB 00:00:00 centos-sclo-sclo | 2.9 kB 00:00:00 (1/2): centos-sclo-sclo/x86_64/primary_db | 200 kB 00:00:00 (2/2): centos-sclo-rh/x86_64/primary_db | 3.1 MB 00:00:00 Loading mirror speeds from cached hostfile * base: reflector.westga.edu * epel: mirror.umd.edu * extras: repo1.ash.innoscale.net * updates: repos-va.psychz.net Warning: No matches found for: libresample rpm -Uvh libresample-devel-0.1.3-20.el7.lux.1.x86_64.rpm warning: libresample-devel-0.1.3-20.el7.lux.1.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 53e4e7a9: NOKEYerror: Failed dependencies: libresample = 0.1.3-20.el7.lux.1 is needed by libresample-devel-0.1.3-20.el7.lux.1.x86_64 libresample.so.1()(64bit) is needed by libresample-devel-0.1.3-20.el7.lux.1.x86_64 I received the following for hoard: yum search hoardLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: reflector.westga.edu * epel: mirror.umd.edu * extras: repo1.ash.innoscale.net * updates: repos-va.psychz.netWarning: No matches found for: hoardNo matches found makegit clone https://github.com/emeryberger/Heap-LayersCloning into 'Heap-Layers'...remote: Counting objects: 1630, done.remote: Total 1630 (delta 0), reused 0 (delta 0), pack-reused 1630Receiving objects: 100% (1630/1630), 383.66 KiB | 0 bytes/s, done.Resolving deltas: 100% (1065/1065), done.clang++ -std=c++14 -O3 -ffast-math -fno-builtin-malloc -Wall -Wextra -Wshadow -Wconversion -Wuninitialized -g -W -Wconversion -Wall -I/usr/include/nptl -fno-builtin-malloc -pipe -fPIC -DNDEBUG -I. -Iinclude -Iinclude/util -Iinclude/hoard -Iinclude/superblocks -IHeap-Layers -D_REENTRANT=1 -shared source/libhoard.cpp source/unixtls.cpp Heap-Layers/wrappers/gnuwrapper.cpp -Bsymbolic -o libhoard.so -ldl -lpthreadmake: clang++: Command not foundmake: *** [Linux-gcc-x86_64] Error 127 | ||
Comments: | By: Asterisk Team (asteriskteam) 2018-03-12 13:28:14.081-0500 Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution. A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report. Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process]. By: Sean Bright (seanbright) 2018-03-12 14:46:55.740-0500 {{hoard}} is not required and I would be _very_ surprised if it actually worked. I don't think that code has been touched in the 10 years it has been in Asterisk. By: Joshua C. Colp (jcolp) 2018-03-15 09:30:40.757-0500 The install_prereq script installs EVERYTHING possible, even if you don't need it. If you are installing Asterisk and experiencing actual problems building it after using install_prereq please provide information about what exactly. By: Alexander Traud (traud) 2020-04-02 10:57:11.554-0500 Because I did this change in ASTERISK-27599, just some comments on this: RedHat offers more libraries which your version of CentOS does not have (yet). That script searches for those libraries, fails because of your version, but continues. At least, the script _should_ continue. If it does not continue, please, re-open this issue. As mentioned, that script installs everything available from your repositories to build as much as possible from Asterisk. If you open that script, you see a line which lists the ‘basic requirements’, the minimum necessity. If you have an idea to improve the user experience, please, comment here in this issue. Perhaps I (or you) find the time to improve the script then. |