Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498656 - x11-misc/qcad - The Open Source CAD System For Everyone
Summary: x11-misc/qcad - The Open Source CAD System For Everyone
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Default Assignee for New Packages
URL: http://www.qcad.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 07:47 UTC by Massimo Burcheri
Modified: 2023-09-19 05:49 UTC (History)
10 users (show)

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


Attachments
qcad-9999-ebuild.zip (qcad-ebuild.zip,1.55 KB, application/zip)
2014-03-11 23:34 UTC, Thomas Kear
Details
Improved ebuilds with LINGUAS, DEPEND, 3.4.6 & 9999 versions (qcad.zip,2.04 KB, application/zip)
2014-03-12 06:32 UTC, Thomas Kear
Details
ebuild for qcad-3.4.7 (qcad-3.4.7.ebuild,1.46 KB, text/plain)
2014-04-18 23:22 UTC, Dyweni
Details
qcad-3.5.1.0.ebuild (qcad-3.5.1.0.ebuild,1.44 KB, text/plain)
2014-05-14 19:59 UTC, Thomas Kear
Details
qcad-3.16.7.0.ebuild (qcad-3.16.7.0.ebuild,1.69 KB, text/plain)
2017-03-28 19:01 UTC, Thomas Kear
Details
QCAD 3.19.1.0 ebuild (qcad-3.19.1.0.ebuild,2.36 KB, text/plain)
2017-11-26 12:40 UTC, Dirk Tilger
Details
qcad-3.19.2.2 ebuild supporting QT 5.9.3 (qcad-3.19.2.2.ebuild,2.36 KB, text/plain)
2018-02-19 14:07 UTC, Dirk Tilger
Details
QCAD binary ebuild for Massimo (qcad-bin-3.19.2.ebuild,1.82 KB, text/plain)
2018-02-20 09:04 UTC, Dirk Tilger
Details
qcad-3.21.2.0.ebuild (qcad-3.21.2.0.ebuild,2.38 KB, text/plain)
2018-07-31 07:59 UTC, Massimo Burcheri
Details
qcad-3.24.3.0.ebuild (qcad-3.24.3.0.ebuild,2.52 KB, text/plain)
2020-04-12 22:37 UTC, Jacob Floyd
Details
qcad-3.26.0.0.ebuild (qcad-3.26.0.0.ebuild,2.38 KB, text/plain)
2021-03-05 10:31 UTC, Damien Broqua
Details
qcad-3.28.2.0.ebuild (qcad-3.28.2.0.ebuild,2.37 KB, text/plain)
2023-09-19 05:49 UTC, Massimo Burcheri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2014-01-20 07:47:53 UTC
QCAD is by far more advanced than the formerly branched LibreCad which is crashing from time to time and has several other issues with file export and blocks etc..

I don't see license restrictions. The version is free to use, only Pro Addons are Trial-only versions.

http://www.qcad.org/en/component/content/article/78-qcad/111-qcad-compilation-from-sources

I followed the guide and it runs fine on amd64. Please provide an ebuild and get QCad back in portage.

Reproducible: Always
Comment 1 Thomas Kear 2014-03-11 23:34:02 UTC
Created attachment 372454 [details]
qcad-9999-ebuild.zip

This is the world's quickest and dirtiest git ebuild so apologies in advance but it might give someone somewhere to start from.  I wrote it back in September and it's been working well enough for me since then.  A small wrapper script to go in /usr/bin for launching due to LD_LIBRARY_PATH weirdness is included.  Maybe it will work for tarball releases too.

The official build instructions are here: http://www.qcad.org/en/component/content/article/78-qcad/111-qcad-compilation-from-sources and curiously omit a "make install" step and recommend just running from the source directory.  I remember trying back when I wrote this originally and I've just tried it again to confirm, "make install" doesn't actually install anything except the README file, hence the collection of doins lines.

I probably should have filled in DEPEND more thoroughly too.  Someone more well-versed in this can probably pick out the ones that aren't implictly available.

$ ldd /usr/lib/qcad/qcad-bin | sed -nr 's,.* => (/\S+).*,\1,p' | xargs -- equery -C b | awk '{print $1}' | sed 's,-[0-9].*,,' | uniq
app-arch/bzip2
dev-db/sqlite
dev-lang/orc
dev-libs/expat
dev-libs/glib
dev-libs/icu
dev-libs/libffi
dev-libs/libxml2
dev-libs/openssl
dev-qt/designer
dev-qt/qtcore
dev-qt/qtgui
dev-qt/qthelp
dev-qt/qtopengl
dev-qt/qtscript
dev-qt/qtsql
dev-qt/qtsvg
dev-qt/qtwebkit
dev-qt/qtxmlpatterns
media-libs/fontconfig
media-libs/freetype
media-libs/glu
media-libs/gst-plugins-base
media-libs/gstreamer
media-libs/libpng
media-libs/mesa
media-libs/nas
sys-apps/util-linux
sys-devel/gcc
sys-libs/glibc
sys-libs/zlib
x11-libs/libICE
x11-libs/libSM
x11-libs/libX11
x11-libs/libXau
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXdmcp
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libXinerama
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXt
x11-libs/libXxf86vm
x11-libs/libdrm
x11-libs/libxcb
x11-libs/libxshmfence
Comment 2 Thomas Kear 2014-03-12 06:32:06 UTC
Created attachment 372474 [details]
Improved ebuilds with LINGUAS, DEPEND, 3.4.6 & 9999 versions

File counts for localized files that I found in the distribution:

de: 1064
en: 489
es: 1013
fr: 1017
it: 1012
ja: 1045
nl: 277
pl: 558
pt: 1009
ru: 280
sl: 558

No ill effects that I can see from removing them, it doesn't save much disk space - about 6MB of ~80MB moving from all to en only - but removing ~7800 files certainly speeds up the install process.
Comment 3 Dyweni 2014-04-18 23:22:40 UTC
Created attachment 375250 [details]
ebuild for qcad-3.4.7
Comment 4 Thomas Kear 2014-05-14 19:59:23 UTC
Created attachment 376930 [details]
qcad-3.5.1.0.ebuild

3.4.7.1, 3.5.0.0, 3.5.1.0 released.  It looks like my hard-coding the ".0" in the version wasn't wise after all.

With that removed, one ebuild still works for (at least) 3.4.5.0 through 3.5.1.0.
Comment 5 Massimo Burcheri 2014-05-15 07:37:58 UTC
I was able to build qcad manually, but the latest ebuild (thanks for that) wants to add:
Calculating dependencies... done!
[ebuild  N     ] x11-misc/qcad-3.5.1.0::portage_pdmb1-linux  LINGUAS="de en -es -fr -it -ja -nl -pl -pt -ru -sl" 0 kB
[ebuild  N     ]  media-libs/nas-1.9.4  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)" 1,431 kB
[ebuild  N     ]   x11-misc/gccmakedep-1.0.2-r1  USE="-static-libs" 69 kB

So I guess at least the dep media-libs/nas is not necessary.
Are there any plans to re-insert qcad into official portage? Otherway some Overlay may be willing to include it, like the science Overlay.
Comment 6 Thomas Kear 2014-05-15 10:12:24 UTC
(In reply to Massimo Burcheri from comment #5)

Oops, that's my bad, I was taking the entire tree of library dependenncies, not the immediate ones (forgetting I should have used lddtree not ldd) - dev-qt/qtcore[nas] brought in that library on my system.  Here's a less outrageous set:

    dev-libs/glib
    dev-qt/designer
    dev-qt/qtcore
    dev-qt/qtgui
    dev-qt/qthelp
    dev-qt/qtopengl
    dev-qt/qtscript
    dev-qt/qtsql
    dev-qt/qtsvg
    dev-qt/qtwebkit
    dev-qt/qtxmlpatterns
    media-libs/glu
    media-libs/mesa

The compile documentation mentions dbus and libssl-dev (openssl), but those might be for compiling Qt.  Maybe that should be dev-qt/qtcore[ssl] just in case.
Comment 7 Massimo Burcheri 2014-05-15 11:17:14 UTC
Thanks. The ebuild fails like:
 * QA Notice: file does not exist:
 * 	dobin: /usr/local/portage/x11-misc/qcad/files/qcad does not exist
Any additional files required?
Comment 8 Kolan Sh. 2014-09-18 10:09:58 UTC
(In reply to Massimo Burcheri from comment #7)
> Thanks. The ebuild fails like:
>  * QA Notice: file does not exist:
>  * 	dobin: /usr/local/portage/x11-misc/qcad/files/qcad does not exist
> Any additional files required?

Just create files/qcad:

```
#!bin/sh

LD_LIBRARY_PATH=/usr/lib/qcad
```
Comment 9 Kolan Sh. 2014-09-18 10:11:54 UTC
Fix: .../sci-misc/qcad/files/qcad:

#!bin/sh
 
LD_LIBRARY_PATH=/usr/lib/qcad /usr/lib/qcad/qcad-bin
Comment 10 Kolan Sh. 2014-09-18 10:14:44 UTC
Sorry, have problems with code formatting, .../sci-misc/qcad/files/qcad:

#!/bin/sh

LD_LIBRARY_PATH=/usr/lib/qcad /usr/lib/qcad/qcad-bin
Comment 11 Hannes Schweizer 2015-07-06 12:53:52 UTC
You can pull an updated live ebuild (qcad-9999.ebuild) from my git overlay:

https://github.com/nilathak/gentoo-overlay/tree/master/sci-misc/qcad

Released versions from the QCAD git repo all failed due to QT lib mismatches.
QCAD works fine so far when using the latest QT5 libs as dependencies.
Comment 12 Massimo Burcheri 2017-03-28 11:56:11 UTC
Hi, your overlay repo is not available anymore. Is there a maintained ebuild currently? I'm not able to compile qcad currently: https://www.qcad.org/rsforum/viewtopic.php?f=76&t=4819&p=17683#p17683

Tried with qt4:
RGraphicsViewQt.h:116:29: error: ‘QNativeGestureEvent’ has not been declared

Tried with qt5:
Project ERROR: Unknown module(s) in QT: scripttools
Comment 13 Kolan Sh. 2017-03-28 12:13:18 UTC
(In reply to Massimo Burcheri from comment #12)
> Hi, your overlay repo is not available anymore. Is there a maintained ebuild
> currently? I'm not able to compile qcad currently:
> https://www.qcad.org/rsforum/viewtopic.php?f=76&t=4819&p=17683#p17683
> 
> Tried with qt4:
> RGraphicsViewQt.h:116:29: error: ‘QNativeGestureEvent’ has not been declared
> 
> Tried with qt5:
> Project ERROR: Unknown module(s) in QT: scripttools

Perhaps this should work (not tested for a long time, not at the pc right nohttps://git.backbone.ws/linux/overlay/source/0a3ec81d07b3c593386ce6c35d16cc8d431f157d:sci-misc/qcad
Comment 14 Thomas Kear 2017-03-28 19:01:15 UTC
Created attachment 468530 [details]
qcad-3.16.7.0.ebuild

Here's my latest attempt at it, I'm currently unable to get it to compile with either qt4 or at5 on my system though.

qt5 error is at least meaningful (while running qmake):

Cannot read /var/tmp/portage/media-gfx/qcad-3.16.7.0/work/qcad-3.16.7.0/qcad-3.16.7.0.pro: No such file or directory
MAKEFILE_GENERATOR variable not set as a result of parsing : qcad-3.16.7.0.pro. Possibly qmake was not able to find files included using "include(..)" - enable qmake debugging to investigate more.                                                                                     [ !! ]

However if I rename qcad.pro to qcad-$PV.pro and re-run qmake, it gets into an infinite loop.

3.16.5.0 is the last version I can get to work, if you rename the ebuild I've just attached to that it will compile just fine with qt5.

I'm still looking for a cause, I can't seem to figure this one out.
Comment 15 Massimo Burcheri 2017-03-29 05:42:57 UTC
Latest portage qtcore:5 is 5.7.1-r2, however I've seen in https://qcad.org/en/changelog that 3.16.6 (2017/03/20) switched to 5.8.0, this may help you. Thanks for the ebuilds.
Comment 16 Massimo Burcheri 2017-04-04 11:08:04 UTC
sci-misc/qcad-3.16.5.0 currently fails with

x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-rpath-link,/usr/lib64 -o ../../release/qcad-bin release/main.o   -L/var/tmp/portage/sci-misc/qcad-3.16.5.0/work/qcad-3.16.5.0/release -lqcadecmaapi -lqcadgui -lqcadentity -lqcadoperations -lqcadspatialindex -lspatialindexnavel -lqcadgrid -lqcadsnap -lqcadcore -lqcadstemmer -lstemmer -lqcadzip -lquazip -lopennurbs -lzlib -lGLU -lQt5PrintSupport -lQt5Svg -lQt5OpenGL -lQt5Help -lQt5UiTools -lQt5Designer -lQt5Widgets -lQt5Gui -lQt5Script -lQt5ScriptTools -lQt5Sql -L/usr/lib64/mysql -lQt5XmlPatterns -lQt5Network -lQt5Xml -lQt5Core -lGL -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5Core.so: undefined reference to `operator delete[](void*, unsigned long)@CXXABI_1.3.9'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libQt5Core.so: undefined reference to `operator delete(void*, unsigned long)@CXXABI_1.3.9'
collect2: error: ld returned 1 exit status

However building from git worked fine with installed dev-qt/qtcore-4.8.7-r2 and export QT_SELECT=qt5.
Comment 17 Dirk Tilger 2017-11-26 12:40:44 UTC
Created attachment 506720 [details]
QCAD 3.19.1.0 ebuild

I've updated the QCAD ebuild found here to support QCAD 3.19.1.0 compilation. As qtwebkit-4 has recently been hardmasked I have tested the ebuild only with USE=qt5. It compiles against QT 5.9.2 - with a minor patch of QCAD that the ebuild takes care of. QCAD seems to work flawlessly as far as I can tell.
Comment 18 Massimo Burcheri 2017-11-26 20:08:26 UTC
Thanks for keeping the QCad Community Version ebuild updated.
However I had issues with missing icons on the self compiled version from GIT: https://www.qcad.org/rsforum/viewtopic.php?f=76&t=5201
.. while the binary packages are with their own Qt included works flawlessly. They also said that their own Qt versions are custom patched, so they kind of recommend against building against default Qt... weird.

Beside trying to keep a source ebuild, as the source repo is there, I would appreciate a qcad-bin ebuild fetching the binary tarballs (deleting the mentioned pro plugins switch the trial version to a free community version).
Comment 19 Dirk Tilger 2017-11-26 20:52:57 UTC
(In reply to Massimo Burcheri from comment #18)
> Thanks for keeping the QCad Community Version ebuild updated.
> However I had issues with missing icons on the self compiled version from
> GIT: https://www.qcad.org/rsforum/viewtopic.php?f=76&t=5201
> .. while the binary packages are with their own Qt included works
> flawlessly. They also said that their own Qt versions are custom patched, so
> they kind of recommend against building against default Qt... weird.

I have compiled QCAD and QT from sources and I don't seem to have the same issue. I have posted a screenshot in the forum above. Please try my ebuild and QT version 5.9.2.

Regarding custom patching: Their Changelog (mentioned in https://bugs.gentoo.org/498656#c15) lists which patches are applied to QT for which versions. I haven't checked, but would expect those patches to be generic patches and not specific to QCAD. You could always try the respective patches by recompiling QT and using the /etc/portage/patches mechanism.
 
> Beside trying to keep a source ebuild, as the source repo is there, I would
> appreciate a qcad-bin ebuild fetching the binary tarballs (deleting the
> mentioned pro plugins switch the trial version to a free community version).

Gentoo has in the past (and probably still is) been weary of binary packages. Binary packages go against the very concept of Gentoo - against what makes Gentoo so strong in some areas. If we stick with working with sources whenever possible we have a chance the ebuild eventually makes it into mainline Gentoo.
Comment 20 Massimo Burcheri 2017-12-14 09:26:23 UTC
>>> Preparing source in /var/tmp/portage/sci-misc/qcad-3.19.1.0/work/qcad-3.19.1.0 ...
 * Creating QT configuration for QT 5.9.2
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-misc/qcad-3.19.1.0/work/qcad-3.19.1.0 ...
 * Running qmake ...
Info: creating stash file /var/tmp/portage/sci-misc/qcad-3.19.1.0/work/qcad-3.19.1.0/.qmake.stash
Info: creating cache file /var/tmp/portage/sci-misc/qcad-3.19.1.0/work/qcad-3.19.1.0/.qmake.cache
Reading /var/tmp/portage/sci-misc/qcad-3.19.1.0/work/qcad-3.19.1.0/src/src.pro
 Reading /var/tmp/portage/sci-misc/qcad-3.19.1.0/work/qcad-3.19.1.0/src/3rdparty/3rdparty.pro
Project ERROR: Script bindings not available for Qt version 5.9.3. You can add them to src/3rdparty/qt-labs-qtscriptgenerator-5.9.3 or use another version of Qt.
Comment 21 Dirk Tilger 2018-02-19 14:07:12 UTC
Created attachment 520106 [details]
qcad-3.19.2.2 ebuild supporting QT 5.9.3
Comment 22 Dirk Tilger 2018-02-20 09:04:38 UTC
Created attachment 520268 [details]
QCAD binary ebuild for Massimo

Massimo, I had some issues with DXF conversion and had to try out the Professional version. Attached is a binary ebuild that uses all libraries (including QT) coming with QCAD archives. I may not provide updates, because it's not the Gentoo way and it didn't solve my problem. Enjoy! :-)
Comment 23 Massimo Burcheri 2018-02-20 09:54:02 UTC
2018-02-20 10:32:51 (600 KB/s) - ‘/var/cache/portage/distfiles/qcad-3.16.5.0.tar.gz’ saved [28243485]

!!! Fetched file: qcad-3.16.5.0.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      28243485
!!! Expected: 28243529
Comment 24 Dirk Tilger 2018-02-20 13:41:37 UTC
(In reply to Massimo Burcheri from comment #23)
> !!! Fetched file: qcad-3.16.5.0.tar.gz VERIFY FAILED!

qcad-3.16.5.0 is not a QCAD version from this bug report. Delete it.
Comment 25 Massimo Burcheri 2018-02-21 12:48:19 UTC
Reading /var/tmp/portage/sci-misc/qcad-3.19.2.2/work/qcad-3.19.2.2/src/src.pro
 Reading /var/tmp/portage/sci-misc/qcad-3.19.2.2/work/qcad-3.19.2.2/src/3rdparty/3rdparty.pro
Project ERROR: Script bindings not available for Qt version 5.9.4. You can add them to src/3rdparty/qt-labs-qtscriptgenerator-5.9.4 or use another version of Qt.
Comment 26 Dirk Tilger 2018-02-21 17:22:16 UTC
(In reply to Massimo Burcheri from comment #25)
> Project ERROR: Script bindings not available for Qt version 5.9.4. You can
> add them to src/3rdparty/qt-labs-qtscriptgenerator-5.9.4 or use another
> version of Qt.

That's why I had "supporting QT 5.9.3" in the title. In the ebuild, edit the src_prepare section and replace 5.9.3 by 5.9.4.
Comment 27 Massimo Burcheri 2018-02-22 08:00:57 UTC
Meanwhile I use your source ebuild the gentoo way.

(In reply to Dirk Tilger from comment #22)
> QCAD binary ebuild for Massimo

However good to have a binary ebuild the qcad way. But shouldn't this ebuild also delete the plugins to make it a free version?
Comment 28 Dirk Tilger 2018-02-22 13:37:48 UTC
(In reply to Massimo Burcheri from comment #27)
> But shouldn't this ebuild
> also delete the plugins to make it a free version?

My main motivation to do a binary ebuild was to get a "Professional" version. If you want "Community" I see zero benefit in using the binaries on Gentoo.
Comment 29 Massimo Burcheri 2018-07-31 06:37:36 UTC
Copied qcad-3.19.2.2.ebuild to qcad-3.21.2.0.ebuild and working.
Comment 30 Massimo Burcheri 2018-07-31 06:52:35 UTC
However both are failing to set line types, or failed to install that:
https://qcad.org/rsforum/viewtopic.php?f=76&t=5724
I seems that "linetypes" and "themes" need to be installed to SHRDIR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217975
Comment 31 Massimo Burcheri 2018-07-31 07:59:29 UTC
Created attachment 541844 [details]
qcad-3.21.2.0.ebuild

I got this fixed by adding
doins -r linetypes themes

Not sure about other available directories still missing there.
Comment 32 Massimo Burcheri 2020-04-02 08:00:46 UTC
Copied to qcad-3.24.3.0.ebuild but failing with
Project ERROR: Script bindings not available for Qt version 5.14.1. You can add them to src/3rdparty/qt-labs-qtscriptgenerator-5.14.1 or use another version of Qt. [ !! ]
Comment 33 Massimo Burcheri 2020-04-03 14:00:58 UTC
Got it built with a copy by
cp -a qt-labs-qtscriptgenerator-5.14.0 qt-labs-qtscriptgenerator-5.14.1
and
mv qt-labs-qtscriptgenerator-5.14.0.pro qt-labs-qtscriptgenerator-5.14.1.pro
Comment 34 Jacob Floyd 2020-04-12 22:37:15 UTC
Created attachment 632574 [details]
qcad-3.24.3.0.ebuild

Updated the ebuild to the latest version (3.24.3.0) and:
- dropped qt4 as gentoo repo doesn't have qt4
- changed qt5 dep so that a qt5 version bump will trigger a rebuild of qcad
- made the qt version update in src_prepare() more qt version agnostic.
- updated the year at the beginning of the ebuild
Comment 35 Larry the Git Cow gentoo-dev 2020-08-24 08:54:09 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=237d2a394306f48855830f38544261b1f0d14a65

commit 237d2a394306f48855830f38544261b1f0d14a65
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-08-24 08:38:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-08-24 08:53:30 +0000

    sci-misc/qcad: Import 3.21.2.0 from Gentoo Bugzilla
    
    Initial ebuild work by Thomas Kear, Dirk Tilger and Massimo Burcheri.
    - Added missing eclasses, missing quotes
    - Dropped untested KEYWORDS, Qt5 support, L10N hacks
    - Fixed indendation and cleaned up leading spaces
    
    What a hack this upstream build system is though.
    
    Bug: https://bugs.gentoo.org/498656
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 sci-misc/qcad/Manifest             |  3 ++-
 sci-misc/qcad/qcad-3.21.2.0.ebuild | 55 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+), 1 deletion(-)
Comment 36 Massimo Burcheri 2020-10-08 12:27:48 UTC
(In reply to Jacob Floyd from comment #34)
> Created attachment 632574 [details]
> qcad-3.24.3.0.ebuild
> 
> Updated the ebuild to the latest version (3.24.3.0) and:
> - dropped qt4 as gentoo repo doesn't have qt4
> - changed qt5 dep so that a qt5 version bump will trigger a rebuild of qcad
> - made the qt version update in src_prepare() more qt version agnostic.
> - updated the year at the beginning of the ebuild

Unusually this ebuild works fine but triggers a rebuild for every new run like this:

# emerge -auDNtv world 

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!
[ebuild  rR    ] sci-misc/qcad-3.24.3.0::portage_local  L10N="de en -TW -cs -es -fi -fr -hr -hu -it -ja -lt -nl -pl -pt -ru -sk -sl -sv -zh_CN" 0 KiB
Comment 37 Massimo Burcheri 2021-01-08 09:08:15 UTC
Hi, recent updates lead to * EAPI=6 is not supported. Could you update that to the recent EAPI?
Comment 38 Damien Broqua 2021-03-05 10:31:02 UTC
Created attachment 689475 [details]
qcad-3.26.0.0.ebuild

Based on qcad-3.24.3.0.ebuild with fixed domenu bug.

Also added desktop entry for wayland interface.

Tested on my computer.

Regards,
Damien - DarKou
Comment 39 Massimo Burcheri 2021-03-08 11:15:20 UTC
(In reply to Damien Broqua from comment #38)
> qcad-3.26.0.0.ebuild

# ebuild qcad-3.26.0.0.ebuild digest
 *   	*) die "EAPI=${EAPI:-0} is not supported" ;;
!!! getFetchMap(): aux_get() error reading sci-misc/qcad-3.19.1.0; aborting.
Comment 40 Damien Broqua 2021-03-08 12:53:59 UTC
(In reply to Massimo Burcheri from comment #39)
> (In reply to Damien Broqua from comment #38)
> > qcad-3.26.0.0.ebuild
> 
> # ebuild qcad-3.26.0.0.ebuild digest
>  *   	*) die "EAPI=${EAPI:-0} is not supported" ;;
> !!! getFetchMap(): aux_get() error reading sci-misc/qcad-3.19.1.0; aborting.

Hi,

I don't understand your problem. In my ebuild I specify the version of EAPI. 

Regards
Comment 41 Massimo Burcheri 2021-03-09 10:59:54 UTC
Not sure why that command was complaining about the older outdated ebuilds. After I removed those all I was able to create a digest and build your ebuild. Thanks.
Comment 42 Sergey 'L29Ah' Alirzaev 2022-06-25 09:44:39 UTC
Updated the ebuild to 3.27.6.3 and pushed to ::booboo.
Comment 43 Massimo Burcheri 2023-09-13 13:37:26 UTC
Does anybody have a new ebuild for current version 3.28.2.0? EAPI 7 is not supported anymore.
Comment 44 Massimo Burcheri 2023-09-19 05:49:10 UTC
Created attachment 870908 [details]
qcad-3.28.2.0.ebuild