Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 419995 - [science overlay] media-gfx/librecad-9999 - fix for changed directory structure
Summary: [science overlay] media-gfx/librecad-9999 - fix for changed directory structure
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-06-06 21:16 UTC by Guenther Brunthaler
Modified: 2017-11-26 20:40 UTC (History)
1 user (show)

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


Attachments
This patch to the ebuild fixed the problem (librecad-9999-20120606.patch,499 bytes, text/plain)
2012-06-06 21:16 UTC, Guenther Brunthaler
Details
Patch fixing the USE "doc" problem (librecad-9999.ebuild-commit_9d21526d.patch,466 bytes, patch)
2012-07-19 04:53 UTC, Guenther Brunthaler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Guenther Brunthaler 2012-06-06 21:16:54 UTC
Created attachment 314471 [details]
This patch to the ebuild fixed the problem

Upstream has slightly modified the directory structure; the install phase of the ebuild fails because of this (as of date 2012-06-06).

I have attached a patch fixing the problem.
Comment 1 Dongxu Li 2012-07-15 18:40:36 UTC
Please confirm that this bug has been fixed.

Thank Guenther Brunthaler for the patch.

Dongxu Li
Comment 2 John Hardin 2012-07-16 03:41:12 UTC
Confirm fixed, emerge compiled and installed successfully as media-gfx/librecad-2.0.0_alpha4 from sci overlay. I can't mark this bug as resolved/fixed, sorry.
Comment 3 Guenther Brunthaler 2012-07-19 04:29:54 UTC
I'm not sure what commit to test.

As of 2012-07-19, at least the master branch (c0c74987) still contains a version a version without my patch, yielding the error message

>>> Install librecad-9999 into /var/tmp/portage/media-gfx/librecad-9999/image/ category media-gfx
!!! dohtml: support/doc/* does not exist
 * ERROR: media-gfx/librecad-9999 failed (install phase):
 *   dohtml failed
 *
 * If you need support, post the output of `emerge --info '=media-gfx/librecad-9999'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/librecad-9999'`.
 * This ebuild is from an overlay named 'science': '/var/lib/layman/science/'
 * The complete build log is located at '/var/log/ebuilds/media-gfx:librecad-9999:20120719-041155.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-gfx/librecad-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/librecad-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/librecad-9999/work/librecad-9999'
 * S: '/var/tmp/portage/media-gfx/librecad-9999/work/librecad-9999'
 * QA Notice: file does not exist:
 * 
 *      dohtml: support/doc/* does not exist

I was using the LibreCAD upstream-version 9d21526d for emerging at that time.
Comment 4 Guenther Brunthaler 2012-07-19 04:35:20 UTC
Correction: The new version contains half of my patch. But the html-Directory is still incorrectly set, triggering the error mentioned in the last post.

However, this only happens if librecad is emerged with the "doc" USE-flag.
Comment 5 Guenther Brunthaler 2012-07-19 04:53:04 UTC
Created attachment 318602 [details, diff]
Patch fixing the USE "doc" problem

This patches what is still missing.
Comment 6 noc 2013-04-02 13:15:33 UTC
Very nice package! It solver my problem to draw in 2D.

Ebuild librecad-2.0.0_beta2 from http://gpo.zugaina.org/AJAX/Ebuild/2474389 work veri nice for my! Wy librecad is not in portage&
Comment 7 Marius Brehler 2015-04-05 09:43:59 UTC
In the meantime some commits to librecad in the science overlay were made. Is this still an issue?
Comment 8 Andreas Sturmlechner gentoo-dev 2017-11-26 20:40:50 UTC
A bug for a live ebuild from 2012. Let's assume so.