-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[archlinux] provide package on best working source code #16
Comments
i left a comment here: https://aur.archlinux.org/packages/monodevelop-stable/#comment-766030 |
I tried to create a package:
which does not even start the build
|
@Mailaender Can you make sure to also fetch the submodules, it seems like only the repo itself is cloned, which could be causing the issues you are seeing in the build. |
That does not help.
https://github.com/fsharp/fsharp/ installs into Can you maybe tag a release of the last commits that are known to work? |
@Mailaender Its not the repo itself that's not working, the main branch builds just fine, there seems to be a problem with your installation. Can you verify you have all the correct dependencies? Besides that there seems to still be an issue with the submodules. There's a reset-submodules script in the repo in the main folder, can you try running that? |
Sorry, it seems Arch Linux dependencies did rot away. I resurrected https://aur.archlinux.org/packages/fsharp-mono-bin and created https://aur.archlinux.org/packages/glade-sharp Didn't find the Now it errors here:
with .NET 5 installed as well:
|
@Mailaender it seems its still trying to build with net6. Try an older .net version. I use a global json file that you can create with dotnet to use 3.1 to build dotdevelop |
{
"sdk": {
"version": "3.1.102",
"rollForward": "latestMajor"
}
} in the dotdevelop directory still gives me
|
I think there's still an issue with the dependencies. Do you have GTK2 installed? |
|
Can you show the output of doing a dotnet restore in dotdevelop/main/external/xwt/Xwt.Gtk? |
as it contains no project files. |
that would mean the submodules aren't cloned. |
https://github.com/dotdevelop/xwt contains no submodules. |
no, that is one of the submodules of the main dotdevelop repo. |
Yes, and I don't see it containing any submodules. Anyhow: that is how far I got: pkgname=dotdevelop
pkgrel=1
pkgver=r65219.6d6f43c111
pkgdesc="Gtk# based IDE for .NET"
arch=('any')
url="https://github.com/dotdevelop/dotdevelop"
license=('LGPLv2 and MIT')
depends=('gtk-sharp-2' 'gnome-sharp' 'glade-sharp' 'mono-addins' 'hicolor-icon-theme')
makedepends=('cmake' 'intltool' 'msbuild' 'fsharp-mono-bin' 'dotnet-runtime-5.0-bin' 'dotnet-sdk-5.0-bin' 'dotnet-targeting-pack-5.0-bin' 'dotnet-runtime-3.1-bin' 'dotnet-sdk-3.1-bin' 'dotnet-targeting-pack-3.1-bin')
options=(!makeflags)
source=('dotdevelop::git+https://github.com/dotdevelop/dotdevelop.git#branch=main'
'global.json')
sha256sums=('SKIP'
'SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$pkgname"
git submodule update --init --recursive
cp $srcdir/global.json .
}
build() {
cd "$pkgname"
./configure --profile=gnome --prefix=/usr
make
}
package() {
cd "$pkgname"
make DESTDIR=$pkgdir install
} with {
"sdk": {
"version": "3.1.102",
"rollForward": "latestMajor"
}
} |
what's the error you are getting, without the script and with all submodules and dependencies in place? |
git clone https://github.com/dotdevelop/dotdevelop.git
cd dotdevelop
./configure --profile=gnome
make
|
@Mailaender there are still issues when building with dotnet6, can you try 3.1? Also, git clone should be done recursively with submodules. |
I have 3.1 installed. Why does it not pick the correct version? How do I override it? |
use the global json tool: that usually works for me. |
fails with the same set or errors. |
can you confirm that dotnet --version in that folder shows you version 3.1? |
|
|
gtk-sharp-2 2.12.45-4 |
I successfully created https://aur.archlinux.org/packages/dotdevelop-git/ but I don't know how stable it is regarding dependency bit rot. It also does not detect the .NET SDK properly. |
provide package on best working source code
https://aur.archlinux.org/packages/monodevelop-stable/
The text was updated successfully, but these errors were encountered: