[MacPorts] #35145: firefox-x11 @7.0.1: build error
#35145: firefox-x11 @7.0.1: build error ----------------------------------+----------------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: firefox-x11 ----------------------------------+----------------------------------------- There is a build error with OS X 10.7.4, Xcode 4.3.3, Clang 3.1: {{{ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org _release_tarballs_ports_www_firefox-x11/firefox-x11/work/mozilla- release/ipc/chr omium/src/base/process_util_mac.mm:189:53: error: non-constant-expression cannot be narrowed from type 'uid_t' (aka 'unsigned int') to 'int' in initializer list [-Wc++11-narrowing] int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_UID, geteuid() }; ^~~~~~~~~ }}} -- Ticket URL: <https://trac.macports.org/ticket/35145> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1: build error ----------------------------------+----------------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: firefox-x11 ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Try [wiki:ProblemHotlist#compiler building with a different compiler]. -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1: build error ----------------------------------+----------------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: firefox-x11 ----------------------------------+----------------------------------------- Comment(by cubranic@…): Building with llvm-gcc-4.2 also fails: see attached log. -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1: build error ----------------------------------+----------------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Keywords: | Port: firefox-x11 ----------------------------------+----------------------------------------- Comment(by cubranic@…): I succeeded with Apple's gcc-4.2 (from http://r.research.att.com/tools, not the apple-gcc-42 port, but it's the essentially the same compiler). Compiler version info: i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3) -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1: build error --------------------------+-------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: firefox-x11 | --------------------------+-------------------------------- Comment (by aaron+macports@…): I can confirm that building firefox-x11 7.0.1 fails on OS X 10.8.1 (Xcode 4.4) with the default compiler and with llvm-gcc-4.2, but succeeds with apple-gcc-4.2 (as provided by the apple-gcc-4.2 port). -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1_2: error: non-constant-expression cannot be narrowed from type 'int' to 'SInt8' (aka 'signed char') in initializer list [-Wc++11-narrowing] --------------------------+-------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: firefox-x11 | --------------------------+-------------------------------- Changes (by ryandesign@…): * cc: cdcooke@… (added) Comment: Has duplicate #37806. -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1_2: error: non-constant-expression cannot be narrowed from type 'int' to 'SInt8' (aka 'signed char') in initializer list [-Wc++11-narrowing] --------------------------+-------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: | Keywords: Port: firefox-x11 | --------------------------+-------------------------------- Comment (by egall@…): Besides this, the firefox-x11 port probably needs to be updated, too: {{{ gl00b05044:~ root# port livecheck firefox-x11 firefox-x11 seems to have been updated (port version: 7.0.1, new version: 489) }}} Maybe after being updated this error will disappear? -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1_2: error: non-constant-expression cannot be narrowed from type 'int' to 'SInt8' (aka 'signed char') in initializer list [-Wc++11-narrowing] --------------------------+-------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: firefox-x11 | --------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => fixed Comment: The previous maintainer dropped maintenance of the port because updating it was such a pain, so I'm certainly not going to try. Others are welcome to. Forced the use of apple-gcc-4.2 in r102099. -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35145: firefox-x11 @7.0.1_2: error: non-constant-expression cannot be narrowed from type 'int' to 'SInt8' (aka 'signed char') in initializer list [-Wc++11-narrowing] --------------------------+-------------------------------- Reporter: cubranic@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.1 Resolution: fixed | Keywords: Port: firefox-x11 | --------------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:8 ryandesign@…]:
The previous maintainer dropped maintenance of the port because updating it was such a pain, so I'm certainly not going to try. Others are welcome to.
....which is #33068 -- Ticket URL: <https://trac.macports.org/ticket/35145#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts