First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 139388
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rumen Yotov <rumen@qrypto.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
rpm-4.4.6.ebuild rpm-4.4.6.ebuild text/plain Ed Catmur 2006-07-06 07:29 0000 2.46 KB Details
rpm-4.4.6-with-sqlite.patch rpm-4.4.6-with-sqlite.patch patch Martin von Gagern 2006-07-07 02:38 0000 594 bytes Details | Diff
rpm-4.4.6.ebuild rpm-4.4.6.ebuild v2 text/plain Martin von Gagern 2006-07-07 03:17 0000 2.88 KB Details
rpm-4.4.6.ebuild rpm-4.4.6.ebuild v3 text/plain Martin von Gagern 2006-07-08 08:24 0000 2.88 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139388 depends on: Show dependency tree
Bug 139388 blocks: 139506
Votes: 0    Show votes for this bug    Vote for this bug

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


Not eligible to see or edit group visibility for this bug.






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


Description:   Opened: 2006-07-05 22:11 0000
Hi,
revder-rebuild wanted to rebuild rpm due to broken neon bindings/linkings.
Error log:
...BEGIN...
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I..
-I/usr/include/beecrypt -I../lua/include -I../lua/local -I../popt -I../misc
-I../zlib -O2 -march=athlon-xp -pipe -fPIC -DPIC -D_GNU_SOURCE -D_REENTRANT
-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-Wno-char-subscripts -MT rpmdav.lo -MD -MP -MF .deps/rpmdav.Tpo -c rpmdav.c 
-fPIC -DPIC -o .libs/rpmdav.o
In file included from ./rpmio_internal.h:10,
                 from rpmdav.c:24:
./rpmio.h:603: warning: type qualifiers ignored on function return type
In file included from rpmdav.c:29:
argv.h:65: warning: type qualifiers ignored on function return type
argv.h:82: warning: type qualifiers ignored on function return type
rpmdav.c: In function 'davInit':
rpmdav.c:341: warning: implicit declaration of function 'ne_set_persist'
rpmdav.c: In function 'fetch_destroy_item':
rpmdav.c:401: warning: implicit declaration of function 'NE_FREE'
rpmdav.c: In function 'davFetch':
rpmdav.c:685: warning: passing argument 2 of 'ne_propfind_set_private' from
incompatible pointer type
rpmdav.c:685: error: too few arguments to function 'ne_propfind_set_private'
rpmdav.c:687: warning: passing argument 3 of 'ne_propfind_named' from
incompatible pointer type
rpmdav.c: In function 'avReaddir':
rpmdav.c:1393: warning: pointer targets in assignment differ in signedness
rpmdav.c: In function 'avOpendir':
rpmdav.c:1446: warning: pointer targets in assignment differ in signedness
rpmdav.c: In function 'davReaddir':
rpmdav.c:1517: warning: pointer targets in assignment differ in signedness
rpmdav.c: In function 'davOpendir':
rpmdav.c:1602: warning: pointer targets in assignment differ in signedness
make[2]: *** [rpmdav.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/rpm-4.4.1-r1/work/rpm-4.4.1/rpmio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rpm-4.4.1-r1/work/rpm-4.4.1'
make: *** [all] Error 2

!!! ERROR: app-arch/rpm-4.4.1-r1 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  rpm-4.4.1-r1.ebuild, line 52:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if
relevant.
...END...
PS: all ~x86 system. emerge --info goes next.
Thanks.Rumen

------- Comment #1 From Rumen Yotov 2006-07-05 22:12:22 0000 -------
emerge --info:
Gentoo Base System version 1.12.1
Portage 2.1.1_pre2-r4 (!/usr/portage/profiles/default-linux/x86/2006.0,
gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r1 i686)
=================================================================
System uname: 2.6.17-gentoo-r1 i686 AMD Athlon(tm) XP 2200+
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ALSA_CARDS="ens1371"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLORTERM="gnome-terminal"
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/qmail/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/init.d
/etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-vO3rFnhwjz,guid=6287ac44d0d66062aefbf473f5ecbf00"
DCCC_PATH="/usr/lib/distcc/bin"
DESKTOP_STARTUP_ID=""
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/var/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache collision-protect distlocks enotice parallel-fetch
sandbox sfperms userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7/html"
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo
http://mirror.datapipe.net/gentoo"
GNOME_DESKTOP_SESSION_ID="Default"
GNOME_KEYRING_SOCKET="/tmp/keyring-Jdb6Kc/socket"
GTK2_RC_FILES="/home/gentoo/.gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/gentoo/.gtkrc-1.2-gnome2"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/home/gentoo"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info:/usr/share/info/emacs-21"
INPUT_DEVICES="keyboard mouse"
KDEDIRS="/usr"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LANG="bg_BG.UTF8"
LC_ALL="en_US.UTF8"
LC_MESSAGES="en"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en bg pt"
LOGNAME="gentoo"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MAIL="/var/mail/gentoo"
MAKEOPTS="-j2"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.17/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/usr/qt/3/doc/man"
OLDPWD="/home/gentoo/mpentoo-2006.1"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin:/var/qmail/bin"
PKGDIR="/var/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64
alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_MAILFROM="portage@qrypto.org"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="gentoo@mach.qrypto.org localhost"
PORTAGE_ELOG_SYSTEM="save mail"
PORTAGE_GID="250"
PORTAGE_GPG_DIR="/etc/portage/gpg"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/ecatmur
/usr/portage/local/layman/kolab2 /usr/portage/local/layman/webapps-experimental
/usr/portage/local/layman/initng /usr/portage/local/layman/java-gcj-overlay
/usr/portage/local/layman/sunrise /usr/portage/local/layman/voip
/usr/portage/local/layman/nxsty-binutils /usr/portage/local/layman/nxsty-glibc"
PORT_ENOTICE_DIR="/var/enotice/"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/gstreamer-0.8:/usr/lib/klibc"
PWD="/home/gentoo"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.3/html"
PYTHONPATH="/usr/lib/portage/pym"
QMAILIDHOST="connectioncable-084.headoff.net"
QMAIL_CONTROLDIR="/var/qmail/control"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
ROOT="/"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
SEARCH_DIRS_MASK="/usr/lib/openoffice"
SESSION_MANAGER="local/mach:/tmp/.ICE-unix/12343"
SHELL="/bin/bash"
SHLVL="3"
SSH_AGENT_PID="12257"
SSH_AUTH_SOCK="/tmp/ssh-rPtid12256/agent.12256"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="xterm"
TMAKEPATH="/usr/lib/tmake/linux-g++"
USE="x86 3dnow X X509 a52 aac acl acpi alsa apache2 avi bash-completion berkdb
bitmap-fonts caps cdb cdr cli crypt cups curl dlloader dri dvd dvdr eds encode
esd evo exif expat ffmpeg flac foomaticdb freetype gd gif gnutls gstreamer gtk
gtk2 gtkhtml hal iconv imap imlib ipv6 isdnlog ithreads javascript jpeg
kdehiddenvisibility kdexdeltas lcms libg++ libwww mad maildir matroska mikmod
mime mmx motif mp3 mpeg ncurses nls nptl nvidia ogg opengl oss pam pcre pdflib
perl png posix ppds pppd prelude python qt3 qt4 quicktime readline reflection
sdl session skey speex spell spl sse ssl svg symlink tcpd theora threads
transcode truetype truetype-fonts type1-fonts udev unicode usb vorbis
win32codecs xine xml xorg xsl xv xvid zlib elibc_glibc input_devices_keyboard
input_devices_mouse kernel_linux linguas_en linguas_bg linguas_pt userland_GNU
video_cards_vesa video_cards_fbdev video_cards_nv"
USER="gentoo"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL
LINGUAS LIRC_DEVICES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="vesa fbdev nv"
WINDOWID="31457902"
XARGS="xargs -r"
XAUTHORITY="/home/gentoo/.Xauthority"
_="/usr/bin/emerge"

------- Comment #2 From Nick Devito 2006-07-05 22:15:41 0000 -------
There are some API incompatibility between neon-0.25.x and neon-0.26.x, which
is breaking a bunch of packages that depend on neon. 

------- Comment #3 From Ed Catmur 2006-07-06 03:48:09 0000 -------
rpm 4.4.6 (bump) supports neon 0.26. Unfortunately it tries to build static,
which doesn't work on Gentoo. Should be fairly easy to fix, though.

------- Comment #4 From Ed Catmur 2006-07-06 07:29:49 0000 -------
Created an attachment (id=91046) [details]
rpm-4.4.6.ebuild

rpm-4.4.6 ebuild bump. Changes:
1. disable rpm-4.4.1-ubuntu-fixup.patch
2. pass staticLDFLAGS="" to make, to disable static build

------- Comment #5 From Rumen Yotov 2006-07-06 10:54:35 0000 -------
Hi Ed,
Thanks for the excelent work.
Change the status to "WORKSFORME" just for the time being,though the Bug is
SOLVED
PS: Ed BTW do you still support an overlay (not working for week or two).
Rumen

------- Comment #6 From Jakub Moc (RETIRED) 2006-07-06 11:49:27 0000 -------
Please, don't resolve bugs that are not fixed in portage. Fixing it for
yourself is really not good enough for the rest of users.

------- Comment #7 From Martin von Gagern 2006-07-06 12:08:20 0000 -------
I had to set SRC_URI="http://wraptastic.org/pub/rpm-4.4.x/rpm-4.4.6.tar.gz"
because I could not get it from the gentoo mirrors. I would include this URL in
the ebuild anyway, even if the server seems to be awfully slow.

After this, the ebuild from comment #4 still fails for me:
creating db_verify
/bin/sh ./libtool --mode=execute true db_verify
make[2]: Leaving directory `/var/tmp/portage/rpm-4.4.6/work/rpm-4.4.6/db3'
Making all in sqlite
make[2]: Entering directory `/var/tmp/portage/rpm-4.4.6/work/rpm-4.4.6/sqlite'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/rpm-4.4.6/work/rpm-4.4.6/sqlite'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/rpm-4.4.6/work/rpm-4.4.6'
make: *** [all] Error 2

!!! ERROR: app-arch/rpm-4.4.6 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  rpm-4.4.6.ebuild, line 52:   Called die

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

!!! This ebuild is from an overlay: '/usr/local/portage'

------- Comment #8 From Martin von Gagern 2006-07-07 02:32:04 0000 -------
OK, I extracted some information concerning sqlite from my build log:

checking for ne_send_request_chunk in -lneon... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking whether NLS is requested... yes
--
config.status: executing depfiles commands
configure: configuring in sqlite
configure: WARNING: no configuration information is in sqlite
configure: configuring in db3

Looking at configure.ac lines 623 and following, I read this comment:
# Check for sqlite3 library. Prefer external, then internal, otherwise none.

In my understanding the Gentoo approach would be to have a USE flag for sqlite
support, and never use the internal version.

Simply removing the sqlite subdir prevents building our own instance, as there
is a "test -d sqlite" in line 637. There are a number such tests, for neon,
file, popt, zlib, beecrypt, elfutils. Only some of them are packaged, but I
believe we want to disable them all, just to make sure we use external
dependencies. However, for some of them configure.ac prefers the internal
version. Personally I'd still use the external libs, to avoid redundancy.
What do you think?

------- Comment #9 From Martin von Gagern 2006-07-07 02:38:05 0000 -------
Created an attachment (id=91112) [details]
rpm-4.4.6-with-sqlite.patch

Patch to configure.ac to add --with-sqlite switch.
This should allow disabling the sqlite dependency even when sqlite is
installed.
Still needs some testing, though, just to make sure.

------- Comment #10 From Martin von Gagern 2006-07-07 03:17:47 0000 -------
Created an attachment (id=91116) [details]
rpm-4.4.6.ebuild v2

A new ebuild for rpm-4.4.6, with the following changes:
* added perl and sqlite USE flags, adjusted RDEPEND accordingly
* applied patch from comment #9
* called autoreconf to have changes to configure.ac take effect
* removed bundled lib dirs except file
* more configuration options, leaving less to autodetection
* install html apidoc if doc USE flag is specified

------- Comment #11 From Jan Schubert 2006-07-08 05:25:21 0000 -------
Works fine for me, thx!

------- Comment #12 From Martin von Gagern 2006-07-08 08:24:59 0000 -------
Created an attachment (id=91206) [details]
rpm-4.4.6.ebuild v3

(In reply to comment #10)
> * install html apidoc if doc USE flag is specified

Had some errors there, should be fixed now.

------- Comment #13 From Stefan Schweizer 2006-07-09 06:11:41 0000 -------
I modified it a bit more and got rid of the internal copy of libintl. As far as
I can see there are still some internal copies left: file, lua, db and db3

But it is rather hard to disable them so I added them as "TODO" in the ebuild.
Feel free to hack more on it :)

Thanks to everyone, the new ebuild is now in the tree.

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