Bug 24506 - version bump for xdrawchem-1.7.3
Bug#: 24506 Product:  Gentoo Linux Version: 1.4_rc4 Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: tigger@gentoo.org Reported By: hhuettler@chello.at
Component: Ebuilds
URL: 
Summary: version bump for xdrawchem-1.7.3
Keywords:  
Status Whiteboard: 
Opened: 2003-07-15 00:19 0000
Description:   Opened: 2003-07-15 00:19 0000
hey there is a new version out and the old ebuild works! 
 
This obsoletes #23525.

------- Comment #1 From rob holland (RETIRED) 2003-07-15 05:34:42 0000 -------
g++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/X11R6/include -I/usr/qt/3/include
-I/usr/include/qt -I/usr/X11R6/include/qt -I../openbabel -DUNIX
-DRINGHOME="\"/usr/share/xdrawchem/\"" -DXDC_SERVER=\"herger.ibb.gatech.edu\" 
-g -c -o xruler.o `test -f 'xruler.cpp' || echo './'`xruler.cpp
moc ./application.h -o application.moc.cpp
moc: invalid option -- o
moc 1.1.0
Usage:
moc [OPTIONS]... [FILE]...
-V --version            Show program version and exit.
-h --help               Show usage and exit.
-r --recursively        Add files in direstories given as an argument
                        recursively.
-f --fullinfo           Show titles (eg from id3tags) instead of names in the
                        menu (default).
-s --shortinfo          Show file names in the menu (opposite to -f).
-m --musicdir           Go to your music directory after start (requires such
                        entry in the config file).
-e --errors             Show errors in streams.
-n --no-errors          Do not show errors in streams (opposite to -e).
-p --priority N         Set the priority to a given value.
-l --dont-play          Don't start playing files added as command line
                        arguments.
-R --repeat             Turn on repeat.
-E --no-repeat          Turn off repeat.
make[2]: *** [application.moc.cpp] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/xdrawchem-1.7.3/work/xdrawchem-1.7.3/xdrawchem'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/xdrawchem-1.7.3/work/xdrawchem-1.7.3'
make: *** [all] Error 2

!!! ERROR: app-sci/xdrawchem-1.7.3 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)

it fails for me :/ Any idea why/how? :)

------- Comment #2 From Hermann Huttler 2003-07-15 06:32:15 0000 -------
You seem to have a different version of Qt. 
 
On my system the current version of Qt is 3.1.2-r4 
 
# moc -v 
Qt Meta Object Compiler version 26 (Qt 3.1.2) 
 
 

------- Comment #3 From Hermann Huttler 2003-07-15 06:37:23 0000 -------
Sorry I am kinda blind these days. 
Rob, you have installed media-sound/moc, which interferes with moc from Qt - try 
 
# which moc 
/usr/qt/3/bin/moc 
 
The above is what I get with no media-sound/moc installed. 
Hermann 
 

------- Comment #4 From rob holland (RETIRED) 2003-07-15 06:52:46 0000 -------
oh fun. well spotted.

*thinks*

------- Comment #5 From Hermann Huttler 2003-07-15 07:00:32 0000 -------
Is there a Gentoo standard procedure for conflicting binary names? 
Hermann 

------- Comment #6 From rob holland (RETIRED) 2003-07-15 07:18:30 0000 -------
Not as such no, as the paths are different. Not sure how to tell the makefile
where moc is either :/ Any ideas? Maybe tweak the path. Seems a bit hacky.

------- Comment #7 From Hermann Huttler 2003-07-15 14:47:40 0000 -------
Created an attachment (id=14520) [details]
this ebuild makes use of QTDIR to ensure the correct moc binary is executed

------- Comment #8 From rob holland (RETIRED) 2003-07-16 02:55:51 0000 -------
Commited :) Many thanks.