Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265612 - emerging net-misc/openswan-2.4.14 : Failed Patch: openswan-2.4.14-gentoo.patch
Summary: emerging net-misc/openswan-2.4.14 : Failed Patch: openswan-2.4.14-gentoo.patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
: 265698 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-04-10 05:59 UTC by Olivier Pelerin
Modified: 2009-04-11 01:36 UTC (History)
1 user (show)

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


Attachments
openswan-2.4.14-gentoo.patch-14782.out (openswan-2.4.14-gentoo.patch-14782.out,50.42 KB, text/plain)
2009-04-10 06:04 UTC, Olivier Pelerin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Pelerin 2009-04-10 05:59:33 UTC
* Found kernel source directory:                                                                                           
 *     /usr/src/linux                                                                                                       
 * Found kernel object directory:                                                                                           
 *     /lib/modules/2.6.28-gentoo-r1/build                                                                                  
 * Found sources for kernel version:                                                                                        
 *     2.6.28-gentoo-r1                                                                                                     
 * This ebuild will set openswan-2.4.14 to use 2.6 native IPsec (KAME).                                                     
 * KLIPS will not be compiled/installed.                                                                                    
>>> Unpacking source...                                                                                                     
>>> Unpacking openswan-2.4.14.tar.gz to /var/tmp/portage/net-misc/openswan-2.4.14/work                                      
>>> Source unpacked in /var/tmp/portage/net-misc/openswan-2.4.14/work                                                       
>>> Preparing source in /var/tmp/portage/net-misc/openswan-2.4.14/work/openswan-2.4.14 ...                                  
 * Applying openswan-2.4.14-gentoo.patch ...                                                                                

 * Failed Patch: openswan-2.4.14-gentoo.patch !
 *  ( /usr/portage/net-misc/openswan/files/openswan-2.4.14-gentoo.patch )
 *                                                                       
 * Include in your bugreport the contents of:                            
 *                                                                       
 *   /var/tmp/portage/net-misc/openswan-2.4.14/temp/openswan-2.4.14-gentoo.patch-14782.out

 * 
 * ERROR: net-misc/openswan-2.4.14 failed.
 * Call stack:                            
 *               ebuild.sh, line   48:  Called src_prepare
 *             environment, line 2954:  Called epatch '/usr/portage/net-misc/openswan/files/openswan-2.4.14-gentoo.patch'
 *             environment, line 1495:  Called die                                                                       
 * The specific snippet of code:                                                                                         
 *                   die "Failed Patch: ${patchname}!";                                                                  
 *  The die message:                                                                                                     
 *   Failed Patch: openswan-2.4.14-gentoo.patch!                                                                         
 *                                                                                                                       
 * If you need support, post the topmost build error, and the call stack if relevant.                                    
 * A complete build log is located at '/var/tmp/portage/net-misc/openswan-2.4.14/temp/build.log'.                        
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/openswan-2.4.14/temp/environment'.               
 *                                                                                                                       

>>> Failed to emerge net-misc/openswan-2.4.14, Log file:

>>>  '/var/tmp/portage/net-misc/openswan-2.4.14/temp/build.log'


Reproducible: Always

Steps to Reproduce:
1.emerge openswan
2.
3.

Actual Results:  
* Found kernel source directory:                                                                                           
 *     /usr/src/linux                                                                                                       
 * Found kernel object directory:                                                                                           
 *     /lib/modules/2.6.28-gentoo-r1/build                                                                                  
 * Found sources for kernel version:                                                                                        
 *     2.6.28-gentoo-r1                                                                                                     
 * This ebuild will set openswan-2.4.14 to use 2.6 native IPsec (KAME).                                                     
 * KLIPS will not be compiled/installed.                                                                                    
>>> Unpacking source...                                                                                                     
>>> Unpacking openswan-2.4.14.tar.gz to /var/tmp/portage/net-misc/openswan-2.4.14/work                                      
>>> Source unpacked in /var/tmp/portage/net-misc/openswan-2.4.14/work                                                       
>>> Preparing source in /var/tmp/portage/net-misc/openswan-2.4.14/work/openswan-2.4.14 ...                                  
 * Applying openswan-2.4.14-gentoo.patch ...                                                                                

 * Failed Patch: openswan-2.4.14-gentoo.patch !
 *  ( /usr/portage/net-misc/openswan/files/openswan-2.4.14-gentoo.patch )
 *                                                                       
 * Include in your bugreport the contents of:                            
 *                                                                       
 *   /var/tmp/portage/net-misc/openswan-2.4.14/temp/openswan-2.4.14-gentoo.patch-14782.out

 * 
 * ERROR: net-misc/openswan-2.4.14 failed.
 * Call stack:                            
 *               ebuild.sh, line   48:  Called src_prepare
 *             environment, line 2954:  Called epatch '/usr/portage/net-misc/openswan/files/openswan-2.4.14-gentoo.patch'
 *             environment, line 1495:  Called die                                                                       
 * The specific snippet of code:                                                                                         
 *                   die "Failed Patch: ${patchname}!";                                                                  
 *  The die message:                                                                                                     
 *   Failed Patch: openswan-2.4.14-gentoo.patch!                                                                         
 *                                                                                                                       
 * If you need support, post the topmost build error, and the call stack if relevant.                                    
 * A complete build log is located at '/var/tmp/portage/net-misc/openswan-2.4.14/temp/build.log'.                        
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/openswan-2.4.14/temp/environment'.               
 *                                                                                                                       

>>> Failed to emerge net-misc/openswan-2.4.14, Log file:

>>>  '/var/tmp/portage/net-misc/openswan-2.4.14/temp/build.log'


Expected Results:  
emerge should succeed
Comment 1 Olivier Pelerin 2009-04-10 06:04:24 UTC
Created attachment 187850 [details]
openswan-2.4.14-gentoo.patch-14782.out
Comment 2 Olivier Pelerin 2009-04-10 06:05:33 UTC
kroupouk olpeleri #  cat /etc/make.conf 
# These settings were set by the catalyst build script that automatically
# built this stage.                                                      
# Please consult /etc/make.conf.example for a more detailed example.     
CFLAGS="-O3 -march=nocona -pipe -mfpmath=sse -msse3"                     
CXXFLAGS="${CFLAGS}"                                                     
# This should not be changed unless you know exactly what you are doing.  You
# should probably be using a different stage, instead.
CHOST="i686-pc-linux-gnu"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="extra-algorithms redland mng xine musicbrainz chm bonjour gadu xcomposite groupwise jingle msn oscar otrwebpresence winpopup wlm yahoo xcomposite vnc htmlhandbook webkit doc examples vidix xanim xvid embedded nat hybrid portaudio smi gcrypt loop-aes  kdeprefix avahi mdnsresponder-compat cdparanoia pulseaudio mysql -arts pcre session xml gd xulrunner libwww curl gnutls ppds foomatic divx gmedia  quicktime realmedia xinerama flac dvdread mad xscreensaver aac adplug musepack sndfile ldap madwifi mmx smp wavpack wma gstreamer bluetooth ibm cairo mplayer m2rp sdl threads sse2 sse3 radio x264 real encode dv directfb esd modplug ogg png oss svg truetype vlm xosd xv wxwindows ffmpeg live rtsp skins cdio cddb stream mp3 mpeg meanwhile gnome gtk tcl tk dbus qt3support accessibility ibm conntest acpi hdaps tm_smapi qt3 qt4 kde dvd alsa cdr hal nsplugin nptl nptlonly firefox win32codecs java X howl pdf foomatic gnupg crypt dvd cdr qt qt2 dvdr gnome kde jpeg usb sse flash opengl ncurses apache2"
ACCEPT_KEYWORDS="~x86"
MAKEOPTS="-j4"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="radeonhd radeon"
PORTDIR_OVERLAY="/usr/portage_overlay/"
PORTAGE_NICENESS="1"
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"

GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.uni-c.dk/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tups.lv/source/ http://gentoo.tiscali.nl/ http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://ftp.ncnu.edu.tw/Linux/Gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/ http://cdot.senecac.on.ca/software/gentoo/"
Comment 3 Olivier Pelerin 2009-04-10 06:05:58 UTC
kroupouk olpeleri # emerge --info                                                                                            
Portage 2.1.6.11 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r1 i686)                
=================================================================                                                            
System uname: Linux-2.6.28-gentoo-r1-i686-Intel-R-_Core-TM-2_CPU_T7400_@_2.16GHz-with-gentoo-2.0.0                           
Timestamp of tree: Thu, 09 Apr 2009 19:45:01 +0000                                                                           
app-shells/bash:     4.0_p17                                                                                                 
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                        
dev-lang/python:     2.4.3-r4, 2.5.4-r2, 2.6.1-r1                                                                            
dev-python/pycrypto: 2.0.1-r8                                                                                                
dev-util/cmake:      2.6.3                                                                                                   
sys-apps/baselayout: 2.0.0                                                                                                   
sys-apps/openrc:     0.4.3-r1                                                                                                
sys-apps/sandbox:    1.9                                                                                                     
sys-devel/autoconf:  2.13, 2.63-r1                                                                                           
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                               
sys-devel/binutils:  2.19.1-r1                                                                                               
sys-devel/gcc-config: 1.4.1                                                                                                  
sys-devel/libtool:   2.2.6a                                                                                                  
virtual/os-headers:  2.6.28-r1                                                                                               
ACCEPT_KEYWORDS="x86 ~x86"                                                                                                   
CBUILD="i686-pc-linux-gnu"                                                                                                   
CFLAGS="-O3 -march=nocona -pipe -mfpmath=sse -msse3"                                                                         
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/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"                                                                 
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"                                                                                                                          
CXXFLAGS="-O3 -march=nocona -pipe -mfpmath=sse -msse3"                                                                       
DISTDIR="/usr/portage/distfiles"                                                                                             
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"               
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.uni-c.dk/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.tups.lv/source/ http://gentoo.tiscali.nl/ http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://ftp.ncnu.edu.tw/Linux/Gentoo/ http://gentoo.cs.nctu.edu.tw/gentoo/ http://cdot.senecac.on.ca/software/gentoo/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage_overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac accessibility acl acpi adplug alsa apache2 avahi berkdb bluetooth bonjour branding bzip2 cairo cddb cdio cdparanoia cdr chm cli conntest cracklib crypt cups curl dbus directfb divx doc dri dv dvd dvdr dvdread eds embedded emboss encode esd evo examples extra-algorithms fam ffmpeg firefox flac flash foomatic fortran gadu gcrypt gd gdbm gif gmedia gnome gnupg gnutls gpm groupwise gstreamer gtk hal hdaps howl htmlhandbook hybrid iconv ipv6 isdnlog java jingle jpeg kde kdeprefix ldap libnotify libwww live loop-aes m2rp mad madwifi mdnsresponder-compat meanwhile midi mikmod mmx mng modplug mp3 mpeg mplayer msn mudflap musepack musicbrainz mysql nat ncurses nls nptl nptlonly nsplugin ogg opengl openmp oscar oss otrwebpresence pam pcrepdf perl png portaudio ppds pppd pulseaudio python qt qt2 qt3 qt3support qt4 quicktime radio readline realmedia redland reflection rtsp sdl session skins smi smp sndfile spell spl sse sse2 sse3 ssl startup-notification stream svg sysfs tcl tcpd threads tiff tk tm_smapi truetype unicode usb vidix vlm vnc vorbis wavpack webkit win32codecs winpopup wlm wma wxwindows x264 x86xanim xcomposite xine xinerama xml xorg xosd xscreensaver xulrunner xv xvid yahoo zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 4 Alin Năstac (RETIRED) gentoo-dev 2009-04-10 21:43:29 UTC
Ouch... cvs has bitten me again!

Fixed in cvs.
Comment 5 Alin Năstac (RETIRED) gentoo-dev 2009-04-11 01:36:55 UTC
*** Bug 265698 has been marked as a duplicate of this bug. ***