You are not logged in.
Running as:
~/aur/gotify-server master
$ makepkg -si Error:
...
# os/user
cgo: cannot load DWARF output from $WORK/b188//_cgo_.o: decoding dwarf section info at offset 0x0: too short
==> ERROR: A failure occurred in build().
Aborting...Few other go packages also fail. Any clue?
Offline
https://bbs.archlinux.org/viewtopic.php?id=57855
gotify-server-2.0.23-1-x86_64-build.log
yarn install v1.22.10
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.3.2: The platform "linux" is incompatible with this module.
info "fsevents@2.3.2" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@1.2.13: The platform "linux" is incompatible with this module.
info "fsevents@1.2.13" is an optional dependency and failed compatibility check. Excluding it from installation.
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning "react-infinite > enzyme-adapter-react-16@1.1.1" has unmet peer dependency "enzyme@^3.0.0".
warning " > @typescript-eslint/eslint-plugin@4.1.0" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".
warning "@typescript-eslint/eslint-plugin > @typescript-eslint/experimental-utils@4.1.0" has unmet peer dependency "eslint@*".
warning " > @typescript-eslint/parser@4.1.0" has unmet peer dependency "eslint@^5.0.0 || ^6.0.0 || ^7.0.0".
warning " > eslint-config-prettier@6.11.0" has unmet peer dependency "eslint@>=3.14.1".
warning " > eslint-plugin-import@2.22.0" has unmet peer dependency "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0".
warning " > eslint-plugin-jest@24.0.0" has unmet peer dependency "eslint@>=5".
warning " > eslint-plugin-prefer-arrow@1.2.2" has unmet peer dependency "eslint@>=2.0.0".
warning " > eslint-plugin-react@7.20.6" has unmet peer dependency "eslint@^3 || ^4 || ^5 || ^6 || ^7".
warning " > eslint-plugin-unicorn@21.0.0" has unmet peer dependency "eslint@>=7.3.0".
warning "eslint-plugin-unicorn > eslint-template-visitor@2.2.1" has unmet peer dependency "eslint@>=7.0.0".
[4/4] Building fresh packages...
Done in 38.94s.
yarn run v1.22.10
$ react-scripts build
(node:2017) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /build/gotify-server/src/server-2.0.23/ui/node_modules/postcss-safe-parser/node_modules/postcss/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
Creating an optimized production build...
Compiled successfully.
File sizes after gzip:
249.91 KB build/static/js/2.e47eafc0.chunk.js
14.69 KB build/static/js/main.f95ff473.chunk.js
2.39 KB build/static/css/2.cdd9dc11.chunk.css
779 B build/static/js/runtime-main.fdd914ce.js
The project was built assuming it is hosted at ./.
You can control this with the homepage field in your package.json.
The build folder is ready to be deployed.
Find out more about deployment here:
https://cra.link/deployment
Done in 26.04s.
go: downloading github.com/gobuffalo/packr/v2 v2.7.1
go: downloading github.com/gobuffalo/logger v1.0.3
go: downloading github.com/gobuffalo/envy v1.9.0
go: downloading github.com/spf13/cobra v0.0.6
go: downloading github.com/sirupsen/logrus v1.7.0
go: downloading golang.org/x/tools v0.0.0-20200308013534-11ec41452d41
go: downloading github.com/rogpeppe/go-internal v1.6.2
go: downloading golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e
go: downloading github.com/gobuffalo/packd v1.0.0
go: downloading github.com/joho/godotenv v1.3.0
go: downloading golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e
go: downloading golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1
go: downloading github.com/spf13/pflag v1.0.3
go: downloading golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
go: downloading github.com/gin-gonic/gin v1.6.3
go: downloading github.com/gin-contrib/gzip v0.0.3
go: downloading github.com/gotify/configor v1.0.2
go: downloading github.com/gotify/location v0.0.0-20170722210143-03bc4ad20437
go: downloading github.com/jinzhu/gorm v1.9.16
go: downloading github.com/gin-contrib/cors v1.3.1
go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/h2non/filetype v1.1.1
go: downloading github.com/go-playground/validator/v10 v10.3.0
go: downloading github.com/gorilla/websocket v1.4.2
go: downloading github.com/gotify/plugin-api v1.0.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading github.com/go-yaml/yaml v2.1.0+incompatible
go: downloading github.com/golang/protobuf v1.4.2
go: downloading github.com/ugorji/go v1.1.7
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/gin-contrib/sse v0.1.0
go: downloading github.com/go-sql-driver/mysql v1.5.0
go: downloading github.com/lib/pq v1.10.0
go: downloading github.com/mattn/go-sqlite3 v1.14.7
go: downloading github.com/jinzhu/inflection v1.0.0
go: downloading github.com/go-playground/universal-translator v0.17.0
go: downloading github.com/leodido/go-urn v1.2.0
go: downloading golang.org/x/text v0.3.3
go: downloading github.com/ugorji/go/codec v1.1.7
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/go-playground/locales v0.13.0Offline
I understand it is not a problem with the package but my arch system. Not sure how to fix it. Few other go programs also fail to compile
Offline
Provide the full output makepkg as well as the output of:
# pacman -Qkk 2>&1 | grep -Fv '0 altered files'Offline