Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B buildscripts
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • linuxmce
  • buildscripts
  • Issues
  • #6

Closed
Open
Created Nov 21, 2018 by Gavin Pryke@Gavlee

chan-sccp-b package not found when installing lmce-core

Hello

Not sure whether this should be in linuxmce or buildscripts sorry if it's filed in the wrong repo.

Some notes before I start.

Building on a 14.04 i386

The packages I am building and testing locally through combination of packer and vagrant.

I didn't include the instructions on the wiki to add http://deb.linuxmce.org, as to build faithfully from source I think this shouldn't be needed and can cause problems with circular dependencies so I left it out for this building/testing exercise.

Built through vagrant provisioning and copying in the locally built debs and adding apt source for it, then running the following command to install a core. All this is automated in the packer and vagrant scripts which I hope to clean up and upload soon.

apt-get install lmce-core

produced these results

    lmce_core: Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US
    lmce_core: Ign http://archive.ubuntu.com trusty/restricted Translation-en_US
    lmce_core: Ign http://archive.ubuntu.com trusty/universe Translation-en_US
    lmce_core: Reading package lists...
    lmce_core: Reading package lists...
    lmce_core: Building dependency tree...
    lmce_core: Reading state information...
    lmce_core: Some packages could not be installed. This may mean that you have
    lmce_core: requested an impossible situation or if you are using the unstable
    lmce_core: distribution that some required packages have not yet been created
    lmce_core: or been moved out of Incoming.
    lmce_core: The following information may help to resolve the situation:
    lmce_core: The following packages have unmet dependencies:
    lmce_core:  lmce-asterisk : Depends: chan-sccp-b but it is not installable

I looked through the source and database and I found that the line for chan-sccp-b was commented out in build-replacements.sh in the buildscripts, I guess there is a reason but if that package is commented out it seems impossible to install lmce-core without removing the chan-sccp-b dependencies from the lmce-asterisk package.

I also found this on the forums which may be relevant. I did a little digging in the forum and bug tracker but not sure why the build is commented out.

http://forum.linuxmce.org/index.php?topic=14226

I have uncommented the line in build-replacements.sh for chan-sccp-b and it builds through for trusty i386 at least. I do not see any packages in later ubuntu releases so I assume this package is still needed on all of them.

Any advice would be great. Thanks.

Edit: adding git diff of what I did to make it build through

diff --git a/build-scripts/build-replacements.sh b/build-scripts/build-replacements.sh
index 0b5bf63..600bce2 100755
--- a/build-scripts/build-replacements.sh
+++ b/build-scripts/build-replacements.sh
@@ -129,7 +129,7 @@ function Build_Replacements_Common_ubuntu
        #Package: lmce-core-locator
        Build_Replacement_Package core-locator src/Core/locator
 
-#      Build_Replacement_Package chan-sccp-b ubuntu/asterisk/chan-sccp-b_V4.2
+       Build_Replacement_Package chan-sccp-b ubuntu/asterisk/chan-sccp-b_V4.2
 
        #Package: lirc
        build_opts="" Build_Replacement_Package lirc ubuntu/lirc-0.9.0-0ubuntu1+lmce1
Edited Nov 21, 2018 by Gavin Pryke
Assignee
Assign to
Time tracking