https://bugzilla.redhat.com/show_bug.cgi?id=1548671
Bug ID: 1548671 Summary: rockboxUtility does not compile on ppc64le Product: Fedora Version: rawhide Component: Package Review Severity: medium Assignee: nobody@fedoraproject.org Reporter: pventrillon@gmx.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
The full logs are in the build report : https://koji.fedoraproject.org/koji/taskinfo?taskID=25277186
This is the actual cause of the failure : gcc -MG -MM -MT /builddir/build/BUILD/RockboxUtility-v1.4.0/buildrbutil/build//libs///libspeex/rbspeexdec.o -m64 -DHAVE_CONFIG_H -DROCKBOX_VOICE_ENCODER -I ../../lib/rbcodec/codecs/libspeex -O3 -fomit-frame-pointer -Wno-unused-parameter -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -o /builddir/build/BUILD/RockboxUtility-v1.4.0/buildrbutil/build//libs///libspeex/rbspeexdec.d rbspeexdec.c gcc: error: unrecognized command line option '-mmacosx-version-min=10.4'
It seems the build system thinks this is a MAC
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
philippe ventrillon pventrillon@gmx.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1071880 (PPCTracker)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1071880 [Bug 1071880] (PPCTracker) Fedora for PowerPC architectures (ppc64,ppc64le): Bug Tracker
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
Dan Horák dan@danny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dan@danny.cz
--- Comment #1 from Dan Horák dan@danny.cz --- Yup, looks as a wrong assumption (if ppc, then mac) by the buildsystem, it should be reported upstream.
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
--- Comment #2 from philippe ventrillon pventrillon@gmx.com --- Yes i am going to report the bug upstream My first goal was to have a bug to be able to place an excludeArch tag in my .spec file while still being conformant to package guidelines.
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
Ralf Corsepius rc040203@freenet.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rc040203@freenet.de
--- Comment #3 from Ralf Corsepius rc040203@freenet.de --- If you have a closer look into the build.log, you'll notice that this package does not honor Fedora's CFLAGS at all.
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
Robert-André Mauchin zebob.m@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zebob.m@gmail.com
--- Comment #4 from Robert-André Mauchin zebob.m@gmail.com --- Just a few info : - Not needed: Group:, Packager: - Use the %{qmake_qt5} macro - Use correct format for %changelog (that's where you put your name)
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
--- Comment #5 from Jason Tibbitts tibbs@math.uh.edu --- Why is this filed as a package review?
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
--- Comment #6 from philippe ventrillon pventrillon@gmx.com --- Thank you for your help and acomments.
I have tried to set a %{ qmake_qt4 } macro instead of invoking qt-make directly. Unfortunately it makes the program to not compile anymore. I get lots of errors like : /usr/bin/ld: /home/ventrill/projects/rpm/rbutil5/RockboxUtility-v1.4.0/buildrbutil/build//libs//librbspeex.a(rbspeex.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
I think i will need time and help from upstream to investigate this.
I opened this bug to have a number to place in the spec file nearby the excludeArch tag. When i opened the bug package review seemed to me the most suitable.
https://bugzilla.redhat.com/show_bug.cgi?id=1548671
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ppisar@redhat.com Whiteboard| |NotReady
package-review@lists.fedoraproject.org