From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Build of glm-0.9.7.6-1-src.tar.xz does not work.
Date: Sat, 22 Aug 2020 07:00:14 +0200 [thread overview]
Message-ID: <61f0207c-aa77-0ea9-a51d-f588d7628c36@gmail.com> (raw)
In-Reply-To: <CADt9575RokcDEUvyDxSADzANFmL0BctDp5pmcwa2k2-sw6Xrag@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1784 bytes --]
On 21.08.2020 10:35, Carlo B. via Cygwin wrote:
> Hello,
> I tried to rebuild glm-0.9.7.6-1-src.tar.xz but the "install" command
> does not work.
> I'm getting this error message:
>
>>>> Installing glm-0.9.7.6-1.noarch
> make: *** Nessuna regola per generare l'obiettivo «install». Arresto.
> *** ERROR: make install DESTDIR failed
>
> Translated in english, it should be something like this:
> "No rules to generate target <<install>>. Stop."
>
> I did NO changes to the files into glm-0.9.7.6-1-src.tar.xz.
> Strangely, cygport cannot build the CYGWIN package, but it builds
> mingw64-i686-glm and mingw64-x86_64-glm without errors. The CYGWIN and
> MinGW-W64 scripts have some differences actually.
> If somebody could check this, perhaps it would be good to also
> evaluate the chance to update all GLM packages to a newer version.
> The current source packages for all builds, CYGWIN and MinGW-W64,
> include a patch for fixing a bug into the sources; nowadays, this bug
> has been resolved into the official sources and into the latest
> 0.9.9.8 version:
>
> https://github.com/g-truc/glm/blob/master/test/gtc/gtc_round.cpp#L451
>
> so the packages could be also simplified, because they do not need a
> patch anymore.
>
> I'm trying to update GLM because it is a required dependency for
> building KiCad, an Open Source Electronics Design software, so I hope
> that somebody could understand the first issue and also update the
> package with a newer version.
>
> Sincerely,
> --
the error is caused by the build system using now cmake+ninja for
the execution
while mingw64-i686-glm and mingw64-x86_64-glm builds stay on the
previous cmake+make
The attached modified glm.cygport works for me.
Is glm-0.9.7.6-1 not enough for builing KiCad ?
Regards
Marco
[-- Attachment #2: glm.cygport --]
[-- Type: text/plain, Size: 879 bytes --]
inherit cmake ninja
NAME="glm"
VERSION=0.9.7.6
RELEASE=1
CATEGORY="Devel"
SUMMARY="OpenGL Mathematics C++ template library"
DESCRIPTION="OpenGL Mathematics (GLM) is a header only C++ mathematics library
for graphics software based on the OpenGL Shading Language specifications."
HOMEPAGE="http://glm.g-truc.net/"
SRC_URI="https://github.com/g-truc/glm/releases/download/${VERSION}/glm-${VERSION}.zip"
SRC_DIR="glm"
PATCH_URI="0.9.7.6-tests-compile.patch"
ARCH=noarch
PKG_NAMES="glm-devel glm-doc"
glm_devel_CONTENTS="
--exclude=api --exclude=*.pdf
usr/include/glm/
usr/lib/cmake/glm/
usr/lib/pkgconfig/glm.pc
usr/share/doc/
"
glm_doc_CATEGORY="Doc"
glm_doc_CONTENTS="usr/share/doc/glm/api/ usr/share/doc/glm/*.pdf"
CYGCMAKE_ARGS="-DGLM_TEST_ENABLE=ON"
src_install() {
cd ${B}
ninja_install
dodoc ${S}/doc/glm.pdf ${S}/doc/api/
}
src_test() {
cd ${B}
ninja_test
}
next prev parent reply other threads:[~2020-08-22 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 8:35 Carlo B.
2020-08-22 5:00 ` Marco Atzeri [this message]
2020-08-23 15:30 ` Jon Turney
2020-08-23 16:03 ` Marco Atzeri
2020-08-23 18:28 ` Marco Atzeri
2020-08-25 20:06 ` Carlo B.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=61f0207c-aa77-0ea9-a51d-f588d7628c36@gmail.com \
--to=marco.atzeri@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).