Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637594 - www-client/firefox-57.0 patches fail to apply
Summary: www-client/firefox-57.0 patches fail to apply
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 16:35 UTC by Vasilis Lourdas
Modified: 2017-11-16 07:15 UTC (History)
1 user (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 Vasilis Lourdas 2017-11-15 16:35:55 UTC
emerge -vp firefox

These are the packages that would be merged, in order:

Calculating dependencies            ... done!                   
[ebuild     U ~] www-client/firefox-57.0::gentoo [56.0::gentoo] USE="dbus gmp-autoupdate hwaccel* nsplugin pgo screenshot%* startup-notification -bindist -custom-cflags -custom-optimization -debug -eme-free -hardened -jack (-neon) -pulseaudio (-selinux) -system-harfbuzz (-system-icu) -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="el -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -de -dsb -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB


>>> Source unpacked in /var/tmp/portage/www-client/firefox-57.0/work
>>> Preparing source in /var/tmp/portage/www-client/firefox-57.0/work/firefox-57.0 ...
 * Applying patches from /var/tmp/portage/www-client/firefox-57.0/work/firefox ...
 *   1000_gentoo_install_dir.patch ...
 [ ok ]
 *   1001_add_gentoo_preferences.patch ...
 [ ok ]
 *   1002_drop_build_id.patch ...
 [ ok ]
 *   1003_gentoo_specific_pgo.patch ...
 [ ok ]
 *   1004_fix_hardened_pie_detection.patch ...
 [ ok ]
 *   1005_fix_fortify_sources.patch ...
 [ ok ]
 *   2001_system_harfbuzz.patch ...
 [ ok ]
 *   2002_system_graphite2.patch ...
 [ ok ]
 *   2003_musl_fix_gettid_inclusion.patch ...
 [ ok ]
 *   2004_nICEr-implicit-decls.patch ...
 [ ok ]
 *   6001_add_missing_header_for_basename.patch ...
 [ ok ]
 *   6002_add_alternate_name_for_private_siginfo_struct_member.patch ...
 [ ok ]
 *   6003_fix_syscall_wrappers_on_musl.patch ...
 [ ok ]
 *   6004_musl_drop_alloc_hooks.patch ...
 [ ok ]
 *   6005_musl_memory_report.patch ...
 [ ok ]
 *   6006_musl_pthread_setname.patch ...
 [ ok ]
 *   6007_musl_fix_tools.patch ...
 [ ok ]
 * Applying GetShapedWord.patch ...
1 out of 1 hunk FAILED -- saving rejects to file gfx/thebes/gfxFont.cpp.rej
 [ !! ]
 * ERROR: www-client/firefox-57.0::gentoo failed (prepare phase):
 *   patch -p1  failed with /etc/portage/patches/www-client/firefox/GetShapedWord.patch
 * 
 * Call stack:
 *               ebuild.sh, line  124:  Called src_prepare
 *             environment, line 5225:  Called eapply_user
 *             environment, line 1647:  Called eapply '/etc/portage/patches/www-client/firefox/GetShapedWord.patch'
 *             environment, line 1617:  Called _eapply_patch '/etc/portage/patches/www-client/firefox/GetShapedWord.patch'
 *             environment, line 1555:  Called __helpers_die 'patch -p1  failed with /etc/portage/patches/www-client/firefox/GetShapedWord.patch'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=www-client/firefox-57.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/firefox-57.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/www-client/firefox-57.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/firefox-57.0/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/firefox-57.0/work/firefox-57.0'
 * S: '/var/tmp/portage/www-client/firefox-57.0/work/firefox-57.0'


emerge --info
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-5.4.0, glibc-2.25-r9, 4.13.12-gentoo x86_64)
=================================================================
System uname: Linux-4.13.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-4590_CPU_@_3.30GHz-with-gentoo-2.4.1
KiB Mem:    16329584 total,   4880552 free
KiB Swap:    8388600 total,   8388600 free
Timestamp of repository gentoo: Wed, 15 Nov 2017 15:00:01 +0000
Head commit of repository gentoo: 9cb4fefffdd164b6325e19f585087cb8ada8db92
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

Local-overlay-Vasilis
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula Google-TOS AdobeFlash-11.x Oracle-BCLA-JavaSE skype-4.0.0.7-copyright TeamViewer PUEL google-chrome OPERA-2014 RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://gentoo.mirror.web4u.cz/ ftp://91.121.124.139/gentoo-distfiles/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="256-color X a52 aac acl acpi activities additions admin aio alsa amd64 apache2 apng archive asf bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar caps cdr cgmanager cgroups charconv chm cleartype_hinting cli contrast corefonts cracklib crypt cryptsetup css ctype cups cupsddk curl cxx dba dbus dcc_video declarative device-mapper dia dmi dri dri3 dts dvd dvdr dvdread ebook effects efi emboss encode exif expat extensions extras faac faad fam fastcgi fat fbcon ffmpeg fftw filecaps filter firefox firefox3 flac fontconfig foomaticdb fpm freerdp ftp g3dvl gallium gd gdbm gif gimp gimpprint git glamor glib glx gmp gnome-keyring gnomedb gocr gphoto2 gpm graphviz gs gstreamer gtk hddtemp hotpixels howl http2 hwaccel iconv icu id3tag imagemagick imap imlib innodb inotify intl ipv6 iso14755 jabber java java6 javascript jemalloc jpeg jpeg2k json kde kipi kwallet lame lcdfilter lcms lensfun libkms libnotify libwww lm_sensors lzma mad madwifi maildir mailwrapper maps matroska mdadm melt mime minizip mmap mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker multilib multiuser mysql mysqli mysqlnd ncurses newspr nlpsolver nls no-old-linux nodrm nomalloccheck nptl nsplugin ntfs ntfsprogs nvidia objc offensive ofx ogg oldpim opcache opengl openmp openssl optimization oqgraph osmesa pam pango pcmcia pcntl pcre pdf pdfimport pdo pear pgo phonon php plasma plotutils pmu png policykit posix postgres ppds pulseaudio python qml qt3support qt4 qt5 quicktime rar raw rdesktop rdoc readline redeyes reports romio rpc sasl scanner script sdl seccomp server session sha512 sharedext sharedmem simplexml smp sna sndfile soap sockets sound speex spell sphinx spreadsheet sqlite sqlite3 srt sse sse2 sse3 sse4_1 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog systemd sysv-utils sysvipc tcltk tcpd templates tetex theora thin-splines threads tidy tiff tokenizer tordns truetype tty-helpers udev udisks unicode upower urandom usb userlocales v4l vaapi vda vdpau vhost-net video vmware-tools vmware_guest_linux vmware_guest_windows vncviewer vorbis vpx wddx webm widgets windeco wv wxgtk1 wxwidgets x264 x265 xattr xcb xcomposite xetex xft xinerama xml xmlreader xmlrpc xmlwriter xmp xorg xpdf-headers xpm xprint xscreensaver xsl xslt xv xvfb xvid xvnc zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="alias auth_basic authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cgid deflate dir env expires filter headers http2 log_config logio mime mime_magic negotiation proxy proxy_fcgi rewrite setenvif socache_shmcb unixd userdir" APACHE2_MPMS="event" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="appmenu backlight battery clock comp conf conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox illume2 mixer msgbus notification pager quickaccess start syscon systray tasks temperature tiling winlist wizard xkbswitch" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en el" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer nlpsolver" LINGUAS="en en_GB en_US el" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby22" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sven B. 2017-11-15 16:50:45 UTC
Firefox 57 already includes the GetShapedWord.patch.
It seems that you are applying a user patch. Simply remove it and it should work.
Comment 2 Vasilis Lourdas 2017-11-15 17:05:06 UTC
Yeah, sorry for the noise. My mistake. Forgot a user patch (which I don't remember when I put it).