On Fri, 2023-09-08 at 21:27 +0100, Sérgio Basto wrote:
On Fri, 2023-09-08 at 15:47 +0100, Sérgio Basto wrote:
> On Fri, 2023-09-08 at 16:25 +0200, Lumír Balhar wrote:
> > Hi.
> >
> > Have you managed to fix the issue? The error is produce by the
> > configure
> > script and the check is implemented there somewhere around line
> > 4293
> > but
> > I don't understand it well enough to tell you what causing it to
> > detect
> > the cross compilation.
>
>
> sorry for my previous message is not for this thread
>
> in this thread ,
> I got the same problem and fix it with adding --host=$(uname -m)
> [1]
>
> but just need the fix to build in koji , if in a local build with
> mock
> on my laptop, I don't need the fix.
>
> [1]
> %configure --host=$(uname -m)
commmit [1] try to fix:
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
[1]
https://pkgs.rpmfusion.org/cgit/free/libvlcpp.git/commit/?id=331cb7448337...
this happened to me before on 2023-08-04 02:20:05 +0100 before branch
F39
In my case it builds locally without this hack, which is weird .
"
Well, I've solved the problem just by adding 'export
CPPFLAGS="$CXXFLAGS" at the start of the %build section...
I don't think the automatic exports in Fedora build system have
changed, did them?
Mattia
"
This is fixed for me no need more hacks (Mattia's or mime)
I checked and we have many commits on redhat-rpm-config [1] maybe this
one [2] I don't know , but seems it was fixed anyway .
Best regards,
[1]
https://src.fedoraproject.org/rpms/redhat-rpm-config/commits/f39
[2]
https://src.fedoraproject.org/rpms/redhat-rpm-config/c/7692bbaf45de80df5a...
> > Lumír
> >
> > On 9/6/23 14:54, Mattia Verga wrote:
> > > python-calcephpy builds were FTB since between the F39 mass
> > > rebuild
> > > (which completed fine) and the Cython 3.x change (which started
> > > to
> > > fail).
> > > While I was waiting for upstream to fix the package for
> > > compatibility with Cython 3.x I tried to rebuild it forcing
> > > cython
> > > < 3.0, but I got an odd build failure to which I didn't pay
> > > great
> > > attention, I simply thought about some glitch trying to force
> > > the
> > > cython version to the compat package.
> > >
> > > Now that upstream released a new version compatible with Cython
> > > 3.x
> > > I tried to update the package, but I still get the odd build
> > > failure. It seems that during the configure script the package
> > > complains about being cross-built... the latest build attempt
> > > completed fine on i686 and ppc64le, while failed on other
> > > architectures.
> > >
> > > Does anyone have any idea about this?
> > > Thanks
> > > Mattia
> > >
> > > [1]
> > >
https://koji.fedoraproject.org/koji/packageinfo?packageID=32685
> > > [2]
> > >
https://koji.fedoraproject.org/koji/taskinfo?taskID=105822496
> > > _______________________________________________
> > > python-devel mailing list --
> > > python-devel(a)lists.fedoraproject.org
> > > To unsubscribe send an email to
> > > python-devel-leave(a)lists.fedoraproject.org
> > > 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/python-devel@lists.fedorapr...
> > > Do not reply to spam, report it:
> > >
https://pagure.io/fedora-infrastructure/new_issue
> > _______________________________________________
> > python-devel mailing list -- python-devel(a)lists.fedoraproject.org
> > To unsubscribe send an email to
> > python-devel-leave(a)lists.fedoraproject.org
> > 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/python-devel@lists.fedorapr...
> > Do not reply to spam, report it:
> >
https://pagure.io/fedora-infrastructure/new_issue
>
--
Sérgio M. B.
_______________________________________________
python-devel mailing list -- python-devel(a)lists.fedoraproject.org
To unsubscribe send an email to
python-devel-leave(a)lists.fedoraproject.org
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/python-devel@lists.fedorapr...
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
--
Sérgio M. B.