Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99778 - sys-cluster/util-vserver-0.30.205-r1 cannot compile
Summary: sys-cluster/util-vserver-0.30.205-r1 cannot compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo VPS Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 04:18 UTC by Ole Tange
Modified: 2006-09-25 00:30 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 Ole Tange 2005-07-21 04:18:44 UTC
Emerging util-vserver fails. 

Reproducible: Always
Steps to Reproduce:
1. emerge sync 
2. emerge util-vserver 
 
Actual Results:  
diet gcc -O2 -march=i686 -fomit-frame-pointer -std=c99 -Wall -pedantic -W -o 
tests/getctx tests/getctx.o  lib/libvserver.a 
lib/libvserver.a(lib_libvserver_a-syscall_gettaskxid.o)(.text+0x15b): In 
function `vc_get_task_xid': 
: undefined reference to `syscall' 
[...] lots of other errors 

Expected Results:  
What is interesting is that if I do the gcc command without diet, then it 
works fine. I expected that it was a problem with diet, so I did: 
 
  emerge -Nb dietlibc 
 
which completed without errors but it did not help the vserver. 
 

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.5-r0, 2.6.11.6-grsec-vs1.9.5 i686) 
================================================================= 
System uname: 2.6.11.6-grsec-vs1.9.5 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.16 
dev-lang/python:     2.3.3-r1 
sys-apps/sandbox:    1.2.10 
sys-devel/autoconf:  2.59-r5 
sys-devel/automake:  1.8.5-r1 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.2-r5 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=i686 -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/ http://ftp.du.se/pub/os/gentoo 
http://195.56.77.10/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups emboss encode esd 
fam foomaticdb fortran gdbm gif gnome gpm gtkgtk2 hardened hardenedphp imlib 
ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis 
opengl oss pam pdflib perl png postgres python qt quicktime readline sdl spell 
ssl tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Benedikt Böhm (RETIRED) gentoo-dev 2005-07-21 09:23:56 UTC
which version of dietlibc do you have installed? 
Comment 2 Ole Tange 2005-07-21 09:26:56 UTC
emerge -s dietlibc 
Searching... 
[ Results for search key : dietlibc ] 
[ Applications found : 1 ] 
 
*  dev-libs/dietlibc 
      Latest version available: 0.28 
      Latest version installed: 0.28 
      Size of downloaded files: 547 kB 
      Homepage:    http://www.fefe.de/dietlibc/ 
      Description: A minimal libc 
      License:     GPL-2 
 
Comment 3 Ole Tange 2005-07-27 01:21:37 UTC
If I do: 
 
  rm /usr/bin/diet 
 
I can recompile successfully - though I get: 
 
 
 
So I will try with the non-diet version and see how far I get. 
 
<RANT> 
  Why is old but working ebuilds removed from portage? I had an old version of 
util-vserver working, but I cannot rebuild it now because of the 
mission .ebuild. 
</RANT> 
 
Comment 4 Ole Tange 2005-07-27 01:22:01 UTC
If I do: 
 
  rm /usr/bin/diet 
 
I can recompile successfully - though I get: 
 
configure: WARNING: ***                                                         
*** 
configure: WARNING: *** it is strongly recommended to link util-vserver against 
*** 
configure: WARNING: *** dietlibc;  glibc's NSS functions are very unreliable in 
*** 
configure: WARNING: *** chroot() environments,  so you have to  expect problems 
*** 
configure: WARNING: *** there.                                                  
*** 
configure: WARNING: ***                                                         
*** 
 
 
So I will try with the non-diet version and see how far I get. 
 
<RANT> 
  Why is old but working ebuilds removed from portage? I had an old version of 
util-vserver working, but I cannot rebuild it now because of the 
mission .ebuild. 
</RANT> 
 
Comment 5 Benedikt Böhm (RETIRED) gentoo-dev 2005-07-31 01:00:26 UTC
just copy the ebuild to your overlay and change versions... you can use 
util-vserver with USE="-glibc" too, try to merge 0.30.208 and report if the 
error still exists 
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2005-08-16 08:19:21 UTC
please reopen if still exists 
Comment 7 Bruno 2005-09-22 12:10:32 UTC
Still valid on a fresh install on x86 (stable) using gcc-3.3.*. On a gcc-3.4.*  
system (pentium-m) util-vserver installs just fine. (using stable dietlibc 
0.28) 
  
Version of util-vserver: 0.30.205-r1 
 
 
I tried util-vserver-0.30.208-r2 which failed as well (gcc-3.3.6) on same 
error. 
Comment 8 Bruno 2005-10-02 11:52:23 UTC
Cause of this compilation error seems to be the hardened USE flag. 
 
I built 2 systems with same GCC version, only difference is the hardened USE 
flag. With it compilation failure, without compiles fine. 
Comment 9 Benedikt Böhm (RETIRED) gentoo-dev 2005-10-02 23:41:07 UTC
please try if 0.30.208-r3 solves the hardened problem (it should... ;) 
Comment 10 Christian Heim (RETIRED) gentoo-dev 2006-09-25 00:29:32 UTC
Reopening.
Comment 11 Christian Heim (RETIRED) gentoo-dev 2006-09-25 00:30:12 UTC
Guess this thing is fixed, as no one complained about it being broken currently.