Fails to patch xmlsec: libxmlsec-system-nss.diff: testing...( patch -l -p0 -d /var/tmp/portage/app-off ice/openoffice-2.3.1/work/ooo/build/OOG680_m9 --dry-run ) < /var/tmp/portage/app -office/openoffice-2.3.1/work/ooo/patches/src680/./libxmlsec-system-nss.diff patching file libxmlsec/xmlsec1-1.2.6.patch Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [ n] Skipping patch. 21 out of 21 hunks ignored -- saving rejects to file libxmlsec/xmlsec1-1.2.6.pat ch.rej Testing patch libxmlsec-system-nss.diff failed. at /var/tmp/portage/app-office/o penoffice-2.3.1/work/ooo/patches/apply.pl line 54. make: *** [stamp/patch.apply] Error 1 Reproducible: Always $ emerge --info Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-hrt3 x86_64) ================================================================= System uname: 2.6.23-hrt3 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz Timestamp of tree: Sun, 09 Dec 2007 15:32:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.4.4-r7, 2.5.1-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="es_ES.UTF-8" LINGUAS="es es_ES en" MAKEOPTS="" PKGDIR="/usr/portage/packages" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/voip /usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl acpi aiglx alsa amd64 apache2 arts avahi avi bash-completion berkdb bitmap-fonts bluetooth bonjour cairo cdr cli cracklib crypt cups curl dbus dlloader dri dvd dvdr dvdread eds emboss encode esd evdev evo fam firefox fortran galago gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv icu iproute2 ipv6 isdnlog java jpeg kde kdehiddenvisibility kerberos lcms ldap libg++ libnotify logrotate lucene mad midi mikmod mmx mono mouse mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin obex ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode v4l v4l2 vorbis xinerama xml xorg xrandr xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" DVB_CARDS="usb-wt220u" ELIBC="glibc" INPUT_DEVICES="synaptics mouse evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_ES en" USERLAND="GNU" VIDEO_CARDS="vesa i810 intel" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Any news on this one? last icu breaks openoffice 2.2, and it has disappeared from portage, so I really need to compile 2.3, which is still giving the same error about a duplicated patch in xmlsec...
(In reply to comment #1) > Any news on this one? last icu breaks openoffice 2.2, and it has disappeared > from portage, so I really need to compile 2.3, which is still giving the same > error about a duplicated patch in xmlsec... > Sorry that I didn't answer earlier. But I really can't reproduce this, all the patches apply fine here. Are you sure this is not from some overlay?
I'm using plain openoffice-2.3.1.ebuild, the only one in portage: # $Header: /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.3.1.ebuild,v 1.6 2007/12/14 14:11:55 suka Exp $ (yes, it was modified without revision bump a bit after I reported the bug, but I tried again with the same results) Are you sure you are using the same distfiles as the main portage?
(In reply to comment #3) > I'm using plain openoffice-2.3.1.ebuild, the only one in portage: > > # $Header: > /var/cvsroot/gentoo-x86/app-office/openoffice/openoffice-2.3.1.ebuild,v 1.6 > 2007/12/14 14:11:55 suka Exp $ > > (yes, it was modified without revision bump a bit after I reported the bug, but > I tried again with the same results) Are you sure you are using the same > distfiles as the main portage? > Yes, surely ;) And also: I honestly doubt this package would have been stabilized on 3 archs without anyone being able to compile it ;)
Have you tried to start compilation with the same USE flags I have? In particular odk or java are probably related.
(In reply to comment #5) > Have you tried to start compilation with the same USE flags I have? In > particular odk or java are probably related. > Actually I build with nearly exactly the same use flags the same, the only difference is that you also compile kde-support, but this shouldn't be relevant here (and such a basic build break for alle kde-users would have been detected long ago) But you mentioning odk makes me wonder one thing: do you actually build with "odk" enabled? Cause your emerge info doesn't mention this...
I'm not sure of the exact dates, but it was turned stable for amd64 the same day I reported this bug (I hope the bug was *after*), and the ebuild was modified a number of times "silently", which means most people might have compiled it either without the java and/or odk USE flags or before those modifications. Is there a cvsview somewhere so that I can track the changes? Google was not helping me. I am completely sure that the /var/tmp/portage/app-office/openoffice-2.3.1/work/ooo/patches/src680/apply file in patches contain a patch (libxmlsec-system-nss.diff) which is already applied in the bundled sources, and causes the build to fail (after it stays waiting for confirmation at the prompt) for my version of portage. how you managed to skip this patch is strange, I guess your build.log can talk about it. I'm not sure if the behavior of the ebuild will be different if there is no stderr where asking for confirmation about the patch,...
I just noticed odk and webdav are in package.use, not in make.conf
Yeah, we really should f(In reply to comment #8) > I just noticed odk and webdav are in package.use, not in make.conf > Yeah, we really should force people to provide the use flags they tried to build a package with, emerge info becomes more and more useless. Anyway: I've just tried to build with odk and webdav enabled, no problem, patch applies fine: libxmlsec-system-nss.diff: testing...( patch -l -p0 -d /var/tmp/portage/app-of$ patching file libxmlsec/xmlsec1-1.2.6.patch ( patch -l -p0 -d /var/tmp/portage/app-office/openoffice-2.3.1/work/ooo/build/$ done. copy libxmlsec-system-nss.diff -> /var/tmp/portage/app-office/openoffice-2.3.1/$
forget about the bug: I was pretty sure I had removed my bashrc from portage, but I managed to do it in different buggy forms 4-5 times :( I have been able to emerge it. The reason why it complained about already applied patch is that I was patching on the fly the same issues (--as-needed).