venomlinux / ports

Contain all ports used by scratchpkg
https://venomlinux.org/
77 stars 48 forks source link

[bug: ports 2.1] mesa-32 build failed #507

Closed damon-kwok closed 2 years ago

damon-kwok commented 3 years ago
ninja: build stopped: subcommand failed.
==> ERROR: Build failed: mesa-32-21.2.1-1
emmett1 commented 3 years ago

Whats the error?

damon-kwok commented 3 years ago

@emmett1

../src/amd/vulkan/winsys/amdgpu/radv_amdgpu_bo.c:427:64: error: 'AMDGPU_VA_RANGE_REPLAYABLE' undeclared...
emmett1 commented 3 years ago

'mesa-32' just build fine on my machine right now. Did you change CFLAGS or using defaults? You are using venom 2.1 right?

damon-kwok commented 3 years ago

export CFLAGS="-march=x86-64 -pipe -Os -fomit-frame-pointer" export CXXFLAGS="${CFLAGS}" export MAKEFLAGS="-j$(nproc)"

SOURCE_DIR="/var/cache/scratchpkg/sources"

PACKAGE_DIR="/var/cache/scratchpkg/packages"

WORK_DIR="/var/cache/scratchpkg/work"

CURL_OPTS="-j4"

COMPRESSION_MODE="xz"

NO_STRIP="no"

IGNORE_MDSUM="no"

KEEP_LIBTOOL="no"

KEEP_LOCALE="no"

KEEP_DOC="no"

- /etcc/scratch.repo
```sh
#
# /etc/scratchpkg.repo : scratchpkg repo file
#
# format:
#    <repo directory> <repo url for sync>
#

/usr/ports/main       https://github.com/venomlinux/ports/tree/2.1/main
/usr/ports/multilib   https://github.com/venomlinux/ports/tree/2.1/multilib
/usr/ports/nonfree    https://github.com/venomlinux/ports/tree/2.1/nonfree
/usr/ports/testing    https://github.com/venomlinux/ports/tree/2.1/testing
damon-kwok commented 2 years ago

Any update?

emmett1 commented 2 years ago

Have you try built it? Because it built fine for me.