Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169894 - app-office/mdbtools-0.5 fails to compile
Summary: app-office/mdbtools-0.5 fails to compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-08 06:09 UTC by Igor Korot
Modified: 2007-03-08 21:17 UTC (History)
0 users

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 Igor Korot 2007-03-08 06:09:53 UTC
Trying to emerge mdbtools-0.5 results in following compiler errors.



Reproducible: Always

Steps to Reproduce:
1. emerge mdbtools
2.
3.

Actual Results:  
Making all in odbc
make[2]: Entering directory `/var/tmp/portage/mdbtools-0.5/work/mdbtools-0.5/src/odbc'
source='odbc.c' object='odbc.lo' libtool=yes \
        depfile='.deps/odbc.Plo' tmpdepfile='.deps/odbc.TPlo' \
        depmode=gcc3 /bin/sh ../../depcomp \
        /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mdbtools\" -DVERSION=\"0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WORDEXP_H=1 -DHAVE_READLINE=1  -I. -I. -I ../../include `glib-config --cflags`    -Os -march=prescott -pipe -DSQL -DUNIXODBC -c -o odbc.lo `test -f 'odbc.c' || echo './'`odbc.c
/bin/sh: glib-config: command not found
mkdir .libs
i686-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"mdbtools\" -DVERSION=\"0.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WORDEXP_H=1 -DHAVE_READLINE=1 -I. -I. -I ../../include -Os -march=prescott -pipe -DSQL -DUNIXODBC -c odbc.c -MT odbc.lo -MD -MP -MF .deps/odbc.TPlo -fPIC -DPIC -o .libs/odbc.lo
In file included from ../../include/mdbodbc.h:22,
                 from odbc.c:28:
../../include/mdbtools.h:31:18: error: glib.h: No such file or directory
In file included from ../../include/mdbodbc.h:22,
                 from odbc.c:28:
../../include/mdbtools.h:113: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/mdbtools.h:120: error: expected specifier-qualifier-list before 'gboolean'
../../include/mdbtools.h:126: error: expected specifier-qualifier-list before 'gboolean'
../../include/mdbtools.h:144: error: expected specifier-qualifier-list before 'guint16'
../../include/mdbtools.h:161: error: expected specifier-qualifier-list before 'guint16'
../../include/mdbtools.h:182: error: expected specifier-qualifier-list before 'GArray'
../../include/mdbtools.h:190: error: expected specifier-qualifier-list before 'GPtrArray'
../../include/mdbtools.h:225: error: expected specifier-qualifier-list before 'guint32'
../../include/mdbtools.h:250: error: expected specifier-qualifier-list before 'GHashTable'
../../include/mdbtools.h:302: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mdb_get_int24'
../../include/mdbtools.h:311: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/mdbtools.h:319: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
../../include/mdbtools.h:346: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
In file included from ../../include/mdbodbc.h:23,
                 from odbc.c:28:
../../include/mdbsql.h:13: error: expected specifier-qualifier-list before 'GPtrArray'
In file included from odbc.c:33:
connectparams.h:27: error: expected specifier-qualifier-list before 'GString'
connectparams.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'LookupDSN'
connectparams.h:36: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
connectparams.h:37: error: expected ';', ',' or ')' before '*' token
connectparams.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
odbc.c: In function 'SQLDriverConnect':
odbc.c:117: warning: assignment makes pointer from integer without a cast
odbc.c:131: warning: assignment makes pointer from integer without a cast
odbc.c: In function 'SQLExtendedFetch':
odbc.c:203: error: 'MdbSQL' has no member named 'cur_table'
odbc.c: In function 'SQLBindCol':
odbc.c:494: warning: assignment from incompatible pointer type
odbc.c: In function 'SQLConnect':
odbc.c:543: warning: assignment makes pointer from integer without a cast
odbc.c: In function 'SQLDescribeCol':
odbc.c:577: error: 'MdbSQL' has no member named 'columns'
odbc.c:577: warning: assignment makes pointer from integer without a cast
odbc.c:578: error: 'MdbSQL' has no member named 'cur_table'
odbc.c:580: error: 'MdbTableDef' has no member named 'columns'
odbc.c:580: warning: assignment makes pointer from integer without a cast
odbc.c:602: error: 'MdbColumn' has no member named 'is_fixed'
odbc.c: In function 'SQLColAttributes':
odbc.c:645: error: 'MdbSQL' has no member named 'columns'
odbc.c:645: warning: assignment makes pointer from integer without a cast
odbc.c:646: error: 'MdbSQL' has no member named 'cur_table'
odbc.c:648: error: 'MdbTableDef' has no member named 'columns'
odbc.c:648: warning: assignment makes pointer from integer without a cast
odbc.c:660: warning: dereferencing 'void *' pointer
odbc.c: In function 'SQLFetch':
odbc.c:820: error: 'MdbSQL' has no member named 'cur_table'
odbc.c: In function 'SQLGetData':
odbc.c:1052: error: 'MdbSQL' has no member named 'columns'
odbc.c:1052: warning: assignment makes pointer from integer without a cast
odbc.c:1053: error: 'MdbSQL' has no member named 'cur_table'
odbc.c:1055: error: 'MdbTableDef' has no member named 'columns'
odbc.c:1055: warning: assignment makes pointer from integer without a cast
odbc.c:1062: error: 'MdbColumn' has no member named 'cur_value_start'
odbc.c:1063: error: 'MdbColumn' has no member named 'cur_value_len'
odbc.c:1065: error: 'MdbColumn' has no member named 'cur_value_len'
make[2]: *** [odbc.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/mdbtools-0.5/work/mdbtools-0.5/src/odbc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mdbtools-0.5/work/mdbtools-0.5/src'
make: *** [all-recursive] Error 1

!!! ERROR: app-office/mdbtools-0.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  mdbtools-0.5.ebuild, line 39:   Called die

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




Expected Results:  
emerge finishes without errors
Comment 1 Igor Korot 2007-03-08 06:11:26 UTC
My emerge --info:

IgorsGentooOnNetwork / # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 i686)
=================================================================
System uname: 2.6.18-gentoo-r6 i686 Genuine Intel(R) CPU           T1350  @ 1.86GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 25 Jan 2007 18:20:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
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.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.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=prescott -pipe"
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/gconf /etc/terminfo"
CXXFLAGS="-Os -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apm berkdb bitmap-fonts cdr clamav cli cracklib crypt dlloader dri dvd dvdr elibc_glibc freetds gdbm gnome gpm gtk gtk2 iconv input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text libg++ lm_sensors mplayer mssql ncurses nls nptl nptlonly odbc opengl pam pcre perl pmu ppds pppd python readline reflection session spl ssl sybase sybase-ct symlink tcpd theora truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_i810 wifi wxwindows xine xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 09:16:45 UTC
Try with 0.6_pre1-r1 please.
Comment 3 Igor Korot 2007-03-08 18:22:17 UTC
(In reply to comment #2)
> Try with 0.6_pre1-r1 please.

Thank you for the reply.
I will try this version. However, I heard it has a bug in the GUI implementation, and I would like to use it.

I guess I will need to check the bug severity... ;-)

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 21:05:23 UTC
Well, 0.5 is *ancient*, would make sense to stabilize someone at least somewhat newer (still from mid-2006; this thing is pretty much dead upstream).
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 21:06:37 UTC
(In reply to comment #4)

Err, not mid-2004, not 2006 of course...
Comment 6 Igor Korot 2007-03-08 21:13:18 UTC
(In reply to comment #5)
> (In reply to comment #4)
> Err, not mid-2004, not 2006 of course...

Well it looks like the maintainer is pretty much dead.
The 0.6_pre1 has been sitting there for a long time as "not stable"...

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-03-08 21:17:32 UTC
As said, test the latest version, if it works, it might get stabilized.