Updating swt from 3.2_rc2 to 3.2, I get the following error: >>> Unpacking source... * Unpacking src.zip to /var/tmp/portage/swt-3.2/work * Applying swt-3.2-gcc-4.x-warning-fix.patch ... [ ok ] * Applying swt-3.2-cairo-signedness.patch ... * Failed Patch: swt-3.2-cairo-signedness.patch ! * ( /usr/portage/dev-java/swt/files/swt-3.2-cairo-signedness.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/swt-3.2/temp/swt-3.2-cairo-signedness.patch-16427.out !!! ERROR: dev-java/swt-3.2 failed. The patch output: |--- cairo.c.orig 2006-07-16 19:16:27.000000000 -0500 |+++ cairo.c 2006-07-16 19:18:15.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ========================================== PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-java/swt/files/swt-3.2-cairo-signedness.patch ========================================== missing header for unified diff at line 3 of 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: -------------------------- |--- cairo.c.orig 2006-07-16 19:16:27.000000000 -0500 |+++ cairo.c 2006-07-16 19:18:15.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ========================================== PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-java/swt/files/swt-3.2-cairo-signedness.patch ========================================== missing header for unified diff at line 3 of 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: -------------------------- |--- cairo.c.orig 2006-07-16 19:16:27.000000000 -0500 |+++ cairo.c 2006-07-16 19:18:15.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ========================================== PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-java/swt/files/swt-3.2-cairo-signedness.patch ========================================== missing header for unified diff at line 3 of 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: -------------------------- |--- cairo.c.orig 2006-07-16 19:16:27.000000000 -0500 |+++ cairo.c 2006-07-16 19:18:15.000000000 -0500 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Portage 2.1.1_pre3-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17-ck1-r2 x86_64) ================================================================= System uname: 2.6.17-ck1-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.1 ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 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-r1, 2.16.93, 2.17, 2.17.50.0.2 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe -ggdb" 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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe -ggdb -ffriend-injection" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="" FEATURES="autoconfig ccache confcache distlocks fixpackages parallel-fetch sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120" 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 /usr/portage/local/layman/sunrise /usr/portage/local/layman/portage-xgl /usr/portage/local/layman/liferea_overlay /usr/portage/local/layman/gentopia /usr/portage/local/layman/break-my-gentoo-main" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dbus debug dlloader dri dvd dvdr eds emboss encode esd firefox flac foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap lzw lzw-tiff mad mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl pic png pppd python qt qt3 quicktime readline reflection ruby samba sdl session spell spl sqlite ssl tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xml xml2 xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en userland_GNU video_cards_vesa video_cards_nvidia" Unset: CTARGET, INSTALL_MASK, LDFLAGS
Created attachment 92002 [details] swt-3.2-cairo-signedness.patch-16427.out Sorry, I cut off the full patch output in the above report. Attached is the output file.
Created attachment 92022 [details, diff] fixed swt-3.2-cairo-signedness.patch I ran into this problem too, and I succeeded to fix the patch (see attachment). In the file, jint is used instead of jlong.
(In reply to comment #2) > I ran into this problem too, and I succeeded to fix the patch (see attachment). > In the file, jint is used instead of jlong. > Thanks! The patch applies cleanly for me, and swt 3.2 builds with no problems.
Someone wanna buy me a x86_64 box?