Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 785805 - media-gfx/openscad-9999 fails to install because of MCAD git changes
Summary: media-gfx/openscad-9999 fails to install because of MCAD git changes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-04-26 08:54 UTC by Jan Psota
Modified: 2021-05-04 22:04 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 Jan Psota 2021-04-26 08:54:50 UTC
-- Installing: /var/tmp/portage/media-gfx/openscad-9999/image/usr/share/openscad/locale/zh_TW/LC_MESSAGES/openscad.mo
rm: cannot remove '/var/tmp/portage/media-gfx/openscad-9999/image/usr/share/openscad/libraries/MCAD/.git': No such file or directory
rm: cannot remove '/var/tmp/portage/media-gfx/openscad-9999/image/usr/share/openscad/libraries/MCAD/.gitignore': No such file or directory
 * ERROR: media-gfx/openscad-9999::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 125:  Called src_install
 *   environment, line 2999:  Called die
 * The specific snippet of code:
 *       rm -r "${ED}"/usr/share/openscad/libraries/MCAD/.{git,gitignore} || die;
Comment 1 Bernd 2021-04-26 20:12:19 UTC
Could you please support a complete build log and output of emerge --info?
Comment 2 Jan Psota 2021-04-27 20:37:09 UTC
(In reply to Bernd from comment #1)
> Could you please support a complete build log and output of emerge --info?

I did not want to obfuscate the essence... I've just found why .git* are missing:

commit d9d4a9757b4616df755c2219dfcff451f4e3c0a2
Refs: [HEAD], [refs/git-r3/HEAD], [refs/git-r3/media-gfx/openscad/0/__main__], [refs/git-r3/media-gf
Merge: fa1100de d56909f1
Author:     Torsten Paul <Torsten.Paul@gmx.de>
AuthorDate: Thu Apr 22 00:54:50 2021 +0200
Commit:     GitHub <noreply@github.com>
CommitDate: Thu Apr 22 00:54:50 2021 +0200

    Merge pull request #3750 from heirecka/dont-install-mcads-git-files

    Don't install MCAD's .git dir and .gitignore file.

 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---- in openscad_openscad.git.
Comment 3 Bernd 2021-04-28 04:47:55 UTC
Good catch. I'm gonna remove the now obsolete lines.
Comment 4 Jan Psota 2021-04-28 07:38:17 UTC
:-) You are welcome.
Comment 5 Larry the Git Cow gentoo-dev 2021-05-04 22:02:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b8476cb90bae957d12acfc87812ca771fa148b7

commit 9b8476cb90bae957d12acfc87812ca771fa148b7
Author:     Bernd Waibel <waebbl-gentoo@posteo.net>
AuthorDate: 2021-04-28 19:32:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-04 22:01:11 +0000

    media-gfx/openscad: fix installation
    
    Fix the removal of .git{,ignore} for the MCAD library.
    Upstream no longer installs those files, so we don't
    need to remove them in src_install anymore.
    
    Reported-by: Jan Psota <jasiupsota@gmail.com>
    Closes: https://bugs.gentoo.org/785805
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/openscad/openscad-9999.ebuild | 2 --
 1 file changed, 2 deletions(-)
Comment 6 Jan Psota 2021-05-04 22:04:30 UTC
:-D