-
Notifications
You must be signed in to change notification settings - Fork 301
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
Root package terminix contains reference to invalid package gtk-d >=3.3.0 <3.4.0 #304
Comments
Unfortunately that error message isn't very descriptive, I'm not having any issues on my local machine with it and lot's of other people build from source without issue. The current version of GtkD in Dub is 3.3.1 so it should not being having an issue finding it. Can you try running dub in verbose mode?
|
@Mailaender: This might be due to dub not reading any packages from distro paths, see dlang/dub#811 |
I see. Closing here then. |
I've taken a look at your script and logs and I see one possible problem: Using the system installed gtkd with dub is not possible, at least not like a dub package. The descriptor You can try using dynamic linking configuration, but that will not work also because gtkd in https://build.opensuse.org/package/view_file/home:Simmphonie/gtkd/gtkd.spec?expand=1 is built with ldc and terminix requires dmd and they have incompatible ABIs. I've tried building terminix with ldc but it does not work, but it is possible to compile gtkd shared libs with dmd. Also, the gtkd package in does not install vted source, as make targets install-shared-vte and install-headers-vte must be called explicitly in the command line. In the |
What I did in my gtkd package is: # required for dub
install package.json %{buildroot}%{_includedir}/d/gtkd-3
mv src %{buildroot}%{_includedir}/d/gtkd-3
mv srcgl %{buildroot}%{_includedir}/d/gtkd-3
mv srcgstreamer %{buildroot}%{_includedir}/d/gtkd-3
mv srcsv %{buildroot}%{_includedir}/d/gtkd-3
mv srcvte %{buildroot}%{_includedir}/d/gtkd-3 until I realized that it doesn't work as well. Now you tell me that even the different compilers are incompatible. Quite a nightmare for downstream packagers. :( |
@Mailaender: I blogged about it this a few days ago ^^ - for distro packagers, D is still a bit of a pain. |
I packaged gtk-d https://build.opensuse.org/request/show/394029 and it doesn't seem to matter. Neither version 3.3.0 nor 3.3.1 are accepted by Terminix:
You can look at the complete build logs by clicking on failed at https://build.opensuse.org/package/show/home:Mailaender:branches:devel:languages:D/terminix
The text was updated successfully, but these errors were encountered: