Bug 154230 - ports/multimedia/gxine compile fails with multple libxul/jasapi.h errors
Summary: ports/multimedia/gxine compile fails with multple libxul/jasapi.h errors
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: Max Brazhnikov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-23 03:00 UTC by RandomUser
Modified: 2011-06-12 09:10 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 RandomUser 2011-01-23 03:00:20 UTC

Making all in src
gmake[2]: Entering directory `/usr/ports/multimedia/gxine/work/gxine-0.5.905/src'
cc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I/usr/local/include -I../pixmaps   -I/usr/local/include -I/usr/local/include -std=gnu99 -pthread -I/usr/local/include   -I/usr/local/include -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include      -DXP_UNIX -DJS_THREADSAFE -I/usr/local/include/libxul -I/usr/local/include/nspr   -DLOCALEDIR=\"/usr/local/share/locale\" -march=pentium4 -O2 -pipe -fno-strict-aliasing -I/usr/local/include -L/usr/local/lib -D_THREAD_SAFE -MT desktop_integration.o -MD -MP -MF .deps/desktop_integration.Tpo -c -o desktop_inte
 gration.o desktop_integration.c
cc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I/usr/local/include -I../pixmaps   -I/usr/local/include -I/usr/local/include -std=gnu99 -pthread -I/usr/local/include   -I/usr/local/include -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   -D_REENTRANT -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include      -DXP_UNIX -DJS_THREADSAFE -I/usr/local/include/libxul -I/usr/local/include/nspr   -DLOCALEDIR=\"/usr/local/share/locale\" -march=pentium4 -O2 -pipe -fno-strict-aliasing -I/usr/local/include -L/usr/local/lib -D_THREAD_SAFE -MT drag_drop.o -MD -MP -MF .deps/drag_drop.Tpo -c -o drag_drop.o drag_drop.c
In file included from globals.h:37,
                 from desktop_integration.c:27:
/usr/local/include/xine.h:2331: warning: 'xine_tvsystem' is deprecated
In file included from script_engine.h:34,
                 from globals.h:39,
                 from desktop_integration.c:27:
/usr/local/include/libxul/jsapi.h:76: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:76: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:106: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:106: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:112: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:112: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:118: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:118: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:124: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:124: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:130: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:130: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:136: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:136: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:142: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:142: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:148: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:148: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:154: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:154: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:160: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:160: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:167: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:167: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:173: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:173: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:180: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:180: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:187: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:187: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:194: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:194: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:201: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:201: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:208: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:208: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:215: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:215: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:239: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:239: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:249: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:249: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:257: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:257: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:264: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:264: error: expected identifier or '(' before ')' token
gmake[2]: *** [desktop_integration.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from globals.h:37,
                 from drag_drop.c:21:
/usr/local/include/xine.h:2331: warning: 'xine_tvsystem' is deprecated
In file included from script_engine.h:34,
                 from globals.h:39,
                 from drag_drop.c:21:
/usr/local/include/libxul/jsapi.h:76: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:76: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:106: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:106: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:112: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:112: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:118: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:118: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:124: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:124: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:130: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:130: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:136: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:136: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:142: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:142: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:148: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:148: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:154: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:154: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:160: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:160: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:167: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:167: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:173: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:173: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:180: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:180: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:187: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:187: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:194: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:194: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:201: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:201: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:208: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:208: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:215: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:215: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:239: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:239: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:249: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:249: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:257: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:257: error: expected identifier or '(' before ')' token
/usr/local/include/libxul/jsapi.h:264: error: expected ')' before '__attribute__'
/usr/local/include/libxul/jsapi.h:264: error: expected identifier or '(' before ')' token
gmake[2]: *** [drag_drop.o] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/gxine/work/gxine-0.5.905/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/gxine/work/gxine-0.5.905'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/gxine.
*** Error code 1

Stop in /usr/ports/multimedia/gxine.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2011-01-28 09:49:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->makc

Over to maintainer
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-04-03 20:10:26 UTC
makc        2011-04-03 19:10:13 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/gxine     Makefile 
  Log:
  Mark broken on 7.x if built with mozilla plugin
  
  PR:             ports/154230
  Submitted by:   "RandomUser" <rannumgen at globaleyes.net>
  
  Revision  Changes    Path
  1.61      +7 -1      ports/multimedia/gxine/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Max Brazhnikov freebsd_committer freebsd_triage 2011-04-03 20:12:46 UTC
State Changed
From-To: open->closed

I don't run 7.x anymore, I've marked the port as broken.
Comment 4 RandomUser 2011-06-12 08:54:05 UTC
The following patch allows Gxine to be compiled under FBSD-7.4 using
SpiderMonkey JS. The application configure script required
"/usr/local/include" to locate its required jsapi.h file. Once the
change below was implemented, the compile and runtime now works on FBSD-7.4.

find /usr/local/include -name jsapi.h
/usr/local/include/firefox3/jsapi.h
/usr/local/include/libxul/jsapi.h
/usr/local/include/kompozer/js/jsapi.h
/usr/local/include/seamonkey/js/jsapi.h
/usr/local/include/jsapi.h

pkg_info -W /usr/local/include/jsapi.h
/usr/local/include/jsapi.h was installed by package spidermonkey-1.7.0
=======================================================================
--- Makefile.orig	2011-06-11 15:25:49.000000000 -0500
+++ Makefile	2011-06-11 15:57:38.000000000 -0500
@@ -62,7 +62,7 @@

 .if defined(WITHOUT_MOZILLA_PLUGIN)
 LIB_DEPENDS+=	js.1:${PORTSDIR}/lang/spidermonkey
-CONFIGURE_ARGS+=--without-browser-plugin --with-spidermonkey
+CONFIGURE_ARGS+=--without-browser-plugin
--with-spidermonkey=/usr/local/include
 PLIST_SUB+=	MOZILLA_PLUGIN="@comment "
 .else
 USE_XORG+=	xaw
========================================================================