Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135426 - sci-calculators/qalculate-kde-0.9.4 fails to compile
Summary: sci-calculators/qalculate-kde-0.9.4 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL: http://qalculate.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 12:04 UTC by Kalidarn
Modified: 2006-06-18 07:08 UTC (History)
2 users (show)

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


Attachments
The ERROR (error.log,12.69 KB, application/octet-stream)
2006-06-03 12:06 UTC, Kalidarn
Details
sci-calculators/qalculate-kde (qalculate-kde-0.9.4.ebuild,615 bytes, application/octet-stream)
2006-06-03 13:24 UTC, Kalidarn
Details
ebuild (qalculate-kde-0.9.4.ebuild,694 bytes, text/plain)
2006-06-17 08:03 UTC, Markus Dittrich (RETIRED)
Details
makefile patch (qalculate-kde-makefile.patch,8.58 KB, patch)
2006-06-17 08:05 UTC, Markus Dittrich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kalidarn 2006-06-03 12:04:20 UTC
Hi,

I did manage to compile qalculate-kde-0.9.3.1 myself, in my portage overlay with all the libqalculate-0.9.3.1.ebuild which i created myself.

I never uploaded this ebuild and the new version was released so i decided to just plainly skip it and attempt to build 0.9.4

Portage 2.1_rc4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.filearena.net/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
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://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dri dvd eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gps gstreamer gtk gtk2 gtkhtml guile hal idn imlib ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux lcms libg++ libwww mad matroska memlimit mikmod mng mod motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline reflection samba sdl session simplexml slang soap sockets speex spell spl ssl svg tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis wifi win32codecs x86 xinerama xml xml2 xmms xorg xsl xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_synaptics video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kalidarn 2006-06-03 12:06:08 UTC
Created attachment 88291 [details]
The ERROR
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-03 13:02:47 UTC
Not in portage.
Comment 3 Kalidarn 2006-06-03 13:24:12 UTC
Created attachment 88299 [details]
sci-calculators/qalculate-kde
Comment 4 Kalidarn 2006-06-03 13:25:04 UTC
Heh sorry about that was on my desktop and i forgot to attach it.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-06-03 13:29:14 UTC
Well, uhm... are you requesting version bump, or? As said, we can't fix ebuilds that are not in portage.
Comment 6 Kalidarn 2006-06-03 13:37:26 UTC
Yes, its a version bump. (oops i didn't mention that either). Also as i compiled and uploaded all the other related Qalculate things (which are installed on my system and working fine) i figured id do this one as well.

Its an error, related to the compiling of this ebuild which I have modified. I changed it to enhancement because it was not in portage.

The qalculate-kde-0.9.4.ebuild had the following changes:
DEPEND="=sci-libs/libqalculate-0.9.2*
#to
DEPEND="=sci-libs/libqalculate-0.9.4*

This worked for the 0.9.3.1 ebuild which i created and is not in portage, it also worked for the GTK/and other accessories to Qalculate so it should be the only change required.

What else is special about this ebuild is it doesn't seem to compile properly for other reasons which might be discoverable from the log file I have attached.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-06-03 13:39:11 UTC
Heh, a bit confusing. :)
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2006-06-05 16:26:27 UTC
(In reply to comment #6)
> What else is special about this ebuild is it doesn't seem to compile properly
> for other reasons which might be discoverable from the log file I have
> attached.
> 

Hi,

I can reproduce your problem on my machine. There seems to be an
issue with autotools, but I am currently not sure if this is due to
qalculate-kde itself or the kde eclass. Maybe one of the friendly 
gentoo-kde folks can have a quick look and comment on that.

Thanks,
Markus
Comment 9 Alexander Weber 2006-06-12 06:41:25 UTC
I just emerged version 0.9.4 without any problems on x86 using KDE 3.5.3:

emerge --info
Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 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/gcc-config: 1.3.13-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="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en 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://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 apm arts artswrappersuid audiofile avi bash-completion bashlogger berkdb bitmap-fonts bonobo bzip2 cairo cdparanoia cdr cli crypt cups curl dillo directfb dmx doc dri dts dv dvb dvd dvdr dvdread emacs emacs-w3 emboss encode esd exif expat fam fame fastcgi fbcon ffmpeg firefox font-server foomaticdb fortran gd gd-external gdbm gif gimpprint glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal hbci i8x0 idn imagemagick imap imlib ipv6 isdnlog java jikes jpeg jpeg2k junit kde kdeenablefinal kerberos lcms ldap libg++ libwww lirc live lm_sensors logitech-mouse lua mad mbox mbrola mikmod mmx mng mono motif mozcalendar mozilla mozsvg mp3 mpeg mysql ncurses network nls nptl nvidia odbc ofx ogg openal opengl oss pam pcre pda pdf pdflib perl pic plotutils png pppd python qt quicktime readline reflection rle ruby samba sasl scanner sdl session slang sndfile speex spell spl sqlite sse sse2 ssl stream svg svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 videos vim vim-with-x vlm vorbis win32codecs wmf wxwindows xface xine xinerama xml xml2 xmms xorg xosd xprint xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU video_cards_matrox"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Kalidarn 2006-06-13 21:51:42 UTC
Hmm, i just tried it again. Same error.

I wondering why Markus Dittrich and i are getting this error. What's different about alexander's make.conf which is causing it to work? Since then my emerge --info has changed so here is my latest copy.

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.12.1
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.59-r7
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.16.1-r2
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"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -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/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.filearena.net/pub/gentoo/ ftp://mirror.pacific.net.au/linux/Gentoo ftp://mirror.datapipe.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
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://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dri dvd dvdr eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gps gstreamer gtk gtk2 gtkhtml guile hal idn imlib ipv6 isdnlog jpeg kde kdeenablefinal kernel_linux lcms libg++ libwww mad matroska memlimit mikmod mng mod motif mozilla mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline reflection samba sdl session simplexml slang soap sockets speex spell spl ssl svg tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev userland_GNU vorbis wifi win32codecs x86 xinerama xml xml2 xmms xorg xsl xv xvid zlib input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_evdev video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS



Also, its not like useflags should make much of a difference as there are only 3 available, [ebuild  N    ] sci-calculators/qalculate-kde-0.9.4  USE="arts xinerama -debug" 0 kB [1]

in which i have both enabled (i didn't enable -debug)


Comment 11 Markus Dittrich (RETIRED) gentoo-dev 2006-06-17 08:03:41 UTC
Created attachment 89390 [details]
ebuild
Comment 12 Markus Dittrich (RETIRED) gentoo-dev 2006-06-17 08:05:25 UTC
Created attachment 89392 [details, diff]
makefile patch

Hi,

Please give the ebuild+patch a shot and see if it compiles and works
for you. Everything compiles fine for me now.

Thanks,
Markus
Comment 13 Kalidarn 2006-06-17 09:27:33 UTC
Your patch works wonderfully this is now ready to be committed i suppose, as i see no problems.

Thanks again for the support, and thanks for your patience with this issue.

(oh how i love gentoo)

-Kalidarn
Comment 14 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-06-17 09:36:45 UTC
#11+#12
Worksforme, too.
Comment 15 Markus Dittrich (RETIRED) gentoo-dev 2006-06-18 07:08:50 UTC
Thank you all very much for testing and the qalculate-kde-0.9.4 ebuild
has just been committed to portage cvs.

Best,
Markus