Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28533 - xdrawchem version bump to 1.7.5; added openbabel dependency; compile issue with -O2
Summary: xdrawchem version bump to 1.7.5; added openbabel dependency; compile issue wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on: 28536
Blocks:
  Show dependency tree
 
Reported: 2003-09-12 10:08 UTC by Hermann Huttler
Modified: 2003-09-29 01:25 UTC (History)
2 users (show)

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


Attachments
ebuild for XDrawChem 1.7.5 (xdrawchem-1.7.5.ebuild,1.05 KB, text/plain)
2003-09-12 10:13 UTC, Hermann Huttler
Details
ebuild for XDrawChem 1.7.5 (xdrawchem-1.7.5.ebuild,1.05 KB, application/octet-stream)
2003-09-12 10:13 UTC, Hermann Huttler
Details
ebuild for XDrawChem 1.7.5 (xdrawchem-1.7.5.ebuild,1.05 KB, application/octet-stream)
2003-09-12 10:14 UTC, Hermann Huttler
Details
ebuild for XDrawChem 1.7.5 (xdrawchem-1.7.5.ebuild,1.05 KB, text/plain)
2003-09-12 10:15 UTC, Hermann Huttler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hermann Huttler 2003-09-12 10:08:56 UTC
There is a new version of xdrawchem out (1.7.5). This no longer comes with openbabel 
bundled, therefore a dependency for openbable was added. An ebuild for openbabel 
will be submitted soon. 
 
There is also a problem compiling the program. Untarring and compiling out of the box 
makes gcc hang. See below for last few lines of compile output. This can be worked 
around by setting CXXFLAGS="O0".  
 
Compiler version 
~ gcc --version 
gcc (GCC) 3.3.1 20030904 (Gentoo Linux 3.3.1-r1, propolice) 
 
QT version 3.1.2-r4 
 

Reproducible: Always
Steps to Reproduce:
1../configure 
2.make 
 
Actual Results:  
last few lines: 
<snip> 
 
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../openbabel -I/usr/X11R6/include 
-I/usr/qt/3/include -I/usr/include/qt -I/usr/X11R6/include/qt -DUNIX 
-DRINGHOME="\"/usr/share/xdrawchem/\"" 
-DXDC_SERVER=\"herger.ibb.gatech.edu\" -I/usr/include/openbabel    -g -g -O2 -MT 
chemdata_rw.o -MD -MP -MF ".deps/chemdata_rw.Tpo" \ 
  -c -o chemdata_rw.o `test -f 'chemdata_rw.cpp' || echo './'`chemdata_rw.cpp; \ 
then mv -f ".deps/chemdata_rw.Tpo" ".deps/chemdata_rw.Po"; \ 
else rm -f ".deps/chemdata_rw.Tpo"; exit 1; \ 
fi 
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I../openbabel -I/usr/X11R6/include 
-I/usr/qt/3/include -I/usr/include/qt -I/usr/X11R6/include/qt -DUNIX 
-DRINGHOME="\"/usr/share/xdrawchem/\"" 
-DXDC_SERVER=\"herger.ibb.gatech.edu\" -I/usr/include/openbabel    -g -g -O2 -MT 
chemdata_rxn.o -MD -MP -MF ".deps/chemdata_rxn.Tpo" \ 
  -c -o chemdata_rxn.o `test -f 'chemdata_rxn.cpp' || echo './'`chemdata_rxn.cpp; \ 
then mv -f ".deps/chemdata_rxn.Tpo" ".deps/chemdata_rxn.Po"; \ 
else rm -f ".deps/chemdata_rxn.Tpo"; exit 1; \ 
fi 
 
</snip> 
From here on gcc just eats memory and cpu cycles. 


Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.21-pfeifer-r1_pre4) 
================================================================= 
System uname: 2.4.21-pfeifer-r1_pre4 i686 AMD Athlon(tm) XP 2100+ 
distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr -ffast-math 
-funroll-loops -m3dnow -msse -mmmx" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fforce-addr -ffast-math 
-funroll-loops -m3dnow -msse -mmmx" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="ccache autoaddcvs sandbox userpriv usersandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx 
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb 
slang readline arts tetex svga java postgres X sdl gpm tcpd pam libwww ssl perl python 
esd imlib oggvorbis motif opengl mozilla cdr aalib qt kde cups -gnome -gtk"
Comment 1 Hermann Huttler 2003-09-12 10:13:36 UTC
Created attachment 17575 [details]
ebuild for XDrawChem 1.7.5
Comment 2 Hermann Huttler 2003-09-12 10:13:56 UTC
Created attachment 17576 [details]
ebuild for XDrawChem 1.7.5
Comment 3 Hermann Huttler 2003-09-12 10:14:28 UTC
Created attachment 17578 [details]
ebuild for XDrawChem 1.7.5
Comment 4 Hermann Huttler 2003-09-12 10:15:15 UTC
Created attachment 17579 [details]
ebuild for XDrawChem 1.7.5
Comment 5 Hermann Huttler 2003-09-12 10:23:59 UTC
An ebuild for OpenBabel has been submitted. See bug #28536
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-24 08:33:19 UTC
Will maybe have a look at this tomorrow.
Comment 7 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-26 07:30:57 UTC
Did some major changes to the ebuild. Please give it a try when it's in portage.
Comment 8 Hermann Huttler 2003-09-29 00:44:33 UTC
Hi Patrick,

there is a minor typo in the released xdrawchem-1.7.5. In line 28 it should
read QTDIR instead of QDIR.
Comment 9 Patrick Kursawe (RETIRED) gentoo-dev 2003-09-29 01:25:03 UTC
Thanks. Fixed in portage, no revision bump since this is a compile time problem.