Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:14
    nytpu synchronize #524
  • 16:52
    nytpu synchronize #524
  • 00:14
    nytpu commented #524
  • 00:12
    nytpu synchronize #524
  • May 25 21:27
    JeremyGrosser commented #1030
  • May 25 21:18
    Joebeazelman opened #1031
  • May 25 20:57
    Fabien-Chouteau commented #1030
  • May 25 20:56
    Fabien-Chouteau review_requested #1030
  • May 25 20:48
    Fabien-Chouteau opened #1030
  • May 25 20:47

    Fabien-Chouteau on disable_warn_no_exception_propagation

    Alire.Utils.Switches: Disable N… (compare)

  • May 25 20:22
    Joebeazelman opened #1029
  • May 25 20:07

    Fabien-Chouteau on disable_warn_no_exception_propagation

    Alire.Utils.Switches: Disable N… (compare)

  • May 24 18:55
    mosteo closed #523
  • May 24 18:55
    mosteo commented #523
  • May 24 18:41

    mosteo on stable-1.1

    Fix action used to set up alr (… (compare)

  • May 24 18:41

    mosteo on stable-setup-alire

    (compare)

  • May 24 18:41
    mosteo closed #525
  • May 24 14:23
    hgrodriguez commented #523
  • May 24 08:55
    hgrodriguez commented #523
  • May 24 08:23
    Fabien-Chouteau commented #523
Fabien Chouteau
@Fabien-Chouteau
We run it on GitHub actions for every PR.
I don't see what the error is here...
danwinslow
@danwinslow
Hi Folks. Ran into Alire today, very awesome and seems to work well. I'm on a windows 10 box with GNAT community 2021. I got sdlada_2.5 via alire, and the initial build seemed to go ok. I am trying to build some of the tests, so I went into the build\gnat area of the sdlada folder, and ran './gprbuild tests.gpr'. Compile seemed fine but then got a ton of link errors for pretty much every SDL entrypoint, for instance : sdl-video-surfaces-makers.adb:45: undefined reference to `SDL_CreateRGBSurface'. I am not super familiar with gprbuild and gpr files in general, having always just used gnatmake and a manual build script. I figure I need to put a linker path directive somewhere, but not sure where. The alire build seemed to create a libsdlada.a underneath sdlada\build\gnat\gen\debug\lib, so I'm assuming that's the one I would use.
Paul Jarrett
@pyjarrett
What does alr toolchain say?
danwinslow
@danwinslow
[code]CRATE VERSION STATUS NOTES
gprbuild 2021.0.0 Default Detected at C:\GNAT\2021\bin\gprbuild.exe
gnat_external 2021.0.0 Default Detected at C:\GNAT\2021\bin\gnat.exe;[/code]
danwinslow
@danwinslow
So, I found the test executables (windows .exe's) under sdlada\build\gnat\gen\debug\test. Apparently it was building them, so no need to do manually. However, when run, they complain that they can't find SDL2.dll. The library produced was sdlada_2.5.4_7981bbd6\build\gnat\gen\debug\lib\libsdlada.a, so I'm not sure why the exe's want a DLL. Anyway gonna go RTFM for a while.
danwinslow
@danwinslow
Except looks like those exe's were downloaded when I first did the Alire get sdlada, not built.
never mind, I need to install SDL itself. duh.
Paul Jarrett
@pyjarrett
maybe for alire docs?
Jeremy Grosser
@JeremyGrosser
Looks nice. At the very least we should steal their css
Paul Jarrett
@pyjarrett
Simon Wright
@simonjwright
@pyjarrett @Fabien-Chouteau I came across a problem on M1 Macs, see alire-project/alire#1012. Septum builds fine, as of course does trendy_terminal, but you can't alr build in trendy_terminal/tests.
3 replies
Fabien Chouteau
@Fabien-Chouteau
@simonjwright I guess you are on GNAT 12, are you?
2 replies
Jawk1995
@Jawk1995
Hi Guys,
I'm trying to compile my code on a new architecture (ARM v8) which is on ubuntu 20.04 and i'm getting this error when importing AWS (Ada web server) to be used in my code.
Any suggestions on what I can try to resolve the GPRBuild issue?
3 replies
Maxim Reznik
@reznikmm
@danwinslow According to alire-project/alire#354 every alire crate that builds DLL should add a path to DLL to PATH. I guess none of the crates (including crates) does this actually. So don't expect executables on windows work until you set correct PATH manually.
Maxim Reznik
@reznikmm
@Fabien-Chouteau @mosteo alr has stopped working on Windows yesterday
18 replies
:: To complete this update all MSYS2 processes including this terminal will be closed. Confirm to proceed [Y/n] 
warning: database file for 'clang32' does not exist (use '-Sy' to download)
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
error: failed to prepare transaction (could not find database)
Holger Rodriguez
@hgrodriguez
did something change in handling alire-index forks?
I wanted to publish a new verison for my eeprom_i2c library.
I forked the alire-index repository (as usual) into my own user, and wanted to upload the alire.toml file.
But I get (in my very own fork in my user space) the error message:
Uploads are disabled. File uploads require push access to this repository.
This is the repo link: https://github.com/hgrodriguez/alire-index/upload/stable-1.1/index/ee/eeprom_i2c
What changed?
Maxim Reznik
@reznikmm
Have you logged in github as hgrodriguez?
Holger Rodriguez
@hgrodriguez
omg... I am embarrased..... this somehow never happened before, looks like I was always already logged in... thanks
Rolf Ebert
@RREE
Before I start to write my own completion script for bash or zsh, I wanted to ask if anybody already has such a script
For a starter I'd use the output of alr --help and pick only lines whose first word does not start with a capital letter
alr --help | sed -ne '/GLOBAL/,$ p' | awk '{ if ($1 !~ /^[A-Z]/) print $1;}'
Jesper Quorning
@jquorning
Rolf Ebert
@RREE
thanks
Paul Jarrett
@pyjarrett
Is there a way to install binaries to a common directory from alire (like make install, to a place like ~/.alire/bin or something)?
2 replies
danwinslow
@danwinslow
Hi Folks. Can I set Alire to use a pre-installed version of msys2 (freshly updated) or must I let it download into it's own .cache? I don't really mind having 2 sets of msys, if it won't cause a problem.
5 replies
Manuel
@mgrojo
I received my first bug report for ASFML but was not able to help. I cannot reproduce the problem using the latest versions of Alire and available toolchain.See mgrojo/ASFML#10 Could this be related to the problem which required a maintenance release for Windows (Alire v1.1.3)? I think the key problem is this error: c:/gnat/2021/bin/../libexec/gcc/x86_64-w64-mingw32/10.3.1/ld.exe: C:\Users\Amynu\testproj\alire\cache\dependencies\asfml_2.5.2_b775db19\lib\libasfml.a: error adding symbols: archive has no index; run ranlib to add one Later ones might be related to the workaround of changing to dynamic linking.
Jeremy Grosser
@JeremyGrosser
on the development version of alire, is there a way to make alr build default to the --validation config, or do I need to specify that for every build?
Fabien Chouteau
@Fabien-Chouteau
[build-profiles]
my_crate = "validation"
This should work
(in alire.toml)
Jeremy Grosser
@JeremyGrosser
yep, that works, thanks
Simon Wright
@simonjwright
Jeremy Grosser
@JeremyGrosser
line 30 and below are indented by one extra space
Holger Rodriguez
@hgrodriguez
hypothetically speaking: If I would volunteer to package a library to make it into an alire crate, would there be any idea what the community could benefit from?
In case you would like me to support anywhere in this area, I am willing to help.
Paul Jarrett
@pyjarrett
curl
Simon Wright
@simonjwright
@JeremyGrosser, thanks for the help.
Now trying to run CI on windows-latest, get "incorrect line terminator" on every source line. (Why CI on windows-latest? - I’m not going to buy a Windows machine, this looked like a good solution)
10 replies
Jeremy Grosser
@JeremyGrosser
I don't do development on Windows, so I'm not sure how helpful I can be there.
Simon Wright
@simonjwright
Turns out that msys2 can’t load load BLAS, Lapack because of some signing issue, and Alire uses msys2 on Windows. No doubt there are other sources of those libraries.
Fabien Chouteau
@Fabien-Chouteau
Did you try a fresh install of msys2?
3 replies
Gautier de Montmollin
@zertovitch
Just out of curiosity: does alr executable do anything special to reveal or to hide information like the OS or the geographical location when downloading resources?
Fabien Chouteau
@Fabien-Chouteau
@zertovitch no, Alire just runs git or curl to download sources.
1 reply
Alejandro R Mosteo
@mosteo
I just released 1.2.0-rc1 on GitHub. There are many changes both internal and visible in this release, so it would be great to have feedback from people currently using 1.1.
1 reply
Fabien Chouteau
@Fabien-Chouteau
Let's share the news on all the forums \o/
Bent Bracke
@bracke
@Fabien-Chouteau 🚀
Simon Wright
@simonjwright
I don’t think the problem with PR 521 is mine to fix!
1 reply