[Bug 1500574] Review Request: golang-github-alecthomas-chroma - A general purpose syntax highlighter in pure Go

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1500574



--- Comment #3 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
   I've got an error trying to build thee package:

+ go build -buildmode pie -compiler gc -tags=rpm_crashtraceback -ldflags ' -B
0xc83cd7cc0cef861d84a31cb3d1223c0778855af3 -extldflags '\''-Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o bin/css2style
github.com/alecthomas/chroma/css2style
WORK=/tmp/go-build802240568
can't load package: package github.com/alecthomas/chroma/css2style: cannot find
package "github.com/alecthomas/chroma/css2style" in any of:
    /usr/lib/golang/src/github.com/alecthomas/chroma/css2style (from $GOROOT)
   
/builddir/build/BUILD/chroma-bc2d6680e4f0f640898b2564c3d479d5cb9023f3/src/github.com/alecthomas/chroma/css2style
(from $GOPATH)
    /usr/share/gocode/src/github.com/alecthomas/chroma/css2style
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.KWjMzW (%build)
    Bad exit status from /var/tmp/rpm-tmp.KWjMzW (%build)


   I solved this by modifying:

%gobuild -o bin/css2style %{import_path}/css2style
%gobuild -o bin/exercise %{import_path}/exercise

   into:

%gobuild -o bin/css2style %{import_path}/_tools/css2style
%gobuild -o bin/exercise %{import_path}/_tools/exercise

  But then I've got another error:

+ go build -buildmode pie -compiler gc -tags=rpm_crashtraceback -ldflags ' -B
0x629aebb49a981394444d4eb5e4869b940e646646 -extldflags '\''-Wl,-z,relro
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o bin/css2style
github.com/alecthomas/chroma/_tools/css2style
WORK=/tmp/go-build398625459
src/github.com/alecthomas/chroma/_tools/css2style/main.go:11:2: cannot find
package "gopkg.in/alecthomas/kingpin.v3-unstable" in any of:
    /usr/lib/golang/src/gopkg.in/alecthomas/kingpin.v3-unstable (from $GOROOT)
   
/builddir/build/BUILD/chroma-bc2d6680e4f0f640898b2564c3d479d5cb9023f3/src/gopkg.in/alecthomas/kingpin.v3-unstable
(from $GOPATH)
    /usr/share/gocode/src/gopkg.in/alecthomas/kingpin.v3-unstable


It seems css2style requires yet another dependency:
http://gopkg.in/alecthomas/kingpin.v3-unstable

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux