On Tue, Dec 2, 2025 at 1:30 AM Neal Gompa <[email protected]> wrote:
>
> On Tue, Dec 2, 2025 at 1:13 AM Gordon Messmer <[email protected]> 
> wrote:
> >
> > On 2025-11-30 3:16 PM, Gordon Messmer wrote:
> > > the fact that this works interactively but not in rpm build makes me
> > > think that there is some environment variable at fault
> >
> >
> > The problem was actually caused by SUSE's spec *setting* CXX_FLAGS
> > rather than extending them:
> >
> > %cmake \
> >      -DCMAKE_CXX_FLAGS="-Wno-deprecated-declarations" ...
> >
> > That created an inconsistency between CXX_FLAGS and LDFLAGS, which
> > caused ld to exit and complain that "relocation R_X86_64_32S against
> > `.rodata' can not be used when making a PIE object". The error was in
> > the logs, but it was much earlier than I expected and I missed it the
> > first time through.
> >
> > Removing that argument allows the package to build.
> >
> > I have only a vague notion of how this resulted in the error that cmake
> > reported, and no idea at all why cmake searched for the configuration
> > file in /usr, /, /usr/local, and /opt immediately before failing.
> >
>
> For the most part, the problems with the AWS toolkit can be boiled
> down to three things:
>
> - Installing CMake data in the wrong place which breaks other things
> - Bundled stuff that *must not be bundled*
> - Unnecessarily tight interdependencies
>
> This is what exhausted David Duncan and I on getting it into Fedora
> originally. All of this stuff can be fixed, but it requires
> significant time and effort to do.
>
> The SUSE packaging is a little neglectful on these things, and the
> result is that they probably don't actually work properly either.
>

To elaborate, some of this has been fixed after some effort, but it
wouldn't surprise me if more/newer modules we didn't get to still have
these problems.


-- 
真実はいつも一つ!/ Always, there's only one truth!
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to