Package Base Details: gprbuild

Git Clone URL: https://aur.archlinux.org/gprbuild.git (read-only, click to copy)
Submitter: None
Maintainer: charlie5 (xiretza)
Last Packager: xiretza
Votes: 25
Popularity: 0.080758
First Submitted: 2010-02-03 13:25
Last Updated: 2020-06-06 13:41

Packages (2)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

charlie5 commented on 2018-09-09 08:05

hi gbabin ... can you try rebuilding and reinstalling xmlada.

gbabin commented on 2018-09-07 19:36

I have the following error when building this package:

==> Starting build()...
gprbuild -p -m   -j4 -XBUILD=production -R gprbuild.gpr -XLIBRARY_TYPE=relocatable -XXMLADA_BUILD=relocatable -cargs -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -largs -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
Setup
   [mkdir]        object directory for project GPR
   [mkdir]        library directory for project GPR
   [mkdir]        object directory for project Gprbuild
   [mkdir]        exec directory for project Gprbuild
Compile
   [Ada]          gprconfig-main.adb
...
   [Ada]          gprls.adb
Build Libraries
   [gprlib]       gpr.lexch
   [link library] libgpr.so
Bind
   [gprbind]      gprconfig-main.bexch
   [Ada]          gprconfig-main.ali
   [gprbind]      gprbuild-main.bexch
   [gprbind]      gprclean-main.bexch
   [Ada]          gprbuild-main.ali
   [Ada]          gprclean-main.ali
   [gprbind]      gprinstall-main.bexch
   [Ada]          gprinstall-main.ali
error: "dom.ads" and "gprconfig-main.adb" compiled with different GNAT versions             +
error: "dom-core.adb" and "gprconfig-main.adb" compiled with different GNAT versions        + many similar errors
error: "sax.ads" and "gprconfig-main.adb" compiled with different GNAT versions             +
error: "sax-encodings.ads" and "gprconfig-main.adb" compiled with different GNAT versions   +
...
gprbind: invocation of gnatbind failed
...
error: "sax-state_machines.adb" must be compiled                                                     + many similar errors
error: ("/usr/lib/xmlada/xmlada_sax.relocatable/sax-state_machines.ali" is obsolete and read-only)   +
gprbind: invocation of gnatbind failed
   binding of gprconfig-main.adb failed
   binding of gprclean-main.adb failed
   binding of gprbuild-main.adb failed
   binding of gprinstall-main.adb failed
gprbuild: *** post compilation phase failed
make: *** [Makefile:103: build] Error 4

charlie5 commented on 2017-05-09 04:14

Thanks for the tip Chocimier.

I've added prepare_gnat_util as a dependency.

Chocimier commented on 2017-05-01 13:56

That package fails to build without prepare_gnat_util installed. Error log is like:

gcc -c -fPIC -gnat12 -gnaty -gnatQ -gnata -O2 -gnatn -gnatws -g1 gpr-dect.adb
gcc -c -fPIC -gnat12 -gnaty -gnatQ -gnata -O2 -gnatn -gnatws -g1 gpr-nmsc.adb
gprlib gpr.lexch
gcc -shared -o /path/libgpr/src/gprbuild/gpr/lib/production/relocatable/libgpr.so ... /path/libgpr/src/gprbuild/gpr/libobj/production/relocatable/gpr-com.o ...
/usr/bin/ld: cannot find -lgnat-6.3
collect2: error: ld returned 1 exit status
gprlib: /usr/bin/gcc execution error
gprbuild: could not build library for project gpr
make: *** [Makefile:135: libgpr.build.shared] Error 4
==> ERROR: A failure occurred in build().
Aborting...

charlie5 commented on 2016-11-30 07:18

Georgios,

The problem should now be fixed in PKGBUILD.

charlie5 commented on 2016-11-30 06:54

Hi Georgios,

Thanks for pointing this out.

This error occurs when the 'src' directory already exists. I will try to fix this in the PKGBUILD. In the meantime, doing the following should allow the package to build ...

$ rm -fr src/


Regards.

Georgios commented on 2016-11-29 23:44

The package build fails with the following message:

==> Connecting to GIT server....
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>

charlie5 commented on 2016-06-06 00:15

The obsolete 'Makefile.archy' file has been removed, along with all references to it. Should build ok now.

ids1024 commented on 2016-06-05 16:37

Makefile.archy needs to be added to the src array in the PKGBUILD.

charlie5 commented on 2016-06-01 09:32

Earnest,

Apologies for the delay. I've been waiting for GNAT GPL16 to emerge before tackling the archy Ada updates. (Also been a bit flat out.)


"... a malicious user can dump a gcc or clang script in some bin
directory prepended to PATH and gprbuild will blindly use it."

I didn't know of this problem. Thanks for pointing it out.


"... they're going to add a standalone static gprbuild binary
which should help bootstrapping in the 2016 release."

This they have done. You're 'whining' has done some good ! ... :) . Yes, it should help simplify things considerably.


"... my approach is to build gprbuild using the static gprbuild, which also builds xmlada ..."

I will try to do the same.


"... they've at least added checksums for their over-http downloads."

Again, this they have done :) .


Sincere thanks for your comments (and successful efforts to improve the Ada ecosystem). My impression is that AdaCore is largely resistant to outside influences, so your efforts are doubly appreciated.


cheers,
charlie5.