Bug 86629 - missing dependency for inkscape-0.45.1: libxslt
Bug#: 86629 Product:  Gentoo Linux Version: 2004.3 Platform: PPC
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: corsair@gentoo.org
Component: Ebuilds
URL: 
Summary: missing dependency for inkscape-0.45.1: libxslt
Keywords:  
Status Whiteboard: 
Opened: 2005-03-25 02:25 0000
Description:   Opened: 2005-03-25 02:25 0000
Hi,

I just wanted to update inkscape to 0.41, but it misses a dependency for libxslt:

(...)
checking for Py_Initialize... yes
checking for gtk+-2.0 >= 2.4.0  libxml-2.0 >= 2.6.0  libxslt >= 1.0.15  sigc++-2
.0 >= 2.0.3  gtkmm-2.4  gtkspell-2.0... Package libxslt was not found in the pkg
-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libxslt' found

configure: error: Library requirements (gtk+-2.0 >= 2.4.0  libxml-2.0 >= 2.6.0  
libxslt >= 1.0.15  sigc++-2.0 >= 2.0.3  gtkmm-2.4  gtkspell-2.0) not met; consid
er adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a
 nonstandard prefix so pkg-config can find them.

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/inkscape-0.41/work/inkscape-0.41/config.log

!!! ERROR: media-gfx/inkscape-0.41 failed.
!!! Function econf, Line 485, Exitcode 0
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.


emerging libxslt manualy and then updating solves this problem. So please add the dependency.

Best regards,

Markus

------- Comment #1 From Markus Rothe 2005-04-19 03:11:55 0000 -------
reassigning to graphics@gentoo.org

------- Comment #2 From Karol Wojtaszek (RETIRED) 2005-04-27 07:50:29 0000 -------
Fixed in portage, thanks for info.

------- Comment #3 From Stefan de Konink 2007-12-05 16:18:15 0000 -------
Regression bug!

I see that libxslt is in RDEPEND.


But why isn't it pulled as depend?

kabelkrant ~ # emerge -pv libxslt

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/libgpg-error-1.6  USE="-nls" 0 kB 
[ebuild  N    ] dev-libs/libgcrypt-1.2.4  USE="-bindist -idea -nls" 0 kB 
[ebuild  N    ] dev-libs/libxslt-1.1.22  USE="crypt -debug -python" 0 kB 

Total: 3 packages (3 new), Size of downloads: 0 kB
kabelkrant ~ # emerge -pv inkscape

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-gfx/inkscape-0.45.1  USE="mmx -debug -dia -doc -gnome
-inkjar -lcms -postscript -spell -wmf" 0 kB 

Total: 1 package (1 new), Size of downloads: 0 kB

------- Comment #4 From Markus Rothe 2007-12-05 17:04:22 0000 -------
(In reply to comment #3)
> I see that libxslt is in RDEPEND.

look at the DEPEND value:

DEPEND="${RDEPEND} ...

So libxslt should be in DEPEND and RDEPEND.

------- Comment #5 From Markus Rothe 2007-12-05 17:05:58 0000 -------
whoops. I just saw the libxslt dependency was removed from 0.45.1 completly.
Maybe it's not required any more? I'll compile test this now.

------- Comment #6 From Markus Rothe 2007-12-05 18:44:41 0000 -------
yes, it still needs the dep:

checking for INKSCAPE... configure: error: Package requirements (gdkmm-2.4 
glibmm-2.4  gtkmm-2.4  gtk+-2.0 >= 2.8.0  libxml-2.0 >= 2.6.11  libxslt >=
1.0.15  cairo  sigc++-2.0 >= 2.0.12  gtkspell-2.0  gthread-2.0 >= 2.0 libpng >=
1.2) were not met:

No package 'libxslt' found

------- Comment #7 From Markus Meier 2007-12-06 21:30:43 0000 -------
added libxslt to 0.45.1