Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ApexCtl and haskell usb library
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
gr3m1in
n00b
n00b


Joined: 22 Mar 2010
Posts: 26
Location: Poland

PostPosted: Tue Mar 06, 2018 2:47 pm    Post subject: [SOLVED] ApexCtl and haskell usb library Reply with quote

Hello everyone,

I'm trying to build ApexCtl
https://github.com/tuxmark5/ApexCtl
and one of the dependencies is haskell usb (>= 1.3.0.2) library.

The problem is i'm unable to find the package for it, and it is discouraged by Gentoo Haskell team to use cabal-install.
https://wiki.gentoo.org/wiki/Haskell

I have asked at IRC channel #gentoo-haskell as it is recommended on wiki, but luck so far.

So do anyone know a suitable ebuild for haskel usb?
And maybe there is even an ApexCtl ebuild?

Any help is appreciated!

UPDATE

There is a workaround for this, proposed by siarheit on IRC channel.

I have used app-portage/hackport tool as described here
https://github.com/gentoo-haskell/gentoo-haskell#loners-corner
to create ebuilds for
Code:
dev-haskell/usb
and it's missing dependencies
Code:
dev-haskell/bindings-libusb
dev-haskell/bindings-dsl

And ApexCtl compilled successfully.

Many thanks, siarheit!

UPDATE 2

There are possible mistakes in auto-generated ebuilds, like this
Code:
RepoMan scours the neighborhood...
  dependency.syntax [fatal]     4
   dev-haskell/bindings-libusb/bindings-libusb-1.4.5.0.ebuild: DEPEND: Invalid atom (unknown-pkg-config/libusb-1.0), token 4
   dev-haskell/bindings-libusb/bindings-libusb-1.4.5.0.ebuild: RDEPEND: Invalid atom (unknown-pkg-config/libusb-1.0), token 4
   dev-haskell/bindings-libusb/bindings-libusb-1.4.5.0.ebuild: DEPEND: Invalid atom (unknown-pkg-config/libusb-1.0), token 4
   dev-haskell/bindings-libusb/bindings-libusb-1.4.5.0.ebuild: RDEPEND: Invalid atom (unknown-pkg-config/libusb-1.0), token 4
Please fix these important QA issues first.

In such case it is enough to fix the invalid package category in the ebuild (in this case, replace unknown-pkg-config/libusb-1.0 with >=dev-libs/libusb-1.0)
and then run
Code:
ebuild ./bindings-libusb-1.4.5.0.ebuild digest

to update Manifest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum