Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 171004 - app-text/kbibtex-0.1.5{,-r1} fail to compile (patch)
Summary: app-text/kbibtex-0.1.5{,-r1} fail to compile (patch)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Marcus D. Hanwell (RETIRED)
URL: http://daff.dword.org/misc/kbibtex-0....
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-03-15 05:23 UTC by Andreas Ntaflos
Modified: 2007-03-15 08:58 UTC (History)
1 user (show)

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


Attachments
Trivial patch to fileimporter.h (kbibtex-0.1.5-fileimporter.patch,406 bytes, patch)
2007-03-15 05:25 UTC, Andreas Ntaflos
Details | Diff
Ebuild (dubbed it -r2 if that's ok?) to include the new patch. (kbibtex-0.1.5-r2.ebuild,760 bytes, text/plain)
2007-03-15 05:27 UTC, Andreas Ntaflos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Ntaflos 2007-03-15 05:23:58 UTC
Both kbibtex-0.1.5 and -0.1.5-r1 fail to compile proberly. It seems to be a simple error really (although I am not proficient in programming Qt), a pure virtual method in fileimporter.h is initialized with "= NULL" instead of "= 0". Not sure why this is an error on my system but apparently not on others (found no bug filed about this).

Compiler error message can be be found at http://daff.dword.org/misc/kbibtex-0.1.5-compiler-error.txt

I'll attach a trivial patch to fileimporter.h and to the ebuild. When applied kbibtex should compile and run fine.

Reproducible: Always




emerge --info:

Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686)
=================================================================
System uname: 2.6.20-gentoo i686 Intel(R) Core(TM)2 CPU          6300  @ 1.86GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 12 Mar 2007 14:00:08 +0000
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=prescott -mtune=prescott -fomit-frame-pointer -fforce-addr -ftracer -frename-registers -fprefetch-loop-arrays -falign-functions=64 -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /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/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=prescott -mtune=prescott -fomit-frame-pointer -fforce-addr -ftracer -frename-registers -fprefetch-loop-arrays -falign-functions=64 -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source http://gentoo.inode.at http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="english"
LC_ALL="en_IE.utf8"
LINGUAS="en_GB en de"
MAKEOPTS="-j3"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib alsa apache2 asf avahi bash-completion bluetooth branding cairo cdr cjk crypt cups dbus dga djvu doc dri dvd dvdr dvdread dvi encode fbcon ffmpeg firefox flac gcj gd gif gimp gpm gtk gtk2 hal imap ipod irda irmc java jpeg kde kdepim latex lm_sensors mad maildir matroska mmx mp3 mpeg mplayer musicbrainz nls nptl nptlonly nsplugin nvidia offensive ogg opengl oss pda perl php pic png postgres ppds python qt3 rar readline real samba sdl smartcard sse sse2 ssl subtitles svg tetex threads tidy tiff truetype unicode usb userlocales vorbis win32codecs wma wmf wxgtk1 wxwindows x86 xcomposite xine xinerama xml xorg xscreensaver xv xvid xvmc zeroconf zlib" ALSA_CARDS="ca0106 intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv ati vesa fbdev i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Ntaflos 2007-03-15 05:25:55 UTC
Created attachment 113331 [details, diff]
Trivial patch to fileimporter.h
Comment 2 Andreas Ntaflos 2007-03-15 05:27:35 UTC
Created attachment 113332 [details]
Ebuild (dubbed it -r2 if that's ok?) to include the new patch.

Ebuild kbibtex-0.1.5-r2.ebuild to incorporate the patch.
Comment 3 Marcus D. Hanwell (RETIRED) gentoo-dev 2007-03-15 08:58:10 UTC
I had just spotted this when I reinstalled my system and was about to track it down. Thanks for the patch, works great. Fixed in CVS.