Bug 194622 - www/firefox: GNOMEVFS2 is broken since 33.0
Summary: www/firefox: GNOMEVFS2 is broken since 33.0
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-27 04:12 UTC by gja822
Modified: 2015-01-21 17:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.