xmlada 2013 built without issues on aarch64, the new 2015 release doesn't. http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3071166 + make LIBRARY_TYPE=relocatable 'GPROPTS=-cargs -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -gnatn -gnat-p -gnatVd -gnatwn -gnatyN -largs -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -margs -j8 -R -p -XHARDWARE_PLATFORM=aarch64' prefix=/builddir/build/BUILDROOT/xmlada-2015-6.fc23.aarch64//usr gprbuild -j0 -m -p -XLIBRARY_TYPE=relocatable -cargs -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -gnatn -gnat-p -gnatVd -gnatwn -gnatyN -largs -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -margs -j8 -R -p -XHARDWARE_PLATFORM=aarch64 xmlada.gpr gprbuild: error while loading shared libraries: libxmlada_schema.so.2013: cannot open shared object file: No such file or directory Makefile:49: recipe for target 'relocatable' failed make: *** [relocatable] Error 127 error: Bad exit status from /var/tmp/rpm-tmp.KpjiHa (%build) Bad exit status from /var/tmp/rpm-tmp.KpjiHa (%build)
It's chicken-egg problem. xmlada depends on gprbuild and gprbuild requires xmlada.so.%{version} You have to temporary disable autogenerated dependencies in gprbuild before building xmlada.
Sorry, forgot to mention libxmlada.so.2015 -> libxmlada.so.2013 should be temporary created as well.
what were the NVRs on mainline that were used for the bootstrap for both xmlada/gprbuild?
I used this: http://pkgs.fedoraproject.org/cgit/xmlada.git/commit/?id=088eb97c3bb0cd914a2f2b45a06c73b194fd89e7 and http://pkgs.fedoraproject.org/cgit/gprbuild.git/commit/?id=2d6f13af1a805fe11fe9c2fe44b39b3a323bbe7f Spent few days to make it... This issue was introduced in 2015 release because before gnatmake was used to build gprbuild
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle. Changing version to '23'. (As we did not run this process for some time, it could affect also pre-Fedora 23 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23
Having a look at this again, had to hack the above around a little to get it to sort of work with scratch builds on aarch64. But once I do I get the following errors when building: + make LIBRARY_TYPE=relocatable 'GPROPTS=-cargs -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -gnatn -gnat-p -gnatVd -gnatwn -gnatyN -largs -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -margs -j8 -R -p -XHARDWARE_PLATFORM=aarch64' prefix=/builddir/build/BUILDROOT/xmlada-2015-0.7.fc23.aarch64//usr gprbuild -j0 -m -p -XLIBRARY_TYPE=relocatable -cargs -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -gnatn -gnat-p -gnatVd -gnatwn -gnatyN -largs -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -margs -j8 -R -p -XHARDWARE_PLATFORM=aarch64 xmlada.gpr xmlada_schema.gpr:29:09: no languages defined for this project xmlada_schema.gpr:31:25: warning: libraries are not supported on this platform xmlada_sax.gpr:28:09: no languages defined for this project xmlada_sax.gpr:30:25: warning: libraries are not supported on this platform xmlada_unicode.gpr:26:09: no languages defined for this project xmlada_unicode.gpr:28:25: warning: libraries are not supported on this platform xmlada_input.gpr:27:09: no languages defined for this project xmlada_input.gpr:29:25: warning: libraries are not supported on this platform xmlada_dom.gpr:28:09: no languages defined for this project xmlada_dom.gpr:30:25: warning: libraries are not supported on this platform xmlada_dom.gpr:28:09: no languages defined for this project xmlada_dom.gpr:30:25: warning: libraries are not supported on this platform xmlada_sax.gpr:28:09: no languages defined for this project xmlada_sax.gpr:30:25: warning: libraries are not supported on this platform xmlada_unicode.gpr:26:09: no languages defined for this project xmlada_unicode.gpr:28:25: warning: libraries are not supported on this platform xmlada_input.gpr:27:09: no languages defined for this project xmlada_input.gpr:29:25: warning: libraries are not supported on this platform xmlada_sax.gpr:28:09: no languages defined for this project xmlada_sax.gpr:30:25: warning: libraries are not supported on this platform xmlada_unicode.gpr:26:09: no languages defined for this project xmlada_unicode.gpr:28:25: warning: libraries are not supported on this platform xmlada_input.gpr:27:09: no languages defined for this project xmlada_input.gpr:29:25: warning: libraries are not supported on this platform xmlada_unicode.gpr:26:09: no languages defined for this project xmlada_unicode.gpr:28:25: warning: libraries are not supported on this platform xmlada_input.gpr:27:09: no languages defined for this project xmlada_input.gpr:29:25: warning: libraries are not supported on this platform xmlada_unicode.gpr:26:09: no languages defined for this project xmlada_unicode.gpr:28:25: warning: libraries are not supported on this platform gprbuild: "xmlada.gpr" processing failed Makefile:49: recipe for target 'relocatable' failed
any update
https://lists.fedoraproject.org/archives/list/devel%40lists.fedoraproject.org/message/EA2I54JDDEV3FRWTGEY7N7U6TVGR2NW3/