Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 234512 - app-office/lyx-1.6.0_rc1 does not compile with monolithic-build useflag
Summary: app-office/lyx-1.6.0_rc1 does not compile with monolithic-build useflag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-11 23:58 UTC by Carlos Cordoba
Modified: 2008-08-29 18:27 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,57.96 KB, text/plain)
2008-08-11 23:59 UTC, Carlos Cordoba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Cordoba 2008-08-11 23:58:14 UTC
I have tried to compile lyx-1.6_rc1 with monolithic-build useflag and it failed. I attach my build.log, but the relevant part seems to be:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../src -Wextra -Wall -O3 -mtune=athlon-xp -pipe -MT lyxinsets.lo -MD -MP -MF .deps/lyxinsets.Tpo -c lyxinsets.cpp -o lyxinsets.o
insets/InsetVSpace.cpp:133: error: redefinition of 'const int lyx::<unnamed>::arrow_size'
insets/InsetSpace.cpp:177: error: 'const int lyx::<unnamed>::arrow_size' previously defined here
make[4]: *** [lyxinsets.lo] Error 1

Without this flag, lyx compiles fine.

Reproducible: Always

Steps to Reproduce:




This is portage info:

Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r9 i686)
=================================================================
System uname: 2.6.24-tuxonice-r9 i686 Mobile AMD Sempron(tm) Processor 3000+
Timestamp of tree: Wed, 06 Aug 2008 17:33:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
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.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mtune=athlon-xp -pipe -Wno-pointer-sign"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/initng /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -mtune=athlon-xp -pipe -Wno-pointer-sign"
DISTDIR="/home/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_CO.UTF-8"
LC_ALL="es_CO.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/swegener /usr/portage/local/layman/jokey /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa apache2 audiofile bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dri dv dvd dvdr dvdread emboss encode exif expat fam ffmpeg fftw firefox foomaticdb fortran gif glut gpm gtk gtkhtml hal iconv imlib ipv6 isdnlog jpeg kde kdexdeltas lame lcms leim libnotify libwww mad midi mikmod mmx mmxext mng motif mp3 mpeg mudflap ncurses nls nptl nptlonly opengl openmp pam pcmcia pcre pdf pic plotutils png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sqlite3 sse sse2 ssl startup-notification svg svga symlink sysfs tcl tcpd tetex tiff tk truetype unicode usb win32codecs wmf x86 xcomposite xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="intel8x0 usb-audio" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="sis vga vesa fbdev"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Carlos Cordoba 2008-08-11 23:59:17 UTC
Created attachment 162716 [details]
build.log
Comment 2 pavel sanda 2008-08-24 19:16:28 UTC
will be fixed in rc2,
http://www.lyx.org/trac/changeset/26152
Comment 3 Carlos Cordoba 2008-08-25 16:04:43 UTC
Thanks Pavel for your answer. I'll be waiting for rc2. With every release Lyx gets better and better :)
Comment 4 pavel sanda 2008-08-29 18:23:49 UTC
rc2 in tree, we can close it.
Comment 5 Alexis Ballier gentoo-dev 2008-08-29 18:27:22 UTC
(In reply to comment #4)
> rc2 in tree, we can close it.


cool