Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149630 - sci-misc/qcad-2.0.4.0-r3 GUI issues
Summary: sci-misc/qcad-2.0.4.0-r3 GUI issues
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
: 196383 (view as bug list)
Depends on:
Blocks: 182401
  Show dependency tree
 
Reported: 2006-09-30 09:10 UTC by Phillip Kelchen
Modified: 2008-12-08 20:07 UTC (History)
2 users (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 Phillip Kelchen 2006-09-30 09:10:43 UTC
While trying to compile qcad 2.0.4.0-r3, the build kept failing while trying to build the files in qcadlib. The build tried to use qmake to build a module but could not find qmake as it looked in /usr/lib/qt3/bin/qmake for qmake and qmake is actually in /usr/bin/qmake. I created the dir /usr/lib/qt3/bin and ln -s'ed /usr/bin/qmake to /usr/lib/qt3/bin/qmake and then the ebuild worked perfectly. 

Here's my emerge --info: 

Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 12:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
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="-march=k8 -msse3 -O3 -pipe -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -mfpmath=sse -fomit-frame-pointer"
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/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="-march=k8 -msse3 -O3 -pipe -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -mfpmath=sse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/pub/gentoo/"
LINGUAS="en"
MAKEOPTS="-j3"
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/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acml alsa arts artswrappersuid asf avi berkdb bitmap-fonts browserplugin bzip2 cairo cddb cdparanoia cdr cli cpudetection crypt css cups dbus dlloader doc dri dts dv dvd dvdr dvdread eds elibc_glibc emboss encode esd extrafilters fam fame ffmpeg firefox flac fortran fpx gdbm gif glade glitz gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml hal ieee1394 imagemagick input_devices_keyboard input_devices_mouse ipv6 isdnlog java jbig jpeg jpeg2k kde kdeenablefinal kernel_linux kipi lapack lcms ldap libg++ linguas_en logitech-mouse lzo mad mailwrapper mbox mikmod mjpeg mng modplug mozilla mp3 mp4 mpeg mplayer musepack musicbrainz mysql ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf pdflib perl plotutils png ppds pppd python qt qt3 qt4 quicktime rdesktop readline reflection samba sametime scanner sdl session slp smp sndfile speek speex spell spl sqlite ssl svg symlink tcpd theora threads tidy truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 vcd video_cards_nvidia visualization vmware vorbis wmf wxwindows x264 xcomposite xine xinerama xml xmms xorg xv zeroconf zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 09:30:49 UTC
Please, post some actual compile output with the errors and reopen then. Thanks.
Comment 2 Phillip Kelchen 2006-09-30 09:42:08 UTC
Here is some compile info from the failed compile:

-------- Building qcadlib --------
build_qcad.sh: line 152: /usr/lib/qt3/bin/qmake: No such file or directory
make prepare
make[1]: Entering directory `/var/tmp/portage/portage/qcad-2.0.4.0-r3/work/qcad-2.0.4.0-1.src/qcadlib'
test -d ./include || mkdir -p ./include
( cd ./include; rm -f *.h; \
for hf in `find ../src -name '*.h'`; do \
        ln -s "$hf" 2> /dev/null || cp "$hf" .; \
done )
make[1]: Leaving directory `/var/tmp/portage/portage/qcad-2.0.4.0-r3/work/qcad-2.0.4.0-1.src/qcadlib'
rm -f ./lib/libqcad.a
make ./lib/libqcad.a
make[1]: Entering directory `/var/tmp/portage/portage/qcad-2.0.4.0-r3/work/qcad-2.0.4.0-1.src/qcadlib'
cd src && /usr/lib/qt3/bin/qmake qcadlib.pro
/bin/sh: /usr/lib/qt3/bin/qmake: No such file or directory
make[1]: *** [src/Makefile] Error 127
make[1]: Leaving directory `/var/tmp/portage/portage/qcad-2.0.4.0-r3/work/qcad-2.0.4.0-1.src/qcadlib'
make: *** [all] Error 2
Building qcadlib failed

!!! ERROR: sci-misc/qcad-2.0.4.0-r3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  qcad-2.0.4.0-r3.ebuild, line 69:   Called die

!!! no binary created, build failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-30 09:47:22 UTC
Thanks.
Comment 4 Phillip Kelchen 2006-10-03 20:07:38 UTC
After compiling this on another box and having it work just fine (set up very similarly) I figured out that I had exported QTDIR= in the shell that I tried to emerge qcad in while doing a different compile earlier. This messed up where qcad looked for qt and sure enough, closing that shell and reopening it reset $QTDIR and let qcad compile just fine on this machine. I'll call that an "oops" on my part.

But qcad still is not working at 100%. I can draw with it but it seems to be missing the files required to draw hatches and the fonts to put text in the drawings (and is also missing any entries for GUI language) as it draws a blank when trying to do either. However if one is to open the DXF output file in another machine running any program that can open DXF images, you can clearly see the hatching and text. On the other machine I have qcad on, I can see the hatching and text also.
Comment 5 Massimo Burcheri 2006-10-18 07:49:42 UTC
-r1 works well, but -r3 doesn't show fonts (also of saved projects).

And like Phillip mentioned: Eventhough "german" gui is selected (no other language offered) everything is english.
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2006-11-06 07:30:04 UTC
Folks,

I've just committed -r4 which fixes the internationalization (I tried
German and Spanish) and the font issue at least for me.
Please give it a try and report back.

Thanks,
Markus
Comment 7 Rick Jenkins 2006-11-13 11:21:35 UTC
Thanks Markus, -r4 fixes the font and hatch issues. I use the English GUI and it seems just fine.

There still seems to be an issue with the manual. Clicking Help->Manual or F1 gives "The page could not be found!".  
Comment 8 Lukas Sandström 2007-10-21 18:01:53 UTC
*** Bug 196383 has been marked as a duplicate of this bug. ***
Comment 9 Sébastien Fabbro (RETIRED) gentoo-dev 2008-11-06 12:45:24 UTC
does sci-misc/qcad-2.0.5.0 resolve this last issue? 
Comment 10 Lukas Sandström 2008-11-06 17:00:30 UTC
The manual works for me with qcad 2.0.5.0 and KDE 3.5.

It does say "not found" when I first press Help, but the content list is available and I can view all parts of the manual.
Comment 11 Sébastien Fabbro (RETIRED) gentoo-dev 2008-12-08 20:07:52 UTC
fixed in stable 2.0.5.0