Skip to content

Failed to create the directory $PKGDEST inside aurcache-builder #298

@xXPerditorXx

Description

@xXPerditorXx

My compose.yml for podman in Host-Build-Mode:

services:
    aurcache:
        image: ghcr.io/lukas-heiligenbrunner/aurcache:latest
        ports:
        - "8080:8080" # Frontend
        - "8081:8081" # Repository
        volumes:
          - ./aurcache/db:/app/db
          - ./aurcache/repo:/app/repo
          - /run/user/1000/podman/podman.sock:/var/run/docker.sock
          - ./aurcache/builds:/app/builds # artifact_cache
          #- ./aurcache/builds/config/pacman_x86_64/mirrorlist:/app/config/pacman_x86_64:Z
        environment:
          - BUILD_ARTIFACT_DIR=/home/arch/Downloads/AURCacheOwn/aurcache/builds # also absolute path is possible
            ## HERE
          #- MIRROR_RANK_SCHEDULE=0 0 2 * * 0
            ## END HERE
        privileged: true
        restart: unless-stopped

volumes:
  artifact_cache:
        name: artifact_cache
        driver: local

I now got the problem, that which ever AUR package I throw at it, it always tells me:

(1/4) Reloading system manager configuration...
Failed to check for chroot() environment: Permission denied
Skipped: Current root is not booted.
(2/4) Arming ConditionNeedsUpdate...
(3/4) Cleaning up package cache...
(4/4) Cleaning up package cache...
fetching devel info...
==> ERROR: Failed to create the directory $PKGDEST (/var/cache/makepkg/pkg/debtap).
Aborting...
error: failed to download sources for 'debtap-3.6.3-1':
error: packages failed to build: debtap-3.6.3-1
failed to build packageDocker container wait error: 

Here I tried with debtap, but it does it downgrade too.
Also tried :git tag too

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions