[MacPorts] #27913: xulrunner-devel @2.0b8: error: --with-system-nspr and --with-nspr-libs/cflags are mutually exclusive.

MacPorts noreply at macports.org
Sun Jan 9 23:23:48 PST 2011


#27913: xulrunner-devel @2.0b8: error: --with-system-nspr and --with-nspr-
libs/cflags are mutually exclusive.
----------------------------------------------+-----------------------------
 Reporter:  jasperfrumau@…                    |       Owner:  macports-tickets@…                   
     Type:  defect                            |      Status:  new                                  
 Priority:  Normal                            |   Milestone:                                       
Component:  ports                             |     Version:  1.9.2                                
 Keywords:  firefox, xulrunner, installation  |        Port:  xulrunner-devel, firefox-x11-devel   
----------------------------------------------+-----------------------------
 I have regular Firefox running on my MBP OSX 10.6.6, but I wanted to
 install firefox-x11-devel. During the installation I ran into the
 following error(s):

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

 {{{
 checking for LC_MESSAGES... (cached) yes
 checking for localeconv... (cached) yes
 configure: error: --with-system-nspr and --with-nspr-libs/cflags are
 mutually exclusive.
 See 'configure --help'.
 configure: error: ./configure failed for js/src
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_xulrunner-devel/work/mozilla-central" &&
 ./configure --prefix=/opt/local --with-xulrunner-stub-name=xulrunner-stub
 --disable-static --enable-shared --with-distribution-id=org.macports
 --enable-default-toolkit=cairo-gtk2 --x-includes=/opt/local/include
 --x-libraries=/opt/local/lib --with-system-nspr --with-nspr-
 prefix=/opt/local --with-system-nss --with-nss-prefix=/opt/local --with-
 system-bzip2=/opt/local --with-system-jpeg=/opt/local --with-system-
 zlib=/opt/local --enable-system-lcms --enable-system-cairo --enable-
 system-sqlite --with-default-mozilla-five-home=/opt/local/lib/xulrunner-
 devel --enable-oji --enable-plugins --enable-mathml --enable-
 extensions="default,spellcheck" --enable-permissions --enable-cookie
 --enable-image-decoders=all --enable-image-encoder=all --enable-canvas
 --enable-jsd --disable-xpctools --enable-crypto --enable-pango --enable-
 svg --enable-svg-renderer=cairo --enable-xinerama --with-pthreads
 --disable-gnomevfs --disable-gnomeui --enable-postscript --enable-safe-
 browsing --disable-crashreporter --enable-optimize='-O2' --disable-
 prebinding --enable-strip --enable-install-strip --disable-debug
 --disable-installer --disable-updater --disable-pedantic --disable-tests
 --disable-mochitest --disable-necko-wifi --enable-libxul " returned error
 1
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 DEBUG: Backtrace: configure failure: shell command failed (see log for
 details)
     while executing
 "$procedure $targetname"
 Warning: the following items did not execute (for xulrunner-devel):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: Failed to install xulrunner-devel
 Log for xulrunner-devel is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_xulrunner-devel/main.log
 Error: The following dependencies were not installed: xulrunner-devel
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}


 I updated MacPorts yesterday and upgraded all ports. Any ideas what these
 errors mean and how I can surpass them?


 {{{
 jaspersmbp:_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_xulrunner-devel jasper$ tail -n 20 main.log
 :info:configure checking for posix_memalign... (cached) no
 :info:configure checking for memalign... (cached) no
 :info:configure checking for valloc... (cached) no
 :info:configure checking for __attribute__((always_inline))... (cached)
 yes
 :info:configure checking for __attribute__((malloc))... (cached) yes
 :info:configure checking for __attribute__((warn_unused_result))...
 (cached) yes
 :info:configure checking for __attribute__((noreturn))... (cached) yes
 :info:configure checking for LC_MESSAGES... (cached) yes
 :info:configure checking for localeconv... (cached) yes
 :info:configure configure: error: --with-system-nspr and --with-nspr-
 libs/cflags are mutually exclusive.
 :info:configure See 'configure --help'.
 :info:configure configure: error: ./configure failed for js/src
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_xulrunner-devel/work/mozilla-central" &&
 ./configure --prefix=/opt/local --with-xulrunner-stub-name=xulrunner-stub
 --disable-static --enable-shared --with-distribution-id=org.macports
 --enable-default-toolkit=cairo-gtk2 --x-includes=/opt/local/include
 --x-libraries=/opt/local/lib --with-system-nspr --with-nspr-
 prefix=/opt/local --with-system-nss --with-nss-prefix=/opt/local --with-
 system-bzip2=/opt/local --with-system-jpeg=/opt/local --with-system-
 zlib=/opt/local --enable-system-lcms --enable-system-cairo --enable-
 system-sqlite --with-default-mozilla-five-home=/opt/local/lib/xulrunner-
 devel --enable-oji --enable-plugins --enable-mathml --enable-
 extensions="default,spellcheck" --enable-permissions --enable-cookie
 --enable-image-decoders=all --enable-image-encoder=all --enable-canvas
 --enable-jsd --disable-xpctools --enable-crypto --enable-pango --enable-
 svg --enable-svg-renderer=cairo --enable-xinerama --with-pthreads
 --disable-gnomevfs --disable-gnomeui --enable-postscript --enable-safe-
 browsing --disable-crashreporter --enable-optimize='-O2' --disable-
 prebinding --enable-strip --enable-install-strip --disable-debug
 --disable-installer --disable-updater --disable-pedantic --disable-tests
 --disable-mochitest --disable-necko-wifi --enable-libxul " returned error
 1
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed (see log for details)
 :debug:configure Backtrace: configure failure: shell command failed (see
 log for details)
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for
 xulrunner-devel): org.macports.activate org.macports.configure
 org.macports.build org.macports.destroot org.macports.install
 :error:configure Failed to install xulrunner-devel
 :notice:configure Log for xulrunner-devel is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_devel_xulrunner-devel/main.log
 }}}

 It seems to get stuck here:
 > configure: error: --with-system-nspr and --with-nspr-libs/cflags are
 mutually exclusive.

 and to be related to an issue with xulrunner-devel

-- 
Ticket URL: <https://trac.macports.org/ticket/27913>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list