maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Problem with missing dependencies (https://talk.maemo.org/showthread.php?t=70642)

mase 2011-03-04 03:21

Problem with missing dependencies
 
Hi!
I have packaged cups for the N900. I cannot promote, because the
package libcupsimage2-dev has problems with missing dependencies:
libpng12-dev, libtiff4-dev, libjpeg62-dev, zlib1g-dev
All these packages are available. Where's the problem?

xxxxts 2011-03-04 03:50

Re: Problem with missing dependencies
 
Quote:

Originally Posted by mase (Post 960207)
Hi!
I have packaged cups for the N900. I cannot promote, because the
package libcupsimage2-dev has problems with missing dependencies:
libpng12-dev, libtiff4-dev, libjpeg62-dev, zlib1g-dev
All these packages are available. Where's the problem?

Try root XTerm;

Code:

apt-get install libcupsimage2-dev libpng12-dev libtiff4-dev libjpeg62-dev zlib1g-dev

mase 2011-03-04 11:07

Re: Problem with missing dependencies
 
No, the problem is in the package interface. The missing dependencies are
show there as a warning. I think, thats because there's no promotion button.

Rob1n 2011-03-04 11:25

Re: Problem with missing dependencies
 
Quote:

Originally Posted by mase (Post 960419)
No, the problem is in the package interface. The missing dependencies are
show there as a warning. I think, thats because there's no promotion button.

The dependencies aren't in extras, which is why you're getting the error - they're in the SDK repository. You'll need to upload them to extras-devel in order to resolve the error.

onion 2011-03-04 11:43

Re: Problem with missing dependencies
 
Your package dependencies are wrong, cups does not the development packages to run. What do you have in the
Depends:, Build-Depends: lines in your debian/control file ?

mase 2011-03-04 11:43

Re: Problem with missing dependencies
 
The package with this dependencies (libcupsimage2-dev) is only useful in
the SDK. Maybe I should simply remove these dependencies, but would this
be correct?

mase 2011-03-04 11:47

Re: Problem with missing dependencies
 
Quote:

Originally Posted by onion (Post 960459)
Your package dependencies are wrong, cups does not the development packages to run. What do you have in the
Depends:, Build-Depends: lines in your debian/control file ?

The control file does not contain, that cups needs the dev packages.
The dev packages are for the SKD only, to build against libcups2.

Rob1n 2011-03-04 11:58

Re: Problem with missing dependencies
 
Quote:

Originally Posted by mase (Post 960460)
The package with this dependencies (libcupsimage2-dev) is only useful in
the SDK. Maybe I should simply remove these dependencies, but would this
be correct?

Not really, no - ideally you'd want to promote cups (and its dependencies) but not the -dev packages. I guess this may not be possible (as both packages are built from the same source). I've really no idea how this is meant to be handled though :confused:

mase 2011-03-04 12:03

Re: Problem with missing dependencies
 
The devel packages are important, too. Without them, no applications can
be build against libcups2. So printing support could never be activated for
them.

Rob1n 2011-03-04 12:11

Re: Problem with missing dependencies
 
Quote:

Originally Posted by mase (Post 960474)
The devel packages are important, too. Without them, no applications can
be build against libcups2. So printing support could never be activated for
them.

Yes, but there's no reason the devel packages should ever leave the extras-devel repository (unless the build system won't build packages in extras/extras-testing using packages in extras-devel). They should never be a dependency for any user-installed package, so there's no need for them to be in a user-accessible repository.


All times are GMT. The time now is 10:59.

vBulletin® Version 3.8.8