Ubuntu 16.04 build mixxx deps gives error

Asked by Wihola IT on 2017-03-18

admin@PC:~/Apps/mixxx-master$ sudo apt-get build-dep mixxx
Reading package lists... Done
E: Unable to find a source package for mixxx

Is that bad? Is it necessary command?

Question information

Language:
English Edit question
Status:
Answered
For:
Mixxx Edit question
Assignee:
No assignee Edit question
Last query:
2017-03-19
Last reply:
2017-03-19

This question was reopened

Manfred Hampl (m-hampl) said : #1

For diagnostic purposes, what is the output of the following commands:

uname -a
lsb_release -crid
apt-cache policy
apt-cache policy mixxx

(Remark: purpose of the apt-get build-dep command is to install all dependencies that are required for compiling the mixxx application. If you already have installed all dependencies via other ways, then it is not necessary. There is a quite long list of build-dep packages for mixxx, as an example for the zesty version it is: autotools-dev chrpath debhelper (>= 9) docbook-to-man libaudiofile-dev libchromaprint-dev libexpat-dev libfftw3-dev libflac-dev libgl1-mesa-dev libgles2-mesa-dev libglu1-mesa-dev libhidapi-dev (>= 0.8.0~rc1) libid3tag0-dev libjack-dev libmad0-dev libogg-dev libopus-dev libopusfile-dev libportmidi-dev libprotobuf-dev libqt4-opengl-dev librubberband-dev libshout-dev libsndfile1-dev libsoundtouch-dev (>= 1.8.0) libsqlite3-dev libtag1-dev libusb-1.0-0-dev libvorbis-dev pkg-config portaudio19-dev protobuf-compiler python-scour scons vamp-plugin-sdk )

Wihola IT (wihola) said : #2

Linux thinkpad 4.8.0-42-generic #45~16.04.1-Ubuntu SMP Thu Mar 9 14:10:58 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://repo.steampowered.com/steam precise/steam i386 Packages
     release o=Valve Software LLC,n=precise,l=Steam,c=steam,b=i386
     origin repo.steampowered.com
 500 http://repo.steampowered.com/steam precise/steam amd64 Packages
     release o=Valve Software LLC,n=precise,l=Steam,c=steam,b=amd64
     origin repo.steampowered.com
 500 http://ppa.launchpad.net/peek-developers/stable/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-peek-developers-stable,a=xenial,n=xenial,l=Peek stable releases,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/peek-developers/stable/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-peek-developers-stable,a=xenial,n=xenial,l=Peek stable releases,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-obsproject-obs-studio,a=xenial,n=xenial,l=OBS Studio,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-obsproject-obs-studio,a=xenial,n=xenial,l=OBS Studio,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-notepadqq-team-notepadqq,a=xenial,n=xenial,l=Notepadqq,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/notepadqq-team/notepadqq/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-notepadqq-team-notepadqq,a=xenial,n=xenial,l=Notepadqq,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/mank319/go-for-it/ubuntu xenial/main i386 Packages
     release v=16.04,o=LP-PPA-mank319-go-for-it,a=xenial,n=xenial,l=Go For It!,c=main,b=i386
     origin ppa.launchpad.net
 500 http://ppa.launchpad.net/mank319/go-for-it/ubuntu xenial/main amd64 Packages
     release v=16.04,o=LP-PPA-mank319-go-for-it,a=xenial,n=xenial,l=Go For It!,c=main,b=amd64
     origin ppa.launchpad.net
 500 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages
     release v=1.0,o=Google, Inc.,a=stable,n=stable,l=Google,c=main,b=amd64
     origin dl.google.com
 500 https://repo.skype.com/deb stable/main amd64 Packages
     release o=. stable,a=stable,n=stable,l=. stable,c=main,b=amd64
     origin repo.skype.com
 500 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=multiverse,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=universe,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=restricted,b=amd64
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=main,b=i386
     origin security.ubuntu.com
 500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-security,n=xenial,l=Ubuntu,c=main,b=amd64
     origin security.ubuntu.com
 500 http://archive.canonical.com/ubuntu xenial/partner i386 Packages
     release v=16.04,o=Canonical,a=xenial,n=xenial,l=Partner archive,c=partner,b=i386
     origin archive.canonical.com
 500 http://archive.canonical.com/ubuntu xenial/partner amd64 Packages
     release v=16.04,o=Canonical,a=xenial,n=xenial,l=Partner archive,c=partner,b=amd64
     origin archive.canonical.com
 100 http://ua.archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=universe,b=i386
     origin ua.archive.ubuntu.com
 100 http://ua.archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin ua.archive.ubuntu.com
 100 http://ua.archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=main,b=i386
     origin ua.archive.ubuntu.com
 100 http://ua.archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-backports,n=xenial,l=Ubuntu,c=main,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=multiverse,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=universe,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=restricted,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=main,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial-updates,n=xenial,l=Ubuntu,c=main,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=multiverse,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=multiverse,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/universe i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=universe,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=universe,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/restricted i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=restricted,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=restricted,b=amd64
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/main i386 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=main,b=i386
     origin ua.archive.ubuntu.com
 500 http://ua.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
     release v=16.04,o=Ubuntu,a=xenial,n=xenial,l=Ubuntu,c=main,b=amd64
     origin ua.archive.ubuntu.com
Pinned packages:
mixxx:
  Installed: (none)
  Candidate: 2.0.0~dfsg-4
  Version table:
     2.0.0~dfsg-4 500
        500 http://ua.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

Manfred Hampl (m-hampl) said : #3

For the "apt-get build-dep ..." command the package management system needs that the "deb-src" lines are enabled in the sources.list configuration file. This seems not to be the case on your system.

Either edit the /etc/apt/sources.list file and uncomment the deb-src lines
or use the configuration - software and updates dialogue and tickmark the source flag.
Then try again.

(Remark: I do not know why you want to build the mixxx package yourself, because there is a ready-compiled version available in the Ubuntu repositories.)

Wihola IT (wihola) said : #4

I want the latest one for the GitHub.

What is wrong now? :'(

Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 builddeps:mixxx : Depends: portaudio19-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Wihola IT (wihola) said : #5

Oh, now I see, it is the third line on the WIKI xD
Blind me ) Don't have any Low Lavel languages stuff experience. But mixxx inspires me to get into it.

Wihola IT (wihola) said : #6

hurray, I have compiled it!
Can you please help me with few more questions:

- what means 'install' in terms of Ubuntu (linux) despite putting the binary into /user/bin
- is it a compilation destination?
- if it is installed, why can not I see it in the Ubuntu Dash?
(I know how to do that, but wasn't it a duty of 'installation'?

And the last one: are building dependencies and ready to use software dependencies the same thing? Am I installing all dat stuff, when I install precompiled version from the Ubuntu Software Center?

Manfred Hampl (m-hampl) said : #7

Just to warn you: I do not have any knowledge of mixxx, I just have some knowledge about Ubuntu's package management system.

For your questions:
- For several packages there are two steps in the building process (probably also for mixxx, but I do not know for sure):
compiling the program (which can be done with normal user authorizations) and
installing the executable (and eventually some additional files) in the system directories (which needs administrative authorizations).

- If there is a mixxx.desktop file in the right directory (/usr/share/applications/), then mixx should show up in the dash.
If you execute the commands
sudo updatedb
locate mixxx.desktop
do you get a desktop files shown?

- The packages needed to build an application (build dependencies) usually are different from the packages needed fur running the program.
e.g. for mixxx 2.0.0~dfsg-4 on xenial:
Build-dependencies:
autotools-dev chrpath debhelper (>= 9) docbook-to-man libaudiofile-dev libchromaprint-dev libexpat-dev libfftw3-dev libflac-dev libgl1-mesa-dev libgles2-mesa-dev libglu1-mesa-dev libhidapi-dev (>= 0.8.0~rc1) libid3tag0-dev libjack-dev libmad0-dev libogg-dev libopus-dev libopusfile-dev libportmidi-dev libprotobuf-dev libqt4-opengl-dev librubberband-dev libshout-dev libsndfile1-dev libsoundtouch-dev (>= 1.8.0) libsqlite3-dev libtag1-dev libusb-1.0-0-dev libvorbis-dev pkg-config portaudio19-dev protobuf-compiler python-scour scons vamp-plugin-sdk
dependencies for running:
libc6 (>= 2.15) libchromaprint0 (>= 0.2) libflac8 (>= 1.3.0) libgcc1 (>= 1:3.0) libgl1-mesa-glx libhidapi-libusb0 (>= 0.8.0~rc1+git20140201.3a66d4e+dfsg) libid3tag0 (>= 0.15.1b) libmad0 (>= 0.15.1b-3) libogg0 (>= 1.0rc3) libopusfile0 (>= 0.5) libportaudio2 (>= 19+svn20101113) libportmidi0 libprotobuf-lite9v5 libqt4-network (>= 4:4.5.3) libqt4-opengl (>= 4:4.6.1) libqt4-script (>= 4:4.7.0~beta1) libqt4-scripttools (>= 4:4.5.3) libqt4-sql (>= 4:4.5.3) libqt4-sql-sqlite libqt4-svg (>= 4:4.5.3) libqt4-xml (>= 4:4.5.3) libqtcore4 (>= 4:4.8.0) libqtgui4 (>= 4:4.8.0) librubberband2v5 libshout3 libsndfile1 (>= 1.0.20) libsoundtouch1 (>= 1.9.2) libsqlite3-0 (>= 3.5.9) libstdc++6 (>= 5.2) libtag1v5 (>= 1.9.1-2.4ubuntu1) libusb-1.0-0 (>= 2:1.0.8) libvamp-hostsdk3v5 libvamp-sdk2v5 libvorbis0a (>= 1.2.3) libvorbisenc2 (>= 1.1.2) libvorbisfile3 (>= 1.1.2) libx11-6 mixxx-data (= 2.0.0~dfsg-4) pulseaudio-utils

When you install the prebuilt mixxx package for Ubuntu, you get all the dependent packages for running (and the packages these depend on) installed.

Can you help with this problem?

Provide an answer of your own, or ask Wihola IT for more information if necessary.

To post a message you must log in.