Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632462 - www-client/firefox-52.4.0 - compilation fails due to missing 'nICEr*patch' file.
Summary: www-client/firefox-52.4.0 - compilation fails due to missing 'nICEr*patch' file.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: MFSA-2017-22
  Show dependency tree
 
Reported: 2017-09-30 04:35 UTC by Joe Stroller
Modified: 2017-09-30 13:12 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Stroller 2017-09-30 04:35:04 UTC
Compilation of firefox-52.4.0 fails with the message:

    * Selected language packs (first will be default): en-GB
   >>> Source unpacked in /var/tmp/portage/www-client/firefox-52.4.0/work
   >>> Preparing source in /var/tmp/portage/www-client/firefox-52.4.0/work/firefox-52.4.0esr ...
    * Applying patches from /var/tmp/portage/www-client/firefox-52.4.0/work/firefox
    ...
    *   1000_gentoo_install_dir.patch ...                                   [ ok ] 
    *   1001_disable_sdk_install.patch ...                                  [ ok ] 
… 
    *   6005_fix_seccomp-bpf-1.patch ...                                    [ ok ]
    * Applying nICEr*patch ...                                                     
   /var/tmp/portage/www-client/firefox-52.4.0/temp/environment: line 1513: /var/tmp/portage/www-client/firefox-52.4.0/files/nICEr*patch: No such file or di [ !! ] 
    * ERROR: www-client/firefox-52.4.0::gentoo failed (prepare phase):
    *   patch -p1  failed with /var/tmp/portage/www-client/firefox-52.4.0/files/nICEr*patch
    *
    * Call stack:
    *               ebuild.sh, line  115:  Called src_prepare
    *             environment, line 5172:  Called eapply '/var/tmp/portage/www-client/firefox-52.4.0/files/nICEr*patch'
    *             environment, line 1578:  Called _eapply_patch '/var/tmp/portage/www-client/firefox-52.4.0/files/nICEr*patch'
    *             environment, line 1516:  Called __helpers_die 'patch -p1  failedwith /var/tmp/portage/www-client/firefox-52.4.0/files/nICEr*patch'
    *   isolated-functions.sh, line  117:  Called die
    * The specific snippet of code:  
    *              die "$@"
    *              

The ebuild currently in the tree has 'eapply "${FILESDIR}"/nICEr*patch' in src_prepare() (lines 125-128) but the patch file does not appear to be in the files directory of the current portage tree.
Comment 1 Larry the Git Cow gentoo-dev 2017-09-30 05:04:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bcdd9f0cc7515e4d17cafd717c2a9bdf7f7e829

commit 9bcdd9f0cc7515e4d17cafd717c2a9bdf7f7e829
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2017-09-30 05:03:26 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2017-09-30 05:04:29 +0000

    Revert "www-client/firefox: stabilize 52.4 for amd64 by maintainer"
    
    The package fails during src_prepare.
    
    This reverts commit d073955b8c98453225918518c04777e5c1f5d959.
    
    Bug: https://bugs.gentoo.org/632462

 www-client/firefox/firefox-52.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)}
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2017-09-30 13:12:05 UTC
Apologies, missed a commit when migrating to gentoo repo.  Fixed now.

commit aa631dafa8249dfa719817d6baa23f57fc4105ee (HEAD -> master, origin/master, origin/HEAD)
Author: Ian Stakenvicius <axs@gentoo.org>
Date:   Sat Sep 30 09:08:24 2017 -0400

    www-client/firefox: add patch to avoid nICEr implicit declarations on 52.4
    
    ...and cleanup testing cruft that was included in the previous commit(s)