firefox-x11 & matplotlib
Instruct ICC
instructicc at hotmail.com
Thu Jun 17 14:33:19 PDT 2010
> Date: Sat, 10 Apr 2010 15:42:45 +0200
> Subject: Re: firefox-x11 & matplotlib
> From: vim.unix at googlemail.com
> To: macports-users at lists.macosforge.org
>
> broken...
>
> ---------------------------------
> gumby(s002)| sudo port -v install firefox-x11-devel +internal_dependencies
> Password:
> ---> Computing dependencies for firefox-x11-devel.
> ---> Fetching firefox-x11-devel
> ---> firefox-3.6.3.source.tar.bz2 doesn't seem to exist in
> /opt/local/var/macports/distfiles/firefox-x11-devel
> ---> Attempting to fetch firefox-3.6.3.source.tar.bz2 from
> http://www.mirrorservice.org/sites/releases.mozilla.org/pub/mozilla.org/firefox/releases/3.6.3/source/
> % Total % Received % Xferd Average Speed Time Time Time Current
> Dload Upload Total Spent Left Speed
> 100 46.3M 100 46.3M 0 0 134k 0 0:05:52 0:05:52 --:--:-- 130k
> ---> Verifying checksum(s) for firefox-x11-devel
> ---> Checksumming firefox-3.6.3.source.tar.bz2
> ---> Extracting firefox-x11-devel
> ---> Extracting firefox-3.6.3.source.tar.bz2
> ---> Applying patches to firefox-x11-devel
> ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/firefox-x11-devel/files/patch-dylib_file.diff
> patching file config/config.mk
> Hunk #1 succeeded at 682 (offset -22 lines).
> ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/firefox-x11-devel/files/527612.patch
> patching file browser/installer/Makefile.in
> Hunk #1 succeeded at 120 (offset 4 lines).
> ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/www/firefox-x11-devel/files/549746.patch
> patching file browser/installer/package-manifest.in
> ---> Configuring firefox-x11-devel
> Error: You cannot install firefox-x11-devel for the architecture(s) i386 because
> Error: its dependency heimdal only contains the architecture(s) x86_64.
> Error:
> Error: Try rebuilding heimdal (and all its dependencies) with
> Error: the +universal variant by running
> Error:
> Error: sudo port upgrade --enforce-variants heimdal +universal
> Error:
> Error: Target org.macports.configure returned: incompatible
> architectures in dependencies
> Warning: the following items did not execute (for firefox-x11-devel):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> Error: Status 1 encountered during processing.
> Before reporting a bug, first run the command again with the -d flag
> to get complete output.
> gumby(s002)| sudo port upgrade --enforce-variants heimdal +universal
> Password:
> Sorry, try again.
> Password:
> ---> Computing dependencies for heimdal
> ---> Fetching heimdal
> ---> Verifying checksum(s) for heimdal
> ---> Extracting heimdal
> ---> Applying patches to heimdal
> ---> Configuring heimdal
> ---> Building heimdal
> ---> Staging heimdal into destroot
> Note: heimdal installs files outside the common directory structure.
> ---> Deactivating heimdal @1.2.1_0
> ---> Computing dependencies for heimdal
> ---> Installing heimdal @1.2.1_0+universal
> ---> Activating heimdal @1.2.1_0+universal
> ---> Cleaning heimdal
> gumby(s002)| sudo port -v install firefox-x11-devel
> +internal_dependencies
> Password:
> ---> Computing dependencies for firefox-x11-devel.
> ---> Configuring firefox-x11-devel
> Error: You cannot install firefox-x11-devel for the architecture(s) i386 because
> Error: its dependency libcanberra only contains the architecture(s) x86_64.
> Error:
> Error: Try rebuilding libcanberra (and all its dependencies) with
> Error: the +universal variant by running
> Error:
> Error: sudo port upgrade --enforce-variants libcanberra +universal
> Error:
> Error: Target org.macports.configure returned: incompatible
> architectures in dependencies
> Warning: the following items did not execute (for firefox-x11-devel):
> org.macports.activate org.macports.configure org.macports.build
> org.macports.destroot org.macports.install
> Error: Status 1 encountered during processing.
> Before reporting a bug, first run the command again with the -d flag
> to get complete output.
> gumby(s002)| sudo port upgrade --enforce-variants libcanberra
> +universal
> ---> Computing dependencies for pkgconfig
> ---> Fetching pkgconfig
> ---> Verifying checksum(s) for pkgconfig
> ---> Extracting pkgconfig
> ---> Configuring pkgconfig
> ---> Building pkgconfig
> ---> Staging pkgconfig into destroot
> ---> Deactivating pkgconfig @0.23_1
> ---> Computing dependencies for pkgconfig
> ---> Installing pkgconfig @0.23_1+universal
> ---> Activating pkgconfig @0.23_1+universal
> ---> Cleaning pkgconfig
> ---> Computing dependencies for gzip
> ---> Fetching gzip
> ---> Verifying checksum(s) for gzip
> ---> Extracting gzip
> ---> Applying patches to gzip
> ---> Configuring gzip
> ---> Building gzip
> ---> Staging gzip into destroot
> ---> Deactivating gzip @1.4_0
> ---> Computing dependencies for gzip
> ---> Installing gzip @1.4_0+universal
> ---> Activating gzip @1.4_0+universal
> ---> Cleaning gzip
> ---> Computing dependencies for m4
> ---> Fetching m4
> ---> Verifying checksum(s) for m4
> ---> Extracting m4
> ---> Configuring m4
> ---> Building m4
> ---> Staging m4 into destroot
> ---> Deactivating m4 @1.4.14_0
> ---> Computing dependencies for m4
> ---> Installing m4 @1.4.14_0+universal
> ---> Activating m4 @1.4.14_0+universal
> ---> Cleaning m4
> ---> Computing dependencies for perl5.8
> ---> Fetching perl5.8
> ---> Verifying checksum(s) for perl5.8
> ---> Extracting perl5.8
> ---> Applying patches to perl5.8
> ---> Configuring perl5.8
> ---> Building perl5.8
> ---> Staging perl5.8 into destroot
> ---> Deactivating perl5.8 @5.8.9_3
> ---> Computing dependencies for perl5.8
> ---> Installing perl5.8 @5.8.9_3+universal
> ---> Activating perl5.8 @5.8.9_3+universal
> ---> Cleaning perl5.8
> ---> Computing dependencies for gperf
> ---> Fetching gperf
> ---> Verifying checksum(s) for gperf
> ---> Extracting gperf
> ---> Configuring gperf
> ---> Configuring gperf for architecture x86_64
> ---> Configuring gperf for architecture i386
> ---> Building gperf
> ---> Building gperf for architecture x86_64
> ---> Building gperf for architecture i386
> ---> Staging gperf into destroot
> ---> Staging gperf into destroot for architecture x86_64
> ---> Staging gperf into destroot for architecture i386
> ---> Deactivating gperf @3.0.4_0
> ---> Computing dependencies for gperf
> ---> Installing gperf @3.0.4_0+universal
> ---> Activating gperf @3.0.4_0+universal
> ---> Cleaning gperf
> ---> Computing dependencies for libiconv
> ---> Fetching libiconv
> ---> Verifying checksum(s) for libiconv
> ---> Extracting libiconv
> ---> Applying patches to libiconv
> ---> Configuring libiconv
> ---> Configuring libiconv for architecture x86_64
> ---> Configuring libiconv for architecture i386
> ---> Building libiconv
> ---> Building libiconv for architecture x86_64
> ---> Building libiconv for architecture i386
> ---> Staging libiconv into destroot
> ---> Staging libiconv into destroot for architecture x86_64
> ---> Staging libiconv into destroot for architecture i386
> ---> Deactivating libiconv @1.13.1_0
> ---> Computing dependencies for libiconv
> ---> Installing libiconv @1.13.1_0+universal
> ---> Activating libiconv @1.13.1_0+universal
> ---> Cleaning libiconv
> ---> Computing dependencies for ncursesw
> ---> Fetching ncursesw
> ---> Verifying checksum(s) for ncursesw
> ---> Extracting ncursesw
> ---> Applying patches to ncursesw
> ---> Configuring ncursesw
> ---> Configuring ncursesw for architecture x86_64
> ---> Configuring ncursesw for architecture i386
> ---> Building ncursesw
> ---> Building ncursesw for architecture x86_64
> ---> Building ncursesw for architecture i386
> ---> Staging ncursesw into destroot
> ---> Staging ncursesw into destroot for architecture x86_64
> ---> Staging ncursesw into destroot for architecture i386
> ---> Deactivating ncursesw @5.7_0+darwin_10
> ---> Computing dependencies for ncursesw
> ---> Installing ncursesw @5.7_0+darwin_10+universal
> ---> Activating ncursesw @5.7_0+darwin_10+universal
> Error: Target org.macports.activate returned: Image error:
> /opt/local/share/terminfo/2/2621a already exists and does not belong
> to a registered port. Unable to activate port ncursesw.
> ---> Computing dependencies for ncurses
> ---> Activating ncursesw @5.7_0+darwin_10+universal
> Error: The following dependencies failed to build: ncursesw
> Error: Unable to upgrade port: 1
> Before reporting a bug, first run the command again with the -d flag
> to get complete output.
>
> But I cannot do that; the port upgrade --enforce-variants libcanberra
> +universal does not accept the -d, or I do not know where to plug it
>
> Pau
>
> 2010/4/10 Jeremy Huddleston <jeremyhu at macports.org>:
> > As I mentioned earlier. You should use the +internal_dependencies variant:
> >
> > sudo port -v install firefox-x11-devel +internal_dependencies
> >
> > On Apr 9, 2010, at 14:48, Pau wrote:
> >
> >> Hello,
> >>
> >> I would really love to have firefox running on x11... but xulrunner is
> >> still giving trouble after a selfupdate and outdated and I still do
> >> not know how to install the i386 version...
> >>
> >> Any help will be apprecited. Thanks,
> >>
> >> Pau
> >>
> >> 2010/4/4 Pau <vim.unix at googlemail.com>:
> >>> PS: It seems that you are doing it anyway in the Portfile:
> >>>
> >>> 112 # Force 32-bit, inline-asm
> >>> 113 if {$build_arch == "x86_64"} {
> >>> 114 configure.build_arch i386
> >>> 115 } elseif {$build_arch == "ppc64"} {
> >>> 116 configure.build_arch ppc
> >>> 117 }
> >>>
> >>> aren't you? Then why isn't it compiling?
> >>>
> >>> Thanks,
> >>>
> >>> Pau
> >>>
> >>> 2010/4/4 Pau <vim.unix at googlemail.com>:
> >>>> Hello,
> >>>>
> >>>> how can I tell port to use the i386 version? I didn't find it under variants.
> >>>>
> >>>> And won't it mess up the configuration if I change the defaults of macports?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> Pau
> >>>>
> >>>> 2010/4/4 Jeremy Huddleston <jeremyhu at macports.org>:
> >>>>>
> >>>>> On Mar 31, 2010, at 13:57, Pau wrote:
> >>>>>
> >>>>>> Hello,
> >>>>>>
> >>>>>> sorry for the spamming... I have too many questions because I am in
> >>>>>> the process of migrating to macosx after many years of OpenBSD
> >>>>>>
> >>>>>> I have seen that firefox-x11 fails at building when getting to
> >>>>>> xulrunner, as in this ticket:
> >>>>>>
> >>>>>> http://trac.macports.org/ticket/21477
> >>>>>>
> >>>>>> Six months ago jeremyhu said that "You will need to have some patience
> >>>>>> and let the upstream devs work on the problem"
> >>>>>
> >>>>> Why don't you just use the i386 version of firefox?
> >>>>>
> >>>>>> I was wondering whether there has been some progress or what the plans are.
> >>>>>
> >>>>> You'll have to ask the firefox developers themselves. I think darwin/x86_64 is slated for 3.7, but I'm not positive. I suspect we should "just work" once that is done, but we'll probably need some build system fixes as well.
> >>>>>
"Why don't you just use the i386 version of firefox?"
sudo port install firefox-x11
fails at Building dbus
on Intel Tiger (32 bit Core Duo)
using MacPorts 1.8x
and again after "sudo port -d selfupdate"
which updated to MacPorts 1.9.0
sudo port install firefox-x11
Password:
---> Computing dependencies for firefox-x11
---> Dependencies to be installed: xulrunner gconf dbus-glib dbus policykit libcanberra libnotify
---> Building dbus
Error: Target org.macports.build returned: shell command failed
Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/main.log
Error: The following dependencies failed to build: xulrunner gconf dbus-glib dbus policykit libcanberra libnotify
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
sudo port install xulrunner
---> Computing dependencies for xulrunner
---> Dependencies to be installed: gconf dbus-glib dbus policykit libcanberra libnotify
---> Building dbus
Error: Target org.macports.build returned: shell command failed
Log for dbus is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/main.log
Error: The following dependencies failed to build: gconf dbus-glib dbus policykit libcanberra libnotify
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Unlike another thread stating selfupdate fails, mine worked.
I wanted to port forward Safari (ssh -X|Y), but learned that I need an X11 app, so I was trying firefox-x11.
Also, I found out something interesting last night while trying to build all the components separately from multiple Terminals. MacPorts is smart enough to lock files, so any Terminal would block until the file was unlocked or perform the next step even if another Terminal had started the install.
My machine was starved for processes. It would be cool if a new strategy was implemented by MacPorts to spawn multiple threads of building all the dependencies to run in parallel instead of serially. The existing locking mechanism would sort it out. I bet build/install times would be shorter. Even single core machines would benefit. I don't know how you'd sync the logging of what steps are happening though -- Maybe just preface each log like so:
[Thread 1: ]---> Computing dependencies for firefox-x11
[Thread 1: ]---> Dependencies to be installed: xulrunner gconf dbus-glib dbus
policykit libcanberra libnotify
[Thread 1: ]---> Spawning threads: xulrunner gconf dbus-glib dbus
policykit libcanberra libnotify
[Thread 2: ]---> Computing dependencies for xulrunner
[Thread 3: ]---> Computing dependencies for gconf
[Thread 4: ]---> Computing dependencies for dbus-glib
[Thread 5: ]---> Computing dependencies for dbus
[Thread 6: ]---> Computing dependencies for policykit
[Thread 7: ]---> Computing dependencies for libcanberra
[Thread 8: ]---> Computing dependencies for libnotify
[Thread 1: ]---> Building dbus
etc.
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100617/62c229a3/attachment.html>
More information about the macports-users
mailing list