# emerge -vua proftpd These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] net-ftp/proftpd-1.3.0-r1 [1.2.10-r7] USE="ncurses opensslcrypt% pam ssl tcpd -acl% -authfile -clamav% -hardened -ifsession% -ipv6 -ldap -mysql -noauthunix -postgres -radius% -rewrite% -shaper -sitemisc% -softquota -vroot% -xinetd" 0 kB Total size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Emerging (1 of 1) net-ftp/proftpd-1.3.0-r1 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking proftpd-1.3.0.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking proftpd-1.3.0.tar.bz2 to /var/tmp/portage/proftpd-1.3.0-r1/work * Applying mod_sql_mysql.diff ... * Failed Patch: mod_sql_mysql.diff ! * ( /usr/portage/net-ftp/proftpd/files/mod_sql_mysql.diff ) * * Include in your bugreport the contents of: * * /var/tmp/portage/proftpd-1.3.0-r1/temp/mod_sql_mysql.diff-908.out !!! ERROR: net-ftp/proftpd-1.3.0-r1 failed. Call stack: ebuild.sh, line 1539: Called dyn_unpack ebuild.sh, line 711: Called src_unpack proftpd-1.3.0-r1.ebuild, line 48: Called epatch '/usr/portage/net-ftp/proftpd/files/mod_sql_mysql.diff' eutils.eclass, line 341: Called die !!! Failed Patch: mod_sql_mysql.diff! !!! If you need support, post the topmost build error, and the call stack if relevant.
Created attachment 96224 [details] mod_sql_mysql.diff-908.out
Forgot add emerge --info.. Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r5 i686) ================================================================= System uname: 2.6.17-suspend2-r5 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.12.4 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium-m -Os -pipe" DISTDIR="/opt/distfiles" FEATURES="autoconfig buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo" LC_ALL="en_GB.utf8" LINGUAS="da en en_GB" MAKEOPTS="-j2" PKGDIR="/opt/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=60" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://zlin.dk/gentoo-portage" USE="x86 X aac acpi alsa asf avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli crypt css cups dlloader dri dvd dvdr emboss encode fam fat fbcon ffmpeg firefox flac fortran gdbm gif gphoto2 gpm i8x0 ieee1394 imagemagick irda irmc isdnlog jfs jpeg kde kdehiddenvisibility libg++ logitech-mouse mad mikmod mmx mmxext mp3 mpeg mplayer msn ncurses nls nptl nptlonly nsplugin ntfs ogg opengl pam pcre pdf pdflib perl png ppds pppd python qt3 quicktime readline real reflection reiser4 reiserfs scanner sdl session slp spell spl sse sse2 ssl subversion svg svga syslog tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs xcomposite xfs xine xml xorg xscreensaver xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_void kernel_linux linguas_da linguas_en linguas_en_GB userland_GNU video_cards_fbdev video_cards_fglrx video_cards_i810 video_cards_radeon video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS
I cannot duplicate this
managed to dup this. This one is a problem with patch not properly working with dos files in uniffied diff's
Bug #146660 fixes this for me, thanks. Don't know if a dep on sys-devel/patch-2.5.9-r1 ought to be added though?
I fixed the .diff so the bug should no longer happen to people with <=sys-devel/patch-2.5.9 . But the dep will stay because patch really needs the bump.
Just pulled the diff from cvs and tested with patch-2.5.9. It works so I believe this should be marked as fixed.. :)
The diff in portage no longer needs the bumped sys-devel/patch