Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 479928 - media-plugins/gst-plugins-neon-0.10.23 with =net-libs/neon-0.30.0 - configure: Requested 'neon <= 0.29.99' but version of neon is 0.30.0
Summary: media-plugins/gst-plugins-neon-0.10.23 with =net-libs/neon-0.30.0 - configure...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-08-06 13:43 UTC by Andrés Becerra Sandoval
Modified: 2013-08-12 05:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch fixing includes (neon.patch,1.29 KB, patch)
2013-08-06 13:46 UTC, Andrés Becerra Sandoval
Details | Diff
build.log (build.log,39.31 KB, text/plain)
2013-08-06 20:48 UTC, Andrés Becerra Sandoval
Details
config.log (config.log,137.04 KB, text/plain)
2013-08-06 20:49 UTC, Andrés Becerra Sandoval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2013-08-06 13:43:23 UTC
The headers indicated in the following patch dont allow compilation:


diff -Naur gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.c /var/tmp/portage/media-plugins/gst-plugins-neon-0.10.23/work/gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.c
--- gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.c   2011-12-30 13:24:28.000000000 -0500
+++ /var/tmp/portage/media-plugins/gst-plugins-neon-0.10.23/work/gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.c     2013-08-06 08:36:26.195009637 -0500
@@ -25,7 +25,7 @@
 #include <unistd.h>
 #endif /* _HAVE_UNISTD_H */
 
-#include <ne_redirect.h>
+#include <neon/ne_redirect.h>
 
 #define STATUS_IS_REDIRECTION(status)     ((status) >= 300 && (status) < 400)
 
diff -Naur gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.h /var/tmp/portage/media-plugins/gst-plugins-neon-0.10.23/work/gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.h
--- gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.h   2011-12-11 13:49:11.000000000 -0500
+++ /var/tmp/portage/media-plugins/gst-plugins-neon-0.10.23/work/gst-plugins-bad-0.10.23/ext/neon/gstneonhttpsrc.h     2013-08-06 08:36:17.875009470 -0500
@@ -23,9 +23,9 @@
 
 G_BEGIN_DECLS
 
-#include <ne_session.h>
-#include <ne_request.h>
-#include <ne_socket.h>
+#include <neon/ne_session.h>
+#include <neon/ne_request.h>
+#include <neon/ne_socket.h>
 
 #define GST_TYPE_NEONHTTP_SRC \
   (gst_neonhttp_src_get_type())
Comment 1 Andrés Becerra Sandoval 2013-08-06 13:46:34 UTC
Created attachment 355236 [details, diff]
Patch fixing includes
Comment 2 Rafał Mużyło 2013-08-06 14:29:37 UTC
pkg-config neon --modversion
0.29.6
pkg-config neon --cflags
-D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon

so it seems you're looking for the problem in the wrong place.
Comment 3 Andrés Becerra Sandoval 2013-08-06 16:33:09 UTC
(In reply to Rafał Mużyło from comment #2)
> pkg-config neon --modversion
> 0.29.6
> pkg-config neon --cflags
> -D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/neon
> 
> so it seems you're looking for the problem in the wrong place.

On ~amd64, I have:

pkg-config neon --modversion
0.30.0

pkg-config neon --cflags
-I/usr/include/neon
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-06 16:54:19 UTC
You have no error message to identify the bug with?
Comment 5 Rafał Mużyło 2013-08-06 17:44:52 UTC
The answer most likely lies in config.log, not the error message, unless 0.30 has reorganized the headers. Well, unless there's any error printed during src_configure.
Comment 6 Andrés Becerra Sandoval 2013-08-06 20:48:52 UTC
Created attachment 355270 [details]
build.log
Comment 7 Andrés Becerra Sandoval 2013-08-06 20:49:25 UTC
Created attachment 355272 [details]
config.log
Comment 8 Rafał Mużyło 2013-08-06 20:53:00 UTC
configure:38044: $PKG_CONFIG --exists --print-errors "neon >= 0.27.0  neon <= 0.29.99"
Requested 'neon <= 0.29.99' but version of neon is 0.30.0

Chances are only upstream knows if there's a real problem or is that just a matter of updating the check.
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-08-12 05:16:21 UTC
I think upstream just forgot to update the check. Patch submitted at https://bugzilla.gnome.org/show_bug.cgi?id=705812

+  12 Aug 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  gst-plugins-neon-0.10.23.ebuild:
+  Allow building with neon-0.30 (bug #479928, thanks to Andrés Becerra
+  Sandoval).