Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727974 - sci-astronomy/montage-5.0 does not respect CFLAGS/LDFLAGS
Summary: sci-astronomy/montage-5.0 does not respect CFLAGS/LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags ldflags
  Show dependency tree
 
Reported: 2020-06-11 16:18 UTC by Agostino Sarubbo
Modified: 2025-03-14 08:12 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,186.81 KB, text/plain)
2020-06-11 16:18 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-11 16:18:51 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: sci-astronomy/montage does not respect CFLAGS/LDFLAGS.
Discovered on: amd64

NOTE:
To reproduce this issue you may want to add "-frecord-gcc-switches" to CFLAGS/CXXFLAGS/FFLAGS/FCFLAGS and LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect CFLAGS/LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-11 16:18:58 UTC
Created attachment 644422 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-08 07:59:06 UTC
tinderbox has reproduced this issue with version 5.0 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2025-03-14 08:12:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68cb773bf11b4362726d37bdb162c2198144fdcc

commit 68cb773bf11b4362726d37bdb162c2198144fdcc
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2025-02-20 23:17:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-14 08:10:33 +0000

    sci-astronomy/montage: add 6.1
    
    I have to drop IUSE=mpi because it cannot possibly compile due to lack
    of definitions of some functions: tsave() and trestore(), which are
    declared.
    
    https://github.com/Caltech-IPAC/Montage/issues/25 is closed without
    fixing, but has more context.
    
    Closes: https://bugs.gentoo.org/710420
    Closes: https://bugs.gentoo.org/725282
    Closes: https://bugs.gentoo.org/727974
    Closes: https://bugs.gentoo.org/741080
    Closes: https://bugs.gentoo.org/888553
    Closes: https://bugs.gentoo.org/920316
    Closes: https://bugs.gentoo.org/940310
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/montage/Manifest                     |   1 +
 .../montage/files/montage-6.1-montagelib-dep.patch |  30 +++
 .../files/montage-6.1-presentation-strcpy.patch    |  21 ++
 .../montage/files/montage-6.1-prototypes.patch     | 283 +++++++++++++++++++++
 .../montage/files/montage-6.1-tcol-cntr.patch      |  22 ++
 sci-astronomy/montage/montage-6.1.ebuild           |  71 ++++++
 6 files changed, 428 insertions(+)