Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146083 - openjade 1.3.2-r1 failed compilation
Summary: openjade 1.3.2-r1 failed compilation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-02 22:05 UTC by Christopher Mire
Modified: 2006-10-05 21:01 UTC (History)
1 user (show)

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 Christopher Mire 2006-09-02 22:05:52 UTC
Just upgraded to gcc 4.1.1 and glibc-2.4-r3 and starting recompiling all my system and world packages.  Openjade failed to build however.  Pretty much
everything on my system is recompiled and works fine, just I cant this to recompile.

make[2]: Entering directory `/var/tmp/portage/openjade-1.3.2-r1/work/openjade-1.3.2/grove'
mkdir .libs
x86_64-pc-linux-gnu-g++ -O2 -march=athlon64 -pipe -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. y -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c Node.cxx  -fPIC -DPIC
x86_64-pc-linux-gnu-g++: y: No such file or directory
rm -f .libs/LocNode.lo
x86_64-pc-linux-gnu-g++ -O2 -march=athlon64 -pipe -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/.. y -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\" -DSP_DEFINE_TEMPLATES=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_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1 -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1 -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1 -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1 -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\" -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1 -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\" -c LocNode.cxx  -fPIC -DPIC
x86_64-pc-linux-gnu-g++: y: No such file or directory
make[2]: *** [LocNode.lo] Error 1
make[2]: *** Waiting for unfinished jobs....


Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
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.us.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa avi bash-completion berkdb bitmap-fonts browserplugin cairo cdr cli crypt cups dbus dlloader doc double-precision dri dvd dvdr eds emacs emboss emul-linux-x86 encode examples firefox foomaticdb fortran ftp gif glitz glut gnome gpm gstreamer gtk gtk2 hal ieee1394 imagemagick imlib ipv6 isdnlog javascript jpeg kde lm_sensors lzw lzw-tiff mp3 mpeg nautilus ncurses nls nptl nptlonly nsplugin nvidia ogg openal opengl pam pcre pdf pdflib perl png posix pppd python qt qt3 qt4 quicktime readline reflection samba sdl session sharedmem sockets spell spl ssl svg tcpd tetex threads tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xmms xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Christopher Mire 2006-10-05 21:01:58 UTC
This, this started bugging me so I started doing some digging into the Makefiles which is something I dont have alot of experience in.  After looking it seemed that it was inserting a "y" into compile string.  I found in Makefile.comm 

CXXFLAGS=-O2 $(INCS) $(DEBUG) $(DEFS)
CFLAGS=-g -O2 $(DEBUG) $(DEFS)

and it seemed the "y" was being inserted inbetween includes and defs, and then i remember in my .bashrc I have a "DEBUG" variable defined for my own software.  It is set to "y" and I guess it used that value.  So doing an "unset DEBUG" and then compiling worked.

I don't know if its a bug that its using my environment variable, i've never run into this issue before with a package.