Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539292 - media-gfx/inkscape-0.48.5 - Failed Patch: inkscape-0.48.4-upstream.patch !
Summary: media-gfx/inkscape-0.48.5 - Failed Patch: inkscape-0.48.4-upstream.patch !
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-08 03:22 UTC by Easior Lars
Modified: 2015-02-10 02:30 UTC (History)
0 users

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


Attachments
build.log (build.log,2.36 KB, text/plain)
2015-02-08 03:22 UTC, Easior Lars
Details
inkscape-0.48.4-upstream.patch.out (inkscape-0.48.4-upstream.patch.out,4.63 KB, patch)
2015-02-08 03:24 UTC, Easior Lars
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Easior Lars 2015-02-08 03:22:23 UTC
Created attachment 395858 [details]
build.log

My Gentoo Linux was transported from another hard disk by tarball. The system was reborn after chrooting and reinstalling grub2. Everything was fine except media-gfx/inkscape-0.48.5 since gentoo portage works well. media-gfx/inkscape-0.48.5 is always failed to emerging in the patching phase:

-----------------------xx------------------xx---------------------------
$ sudo emerge -1 inkscape

>>> Emerging (7 of 7) media-gfx/inkscape-0.48.5::gentoo
 * inkscape-0.48.5.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...          [ ok ]
>>> Unpacking source...
>>> Unpacking inkscape-0.48.5.tar.bz2 to /var/tmp/portage/media-gfx/inkscape-0.48.5/work
>>> Source unpacked in /var/tmp/portage/media-gfx/inkscape-0.48.5/work
 * Applying user patches from /etc/portage/patches//media-gfx/inkscape ...
 *   inkscape-0.48.4-boehm-gc-7.4-configure.patch ...                    [ ok ]
 *   inkscape-0.48.4-upstream.patch ...

 * Failed Patch: inkscape-0.48.4-upstream.patch !
 *  ( /etc/portage/patches//media-gfx/inkscape/inkscape-0.48.4-upstream.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-gfx/inkscape-0.48.5/temp/inkscape-0.48.4-upstream.patch.out

 * ERROR: media-gfx/inkscape-0.48.5::gentoo failed (unpack phase):
 *   Failed Patch: inkscape-0.48.4-upstream.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called post_src_unpack
 *        bashrc, line   16:  Called bashrc_call_epatch_user
 *        bashrc, line    5:  Called epatch_user
 *   environment, line 1830:  Called epatch
 *   environment, line 1803:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of `emerge --info '=media-gfx/inkscape-0.48.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/inkscape-0.48.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/inkscape-0.48.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/inkscape-0.48.5/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5'
 * S: '/var/tmp/portage/media-gfx/inkscape-0.48.5/work/inkscape-0.48.5'
-----------------------xx------------------xx---------------------------

The following posts are needed to file a bug.


-----------------------xx------------------xx---------------------------
$ emerge --info '=media-gfx/inkscape-0.48.5::gentoo'

Portage 2.2.14 (python 2.7.9-final-0, default/linux/x86/13.0/desktop/gnome/systemd, gcc-4.7.3, glibc-2.19-r1, 3.17.8-gentoo-r1 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.8-gentoo-r1-i686-Pentium-R-_Dual-Core_CPU_E5500_@_2.80GHz-with-gentoo-2.2
KiB Mem:     2028624 total,    166820 free
KiB Swap:    2097148 total,   2052064 free
Timestamp of tree: Sun, 08 Feb 2015 01:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.9
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo gentoo-zh gentoo-wonderland gentoo-bionic portage-crossdev
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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 -march=core2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write --autounmask=y --with-bdeps=y --keep-going"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirrors.aliyun.com/gentoo                 http://mirrors.163.com/gentoo                 http://mirrors.ustc.edu.cn/gentoo                 http://mirrors.sohu.com/gentoo                 http://mirrors.xmu.edu.cn/gentoo"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/tgz/x86"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/gentoo-zh"
USE="X a52 aac acl acpi alsa apache2 apng auto-hinter bash-completion berkdb branding bzip2 cairo cdda cdr cjk cleartype cli colord corefonts cracklib crypt cue cups curl cxx dbus dconf dhcpcd djvu dri dts dvd dvdnav dvdr dvi dvipdfm eds emacs emboss encode eselect evo examples exif extras fam fbcon ffmpeg firefox flac fontconfig fontforge fortran fribidi ftp gd gdbm gdm gif gimp git glamor gnome gnome-keyring gnome-online-accounts gnome-shell gnuplot gpm graphics gs gstreamer gtk gtk2 gtk3 gui gzip hdaps iconv imagemagick introspection iplookup ipv6 javascript jpeg jpeg2k kpathsea lame latex lcms ldap libav libnotify libsecret lirc lua mad mmx mmxext mng modemmanager modules motif mp3 mp4 mpeg mpg123 mysql nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf perl php png policykit ppds proxy pulseaudio python rar readline sasl sdl session socialweb sound spell sse sse2 sse3 sse4 ssh ssl ssse3 startup-notification svg syslog systemd t1lib tcpd threads tiff truetype type3 udev udisks unicode upower usb utils vcd vhost vorbis wayland wxwidgets x264 x86 xcb xft xml xorg xpm xv xvid zlib" ABI_X86="32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 3dnow 3dnowext avx ssse3" DRACUT_MODULES="plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en zh zh_CN zh_TW" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="PHP5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

$ emerge -pqv '=media-gfx/inkscape-0.48.5::gentoo'
[ebuild  N    ] media-gfx/inkscape-0.48.5  USE="gnome lcms nls postscript spell -dia -inkjar -wmf" PYTHON_TARGETS="python2_7" 
-----------------------xx------------------xx---------------------------

I can't find out any clue to solve this problem. Would there be anyone to help me?

Thanks in advance.
Comment 1 Easior Lars 2015-02-08 03:24:01 UTC
Created attachment 395860 [details, diff]
inkscape-0.48.4-upstream.patch.out
Comment 2 Tim Harder gentoo-dev 2015-02-08 05:24:40 UTC
Marking as invalid since you're applying local patches that are failing. Use newer ebuilds from the main tree or update your patches.
Comment 3 Easior Lars 2015-02-09 10:08:28 UTC
Hi, Tim. I have done everything you mentioned. e.g. 

$ sudo rm -rf /usr/portage/media-gfx/inkscape
$ sudo emerge --sync
$ sudo emerge -1 inkscape

However, it was not lucky to me, yet. There is something wrong in my system, but it does not matter with the inkscape ebuilds files since those ebuilds were refresh after portage syncing.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-09 11:23:32 UTC
 * Applying user patches from /etc/portage/patches//media-gfx/inkscape ...
 *   inkscape-0.48.4-boehm-gc-7.4-configure.patch ...

We don't support user patches.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2015-02-09 11:25:03 UTC
(In reply to Easior Lars from comment #3)
> However, it was not lucky to me, yet. There is something wrong in my system,
> but it does not matter with the inkscape ebuilds files since those ebuilds
> were refresh after portage syncing.

Well, whatever it is, this bug report is kind of tainted. The problem you're now seeing is very likely different from the problem you opened the bug report for. Please file a new bug report if you find a new issue.
Comment 6 Easior Lars 2015-02-10 02:30:37 UTC
(In reply to Jeroen Roovers from comment #4)
>  * Applying user patches from /etc/portage/patches//media-gfx/inkscape ...
>  *   inkscape-0.48.4-boehm-gc-7.4-configure.patch ...
> 
> We don't support user patches.
Hi, Jeroen. You are right. I forgot when I have ever added this user patches to portage directory. thanks a lot.