Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166017 - unixODBC fails to build: __mbstate_t issue in _types.h (SQLTables.lo build)
Summary: unixODBC fails to build: __mbstate_t issue in _types.h (SQLTables.lo build)
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High critical (vote)
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-09 00:12 UTC by G. Gibson
Modified: 2008-05-04 14:41 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 G. Gibson 2007-02-09 00:12:15 UTC
/usr/bin/gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"unixODBC\" -DVERSION=\"2.2.11\" -DYYTEXT_POINTER=1 -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_SYS_SEM_H=1 -DHAVE_DLFCN_H=1 -DHAVE_ICONV=1 -DICONV_CONST=const -DHAVE_READLINE_HISTORY_H=1 -DHAVE_READLINE=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SYS_TIME_H=1 -DSIZEOF_LONG=4 -DHAVE_LONG_LONG=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_VSNPRINTF=1 -DHAVE_STRTOL=1 -DHAVE_ATOLL=1 -DHAVE_STRTOLL=1 -DHAVE_ENDPWENT=1 -DHAVE_LIBPTHREAD=1 -D_REENTRANT=1 -DHAVE_LOCALTIME_R=1 -DOSXHEADER=1 -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DHAVE_PWD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRING_H=1 -DHAVE_LOCALE_H=1 -DHAVE_SYS_MALLOC_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_SEM_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_VPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 -DUNIXODBC_SOURCE=1 -I. -I../../include -I. -I../../libltdl -O2 -pipe -mcpu=G3 -MT SQLTables.lo -MD -MP -MF .deps/SQLTables.Tpo -c SQLTables.c  -fno-common -DPIC -o .libs/SQLTables.o
In file included from /usr/include/machine/_types.h:26,
                 from /usr/include/sys/_types.h:27,
                 from /usr/include/_types.h:27,
                 from /usr/include/dirent.h:65,
                 from SQLTables.c:22:
/usr/include/ppc/_types.h:73: error: conflicting types for '__mbstate_t'
/usr/include/i386/_types.h:73: error: previous declaration of '__mbstate_t' was here
/usr/include/ppc/_types.h:75: error: conflicting types for '__darwin_mbstate_t'
/usr/include/i386/_types.h:75: error: previous declaration of '__darwin_mbstate_t' was here
make[3]: *** [SQLTables.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

!!! ERROR: dev-db/unixODBC-2.2.11-r1 failed.
Call stack:
  ebuild.sh, line 1768:   Called dyn_compile
  ebuild.sh, line 1125:   Called qa_call 'src_compile'
  environment, line 3409:   Called src_compile
  unixODBC-2.2.11-r1.ebuild, line 54:   Called die
Comment 1 Igor Korot 2007-06-16 06:21:30 UTC
Hi,
What is your "emerge --info"?

Thank you.

P.S.: It is working for me...
Comment 2 G. Gibson 2007-06-16 17:08:22 UTC
(In reply to comment #1)
> Hi,
> What is your "emerge --info"?
> 
> Thank you.
> 
> P.S.: It is working for me...
> 
Here is the emerge info, thanks.

Portage 2.1.29.6752 (default-prefix/darwin/macos/10.4/ppc, gcc-4.0.1, unavailable, 8.9.0 Power Macintosh)
=================================================================
System uname: 8.9.0 Power Macintosh powerpc
Gentoo Prefix Base System version 1.12.5
Timestamp of tree: Fri, 08 Jun 2007 18:55:09 +0000
distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4-r04.2
dev-python/pycrypto: 2.0.1-r5
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/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin8"
CFLAGS="-O2 -pipe -mcpu=G3"
CHOST="powerpc-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -mcpu=G3"
DISTDIR="/opt/usr/portage/distfiles"
EPREFIX="/opt"
FEATURES="distlocks metadata-transfer nostrip sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/distfiles http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/opt/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="/opt/var/tmp"
PORTDIR="/opt/usr/portage"
PORTDIR_OVERLAY="/opt/usr/local/portage"
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay"
USE="3ds X X509 a52 aac acl adsl afs agg aim aimextras aio akode alac amr amrr amuled animgif ansi ao aotuv apache2 aqua aqua_theme arj asf audiofile bcmath bcp bdf bidi bigpatch bind-mysql binfilter bittorrent bjam blender-game bonjour bonobo bonusscripts boost brltty buttons cairo canna capi capslib carbone_theme cblas cdb cdda cddb cdf cdinstall cdparanoia cdr cdrom cdsound cegui cg cgi charconv chardet chasen child-protection chipcard chipcard2 chm cjk clamav clamd classic cli client clisp cln clock-screen cluster cmdsubmenu colordiff command-args commons-digester compress console contrib coreaudio cpio cpudetection cracklib crciprec crypt css csv ctype cups curlwrappers cursors custom-cflags daap dba dbase dbi dbm dbx dcraw depth16 devil dict divx djvu doc dolby-record-switch dosformat dpmod dtaus dts dv dvb dvbplayer dvd dvdr dvdread dx dynagraph dynamicplugin eb ecc eds effects emf emoticon emovix enca encode enscript exif extrafilters fasttrack ffmpeg fftw firefox fits flac flash flatfile flexresp flexresp2 flood fluidsynth force-oss fping fpx freebox freetds freewnn ftp gaim gcl gd gdal gdbm gdl gedit geldkarte general geos gif gimp ginac glitz glut glw gmath gmedia gml gmtfull gmthigh gmtsuppl gmttria gnet gnuplot gopher gphoto2 gps grammar graphviz gs gsf gsl gssapi gstreamer gtalk gtk2 gtkhtml gtkspell hbci hdf hdf5 hdhomerun hfs hlapi howl html http httpd hub hyperwave-api icecast iconv icq id3 ieee1394 ifp ifsession ilbc image imagemagick imap imlib inifile inkjar inline innkeywords innodb interbase intl iodbc ipod ipsec ipv6 itcl ithreads ivtv jabber java javascript jfs joystick jpeg jpeg2k jrtplib kaspersky kerberos kexi kirbybase krb4 ladspa lame lapack largefile largenet lash layout-osx-like lcms ldap libburn libclamav libdsk libedit libgda libnotify libvisual libwww lights live logrotate logwatch lua mad maps math matroska maya-shaderlibrary mccp mcve md5sum mdb mdnsresponder-compat meanwhile metalink mew mfd-rewrites mgetty mhash midi mikmod mime mimencode ming minisat mixer mjpeg mng mod mod_irc modkit modplug mods moneyplex mopac7 mozcalendar mozdevelop mozdom mozsvg mozxmlterm mp3 mp3rtp mp4 mp4live mpeg mpeg2 mpi mpi_njtree mplayer mpqc mslu msn msql mssql muine multipath musepack music musicbrainz mysql mysqlfriends mysqli ncurses net netcdf network nfs nis nls nntp ntp oav obex objc objc++ odbc ofa ofx ogdi ogg oldworld ole onaccess openal openbabel openexr openssl openstreetmap oracle osc oscar overlays ovrimos pbs pci pcre pda pdf pdfkit physfs pike pipe player plib plotutils png portaudio posix postgis ppc ppc-macos ppds prefix proj pymol pyste qdbm qhull qq quicktime quotes rar readline recode rle rotor rrdcgi rss rtsp ruby samba sapdb sasl sbcl scripting sdl sdl-sound sdlaudio session setup-plugin sftp sge shape shared shorten shout sid silc skins slp smallnet sndfile snmp soap sockets sofia-sip songdb sound sox speedo spell sqlite sqlite3 srt srv ssl stream streamzap submenu subtitles subversion svg svgz svn-mirror swig tcpd teamarena tetex tga tgif theora thesaurus threads thunderbird tidy tiff timestats tntc toolbar tools transcode truetype twolame unicode upnp vcd vdr vidix vlm vnc vorbis wddx webdav wma wmf wmp wxwindows x264 xanim xattr xbase xcf xforms xfs xine xinerama xml xmlrpc xpm xrandr xsl xslt xv xvid xvmc yaepg yahoo yaz yp yv12 zip zlib zrtp" 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" CAMERAS="adc65 agfa-cl20 aox barbie canon casio clicksmart310 digigr8 digita dimera directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak konica largan lg_gsm mars minolta mustek panasonic pccam300 pccam600 polaroid ptp2 ricoh samsung sierra sipix smal sonix sonydscf1 sonydscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="Darwin"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 3 Fabian Groffen gentoo-dev 2008-05-04 14:41:31 UTC
Can you try unixODBC in Prefix please?

Gentoo for Mac OS X is no longer supported/alive.