Bug 194622

Summary: www/firefox: GNOMEVFS2 is broken since 33.0
Product: Ports & Packages Reporter: gja822
Component: Individual Port(s)Assignee: freebsd-gecko (Nobody) <gecko>
Status: Closed Overcome By Events    
Severity: Affects Only Me CC: freebsd
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1047752

Description gja822 2014-10-27 04:12:00 UTC
Me: FreeBSD * 9.3-RELEASE-p4 FreeBSD 9.3-RELEASE-p4 #0 r273590M.

I was trying to build www/firefox from ports, but since version 33.0,1 I couldn't. (So, I still have built and working 32.0.3,1.)

The first thing, I needed to add #include <stdio.h> in /usr/ports/www/firefox/work/mozilla-release/media/webrtc/trunk/webrtc/modules/desktop_capture/x11/desktop_device_info_x11.hh (or .cc ) due to snprintf usage.

The next thing, I obviously couldn't compile with base gcc, since "Only GCC 4.4 or older is supported", so I tried with other compilers.
With base CLANG (that is 3.4.1). The error was "/usr/ports/www/firefox/work/mozilla-release/toolkit/system/gnome/nsGnomeVFSService.cpp:153:1: error: 
      static_assert failed "Reference-counted class nsGnomeVFSService should not
      have a public destructor. Try to make this class's destructor non-public.
      If that is really not possible, you can whitelist this class by providing
      a HasDangerousPublicDestructor specialization for it.
Just the same error with port's clang (3.5.0).

Also, I tried to compile with port's GCC48 (4.8.4) and gcc49 (4.9.2). The error was the same, but at first it came on other file: "../../../dist/include/nsISupportsImpl.h:91:3: error: static assertion failed: Reference-counted class nsGnomeVFSMimeApp should not have a public destructor. Try to make this class's destructor non-public. If that is really not possible, you can whitelist this class by providing a HasDangerousPublicDestructor specialization for it."

Can anyone compile that version of firefox?
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-27 04:12:00 UTC
Maintainers CC'd
Comment 2 Jan Beich freebsd_committer freebsd_triage 2014-12-11 02:26:07 UTC
GNOMEVFS2 provides smb:// and sftp:// protocol support, deprecated by GIO (gvfs) and also broken in thunderbird before 33.0 (bug 195728). Instead of trying to fix let's go ahead with upstream bug to remove the option.

https://trillian.chruetertee.ch/freebsd-gecko/changeset/1791
Comment 3 Jan Beich freebsd_committer freebsd_triage 2015-01-21 17:40:56 UTC
The option is gone since ports r376999.