Summary: | app-arch/rpm-4.4.7-r4 fails to build on AMD64 with LC_COLLATE error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Grimbert Jérôme <jgrimbert> |
Component: | Current packages | Assignee: | Stanislav Ochotnicky (RETIRED) <sochotnicky> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | j6yNRdsH5Fc3 |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Define HAVE_LOCALE_H if locale.h found |
Description
Grimbert Jérôme
2008-06-17 21:25:55 UTC
RPM for ~amd64: unmask rpm-5.0.3... it works fine for installing openoffice-bin 2.4.1, that's all I needed. echo "app-arch/rpm" >>/etc/portage/package.unmask Here's the interesting thing... Just recently I was able to install rpm-4.4.7-r4 on my amd64 system. That was on Thu Mar 25 12:07:43 CDT 2010. Now I'm unable to re-install that same package on the same system. I've installed / upgraded the following package between now and then: sys-libs/timezone-data-2010f dev-libs/nss-3.12.6 x11-apps/xrandr-1.3.2 dev-libs/openssl-0.9.8n sys-apps/grep-2.6 app-arch/dpkg-1.15.6.1 dev-vcs/git-1.7.0.3 net-libs/xulrunner-1.9.2.2-r1 www-client/mozilla-firefox-3.6.2 media-video/nvidia-settings-195.36.03 dev-db/mysql-5.1.45-r1 dev-lang/python-3.1.2 dev-lang/python-2.6.5 app-emulation/vmware-modules-1.0.0.26 x11-drivers/nvidia-drivers-195.36.15 sys-apps/lm_sensors-3.1.2 app-admin/gkrellm-2.3.4 app-emulation/vmware-modules-1.0.0.26 x11-drivers/nvidia-drivers-195.36.15 app-antivirus/clamav-0.95.3 net-analyzer/tcptrace-6.6.7 kde-misc/kdiff3-0.9.95 net-analyzer/traceroute-2.0.13 virtual/libintl-0 sys-libs/timezone-data-2010g virtual/libintl-0 sys-libs/timezone-data-2010g dev-libs/libsigc++-2.2.5 kde-base/kde-env-4.4.2 sys-power/acpid-2.0.3 sys-apps/hdparm-9.28 sys-devel/m4-1.4.14-r1 dev-libs/nss-3.12.6-r1 media-fonts/urw-fonts-2.4.9 dev-util/intltool-0.41.1 dev-perl/Authen-SASL-2.14.01 app-text/htmltidy-20090325-r1 sys-devel/gettext-0.17-r1 sys-devel/bison-2.4.2 sys-apps/grep-2.6.2 sys-devel/make-3.81-r2 sys-apps/diffutils-2.9-r1 sys-libs/e2fsprogs-libs-1.41.11 dev-libs/elfutils-0.145 www-plugins/adobe-flash-10.0.45.2-r1 media-libs/mesa-7.8 x11-libs/cairo-1.8.8-r1 app-text/ghostscript-gpl-8.71-r3 sys-apps/busybox-1.16.0 dev-lang/python-3.1.2-r1 app-text/iso-codes-3.14 dev-lang/python-2.6.5-r1 dev-libs/glib-2.22.5 dev-cpp/glibmm-2.22.2 gnome-base/libgtop-2.28.1 gnome-base/orbit-2.14.18 dev-libs/dbus-glib-0.86 gnome-base/libbonobo-2.24.3 gnome-base/libgnomeprint-2.18.7 dev-dotnet/libgdiplus-2.6 gnome-base/libgnomeprintui-2.18.5 dev-cpp/libglademm-2.6.7 app-editors/gedit-2.28.4 dev-vcs/git-1.7.0.4 net-analyzer/wireshark-1.2.7 net-misc/openssh-5.4_p1-r2 mail-client/mozilla-thunderbird-3.0.3-r2 x11-wm/compiz-0.8.4-r2 x11-plugins/compiz-plugins-main-0.8.4-r1 x11-wm/compiz-0.8.4-r2 x11-plugins/compiz-plugins-main-0.8.4-r1 sys-libs/glibc-2.11-r1 x11-plugins/compiz-plugins-extra-0.8.4-r1 kde-base/kdelibs-4.4.2 kde-base/libkdegames-4.4.2 kde-base/kompare-4.4.2 kde-base/kpat-4.4.2 gnome-base/libbonoboui-2.24.3 gnome-base/libgnomeui-2.24.3 app-editors/mlview-0.9.0 gnome-base/nautilus-2.28.4-r1 media-sound/rhythmbox-0.12.8 media-video/nvidia-settings-195.36.15 x11-plugins/enigmail-1.0.1-r2 gnome-base/librsvg-2.26.2 media-gfx/imagemagick-6.6.0.10 gnome-extra/gnome-system-monitor-2.28.1 app-emulation/wine-1.1.41 perl-core/ExtUtils-CBuilder-0.27.03 virtual/perl-ExtUtils-CBuilder-0.27.03 sys-apps/xinetd-2.3.14 net-ftp/netkit-tftp-0.17-r7 app-emulation/vmware-modules-1.0.0.26 x11-drivers/nvidia-drivers-195.36.15 sys-fs/dosfstools-3.0.9 x11-base/xorg-drivers-1.7 x11-libs/pixman-0.18.0 x11-libs/libdrm-2.4.20 net-libs/libpcap-1.1.0 dev-tcltk/expect-5.44.1 net-analyzer/tcpdump-4.1.0-r1 sys-apps/grep-2.6.3 app-portage/mirrorselect-2.1.0-r1 dev-java/icedtea6-bin-1.7.2 dev-libs/protobuf-2.3.0 dev-cpp/libglademm-2.6.7 dev-vcs/mercurial-1.5.1 gnome-base/gconf-2.28.1 dev-libs/libgdata-0.6.4 dev-db/mysql-workbench-5.2.17 x11-wm/compiz-0.8.6 x11-plugins/compiz-plugins-main-0.8.6 x11-libs/libcompizconfig-0.8.4-r1 x11-libs/compizconfig-backend-gconf-0.8.4-r1 x11-plugins/compiz-plugins-extra-0.8.6 dev-python/compizconfig-python-0.8.4-r1 x11-apps/ccsm-0.8.4-r1 x11-wm/emerald-0.8.4-r1 x11-wm/compiz-fusion-0.8.6 dev-libs/libburn-0.7.8 app-cdr/cdrtools-2.01.01_alpha77 virtual/cdrtools-0 dev-libs/libisofs-0.6.28 app-cdr/cdrdao-1.2.3 app-cdr/dvd+rw-tools-7.1-r1 media-libs/libdvdcss-1.2.10 app-cdr/brasero-2.28.3 media-sound/rhythmbox-0.12.8 sys-power/acpid-2.0.3-r1 sys-apps/dbus-1.2.24 dev-java/sat4j-core-2.1.1 media-plugins/gst-plugins-dv-0.10.21 media-libs/gst-plugins-bad-0.10.18 media-plugins/gst-plugins-taglib-0.10.21 sys-libs/tdb-1.2.0-r2 sys-libs/talloc-2.0.1-r1 net-libs/libpcap-1.1.0-r1 media-libs/gst-plugins-good-0.10.21 dev-java/sat4j-pseudo-2.1.1 dev-python/pyopengl-3.0.1 media-plugins/gst-plugins-gconf-0.10.21 media-plugins/gst-plugins-soup-0.10.21 media-libs/libogg-1.2.0 media-libs/libvorbis-1.3.1 net-libs/xulrunner-1.9.2.3 www-client/mozilla-firefox-3.6.3 My emerge info: Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.33-gentoo-20100402-1750 x86_64) ================================================================= System uname: Linux-2.6.33-gentoo-20100402-1750-x86_64-AMD_Phenom-tm-_II_X2_545_Processor-with-gentoo-2.0.1 Timestamp of tree: Mon, 05 Apr 2010 15:30:01 +0000 app-shells/bash: 4.1_p2-r1 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.5-r1, 3.1.2-r1 dev-python/pycrypto: 2.1.0 dev-util/cmake: 2.8.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1 sys-devel/gcc: 4.4.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.33 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -march=amdfam10 -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -march=amdfam10 -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages installsources news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.hoobly.com/ http://gentoo.osuosl.org/ http://gentoo.arcticnetwork.ca/ http://gentoo.netnitco.net" LDFLAGS="-Wl,-O1" LINGUAS="en_US" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X acl acpi aio alsa amd64 archive aspell bash-completion berkdb bzip2 cairo cdda cddb cdr cleartype cli consolekit cracklib crypt cscope custom-cflags custom-optimization cxx dbus device-mapper dga disk-partition dri dvdr emerald exif fam fbcondecor ffmpeg fortran fuse gdbm gdu gecko gif glitz gmp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv java java6 jpeg libffi libnotify lightning lm_sensors lzo mbrola mmx modules mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nsplugin opengl openmp optimized-qmake pam pcre perl playlist png policykit pppd python readline reflection replytolist samba secure-delete session sftp smp spell spl sse sse2 ssl startup-notification svg sysfs threads thumbnail tiff tk truetype udev unicode wmf xaw xcb xcomposite xinerama xorg xv 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 mmap_emul 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Adding a cross link back to another bug I'm having troubles with also about LC_* not being defined: http://bugs.gentoo.org/show_bug.cgi?id=313225 The above package list given is in chronological order, obtained with this command: grep AUTOCLEAN /var/log/emerge.log -B 1 | grep -v ^-- | grep -v AUTOCLEAN | sed -e 's/.*Merging (//' -e 's/::.*//' Created attachment 226915 [details, diff]
Define HAVE_LOCALE_H if locale.h found
I cannot reproduce the problem, but looking at the sources reveals that locale.h might only be #included iff HAVE_LOCALE_H is defined. Nothing explicitly defines it in auto* scripts, which is odd since the scripts still check half a dozen times for the existence of locale.h and availability of setlocale ... (Maybe it should be automagically defined somewhere?)
Anyway, this little patch just adds yet another check for locale.h, and then defines HAVE_LOCALE_H. Maybe it will help?
One of packages that changed during that time is glibc which is owner of locale.h include file. I'll try to work out what changed, but in the meantime can you try patch Arttu provided? If you want to keep it simple you can enable my overlay (sochotnicky) with layman and this should provide you with rpm-4.4.7-r6 ebuild and patch files needed. Ah, I see you commented on the other bug so I guess the fix is working for you. Is that correct? *** Bug 319747 has been marked as a duplicate of this bug. *** tracked at https://bugs.launchpad.net/rpm/+bug/634191 Closing as fixed, since I am assuming new revisions fixed this bug. If it's not the case, please reopen |