Bug 169842 - multimedia/gstreamer-plugins: ports does not compile
Summary: multimedia/gstreamer-plugins: ports does not compile
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-14 06:00 UTC by hans
Modified: 2012-07-18 15:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hans 2012-07-14 06:00:11 UTC
by upgrading to kde4.8 my system required some additional gstreamer-plugins
it is not possible to install them because the new gstreamer-plugins version is not compiling using default compiler

Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]


gmake -v
GNU Make 3.82
Built for i386-portbld-freebsd9.0




gmake[3]: Saindo do diretório `/dados/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst/subparse'
  CC     libgstplaybin_la-gstplay-marshal.lo
  CC     libgsttcp_la-gsttcp-marshal.lo
  CC     libgstdecodebin_la-gstdecodebin.lo
  CC     libgstdecodebin_la-gstplay-marshal.lo
  CCLD   libgsttcp.la
  CC     libgstdecodebin2_la-gstdecodebin2.lo
  CC     libgstdecodebin2_la-gsturidecodebin.lo
  CC     libgstdecodebin2_la-gstplay-enum.lo
  CC     libgstdecodebin2_la-gstplay-marshal.lo
  CCLD   libgstplaybin.la
  CCLD   libgstdecodebin.la
gmake[4]: Saindo do diretório `/dados/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst/tcp'
gmake[3]: Saindo do diretório `/dados/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst/tcp'
  CCLD   libgstdecodebin2.la
gmake[4]: Saindo do diretório `/dados/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst/playback'
gmake[3]: Saindo do diretório `/dados/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst/playback'
gmake[2]: Saindo do diretório `/dados/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst'
gmake[1]: ** [all-recursive] Erro 1
gmake[1]: Saindo do diretório `/dados/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36'
gmake: ** [all] Erro 2
*** [do-build] Error code 1

Stop in /dados/ports/multimedia/gstreamer-plugins.
Comment 1 Po-Chuan Hsieh freebsd_committer freebsd_triage 2012-07-14 08:43:02 UTC
Responsible Changed
From-To: freebsd-ports-bugs->multimedia

Over to maintainer.
Comment 2 Lena 2012-07-14 09:25:20 UTC
8.3-RELEASE-p2 i386

$ gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.2 20070831 prerelease [FreeBSD]
$ LANG=C gmake -v
GNU Make 3.82
Built for i386-portbld-freebsd8.2

gmake[3]: Entering directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst/audioresample'
  CC     libgstaudioresample_la-gstaudioresample.lo
  CC     libgstaudioresample_la-speex_resampler_int.lo
  CC     libgstaudioresample_la-speex_resampler_float.lo
In file included from resample.c:137,
                 from speex_resampler_float.c:26:
resample_sse.h: In function 'inner_product_double':
resample_sse.h:102: error: '__m128d' undeclared (first use in this function)
resample_sse.h:102: error: (Each undeclared identifier is reported only once
resample_sse.h:102: error: for each function it appears in.)
resample_sse.h:102: error: expected ';' before 'sum'
resample_sse.h:103: warning: ISO C90 forbids mixed declarations and code
resample_sse.h:107: error: 'sum' undeclared (first use in this function)
resample_sse.h:107: warning: implicit declaration of function '_mm_add_pd'
resample_sse.h:107: warning: nested extern declaration of '_mm_add_pd'
resample_sse.h:107: warning: implicit declaration of function '_mm_cvtps_pd'
resample_sse.h:107: warning: nested extern declaration of '_mm_cvtps_pd'
resample_sse.h:114: warning: implicit declaration of function '_mm_add_sd'
resample_sse.h:114: warning: nested extern declaration of '_mm_add_sd'
resample_sse.h:114: warning: implicit declaration of function '_mm_unpackhi_pd'
resample_sse.h:114: warning: nested extern declaration of '_mm_unpackhi_pd'
resample_sse.h:115: warning: implicit declaration of function '_mm_store_sd'
resample_sse.h:115: warning: nested extern declaration of '_mm_store_sd'
resample_sse.h: In function 'interpolate_product_double':
resample_sse.h:154: error: '__m128d' undeclared (first use in this function)
resample_sse.h:154: error: expected ';' before 'sum'
resample_sse.h:155: error: expected ';' before 'sum1'
resample_sse.h:156: error: expected ';' before 'sum2'
resample_sse.h:157: warning: ISO C90 forbids mixed declarations and code
resample_sse.h:158: error: expected ';' before 'f1'
resample_sse.h:159: error: expected ';' before 'f2'
resample_sse.h:160: warning: ISO C90 forbids mixed declarations and code
resample_sse.h:164: error: 'sum1' undeclared (first use in this function)
resample_sse.h:165: error: 'sum2' undeclared (first use in this function)
resample_sse.h:171: warning: implicit declaration of function '_mm_mul_pd'
resample_sse.h:171: warning: nested extern declaration of '_mm_mul_pd'
resample_sse.h:171: error: 'f1' undeclared (first use in this function)
resample_sse.h:172: error: 'f2' undeclared (first use in this function)
resample_sse.h:173: error: 'sum' undeclared (first use in this function)
resample_sse.h:157: warning: unused variable 'f'
gmake[3]: *** [libgstaudioresample_la-speex_resampler_float.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst/audioresample'
gmake[2]: *** [audioresample] Error 2
gmake[2]: Leaving directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36/gst'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/gstreamer-plugins/work/gst-plugins-base-0.10.36'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/gstreamer-plugins.
Comment 3 Koop Mast freebsd_committer freebsd_triage 2012-07-16 13:12:33 UTC
Responsible Changed
From-To: multimedia->freebsd-multimedia

Assigne to correct pool.
Comment 4 Koop Mast 2012-07-16 14:16:03 UTC
This issue should already be corrected. Please check if your ports tree 
is up to date.
The patches in the gstreamer-plugins port that fix this problem are
patch-gst_audioresample_resample.c and 
patch-gst_audioresample_speex-resampler-double.c

-Koop
Comment 5 hans 2012-07-16 14:24:21 UTC
Em Mon, 16 Jul 2012 15:16:03 +0200
Koop Mast <kwm@rainbow-runner.nl> escreveu:

> This issue should already be corrected. Please check if your ports
> tree is up to date.
> The patches in the gstreamer-plugins port that fix this problem are
> patch-gst_audioresample_resample.c and 
> patch-gst_audioresample_speex-resampler-double.c
> 
> -Koop


Hi

you told me that already in pvt msg and the files are present

but it is still failing, to be sure I tried on a fresh portstree, no
difference

Hans
Comment 6 Koop Mast freebsd_committer freebsd_triage 2012-07-16 14:30:43 UTC
State Changed
From-To: open->feedback

asking for feedback.
Comment 7 dfilter service freebsd_committer freebsd_triage 2012-07-18 14:54:39 UTC
Author: kwm
Date: Wed Jul 18 13:54:25 2012
New Revision: 301097
URL: http://svn.freebsd.org/changeset/ports/301097

Log:
  Fix another build issue that doesn't shows up on tinderbox.
  
  PR:		ports/169842
  Reported by:	Hans <hm@hm.net.br>
  Patch tested by:	mandree@, submitter

Added:
  head/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c   (contents, props changed)

Added: head/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/gstreamer-plugins/files/patch-gst_audioresample_float.c	Wed Jul 18 13:54:25 2012	(r301097)
@@ -0,0 +1,23 @@
+--- gst/audioresample/speex_resampler_float.c.orig	2012-07-17 09:48:45.000000000 +0200
++++ gst/audioresample/speex_resampler_float.c	2012-07-17 09:49:38.000000000 +0200
+@@ -17,8 +17,20 @@
+  * Boston, MA 02111-1307, USA.
+  */
+ 
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
++#ifdef _USE_SSE
++#ifndef HAVE_XMMINTRIN_H
++#undef _USE_SSE
++#undef _USE_SSE2
++#else
+ #define _USE_SSE
+ #define _USE_SSE2
++#endif
++#endif
++
+ #define FLOATING_POINT
+ #define OUTSIDE_SPEEX
+ #define RANDOM_PREFIX resample_float
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 8 Koop Mast freebsd_committer freebsd_triage 2012-07-18 14:54:47 UTC
State Changed
From-To: feedback->closed

Fix committed, thanks for reporting.