First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 228189
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Peter Volkov <pva@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Evil Compile Person <bugs@dev.gentooexperimental.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
vzctl.gcc-4.3.patch patch to fix glibc 2.8 compatibility patch Bandan 2008-06-19 00:26 0000 758 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 228189 depends on: Show dependency tree
Show dependency graph
Bug 228189 blocks:
Votes: 1    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-18 22:05 0000
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"vzctl\" -DPACKAGE_TARNAME=\"vzctl\"
-DPACKAGE_VERSION=\"3.0.22\" "-DPACKAGE_STRING=\"vzctl 3.0.22\""
-DPACKAGE_BUGREPORT=\"devel@openvz.org\" -DPACKAGE=\"vzctl\"
-DVERSION=\"3.0.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I.
-I. -I../../include -DSBINDIR=\"/usr/sbin\" -DPKGCONFDIR=\"/etc/vz\"
-DPKGLIBDIR=\"/usr/lib64/vzctl\" -O2 -pipe -Wall -Wpointer-arith -Wcast-qual
-Winline -Wcast-align -Wno-unused-parameter -MT config.lo -MD -MP -MF
.deps/config.Tpo -c config.c  -fPIC -DPIC -o .libs/config.o
config.c: In function 'parse_ul_sfx':
config.c:530: error: 'LONG_MAX' undeclared (first use in this function)
config.c:530: error: (Each undeclared identifier is reported only once
config.c:530: error: for each function it appears in.)
config.c: In function 'parse_twoul_sfx':
config.c:558: error: 'LONG_MAX' undeclared (first use in this function)
make[2]: *** [config.lo] Error 1
make[2]: Leaving directory
`/var/tmp/portage/sys-cluster/vzctl-3.0.22/work/vzctl-3.0.22/src/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/sys-cluster/vzctl-3.0.22/work/vzctl-3.0.22/src'
make: *** [all-recursive] Error 1
 *
 * ERROR: sys-cluster/vzctl-3.0.22 failed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1, glibc-2.8_p20080602-r0,
2.6.25.1 x86_64)
=================================================================
System uname: 2.6.25.1 x86_64 Dual-Core AMD Opteron(tm) Processor 2212 HE
Timestamp of tree: Tue, 17 Jun 2008 20:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.62
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf
/etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://216.165.129.134/gentoo
http://gentoo.mirrors.tds.net/gentoo http://gentoo.osuosl.org/"
LANG="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://208.71.112.51/gentoo-portage"
USE="X acl amd64 berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv
ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre
perl pppd python readline reflection session spl sse sse2 ssl tcpd unicode xorg
zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m
maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

------- Comment #1 From Bandan 2008-06-19 00:26:12 0000 -------
Created an attachment (id=157529) [edit]
patch to fix glibc 2.8 compatibility

included <limits.h> 

------- Comment #2 From Joakim 2008-07-13 22:07:04 0000 -------
Any chance to see this patch go in any time soon? Seem to me being a really
trivial fix

------- Comment #3 From Joakim 2008-07-13 22:29:38 0000 -------
A small observation, it would be preferable that bug 221971
(http://bugs.gentoo.org/show_bug.cgi?id=221971) got fixed before this one
otherwise if wouldn't be of much use and actually break a currently functional
vzctl,  already compiled but with an earlier version of glibc and pre
linux-headers-2.6.25

maybe should it even be set to depend on that bug really? 

------- Comment #4 From Peter Volkov 2008-07-14 06:17:11 0000 -------
Thank you for report and Bandan for the patch. Fixed in vzctl-3.0.22-r1.

First Last Prev Next    No search results available      Search page      Enter new bug