Re: Help needed: build failure trying to upgrade healpix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,
 
I figured out that this is mainly caused by the configure script containing multi-line definitions. So, the hacks only operate on the first part and land up leaving random lines of nonsense in the file.
 
You can fix this by adding the following "unwrap" `sed` script just before the `%{configure}` line:
```
%{__sed} -i -z -e 's/\\\n//g' configure
```
It's not perfect, but is a simple fix to remove those errors from the configure.
-- 
Jarryd Lisher
Software Engineer
2CF5D54114C1765FF66F8C3BCD174774D8A69173
 
 
 
30.07.2022, 18:35, "Kevin Kofler via devel" <devel@xxxxxxxxxxxxxxxxxxxxxxx>:

Mattia Verga via devel wrote:

 I'm at a dead end, can someone have a look at the scratch build [1] and
 explain me where's the fault?


What I see is that the hacks that you apply to configure are apparently not
working:

checking command to parse /usr/bin/nm -B output from gcc object...
./configure: line 7304: -e 's/^T .* \(.*\)$/extern int \1();/p' -e
's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or
directory

It is possible that that is what is causing the:
checking for ffgnrwll in -lcfitsio... no
configure: error: could not find the cfitsio library
failure in the C++ part's configure.

Or maybe it is the code from this hack:
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__
((used)) char (*f) () = /g' ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__
((used)) char (*f) ();/g' ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__
((used)) char \$2 ();/g' ./configure
that is not accepted by the C++ compiler?

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux