Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 213365
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Gryniewicz <dang@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nirbheek Chauhan <nirbheek@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
liferea-1.4.13-r1.ebuild this ebuild fix issue for me text/plain Maxim Britov 2008-03-19 15:00 0000 2.66 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 213365 depends on: Show dependency tree
Bug 213365 blocks: 213296
Votes: 10    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-14 09:53 0000
Compilation error for net-news/liferea USE=xulrunner (same error for all
versions, 1.2.23 to 1.4.13 -- 1.0.24's ebuild perm disables xulrunner):

In file included from mozsupport.cpp:36:
/usr/include/xulrunner-1.9/unstable/gtkmozembed.h:64:1: warning: this is the
location of the previous definition
In file included from /usr/include/xulrunner-1.9/unstable/nsrootidl.h:11,
                 from /usr/include/xulrunner-1.9/unstable/nsISupports.h:10,
                 from /usr/include/xulrunner-1.9/unstable/nsIWebBrowser.h:10,
                 from
/usr/include/xulrunner-1.9/unstable/gtkmozembed_internal.h:41,
                 from mozsupport.cpp:37:
/usr/include/xulrunner-1.9/unstable/nscore.h:208:1: warning: "NS_EXPORT_"
redefined
In file included from mozsupport.cpp:36:
/usr/include/xulrunner-1.9/unstable/gtkmozembed.h:63:1: warning: this is the
location of the previous definition
mozsupport.cpp:41:32: error: dom/nsIDOMKeyEvent.h: No such file or directory
mozsupport.cpp:46:28: error: necko/nsNetCID.h: No such file or directory
mozsupport.cpp: In function 'gint mozsupport_key_press_cb(GtkWidget*, void*)':
mozsupport.cpp:56: error: 'nsIDOMKeyEvent' was not declared in this scope
mozsupport.cpp:56: error: 'event' was not declared in this scope
mozsupport.cpp:56: error: expected primary-expression before ')' token
mozsupport.cpp:56: error: expected `;' before 'ev'
mozsupport.cpp:67: error: 'nsIDOMKeyEvent' is not a class or namespace
mozsupport.cpp: In function 'void mozsupport_set_offline_mode(gboolean)':
mozsupport.cpp:281: error: 'NS_IOSERVICE_CONTRACTID' was not declared in this
scope
make[4]: *** [liblihtmlm_la-mozsupport.lo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/net-news/liferea-1.4.13/work/liferea-1.4.13/src/mozilla'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/net-news/liferea-1.4.13/work/liferea-1.4.13/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/net-news/liferea-1.4.13/work/liferea-1.4.13/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-news/liferea-1.4.13/work/liferea-1.4.13'
make: *** [all] Error 2
 * 
 * ERROR: net-news/liferea-1.4.13 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  673:  Called gnome2_src_compile
 *             environment, line  576:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *  The die message:
 *   compile failure
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/net-news/liferea-1.4.13/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/net-news/liferea-1.4.13/temp/environment'.
 *

------- Comment #1 From Mart Raudsepp 2008-03-14 11:50:21 0000 -------
Reassigning to correct maintainer per reporters request

------- Comment #2 From Daniel Gryniewicz 2008-03-14 13:11:24 0000 -------
This is a known issue; upstream hasn't ported to xulrunner 1.9 yet.  This one
will have to wait for them, I believe.  If it starts to be a problem (ie,
xulrunner 1.9 is in the tree), I'll see about doing the port myself.

------- Comment #3 From Pacho Ramos 2008-03-14 20:44:05 0000 -------
Ubuntu is already applying:
http://patches.ubuntu.com/l/liferea/extracted/xul1.9.code.dpatch
http://patches.ubuntu.com/l/liferea/extracted/xul1.9.dpatch

Maybe they could help

------- Comment #4 From Maxim Britov 2008-03-19 15:00:24 0000 -------
Created an attachment (id=146588) [details]
this ebuild fix issue for me

Current ebuild doesn't disable gecko module if xulrunner enabled.
I have been fix ebuild for myself, please look.

------- Comment #5 From Daniel Gryniewicz 2008-03-19 15:55:30 0000 -------
That's unrelated to this bug.  Please open a new bug for it.

------- Comment #6 From Nirbheek Chauhan 2008-04-10 22:53:21 0000 -------
liferea-1.4.13 tried to build against xulrunner-1.9 if both 1.8 and 1.9 were
installed. This was due to a check for using (tree-cleaned) www-client/mozilla
as a gecko backend which gave a false positive with xulrunner-1.9

liferea-1.4.14 reordered the logic completely (bug #217003), and the problem is
now gone since gecko is explicitly disabled when xulrunner is enabled. Hence
www-client/mozilla is never checked for, and there is no false positive.

Just FYI that bug #217003 was two birds with one stone ;)

------- Comment #7 From Daniel Gryniewicz 2008-04-10 23:04:17 0000 -------
I'd like to leave this open for xulrunner 1.9 support.

------- Comment #8 From Sebastian Magrí 2008-06-08 22:02:38 0000 -------
I can confirm this error on liferea-1.4.13 on amd64. But 1.4.15 compiles good
and runs without errors... Should it be stabilized for amd64? is there any
other limitant?

------- Comment #9 From Balazs Nemeth 2008-06-12 13:41:02 0000 -------
(In reply to comment #8)
> I can confirm this error on liferea-1.4.13 on amd64. But 1.4.15 compiles good
> and runs without errors... Should it be stabilized for amd64? is there any
> other limitant?
> 

(In reply to comment #8)
> I can confirm this error on liferea-1.4.13 on amd64. But 1.4.15 compiles good
> and runs without errors... Should it be stabilized for amd64? is there any
> other limitant?
> 

According to this changelog. 1.4.16 fixes this bug.

"What's New in 1.4.16 Stable Release:

· Fixed wrong language code of Czech translation. (reported by Martin Picek)
· Fixes SF #1920860: crash after memory corruption when parsing feed with
invalid encoding (reported by mumrel)
· Build support for XulRunner 1.9 (patch from Alexander Sack)
· Significant speed improvement for the cache conversion necessary when
upgrading from 1.4.9. Fixes 100% CPU during startup problem.
· Fixes comment removal bug.
· Drops all comments from cache to cleanup stale comments.
· Changes DB schema to better handle comments during item and subscription
deletion. This makes the cache version incompatible to 1.4.15!
"

------- Comment #10 From Daniel Gryniewicz 2008-06-19 14:21:49 0000 -------
1.4.15 is going stable (bug #228357)  It will use only xulrunner 1.8.  The plan
is to put in  1.4.16 using only xulrunner 1.9 (and maybe optionally webkit, if
I can get it to work well enough). It will go stable with xulrunner 1.9 some
time in july.

------- Comment #11 From Daniel Gryniewicz 2008-07-25 15:01:20 0000 -------
1.4.16b and 1.4.17 build against xulrunner 1.9

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug