Giter Site home page Giter Site logo

Comments (8)

wofferl avatar wofferl commented on August 21, 2024

The downloaded dependencies are for debian/bullseye.

Can you try if you can build it for ubuntu/jammy.

git clone https://git.proxmox.com/git/pve-eslint.git
cd pve-eslint
make deb

from proxmox-backup-arm64.

nmartinho avatar nmartinho commented on August 21, 2024

More dependencies problems...

root@medeia:/opt/proxmox-backup-arm64/pve-eslint# make deb
[ -e src/lib/eslint.js ] || make src/lib/eslint.js
touch .any-eslint-js
rm -rf pve-eslint-8.41.0.tmp pve-eslint-8.41.0
mkdir pve-eslint-8.41.0.tmp
cp -a debian pve-eslint-8.41.0.tmp/
cp -a src/* pve-eslint-8.41.0.tmp/
echo "git clone git://git.proxmox.com/git/pve-eslint.git\ngit checkout ffe585879b9e6e4c7f6f11a68fb3130fd655399c" > pve-eslint-8.41.0.tmp/debian/SOURCE
mv pve-eslint-8.41.0.tmp pve-eslint-8.41.0
cd pve-eslint-8.41.0; dpkg-buildpackage -b -uc -us
dpkg-buildpackage: info: source package pve-eslint
dpkg-buildpackage: info: source version 8.41.0-2
dpkg-buildpackage: info: source distribution bookworm
dpkg-buildpackage: info: source changed by Proxmox Support Team [email protected]
dpkg-buildpackage: info: host architecture arm64
dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper-compat (= 13) dh-nodejs pkg-js-tools (>= 0.8.11)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
make: *** [Makefile:45: pve-eslint_8.41.0-2_all.deb] Error 3

from proxmox-backup-arm64.

wofferl avatar wofferl commented on August 21, 2024

Install the dependencies with sudo apt -y build-dep .

maybe an easier way is to try an older version. Try to install this version:
pve-eslint_8.4.0-3_all.deb

from proxmox-backup-arm64.

nmartinho avatar nmartinho commented on August 21, 2024

Installed "pve-eslint_8.4.0-3_all.deb", but problems continued...

Download packages list from proxmox devel repository
Download packages list from pbs-no-subscription repository
Download dependencies
pve-eslint up-to-date
Install build dependencies

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
pve-eslint : Depends: nodejs (>= 12.22.12dfsg) but 12.22.9dfsg-1ubuntu3 is to be installed
E: Unable to correct problems, you have held broken packages.

from proxmox-backup-arm64.

wofferl avatar wofferl commented on August 21, 2024

Ok, the script tries to install the new version. I think that can be changed in the future.

Meanwhile you can change the PVE_ESLINT_VER in the script from:
PVE_ESLINT_VER=(">=" "7.18.0-1")
to
PVE_ESLINT_VER=("=" "8.4.0-3")

from proxmox-backup-arm64.

nmartinho avatar nmartinho commented on August 21, 2024

Things evolved after the version change, script runs for several time and stops.

...
Setting up xml-core (0.18+nmu1) ...
Setting up libfuse3-dev:arm64 (3.10.5-1build1) ...
Setting up debhelper (13.6ubuntu1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for sgml-base (1.30) ...
Setting up docutils-common (0.17.1+dfsg-2) ...
Processing triggers for sgml-base (1.30) ...
Setting up python3-docutils (0.17.1+dfsg-2) ...
dpkg-buildpackage: warning: invalid flag in DEB_BUILD_OPTIONS:
dpkg-buildpackage: info: source package rust-proxmox-backup
dpkg-buildpackage: info: source version 2.4.2-1
dpkg-buildpackage: info: source distribution bullseye
dpkg-buildpackage: info: source changed by Proxmox Support Team [email protected]
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture arm64
dpkg-checkbuilddeps: error: Unmet build dependencies: fonts-lato fonts-open-sans graphviz latexmk proxmox-widget-toolkit-dev python3-sphinx texlive-fonts-extra texlive-fonts-recommended texlive-xetex xindy
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

from proxmox-backup-arm64.

wofferl avatar wofferl commented on August 21, 2024

Can you run the newest script version with -x and debug and post your build.log.

bash -x ./build.sh client debug

from proxmox-backup-arm64.

nmartinho avatar nmartinho commented on August 21, 2024

@wofferl attached the build.log
build.log

from proxmox-backup-arm64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.