[Nix-dev] Re: [Nix-commits] SVN commit: nix - r28625 - in nixpkgs/trunk/pkgs: applications/networking/browsers/firefox top-level

shea at shealevy.com shea at shealevy.com
Wed Aug 17 04:50:56 CEST 2011


Turns out this is a known bug that's fixed in trunk
https://bugzilla.mozilla.org/show_bug.cgi?id=661609 . I was wrong about
5.0 building fine, it only worked properly because I had built 5.0 before
upgrading to linux 3.x, but trying to rebuild 5.0 now causes the same
problem.

This is a frustrating impurity in the firefox build system. I can't think
of any reason for firefox to depend on the kernel version, and I sincerely
doubt that any other distro supplies different firefox binaries for
different kernel versions, so wouldn't any kernel version-dependent
compilations just increase the risk of breakage? I suppose I'll have to
check with the firefox build team for the answer to that :)

> FYI, this fails to build on my machine (where 5.0 builds fine). Log file
> here: http://shealevy.com/xulrunner-6.0.log.txt
>
>> Author: raskin
>> Date: Tue Aug 16 21:53:43 2011
>> New Revision: 28625
>> URL: https://svn.nixos.org/websvn/nix/?rev=28625&sc=1
>>
>> Log:
>> Adding Firefox 6.0. Mozilla says it is seamless upgrade from 5.0, so I
>> am
>> trying not to change anything...
>>
>> Added:
>>    nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/6.0.nix
>>       - copied, changed from r28528,
>> nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/5.0.nix
>> Modified:
>>    nixpkgs/trunk/pkgs/top-level/all-packages.nix
>>    nixpkgs/trunk/pkgs/top-level/release.nix
>>
>> Copied and modified:
>> nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/6.0.nix
>> (from
>> r28528,
>> nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/5.0.nix)
>> ==============================================================================
>> ---
>> nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/5.0.nix	Fri
>> Aug 12 18:43:28 2011	(r28528, copy source)
>> +++
>> nixpkgs/trunk/pkgs/applications/networking/browsers/firefox/6.0.nix	Tue
>> Aug 16 21:53:43 2011	(r28625)
>> @@ -15,14 +15,14 @@
>>
>>  rec {
>>
>> -  firefoxVersion = "5.0.1";
>> +  firefoxVersion = "6.0";
>>
>> -  xulVersion = "5.0.1"; # this attribute is used by other packages
>> +  xulVersion = "6.0"; # this attribute is used by other packages
>>
>>
>>    src = fetchurl {
>>      url =
>> "http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${firefoxVersion}/source/firefox-${firefoxVersion}.source.tar.bz2";
>> -    sha1 = "c93b3513e160d87535a9d61c5e06a6a701e9cd3e";
>> +    sha256 = "0ws96gc1mkmilgsikirhmqc6s7m0bcyh58820l08wd82r9abagyc";
>>    };
>>
>>
>>
>> Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
>> ==============================================================================
>> --- nixpkgs/trunk/pkgs/top-level/all-packages.nix	Tue Aug 16 21:32:48
>> 2011	(r28624)
>> +++ nixpkgs/trunk/pkgs/top-level/all-packages.nix	Tue Aug 16 21:53:43
>> 2011	(r28625)
>> @@ -6474,6 +6474,13 @@
>>
>>    firefox50Wrapper = wrapFirefox firefox50Pkgs.firefox "firefox" "";
>>
>> +  firefox60Pkgs = callPackage
>> ../applications/networking/browsers/firefox/6.0.nix {
>> +    inherit (gtkLibs) gtk pango;
>> +    inherit (gnome) libIDL;
>> +  };
>> +
>> +  firefox60Wrapper = wrapFirefox firefox60Pkgs.firefox "firefox" "";
>> +
>>    flac = callPackage ../applications/audio/flac { };
>>
>>    flashplayer = flashplayer10;
>>
>> Modified: nixpkgs/trunk/pkgs/top-level/release.nix
>> ==============================================================================
>> --- nixpkgs/trunk/pkgs/top-level/release.nix	Tue Aug 16 21:32:48
>> 2011	(r28624)
>> +++ nixpkgs/trunk/pkgs/top-level/release.nix	Tue Aug 16 21:53:43
>> 2011	(r28625)
>> @@ -387,6 +387,7 @@
>>
>>    firefox36Pkgs.firefox = linux;
>>    firefox50Pkgs.firefox = linux;
>> +  firefox60Pkgs.firefox = linux;
>>
>>    gnome = {
>>      gnome_panel = linux;
>> _______________________________________________
>> nix-commits mailing list
>> nix-commits at cs.uu.nl
>> http://mail.cs.uu.nl/mailman/listinfo/nix-commits
>>
>
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at cs.uu.nl
> https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>





More information about the nix-dev mailing list