LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-05-2009, 06:45 AM   #1
Erhnam
Member
 
Registered: Jan 2005
Posts: 54

Rep: Reputation: 15
Lintian depends-on-build-essential-package-without-using-version


I'm trying to build a package with the corresponding building script I got. During the build I had ran into these warnings and errors:

Now running lintian...
W: xbmc source: maintainer-script-lacks-debhelper-token debian/xbmc-live.postinst
E: xbmc source: depends-on-build-essential-package-without-using-version make [build-depends: make]
E: xbmc source: depends-on-build-essential-package-without-using-version g++ [build-depends: g++]
E: xbmc source: depends-on-build-essential-package-without-using-version gcc [build-depends: gcc]

Why are these messages created? Is there a way to fix this?

Last edited by Erhnam; 11-05-2009 at 06:47 AM.
 
Old 11-05-2009, 07:38 AM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Try:

Code:
aptitude install build-essential
Then try building the package again.
Build-essential should give you the necessary tools for compiling from source.
 
Old 11-05-2009, 07:50 AM   #3
Erhnam
Member
 
Registered: Jan 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the trooper View Post
Try:

Code:
aptitude install build-essential
Then try building the package again.
Build-essential should give you the necessary tools for compiling from source.
Thanks, but the build-essential package is already installed so this isn't the solution I'm looking for.

This gives me the following:

Code:
$ grep-status -FEssential -sPackage -ni yes
dash
mktemp
coreutils
debianutils
login
python-minimal
ncurses-base
bsdutils
ncurses-bin
perl-base
tar
base-files
mount
sed
base-passwd
grep
hostname
findutils
e2fsprogs
gzip
dpkg
diff
sysvinit-utils
bash
util-linux
I'm not sure if this is related to something.

Last edited by Erhnam; 11-05-2009 at 07:53 AM.
 
Old 11-05-2009, 07:59 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
I'm not seeing it there,try this way:

Code:
ade@Pc1:~$ apt-cache policy build-essential
build-essential:
  Installed: 11.4
  Candidate: 11.4
  Version table:
 *** 11.4 0
        990 http://ftp.uk.debian.org testing/main Packages
        500 http://ftp.uk.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
 
Old 11-05-2009, 08:09 AM   #5
Erhnam
Member
 
Registered: Jan 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the trooper View Post
I'm not seeing it there,try this way:

Code:
ade@Pc1:~$ apt-cache policy build-essential
build-essential:
  Installed: 11.4
  Candidate: 11.4
  Version table:
 *** 11.4 0
        990 http://ftp.uk.debian.org testing/main Packages
        500 http://ftp.uk.debian.org unstable/main Packages
        100 /var/lib/dpkg/status
This is mine:

Code:
$ apt-cache policy build-essential
build-essential:
  Installed: 11.4
  Candidate: 11.4
  Version table:
 *** 11.4 0
        500 http://ubuntu.apt-get.eu jaunty/main Packages
        100 /var/lib/dpkg/status
 
Old 11-05-2009, 08:16 AM   #6
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Well it's definitely installed as you said.
Is there a particular reason you want to build it from source?.
There is a Ubuntu .deb availible,and you can add an entry in your sources.list and install using apt/Synaptic.

http://xbmc.org/wiki/?title=HOW-TO_i...n_step-by-step

I'm assuming you have tried Googling the error messages?.
Are there any pointers in the documentation,any read-me files?.

Last edited by the trooper; 11-05-2009 at 08:21 AM.
 
Old 11-05-2009, 08:27 AM   #7
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Digging a bit further i found this:

http://xbmc.org/wiki/?title=HOW-TO_c..._Debian/Ubuntu

And one line in particular stood out:

Quote:
Then see README.ubuntu for the required packages. The file includes a handy aptitude line which you can just paste in the terminal.
Have you done this already?.
 
Old 11-05-2009, 08:27 AM   #8
Erhnam
Member
 
Registered: Jan 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the trooper View Post
Well it's definitely installed as you said.
Is there a particular reason you want to build it from source?.
There is a Ubuntu .deb availible,and you can add an entry in your sources.list and install using apt/Synaptic.

http://xbmc.org/wiki/?title=HOW-TO_i...n_step-by-step

I'm assuming you have tried Googling the error messages?.
Yes.

I want to use the SVN version and maybe later on I want to create my own distribution.

The XBMC building files for the distribution I'm currently using are located over here: http://bazaar.launchpad.net/~team-xb...n-jaunty/files

A full dump of my building log is located over here: http://pastebin.ubuntu.com/310485/

The building at the end breaks and I think it's related to this message:

depends-on-build-essential-package-without-using-version

Lintian says it the following:

http://lintian.debian.org/tags/depen...g-version.html

The package declares a depends on a build essential package without using a versioned depends. Packages do not have to build-depend on any package included in build-essential. It is the responsibility of anyone building packages to have all build-essential packages installed. The only reason for an explicit dependency on a package included in build-essential is if a particular version of that package is required, in which case the dependency should include the version.

I understand the problem but I don't know how to solve it. It looks like the package should be build with different versions of make, g++ and gcc. Or the packages aren't found in the build environment.

Last edited by Erhnam; 11-05-2009 at 08:28 AM.
 
Old 11-05-2009, 08:38 AM   #9
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Not sure if you saw my previous post,but what does the readme say concerning dependencies?.
Does it tell what versions you need of gcc,g++ etc?.
 
Old 11-05-2009, 08:45 AM   #10
Erhnam
Member
 
Registered: Jan 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the trooper View Post
Not sure if you saw my previous post,but what does the readme say concerning dependencies?.
Does it tell what versions you need of gcc,g++ etc?.
Nothing is mentioned about the versions I need to use. I followed the readme and installed all depending packages.
 
Old 11-05-2009, 08:54 AM   #11
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Was bsign one of the dependencies?.
If so have you seen the following bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553471
 
Old 11-05-2009, 09:00 AM   #12
Erhnam
Member
 
Registered: Jan 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the trooper View Post
Was bsign one of the dependencies?.
If so have you seen the following bug report:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=553471
Thanks for you help. I had bsign already installed

cabber, curves and gkrellmwho2 are installed as well.

Last edited by Erhnam; 11-05-2009 at 09:15 AM.
 
Old 11-05-2009, 09:05 AM   #13
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Well,it looks like you've come across this bug my friend.
I'm not sure you could say this thread is solved,but at least there's a possible explanation for the error messages.
 
Old 11-05-2009, 09:09 AM   #14
Erhnam
Member
 
Registered: Jan 2005
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by the trooper View Post
Well,it looks like you've come across this bug my friend.
I'm not sure you could say this thread is solved,but at least there's a possible explanation for the error messages.
Sorry for the confusion. I had bsign installed before I even started posting. I also found the link you just posted.

The problem is still there and isn't solved. Any help would still be great!
 
Old 11-05-2009, 09:20 AM   #15
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
Quote:
Sorry for the confusion. I had bsign already installed before I even started posting here. I also found the link you just posted.
So you knew there was a serious bug report relating to this before we started?.
That information would have been useful in your first post.

Quote:
The problem is still there and isn't solved. Any help would still be great!
I'm sure the problem isn't solved.
I'm out of ideas as to how to fix the problem,i can only suggest subscribing to the bug report and see what Debian come up with.
Unless anyone else has any ideas.
 
  


Reply



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
[SOLVED] gcc-gnat depends on OLDER version - pls help! emmalg Linux - Software 5 06-16-2009 07:56 AM
Installing build-essential with no cd Mogwai808 Ubuntu 3 09-11-2008 12:30 AM
Kernel 2.6.18 depends on new version of coreutils kushalkoolwal Debian 4 03-29-2007 10:28 PM
build-essential broken Phyrtech Linux - Software 5 02-21-2006 10:42 PM
`Depends' field, reference to `libc6': version contains ` ' jamon Debian 1 01-24-2006 10:44 AM

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

All times are GMT -5. The time now is 08:03 AM.

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