Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 2015 20:38:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201541] www/firefox version 39.0 fails to build.
Message-ID:  <bug-201541-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D201541

            Bug ID: 201541
           Summary: www/firefox version 39.0 fails to build.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gecko@FreeBSD.org
          Reporter: tommi.pernila@gmail.com
             Flags: maintainer-feedback?(gecko@FreeBSD.org)
          Assignee: gecko@FreeBSD.org

Tried building Firefox 39.0 from Mozilla provided sources as there are seve=
ral
security issues in 38 branch.
See:
https://www.mozilla.org/en-US/security/known-vulnerabilities/firefox/#firef=
ox39


First modified the Makefile and distinfo to version 39.0 with the calculated
sha256 sum for the sources (after verifying the sha512 and sha1 sums from
mozilla ftp site)


The actual problem is:
 # make install
=3D=3D=3D>  Patching for firefox-39.0,1
=3D=3D=3D>   Converting DOS text files to UNIX text files
=3D=3D=3D>  Applying FreeBSD patches for firefox-39.0,1
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to browser/app/nsBrowserApp.cpp.rej
=3D> Patch patch-browser-app-nsBrowserApp.cpp failed to apply cleanly.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/ports/www/firefox



Or by using portmaster a different :

# portmaster -i firefox

=3D=3D=3D>>> Currently installed version: firefox-38.0.6,1
=3D=3D=3D>>> Port directory: /usr/ports/www/firefox

=3D=3D=3D>>> Gathering distinfo list for installed ports

=3D=3D=3D>>> Launching 'make checksum' for www/firefox in background
=3D=3D=3D>>> Gathering dependency list for www/firefox from ports
=3D=3D=3D>>> Update libGL-9.1.7_4 to libGL-10.4.6? y/n [y] n

=3D=3D=3D>>> Initial dependency check complete for www/firefox


=3D=3D=3D>>> Starting build for www/firefox <<<=3D=3D=3D

=3D=3D=3D>>> All dependencies are up to date

=3D=3D=3D>  Cleaning for firefox-39.0,1
=3D=3D=3D>  Found saved configuration for firefox-36.0.4,1
=3D=3D=3D>   firefox-39.0,1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by firefox-39.0,1 for building
=3D=3D=3D>  Extracting for firefox-39.0,1
=3D> SHA256 Checksum OK for firefox-39.0.source.tar.bz2.
=3D=3D=3D>  Patching for firefox-39.0,1
=3D=3D=3D>   Converting DOS text files to UNIX text files
=3D=3D=3D>  Applying FreeBSD patches for firefox-39.0,1
1 out of 1 hunks failed--saving rejects to
b2g/installer/package-manifest.in.rej
=3D> Patch patch-bug1013882 failed to apply cleanly.
=3D> Patch(es) patch-browser-app-nsBrowserApp.cpp applied cleanly.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

Stop.
make: stopped in /usr/ports/www/firefox

=3D=3D=3D>>> make build failed for www/firefox
=3D=3D=3D>>> Aborting update


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> www/firefox=20





# uname -a
FreeBSD <hostname> 10.2-RELEASE FreeBSD 10.2-RELEASE #1
b7e5018(stable/10)-dirty:
Fri Jul 10 12:51:25 EDT 2015

# ident /usr/ports/www/firefox/Makefile.org=20
/usr/ports/www/firefox/Makefile.org:
     $FreeBSD: head/www/firefox/Makefile 389344 2015-06-13 11:08:22Z jbeich=
 $

# ident /usr/ports/www/firefox/Makefile
/usr/ports/www/firefox/Makefile:
     $FreeBSD: head/www/firefox/Makefile 389344 2015-06-13 11:08:22Z jbeich=
 $

Here is also the diffs of the Makefile and the distinfo.


diff Makefile Makefile.org=20
5c5
< DISTVERSION=3D    39.0
---
> DISTVERSION=3D	38.0.6



# diff distinfo distinfo.org=20
1,2c1,2
< SHA256 (firefox-39.0.source.tar.bz2) =3D
7e25014deb926df9220c3ab40ac6816c13a04c4cf7bd89b08fc1743307df1096
< SIZE (firefox-39.0.source.tar.bz2) =3D 182881881
---
> SHA256 (firefox-38.0.6.source.tar.bz2) =3D
379a83c45c606aa046bf543a95f806024089e8794ee3001efd1ba2f7067e2c4d
> SIZE (firefox-38.0.6.source.tar.bz2) =3D 180322743




Also just out of interest tried removing the problematic patch (
patch-browser-app-nsBrowserApp.cpp ), this just caused more problems with
patches.


# make install
=3D=3D=3D>  Patching for firefox-39.0,1
=3D=3D=3D>   Converting DOS text files to UNIX text files
=3D=3D=3D>  Applying FreeBSD patches for firefox-39.0,1
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to b2g/installer/Makefile.in.rej
1 out of 1 hunks failed--saving rejects to
b2g/installer/package-manifest.in.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to
browser/installer/package-manifest.in.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to
mobile/android/installer/Makefile.in.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to
mobile/android/installer/package-manifest.in.rej
=3D> Patch patch-bug1013882 failed to apply cleanly.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/firefox
*** Error code 1

Stop.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201541-13>