Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 134953 - app-arch/rpm-4.2 doesn't emerge with USE="python"
Summary: app-arch/rpm-4.2 doesn't emerge with USE="python"
Status: RESOLVED DUPLICATE of bug 118858
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-30 12:33 UTC by Elias Probst
Modified: 2006-05-30 12:36 UTC (History)
1 user (show)

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 Elias Probst 2006-05-30 12:33:21 UTC
app-arch/rpm-4.2 doesn't compile when having the python USE-flag set.
I know it's a ~x86 Portage I use, but I think this doesn't matter here.
I've already tried to disable distcc and ccache, but this didn't solve the problem.
After disabling the python USE-flag, app-arch/rpm-4.2 emerged without errors.

emerge output:

/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I../rpmdb -I../rpmio -I../beecrypt -I../popt -I/usr/include/python2.4 -I../zlib    -march=pentium3 -pipe -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c -o rpmmodule.lo `test -f 'rpmmodule.c' || echo './'`rpmmodule.c
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../lib -I../rpmdb -I../rpmio -I../beecrypt -I../popt -I/usr/include/python2.4 -I../zlib -march=pentium3 -pipe -O2 -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -c rpmmodule.c -MT rpmmodule.lo -MD -MP -MF .deps/rpmmodule.TPlo  -fPIC -DPIC -o .libs/rpmmodule.lo
In file included from /usr/include/python2.4/Python.h:8,
                 from rpmmodule.c:7:
/usr/include/python2.4/pyconfig.h:838:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/include/sys/types.h:27,
                 from ../system.h:12,
                 from rpmmodule.c:5:
/usr/include/features.h:150:1: warning: this is the location of the previous definition
In file included from ../rpmio/rpmio_internal.h:10,
                 from rpmmodule.c:14:
../rpmio/rpmio.h:582: warning: type qualifiers ignored on function return type
In file included from ../lib/rpmlib.h:13,
                 from ../lib/rpmcli.h:9,
                 from rpmmodule.c:15:
../popt/popt.h:447: warning: type qualifiers ignored on function return type
In file included from ../lib/rpmcli.h:9,
                 from rpmmodule.c:15:
../lib/rpmlib.h:1024: warning: type qualifiers ignored on function return type
In file included from rpmmodule.c:16:
../rpmdb/rpmdb.h:481: warning: type qualifiers ignored on function return type
In file included from rpmfi-py.h:5,
                 from rpmmodule.c:28:
../lib/rpmfi.h:537: warning: type qualifiers ignored on function return type
rpmmodule.c: In function 'initrpm':
rpmmodule.c:210: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:213: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:216: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:219: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:222: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:225: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:228: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:231: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:234: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:237: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:240: warning: dereferencing type-punned pointer will break strict-aliasing rules
rpmmodule.c:266: error: invalid lvalue in assignment
make[3]: *** [rpmmodule.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/rpm-4.2/work/rpm-4.2/python'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/rpm-4.2/work/rpm-4.2/python'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rpm-4.2/work/rpm-4.2'
make: *** [all] Error 2

!!! ERROR: app-arch/rpm-4.2 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  rpm-4.2.ebuild, line 50:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge info output:
Portage 2.1_rc3-r2 (default-linux/x86/no-nptl, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Celeron(TM) CPU                1066MHz
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 7zip X X509 a52 aac aalib acl acpi alsa amr amrr apm async audiofile automount bash-completion beagle berkdb bittorrent bluetooth bogofilter bzip2 cairo cardbus ccache cdb cdda cddb cdio cdparanoia cdr cdrom commercial cpudetection crypt css ctype cups curl dbus dga djvu dmi dmx dpms dri dts dvd dvdr dvdread effects encode exif expat exscalibar fam fat fbsplash ffmpeg firefox flac foomaticdb ftp gdbm gif gimp gimpprint glitz glut gphoto2 gpm gs gsm gstreamer gtk gtk2 h323 hal howl i8x0 iconv icq imagemagick imap imlib inkjar ipod iproute2 irc irda irmc jabber java javascript john jpeg jpeg2k kde kdepim kerberos kipi lame lcms ldap libg++ libvisual libwww lirc lm_sensors logrotate lzo lzw mad madwifi matroska mime mjpeg mmx mono motif mozsvg mp3 mpeg mplayer msdfs musicbrainz ncurses network nfs nls no-old-linux nsplugin ntfs ntlm ntlm_unsupported_patch nxclient ogg opengl oscar pam pci pcmcia pcre pdf perl plugin pmu png pnp posix ppds pppd python qt quicktime radius rdesktop readline real rtc rtsp ruby samba sametime sapdb scanner screen sdl sensord session snmp spell spreadsheet sqlite sqlite3 sse ssl streamzap svg symlink syslog tcpd tetex theora tiff transcode truetype truetype-fonts trusted type1-fonts unicode usb userlocales vcd vidix visualization vorbis wifi win32codecs winbind wv x264 xanim xcomposite xine xinerama xml xorg xscreensaver xv xvid xvmc yv12 zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-30 12:36:15 UTC

*** This bug has been marked as a duplicate of 118858 ***