Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137581 - net-misc/nx-x11-1.5.0-r8 does not install nxagent
Summary: net-misc/nx-x11-1.5.0-r8 does not install nxagent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo NX Server project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 06:48 UTC by Tiago Freire
Modified: 2006-11-04 16:58 UTC (History)
1 user (show)

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


Attachments
nx-x11-1.5.0-amd64.patch (nx-x11-1.5.0-amd64.patch,508 bytes, patch)
2006-10-04 16:27 UTC, Nathan Caldwell
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiago Freire 2006-06-22 06:48:25 UTC
Seems I am not able to use nx-x11 on amd64. I have to resort to using nx-x11-bin to make nx work. I have unmerged my nx installation and wiped /usr/NX and started over, and when all dependencies were emerged, nxagent was missing.
Comment 1 Roman Stanchak 2006-08-01 19:45:32 UTC
I have the same problem on amd64 -- nxagent fails to link, but the emerge doesn't fail -- the specific error I get is as follows:

gcc -o nxagent -O2 -fno-strength-reduce -fno-strict-aliasing -ansi -pedantic -Wall -Wpointer-arith -Wundef     -L../../exports/lib   hw/nxagent/miinitext.o               hw/nxagent/NXwindow.o               hw/nxagent/NXevents.o               hw/nxagent/NXproperty.o               hw/nxagent/NXmiwindow.o               hw/nxagent/NXdixfonts.o               hw/nxagent/NXglyphcurs.o               hw/nxagent/NXdispatch.o               hw/nxagent/NXrender.o               hw/nxagent/NXglyph.o               hw/nxagent/NXpicture.o               hw/nxagent/NXextension.o          dix/libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a  hw/nxagent/libnxagent.a fb/libfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb.a Xi/libxinput.a                     dbe/libdbe.a record/librecord.a                    XTrap/libxtrap.a  GL/glx/libglx.a                GL/mesa/GLcore/libGLcore.a                GL/dri/libdri.a randr/librandr.a                   render/librender.a hw/nxagent/libnxagent.a mi/libmi.a       ../../lib/font/libXfont.a ../../lib/freetype2/libfreetype.a dix/libxpstubs.a  -L../../exports/lib   -lXext -lX11 -lz -lm                   -lXpm -Wl,-rpath-link,/usr/NX/lib -Wl,-rpath-link,../../../nxcompext,-lXrender -Wl,-rpath-link,../../exports/lib
os/libos.a(WaitFor.o): In function `WaitForSomething':
WaitFor.c:(.text+0x495): undefined reference to `_XSelect'
os/libos.a(connection.o): In function `EstablishNewConnections':
connection.c:(.text+0xd30): undefined reference to `_XSelect'
os/libos.a(connection.o): In function `CheckConnections':
connection.c:(.text+0xfd1): undefined reference to `_XSelect'
os/libos.a(utils.o): In function `Popen':
utils.c:(.text+0x1fb9): undefined reference to `_NXUnsetLibraryPath'
hw/nxagent/libnxagent.a(Args.o): In function `nxagentPostProcessArgs':
/var/tmp/portage/nx-x11-1.5.0-r8/work/nx-X11/programs/Xserver/hw/nxagent/Args.c:1465: undefined reference to `_NXEnableCleanImages'
/var/tmp/portage/nx-x11-1.5.0-r8/work/nx-X11/programs/Xserver/hw/nxagent/Args.c:1466: undefined reference to `_NXEnableImageMask'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXContinueOnDisplayError'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXSplitParams'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXEnableCleanAlloc'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXEnableCleanFlush'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXLostSequenceFunction'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXEnableImageFrame'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXColorParams'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXEnableImageSplit'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXImageEnvironmentCached'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXCleanupEnvironmentCached'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXEnableCleanGet'
../../../nxcompext/libXcompext.so.1: undefined reference to `_NXEnableCleanSend'
collect2: ld returned 1 exit status
make[4]: *** [nxagent] Error 1
Comment 2 John Alberts 2006-09-11 16:53:08 UTC
Same problem here.  This bug has been open for a while.  Anyone found a solution yet?


My emerge --info:

Portage 2.1.1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo x86_64)
=================================================================
System uname: 2.6.17-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.4
Last Sync: Mon, 11 Sep 2006 14:30:07 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
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: 1.3.13-r3
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="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS=""
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 7zip X acpi aim aimextras aotuv applet async audacious audiofile beagle berkdb bitmap-fonts cairo cdda cddb cdio cdparanoia cdr cli crypt cups dbus directfb dlloader dri dv dvd dvdr dvdread elibc_glibc esd exif exscalibar fam fbcon ffmpeg firefox fortran gdbm glitz gmail gmailtimestamps gnome-print gphoto2 gpm gtalk hal hddtemp icq input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kdeenablefinal kdehiddenvisibility kdepim kernel_linux libg++ libnotify libsexy lm_sensors logitech-mouse mmap mono mpeg2 mplayer msn msnextras musicbrainz mythtv ncurses network nls nptl nptlonly nsplugin ntfs offensive ogg oggvorbis pam pcre pda pdf perl php ppds pppd python qt3 rdesktop readline reflection reiserfs samba sametime scanner session skins spl ssl subversion svg swat tcpd theora thumbnail truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd vdr video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa visualization vorbis wma xcomposite xine xinerama xmms xorg xscreensaver yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Nathan Caldwell 2006-10-04 16:27:35 UTC
Created attachment 98808 [details, diff]
nx-x11-1.5.0-amd64.patch

Here is a patch to nx-x11 that fixes the issue. Hopefully someone will add this to the ebuild.
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2006-11-04 16:58:05 UTC
Thank you for this patch.  I've added it to the NX packages in the NX overlay.  These packages will move into the Portage tree once they've been tested.

Best regards,
Stu