Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 143299

Summary: net-misc/nxnode-base cannot be built: Files to be patched cannot be found
Product: Gentoo Linux Reporter: Alexander Skwar <askwar>
Component: Current packagesAssignee: Gentoo NX Server project <nx>
Status: RESOLVED DUPLICATE    
Severity: normal CC: info, nx
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /0b/Gentoo/portage/tmp/portage/nxnode-base-2.0.0/temp/nxnode-fix-nxcomp-paths.patch-2501.out
nxcompext/Makefile.in.rej

Description Alexander Skwar 2006-08-09 01:17:07 UTC
Trying to build net-misc/nxserver-freenx-0.6.0_alpha20060711, which also tries to build

[ebuild  N    ] net-misc/nxnode-base-2.0.0  USE="rdesktop vnc" 0 kB [3]

This fails:

>>> Unpacking nxviewer-2.0.0-15.tar.gz to /0b/Gentoo/portage/tmp/portage/nxnode-base-2.0.0/work
 * Applying nxcompext-makefile.patch ...                                                                              [ ok ]
 * Applying nxspool-gcc4.patch ...                                                                                    [ ok ]
 * Applying nxnode-fix-nxcomp-paths.patch ...

 * Failed Patch: nxnode-fix-nxcomp-paths.patch !
 *  ( /0b/Gentoo/portage/local-tree/overlays/nx/testing/net-misc/nxnode-base/files/2.0.0/nxnode-fix-nxcomp-paths.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /0b/Gentoo/portage/tmp/portage/nxnode-base-2.0.0/temp/nxnode-fix-nxcomp-paths.patch-2501.out


!!! ERROR: net-misc/nxnode-base-2.0.0 failed.

I'll attach nxnode-fix-nxcomp-paths.patch-2501.out

[10:15:16 vz6tml@dewup-ww02:/Gentoo/portage/local-tree/overlays/nx/testing/net-misc/nxclient-base] $ emerge --info
Portage 2.1.1_pre4-r4 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r3.05 i686)
=================================================================
System uname: 2.6.17-gentoo-r3.05 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 09 Aug 2006 00:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -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/lib/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"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/Gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://localhost/~vz6tml/gentoo-files http://dewup-ww02.dewup.europe.delphiauto.net/~vz6tml/gentoo-files    http://localhost/gentoo-files/ http://dewup-ww02.dewup.europe.delphiauto.net/gentoo-files/      http://localhost/~vz6tml/gentoo-files/ http://cifs-srvr1.europe.delphiauto.net/~vz6tml/Misc._Software/Gentoo/       http://alexander.skwar.name/~askwar/stuff/gentoo/           http://localhost:60081/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/     http://localhost:60080/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/    http://localhost:60082/mirror/rsync.gentoo.org/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/         ftp://pandemonium.tiscali.de/pub/gentoo/   http://localhost:60083/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/         http://distro.ibiblio.org/pub/linux/distributions/gentoo/   ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/        http://localhost:60084/ http://distfiles.gentoo.org/ "
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/Gentoo/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'"
PORTAGE_TMPDIR="/Gentoo/portage/tmp"
PORTDIR="/Gentoo/portage/tree"
PORTDIR_OVERLAY="/Gentoo/portage/local-tree/misc /Gentoo/portage/local-tree/overlays/vmware/trunk /Gentoo/portage/local-tree/overlays/nx/testing"
SYNC="rsync://localhost:10873/gentoo-portage"
USE="x86 7zip GAPING_SECURITY_HOLE X acl apache apache2 artworkextra async avi bash-completion berkdb bitmap-fonts ccache ck-server cli crypt css cups dbus dlloader dri dvd elibc_glibc encode exif fam fat firefox font-server foomaticdb gd gdbm gif gmail gmailtimestamps gnome gpm gs gtk gtk2 hal hfs hpn i8x0 iconv id3 imagemagick imlib imlib2 input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void isdnlog java javascript jfs jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux lame libg++ libwww linguas_de linuxthreads-tls lm_sensors lynxkeymap lzo lzw lzw-tiff mad mailbox maildir matroska mmx motif mozsvg mp3 mpeg mpm-worker msdav mysql mysqli ncurses network nfs nis nls no-old-linux no-suexec nodrm nomusic nptl nptlonly ntlm offensive ogg oggvorbis pam pcre pdflib perl php png posix postfix pppd python qt qt3 qt4 quicktime rar rdesktop readline real recode reflection reiserfs samba sapdb screen sdl sendfile session sftp smp sockets spell spl sse sse2 ssl stream subtitles symlink sysvipc tcpd tiff transcode truetype truetype-fonts udev unicode usb userland_GNU userlocales utf8 vhosts video_cards_ati video_cards_vesa video_cards_vga vim vim-pager vim-with-x vorbis webdav win32codecs xattr xfs xinetd xml xmms xorg xprint xv xvid yp zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexander Skwar 2006-08-09 01:17:34 UTC
Created attachment 93831 [details]
/0b/Gentoo/portage/tmp/portage/nxnode-base-2.0.0/temp/nxnode-fix-nxcomp-paths.patch-2501.out
Comment 2 Alexander Skwar 2006-08-09 01:28:09 UTC
Created attachment 93832 [details]
nxcompext/Makefile.in.rej

The following command gets run to apply the patch:

patch -p0 -g0 -E --no-backup-if-mismatch < /0b/Gentoo/portage/local-tree/overlays/nx/testing/net-misc/nxnode-base/files/2.0.0/nxnode-fix-nxcomp-paths.patch

When I manually change that to "patch -p1 ...", the patch applies ALMOST:

[10:25:07 vz6tml@dewup-ww02:/0b/Gentoo/portage/tmp/portage/nxnode-base-2.0.0/work] $ sudo patch -p1 -g0 -E --no-backup-if-mismatch < /0b/Gentoo/portage/local-tree/overlays/nx/testing/net-misc/nxnode-base/files/2.0.0/nxnode-fix-nxcomp-paths.patch
Password:
patching file nx-X11/lib/X11/Imakefile
patching file nx-X11/programs/Xserver/Imakefile
patching file nx-X11/programs/Xserver/hw/nxagent/Imakefile
patching file nx-X11/programs/Xserver/os/Imakefile
patching file nxcompext/Makefile.in
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file nxcompext/Makefile.in.rej

I'll attach nxcompext/Makefile.in.rej
Comment 3 Francesco Musso 2006-08-09 11:27:12 UTC
Notice this is a duplicate of bug #143277...
Comment 4 Alexander Skwar 2006-08-09 12:12:57 UTC
(In reply to comment #3)
> Notice this is a duplicate of bug #143277...
> 

Almost - what I wrote in comment #2 is new. Anyway, I added comment #2 to bug #143277 and am now duping this bug.

*** This bug has been marked as a duplicate of 143277 ***