Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144958 - app-crypt/xca-0.5.1 fails to build due openssl-0.9.8 and gcc-4.1
Summary: app-crypt/xca-0.5.1 fails to build due openssl-0.9.8 and gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-24 04:59 UTC by Florian Manschwetus
Modified: 2006-10-06 15:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the emerge output (shit,22.89 KB, text/plain)
2006-08-24 05:00 UTC, Florian Manschwetus
Details
xca-0.5.1-gcc4.patch (xca-0.5.1-gcc4.patch,2.05 KB, patch)
2006-09-24 13:12 UTC, Alon Bar-Lev (RETIRED)
Details | Diff
xca-0.5.1-openssl.patch (xca-0.5.1-openssl.patch,4.49 KB, patch)
2006-09-24 13:13 UTC, Alon Bar-Lev (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Manschwetus 2006-08-24 04:59:12 UTC
seems to be caused by the missing berkely db headers


emerge --info
Portage 2.1.1_pre5-r3 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-thinkpad-r5 i686)
=================================================================
System uname: 2.6.17-thinkpad-r5 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Gentoo Base System version 1.12.4
Last Sync: Thu, 24 Aug 2006 09:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
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: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe -msse -msse2 -msse3 -mmmx -mfpmath=sse"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j4"
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"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="x86 16bittmp X X509 a52 aac aalib acpi alsa apache2 avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cardbus cdda cddb cdparanoia cdr chipcard cli crypt css cups curl dba dbx dga directfb dlloader dri dts dvb dvb_cards_dibusb-usb1 dvb_cards_dibusb-usb2 dvb_cards_nxt200x dvb_cards_or51132 dvb_cards_or51211 dvb_cards_sp8870 dvb_cards_sp887x dvb_cards_tda1004x dvb_cards_ttpci dvb_cards_ttusb-dec dvb_cards_usb-a800 dvb_cards_usb-dtt200u dvb_cards_usb-umt dvb_cards_usb-vp702x dvb_cards_usb-vp7045 dvb_cards_usb-wt220u dvd dvdr dvdread eds elibc_glibc encode esd ethereal fat fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm geldkarte gif glut glx gphoto2 gpm gps gstreamer gtk gtk2 hal hbci hdaps httpd icc icq imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript john jpeg junit kde kernel_linux libg++ libwww linguas_de live mad madwifi mikmod mime mjpeg mmx mmxext mono motif mozdevelop mozsvg mp3 mpeg mplayer mysql ncurses nls no-seamonkey nodoc nosrc nowin nptl nptlonly nsplugin ntfs ogg opengl pam pcmcia pcre pda pdf pdflib perl php piix_hotplug png postgres ppds pppd python qt qt3 qt4 quicktime readline real reflection reiser4 reiserfs samba sdl session shout smartcard spell spl sse sse2 ssl stream svg svga swat t60 tcltk tcpd tetex threads tidy tiff truetype truetype-fonts type1 type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_video_cards_ati video_cards_video_cards_radeon video_cards_video_cards_vesa vorbis wifi win32codecs wxwindows xfs xine xinerama xml xmms xorg xosd xprint xrandr xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Florian Manschwetus 2006-08-24 05:00:51 UTC
Created attachment 95003 [details]
the emerge output
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-24 09:56:06 UTC
Set your locales to C when reporting bugs, please.
Comment 3 Mike Nerone 2006-09-11 18:36:30 UTC
Same error in English (I think):

i686-pc-linux-gnu-gcc -I. -I.. -I/usr/include/db4.2 -I/usr/qt/3/include -O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -pipe -DPREFIX=\"/usr\" -DETC=\"/etc/xca\"  -c moc_ReqDetail.cpp -o moc_ReqDetail.o
../lib/pki_key.h:86: error: extra qualification 
Comment 4 Mike Nerone 2006-09-11 18:36:30 UTC
Same error in English (I think):

i686-pc-linux-gnu-gcc -I. -I.. -I/usr/include/db4.2 -I/usr/qt/3/include -O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -pipe -DPREFIX=\"/usr\" -DETC=\"/etc/xca\"  -c moc_ReqDetail.cpp -o moc_ReqDetail.o
../lib/pki_key.h:86: error: extra qualification pki_key:: on member pki_key
../lib/asn1time.h:78: error: extra qualification a1time:: on member ymdg
../lib/db_x509.h:87: error: extra qualification db_x509:: on member insert
../lib/db_crl.h:72: error: extra qualification db_crl:: on member deletePKI
i686-pc-linux-gnu-gcc -I. -I.. -I/usr/include/db4.2 -I/usr/qt/3/include -O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -pipe -DPREFIX=\"/usr\" -DETC=\"/etc/xca\"  -c moc_validity.cpp -o moc_validity.o
make[1]: *** [moc_MainWindow.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/xca-0.5.1/work/xca-0.5.1/widgets'
make: *** [widgets/target.obj] Error 2

!!! ERROR: app-crypt/xca-0.5.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  xca-0.5.1.ebuild, line 32:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-24 13:12:59 UTC
Created attachment 97976 [details, diff]
xca-0.5.1-gcc4.patch

Solves gcc4 issues.
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-24 13:13:34 UTC
Created attachment 97977 [details, diff]
xca-0.5.1-openssl.patch

Solves openssl-0.9.8 issues.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-24 13:16:13 UTC
Daniel,
How much efforts should be invested in making dead packages work?

openssl-0.9.8 is not backward compatible in some types. So the simplest solution is to apply the attached patch and update dependencies to required >= openssl-0.9.8.
Comment 8 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-24 13:19:05 UTC
Mike Nerone,

Can you please test if this patches work for you? I don't really know this program.
Comment 9 Daniel Black (RETIRED) gentoo-dev 2006-09-24 13:29:30 UTC
(In reply to comment #6)
> Daniel,
> How much efforts should be invested in making dead packages work?
As little as possible.

> openssl-0.9.8 is not backward compatible in some types. So the simplest
> solution is to apply the attached patch and update dependencies to required >=
> openssl-0.9.8.
Sounds good. When I see "simple" and "solution" in the same sentence I'm always pleased :-)
Comment 10 Alon Bar-Lev (RETIRED) gentoo-dev 2006-09-24 13:33:16 UTC
Thanks!
I think this package is dead. Maybe should also be removed from the tree. Too much code and too much incompatibilities.
Is there any policy when to remove such package?
Comment 11 Daniel Black (RETIRED) gentoo-dev 2006-09-24 14:55:18 UTC
(In reply to comment #9)
> Thanks!
> I think this package is dead.
Fair call.
> Maybe should also be removed from the tree. Too
> much code and too much incompatibilities.
> Is there any policy when to remove such package?
General criteria to removal are:
1. broken
2. alternate package with similar functionality exists elsewhere.
3. dependencies on the package can be removed

put a case forward for #2 and #3 lets remove it (or ask the treecleaners to do it)
Comment 12 Jon Sharp 2006-10-05 12:22:38 UTC
> put a case forward for #2 and #3 lets remove it (or ask the treecleaners to do
> it)

I, for one, use this package quite a bit.  If it really is dead, I'm happy to look at alternatives, but if it is at all relevant, then the submitted patches should be enough to keep it alive a bit longer, at least.  (I got it working using the submitted patches)

Comment 13 Mike Nerone 2006-10-05 18:27:01 UTC
I rather like this package and use it regularly, as well.
Comment 14 Alon Bar-Lev (RETIRED) gentoo-dev 2006-10-05 18:30:15 UTC
(In reply to comment #12)
> I rather like this package and use it regularly, as well.

Can you please confirm that the patches work for you as well?
Comment 15 Mike Nerone 2006-10-05 20:21:35 UTC
Confirmed...ebuild with patches works for me.
Comment 16 Alon Bar-Lev (RETIRED) gentoo-dev 2006-10-06 15:43:27 UTC
Added: app-crypt/xca-0.5.1-r1