Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22248 - openpbs-2.3.16-r1 fails to compile
Summary: openpbs-2.3.16-r1 fails to compile
Status: RESOLVED DUPLICATE of bug 16267
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Imhof (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-05 01:40 UTC by Thomas Bekel
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
fixes problem for glibc-2.3.2 and higher (openpbs-2.3.16-r1-errno-fixup.patch,1.17 KB, patch)
2003-07-30 15:20 UTC, Donnie Berkholz (RETIRED)
Details | Diff
diff to ebuild (openpbs-2.3.16-r1.ebuild.diff,557 bytes, patch)
2003-07-30 15:21 UTC, Donnie Berkholz (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Bekel 2003-06-05 01:40:27 UTC
When I try to emerge (update) openpbs, I get errors about an undefined reference.

Reproducible: Always
Steps to Reproduce:
1. emerge -u sys-cluster/openpbs
2.
3.
Actual Results:  
beaver root # emerge -u sys-cluster/openpbs
[...]
gcc -march=athlon -O3 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I../../src/include -I../../src/include -DHAVE_CONFIG_H -c svr_task.c
gcc -march=athlon -O3 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I../../src/include -I../../src/include -DHAVE_CONFIG_H -o pbs_server
accounting.o attr_recov.o dis_read.o geteusernam.o issue_request.o
job_attr_def.o job_func.o job_recov.o job_route.o list_link.o node_attr_def.o
node_func.o node_manager.o pbsd_init.o pbsd_main.o process_request.o
queue_attr_def.o queue_func.o queue_recov.o reply_send.o req_delete.o
req_getcred.o req_holdjob.o req_jobobit.o req_locate.o req_manager.o
req_message.o req_modify.o req_movejob.o req_quejob.o req_register.o req_rerun.o
req_rescq.o req_runjob.o req_signal.o req_track.o req_select.o req_shutdown.o
req_stat.o resc_def_all.o run_sched.o stat_job.o svr_attr_def.o svr_chk_owner.o
svr_connect.o svr_func.o svr_jobfunc.o svr_mail.o svr_movejob.o svr_recov.o
svr_resccost.o svr_task.o ../lib/Libattr/libattr.a ../lib/Liblog/liblog.a
../lib/Libnet/libnet.a ../lib/Libpbs/libpbs.a ../lib/Libsite/libsite.a -ldl -lelf 
svr_connect.o(.text+0x1ef): In function `svr_connect':
: undefined reference to `errno'
../lib/Liblog/liblog.a(pbs_log.o)(.text+0x443): In function `log_record':
: undefined reference to `errno'
collect2: ld returned 1 exit status
make[3]: *** [pbs_server] Error 1
make[3]: Leaving directory
`/var/tmp/portage/openpbs-2.3.16-r1/work/OpenPBS_2_3_16/src/server'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/var/tmp/portage/openpbs-2.3.16-r1/work/OpenPBS_2_3_16/src/server'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/openpbs-2.3.16-r1/work/OpenPBS_2_3_16/src'
make: *** [all] Error 2

!!! ERROR: sys-cluster/openpbs-2.3.16-r1 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! (no error message)

beaver root #


beaver root # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20 i686 AMD Duron(tm) Processor
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo
ftp://sunsite.dk/mirrors/gentoo http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config /etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss crypt cups gnome libg++ mikmod ncurses spell xml2 gdbm berkdb slang
arts svga guile gpm tcpd pam libwww python esd imlib oggvorbis motif cdr 3dnow
acpi apm avi dvd encode fbcon gd gif gtk imap java jpeg kde -maildir -matrox
mbox mmx mozilla mpeg mysql nls odbc opengl pcmcia pdflib perl png qt quicktime
readline samba sasl sdl ssl -sse tcltk tetex tiff truetype X xmms xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon -O3 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
CXXFLAGS="-march=athlon -O3 -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"

beaver root #
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-30 15:20:37 UTC
Created attachment 15247 [details, diff]
fixes problem for glibc-2.3.2 and higher
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-30 15:21:23 UTC
Created attachment 15248 [details, diff]
diff to ebuild
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2003-07-30 15:25:17 UTC
Oh yeah. the first patch goes in files/openpbs-2.3.16-r1-errno-fixup.patch
Comment 4 Michael Imhof (RETIRED) gentoo-dev 2003-07-30 15:40:20 UTC

*** This bug has been marked as a duplicate of 16267 ***
Comment 5 Thomas Bekel 2003-07-31 00:11:22 UTC
Ok, thanks!

Now it compiles fine.