Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612128

Summary: www-client/firefox-45.8.0 : /.../nsLocalFileUnix.cpp:1395:46: error: 'major' was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 575232    
Attachments: emerge-info.txt
config.log.tbz2
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2
www-client:firefox-45.8.0:20170309-052521.log.bz2

Description Toralf Förster gentoo-dev 2017-03-09 17:10:51 UTC
x86_64-pc-linux-gnu-g++ -o nsLocalFileUnix.o -c -I/var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/ff/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/ff/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/config/gcc_hidden.h -DOS_POSIX=1 -DOS_LINUX=1 -DHAVE_USR_LIB64_DIR -DSTATIC_EXPORTABLE_JS_API -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -I/var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/xpcom/io -I. -I../../ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/ipc/glue -I../../xpcom -I../../dist/include  -I/usr/include/nspr -I/usr/include/nss       -fPIC  -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MP -MF .deps/nsLocalFileUnix.o.pp  -Wall -Wempty-body -Woverloaded-virtual -Wsign-compare -Wwrite-strings -Wno-invalid-offsetof -Wcast-align -pipe -march=native -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pthread -pipe  -DNDEBUG -DTRIMMED -freorder-blocks -Os -fomit-frame-pointer  -Wshadow   /var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/xpcom/io/nsLocalFileUnix.cpp
/var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/xpcom/io/nsLocalFileUnix.cpp: In member function 'virtual nsresult nsLocalFile::GetDiskSpaceAvailable(int64_t*)':
/var/tmp/portage/www-client/firefox-45.8.0/work/firefox-45.8.0esr/xpcom/io/nsLocalFileUnix.cpp:1395:46: error: 'major' was not declared in this scope
   if (!GetDeviceName(major(mCachedStat.st_dev),
                                              ^

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named gnome-systemd_20170301-222559) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.9 [icedtea-7]
*)	IcedTea JDK 7.2.6.9 [icedtea-bin-7]
3)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7  system-vm
  [3]   icedtea-bin-8
Comment 1 Toralf Förster gentoo-dev 2017-03-09 17:10:54 UTC
Created attachment 466412 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-09 17:10:57 UTC
Created attachment 466414 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-03-09 17:11:00 UTC
Created attachment 466416 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-03-09 17:11:03 UTC
Created attachment 466418 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-03-09 17:11:06 UTC
Created attachment 466420 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-03-09 17:11:09 UTC
Created attachment 466422 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-03-09 17:11:12 UTC
Created attachment 466424 [details]
www-client:firefox-45.8.0:20170309-052521.log.bz2
Comment 8 Ian Stakenvicius (RETIRED) gentoo-dev 2017-03-09 18:15:36 UTC
I thought upstream had backported this already..  OK I'll find the appropriate patch and re-add.
Comment 9 Jory A. Pratt gentoo-dev 2017-08-26 17:55:59 UTC
If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system.

Thank You for your support and understanding
The Mozilla Team