Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368577 - app-office/libreoffice-3.3.2 - ../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error: invalid conversion from 'const char*' to 'sal_Char*'
Summary: app-office/libreoffice-3.3.2 - ../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: e...
Status: RESOLVED DUPLICATE of bug 367963
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 12:55 UTC by Matt Whitlock
Modified: 2011-05-26 12:21 UTC (History)
0 users

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


Attachments
gzip'd build log (uncompressed exceeded the 1000 KB limit) (build.log.gz,170.93 KB, application/gzip)
2011-05-24 12:55 UTC, Matt Whitlock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2011-05-24 12:55:48 UTC
Created attachment 274475 [details]
gzip'd build log (uncompressed exceeded the 1000 KB limit)

=============
Building module connectivity
=============

Entering /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/connectivity/inc

mkout -- version: 1.8

Entering /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/connectivity/source/parse

Making:    all_sql.dpslo
Making:    sqlbison.cxx
bison -v -d -l -pSQLyy -bsql -o ../../unxlngx6.pro/misc/sqlbison.cxx ../../unxlngx6.pro/misc/stripped_sqlbison.y
../../unxlngx6.pro/misc/stripped_sqlbison.y: warning: 2 nonterminals useless in grammar
../../unxlngx6.pro/misc/stripped_sqlbison.y: warning: 3 rules useless in grammar
../../unxlngx6.pro/misc/stripped_sqlbison.y:264.65-84: warning: nonterminal useless in grammar: row_value_const_list
../../unxlngx6.pro/misc/stripped_sqlbison.y:270.20-33: warning: nonterminal useless in grammar: extract_source
../../unxlngx6.pro/misc/stripped_sqlbison.y:782.25-784.40: warning: rule useless in grammar: row_value_const_list: row_value_constructor_elem
../../unxlngx6.pro/misc/stripped_sqlbison.y:785.17-787.33: warning: rule useless in grammar: row_value_const_list: row_value_const_list ',' row_value_constructor_elem
../../unxlngx6.pro/misc/stripped_sqlbison.y:1701.17-1705.17: warning: rule useless in grammar: extract_source: datetime_value_exp
../../unxlngx6.pro/misc/stripped_sqlbison.y: conflicts: 20 shift/reduce, 17 reduce/reduce
Compiling: connectivity/source/parse/PColumn.cxx
Compiling: connectivity/source/parse/internalnode.cxx
Compiling: connectivity/source/parse/sqliterator.cxx
Compiling: connectivity/source/parse/sqlnode.cxx
Compiling: connectivity/source/parse/wrap_sqlbison.cxx
In file included from /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/connectivity/source/parse/wrap_sqlbison.cxx:32:0:
../../unxlngx6.pro/misc/sqlbison.cxx: In function 'int SQLyyparse()':
../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error: invalid conversion from 'const char*' to 'sal_Char*'
../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error:   initializing argument 1 of 'void connectivity::OSQLParser::error(sal_Char*)'
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/wrap_sqlbison.obj'

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

 it seems that the error is inside 'connectivity', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/bash
cd /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2
source ./LinuxX86-64Env.Set.sh
cd connectivity
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxlngx6.pro in a module.
make: *** [stamp/build] Error 1
 * ERROR: app-office/libreoffice-3.3.2 failed (compile phase):
 *   Build failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8666:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.25"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2'


I ran emerge with MAKEOPTS="-j1".  Here's the rest:

# MAKEOPTS=-j1 emerge --info
Portage 2.2.0_alpha34 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.13-r2, 2.6.37-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 21 May 2011 19:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.81-r2
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo local java-overlay sunrise qting-edge kde vmware lcd-filtering bitcoin
Installed sets: @kdebase
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -ggdb -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -ggdb -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS=" http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ ftp://mirror.datapipe.net/gentoo/ http://mirrors.rit.edu/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://mirror.the-best-hosting.net/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j1"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/flash/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/qting-edge /var/lib/layman/kde /var/lib/layman/vmware /var/lib/layman/lcd-filtering /var/lib/layman/bitcoin"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 amr berkdb bzip2 cairo cdparanoia cli consolekit cracklib crypt cups curl cxx dbus dri dvd dvdr dvdread encode exif fam ffmpeg flac gdbm geoip gif git gstreamer gtk iconv ipv6 java java5 java6 jpeg kde lame lirc lzma mad matroska mjpeg mmx mmxext mng modules mp3 mpeg mudflap mysql ncurses nptl nptlonly nsplugin ogg opengl openmp pcre pdf perl phonon php png ppds pppd python qt4 quicktime rdesktop readline sdl semantic-desktop session smp spell sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib theora threads tiff truetype unicode usb vdpau vnc vorbis webkit x264 xcb xcomposite xml xorg xv xvid yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="mceusb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Märt Bakhoff 2011-05-26 12:07:21 UTC
duplicate of #367963?
Comment 2 Matt Whitlock 2011-05-26 12:21:46 UTC
(In reply to comment #1)
> duplicate of #367963?

I believe so.

*** This bug has been marked as a duplicate of bug 367963 ***