Re: Packaging golang.org/x/sys/unix?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On jeudi 14 septembre 2017 19:02:12 CEST nicolas.mailhot@xxxxxxxxxxx wrote:
> Hi,
> 
> I'm investigating packaging prometheus.io (or at least its snmp exporter)
> 
> As usual for a new ecosystem like go, packaging any complex app requires
> packaging a deep dependency tree.
 
> Right now I'm stuck on golang.org/x/sys/unix (go system integration on
> linux)
 
> https://go.googlesource.com/sys/+/master/unix/linux or
> https://github.com/golang/sys/tree/master/unix/linux
> 
> Building seems to involve runing an unbuntu docker container, then make
> glibc and the kernel install their headers, then process the result (in a
> go program)
 
> Any bright idea on how to untangle this mess to use fedora kernel-headers
> and glibc-headers would be very welcome (I suppose that's a question for
> go, kernel, or glibc experts, all of which I am not)
 
> Regards,
> 
> -- 
> Nicolas Mailhot
> _______________________________________________
> devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

golang(golang.org/x/sys/unix) is already packaged… can't you add it as a 
dependency? What are you trying to do?

$  dnf info --enablerepo rawhide golang-github-golang-sys-devel
Last metadata expiration check: 0:00:23 ago on jeu. 14 sept. 2017 19:38:34 
CEST.
Available Packages
Name         : golang-github-golang-sys-devel
Version      : 0
Release      : 0.13.git478fcf5.fc27
Arch         : noarch
Size         : 176 k
Source       : golang-github-golang-sys-0-0.13.git478fcf5.fc27.src.rpm
Repo         : rawhide
Summary      : Go packages for low-level interaction with the operating system
URL          : https://github.com/golang/sys
License      : BSD
Description  : Go packages for low-level interaction with the operating system
             : 
             : This package contains library source intended for
             : building other packages which use import path with
             : golang.org/x/sys prefix.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux