Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519858 - x11-drivers/xf86-video-mga-1.6.3 - Failed Patch: /etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch
Summary: x11-drivers/xf86-video-mga-1.6.3 - Failed Patch: /etc/portage/patches//x11-dr...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-14 01:31 UTC by destroyedlolo
Modified: 2014-08-14 14:14 UTC (History)
0 users

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 destroyedlolo 2014-08-14 01:31:37 UTC
Hello,

I've updated my system but 11-drivers/xf86-video-mga-1.6.3 failed due to :
 * Failed Patch: mga-xinerama.patch !
 *  ( /etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch )

 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/x11-drivers/xf86-video-mga-1.6.3/temp/mga-xinerama.patch.out
 * ERROR: x11-drivers/xf86-video-mga-1.6.3::gentoo failed (prepare phase):
 *   Failed Patch: mga-xinerama.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3276:  Called xorg-2_src_prepare
 *   environment, line 4052:  Called autotools-utils_src_prepare
 *   environment, line  747:  Called epatch_user
 *   environment, line 1739:  Called epatch
 *   environment, line 1712:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";

This is preventing X to start.

---- /var/tmp/portage/x11-drivers/xf86-video-mga-1.6.3/temp/mga-xinerama.patch.out ----

***** mga-xinerama.patch *****
PWD: /var/tmp/portage/x11-drivers/xf86-video-mga-1.6.3/work/xf86-video-mga-1.6.3

==============================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch'

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga_driver.c	2009-07-28 00:11:40.000000000 -0500
|+++ b/src/mga_driver.c	2010-05-06 09:09:14.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 173
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga.h	2009-07-27 19:24:51.000000000 -0500
|+++ b/src/mga.h	2010-05-06 08:51:06.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
==============================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch'

==============================
patching file src/mga_driver.c
Hunk #1 FAILED at 2791.
Hunk #2 FAILED at 2855.
Hunk #3 succeeded at 2833 (offset -40 lines).
Hunk #4 FAILED at 2892.
Hunk #5 FAILED at 2908.
4 out of 5 hunks FAILED -- saving rejects to file src/mga_driver.c.rej
patching file src/mga.h
Hunk #1 FAILED at 333.
1 out of 1 hunk FAILED -- saving rejects to file src/mga.h.rej

patch program exited with status 1
==============================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch'

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga_driver.c	2009-07-28 00:11:40.000000000 -0500
|+++ b/src/mga_driver.c	2010-05-06 09:09:14.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 173
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga.h	2009-07-27 19:24:51.000000000 -0500
|+++ b/src/mga.h	2010-05-06 08:51:06.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
==============================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch'

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga_driver.c	2009-07-28 00:11:40.000000000 -0500
|+++ b/src/mga_driver.c	2010-05-06 09:09:14.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 173
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga.h	2009-07-27 19:24:51.000000000 -0500
|+++ b/src/mga.h	2010-05-06 08:51:06.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
==============================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch'

==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga_driver.c	2009-07-28 00:11:40.000000000 -0500
|+++ b/src/mga_driver.c	2010-05-06 09:09:14.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 173
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/src/mga.h	2009-07-27 19:24:51.000000000 -0500
|+++ b/src/mga.h	2010-05-06 08:51:06.000000000 -0500
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
----



chose ~ # emerge --info '=x11-drivers/xf86-video-mga-1.6.3::gentoo'
Portage 2.2.8-r1 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.0.35-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.35-gentoo-i686-AMD_Athlon-tm-_Processor-with-gentoo-2.2
KiB Mem:     1552556 total,   1226816 free
KiB Swap:    1044220 total,   1044220 free
Timestamp of tree: Sun, 10 Aug 2014 19:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.3"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles getbinpkg merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l3.0"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://celeron.chez.moi/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amr apng archive avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups curl cxx dbus device-mapper dga dri dts dv dvd dvdr emboss encode exif faac fam fbcon ffmpeg firefox flac fontconfig fuse gd gdbm gif gimp gphoto2 gpm gtk gvfs hddtemp iconv ieee1394 imlib jpeg jpeg2k lcms ldap libcaca libnotify lxde mad matroska mmx mmxext mng modules mp3 mp4 mpeg ncurses nls nptl nsplugin ogg oggvorbis opengl openmp pam pango pcre pdf png policykit postgres ppds python qt3support qt4 readline sdl session speex spell sqlite ssl startup-notification svg syslog tcpd theora threads tiff truetype udev udisks unicode upower usb vorbis win32codecs wxwidgets x264 x86 xcb xinerama xml xosd xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic auth_digest authn_file authz_default authz_groupfile authz_host authz_user autoindex cgi dav dav_fs dav_lock deflate dir env filter info log_config mime negotiation setenvif status unique_id userdir" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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="fr en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="intel mga sis r128 vesa fbdev radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


Thanks for your help

- Laurent
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-08-14 08:50:53 UTC
(In reply to destroyedlolo from comment #0)
>  *  ( /etc/portage/patches//x11-drivers/xf86-video-mga/mga-xinerama.patch )

That's *your* patch.
Comment 2 destroyedlolo 2014-08-14 14:14:00 UTC
Oups, yes, sorry, it was so long time ago that I forgot this fix.
Do you know if xinerama has been re-activated for mga ?

Anyway, sorry for the noise :(

- Laurent