Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83112 - app-emacs/gnuserv emerge fails, either stable version
Summary: app-emacs/gnuserv emerge fails, either stable version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-23 15:21 UTC by Abraham Smith
Modified: 2005-05-03 04:03 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Abraham Smith 2005-02-23 15:21:31 UTC
emerge gnuserv fails here.  This example is using FEATURES="-distcc -ccache" and MAKEOPTS="-j1",  for simplicity:

(configure stuff... looks okay)
gcc -c -I. -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -O2 -march=athlon-xp -fomit-frame-pointer -pipe gnuserv.c
gcc -c -I. -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -O2 -march=athlon-xp -fomit-frame-pointer -pipe getopt.c
gcc -c -I. -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -O2 -march=athlon-xp -fomit-frame-pointer -pipe gnuslib.c
gcc -I/usr/X11R6/include -O2 -march=athlon-xp -fomit-frame-pointer -pipe -Wl,-O1,--enable-new-dtags -o gnuserv gnuserv.o gnuslib.o -lnsl  -L -lXau
gnuserv.o(.text+0x685): In function `setup_table':
: undefined reference to `XauGetAuthByAddr'
gnuslib.o(.text+0x43f): In function `connect_to_internet_server':
: undefined reference to `XauGetAuthByAddr'
collect2: ld returned 1 exit status
make: *** [gnuserv] Error 1

!!! ERROR: app-emacs/gnuserv-3.12.5 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Abraham Smith 2005-02-25 15:27:13 UTC
Note: I have sucessfully compiled with LDFLAGS disabled.  This was the same LDFLAGS problem that occurs with emacs.  E.G., bug 77430
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-05-03 04:03:38 UTC
Okay, thanks for the bug report. I unset LDFLAGS in the ebuilds.