On 23-11-2023 17:44, Jude DaShiell wrote:
cc main.o buffers.o sendmail.o fetchmail.o html.o html-tags.o format.o stringfile.o ebrc.o msg-strings.o http.o isup.o css.o startwindow.o dbops.o dbodbc.o jseng-quick.o ../../quickjs/libquickjs.a -ldl -latomic -s -lcurl -lodbc -lpcre2-8 -lreadline -lssl -lcrypto -lpthread -lm -lssl -lcrypto -o edbrowse /usr/bin/ld: cannot find ../../quickjs/libquickjs.a: No such file or directory
Two more changes are needed: A. edbrowse relies on *.a files (static librairies) to use quickjs . makepkg by default removes them since a few years ago. edit the quickjs PKGBUILD, increase pkgrel and change the options= line in it so it reads options=(!strip staticlibs) rebuild & reinstall quickjs B. the environment vars used by edbrowse make have been changed by upstream. replace QUICKJS_DIR="/usr/lib/quickjs/" make with QUICKJS_INCLUDE="/usr/include/quickjs" QUICKJS_LIB="/usr/lib/quickjs/" make The package builds for me that way, but I haven't ran the software. Lone_Wolf
-- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Fri, 24 Nov 2023, Lone_Wolf wrote:
On 23-11-2023 17:44, Jude DaShiell wrote:
cc main.o buffers.o sendmail.o fetchmail.o html.o html-tags.o format.o stringfile.o ebrc.o msg-strings.o http.o isup.o css.o startwindow.o dbops.o dbodbc.o jseng-quick.o ../../quickjs/libquickjs.a -ldl -latomic -s -lcurl -lodbc -lpcre2-8 -lreadline -lssl -lcrypto -lpthread -lm -lssl -lcrypto -o edbrowse /usr/bin/ld: cannot find ../../quickjs/libquickjs.a: No such file or directory
Two more changes are needed:
A.
edbrowse relies on *.a files (static librairies) to use quickjs . makepkg by default removes them since a few years ago.
edit the quickjs PKGBUILD, increase pkgrel and change the options= line in it so it reads options=(!strip staticlibs)
rebuild & reinstall quickjs
B.
the environment vars used by edbrowse make have been changed by upstream.
replace QUICKJS_DIR="/usr/lib/quickjs/" make with
QUICKJS_INCLUDE="/usr/include/quickjs" QUICKJS_LIB="/usr/lib/quickjs/" make
The package builds for me that way, but I haven't ran the software.
Lone_Wolf
Almost but no cigar: ==> Making package: edbrowse-git 3.8.7.r55.g3b8a1f45-1 (Fri 24 Nov 2023 05:41:20 PM EST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating edbrowse-git git repo... ==> Validating source files with md5sums... edbrowse-git ... Skipped ==> Extracting sources... -> Creating working copy of edbrowse-git git repo... Reset branch 'makepkg' ==> Starting prepare()... ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... ==> Entering fakeroot environment... ==> Starting package()... mkdir -p -m 755 /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...
On 24-11-2023 23:45, Jude DaShiell wrote:
install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...
That file should exist in $srcdir/$pkgname/src when package() is run. Try adding --cleanbuild to the makepkg command line to ensure the build starts fresh. LW
With --cleanbuild and -f options added after having erased ~/share/yay/edbrowse-git and ~/.share/yay/quickjs I got: ==> Making package: edbrowse-git 3.8.7.r55.g3b8a1f45-1 (Fri 24 Nov 2023 07:17:41 PM EST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating edbrowse-git git repo... ==> Validating source files with md5sums... edbrowse-git ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of edbrowse-git git repo... Cloning into 'edbrowse-git'... done. ==> Starting prepare()... ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... ==> Entering fakeroot environment... ==> Starting package()... mkdir -p -m 755 /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting... -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Sat, 25 Nov 2023, Lone_Wolf wrote:
On 24-11-2023 23:45, Jude DaShiell wrote:
install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...
That file should exist in $srcdir/$pkgname/src when package() is run.
Try adding --cleanbuild to the makepkg command line to ensure the build starts fresh.
LW
On 25-11-2023 01:21, Jude DaShiell wrote:
With --cleanbuild and -f options added after having erased ~/share/yay/edbrowse-git and ~/.share/yay/quickjs I got:
==> Starting package()... mkdir -p -m 755 /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...
I doublechecked by building in a cleanchroot and everything works fine. Something in your build environment seems amiss. If you want to investigate that further, you need to append the --log parameter to the makepkg command and upload the build logs somewhere. a command like curl -F 'f:1=<-' ix.io </path/to/log-file / works well for that. after it has finished there will be an url shown on the command line, that's what we need to see the logs. There's no telling how much time troubleshooting will take, incase you need edbrowse soon building using a clean chroot is probably best solution. Are you familiar with devtools & extra-x86_64-build ? LW / /
-- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Sat, 25 Nov 2023, Lone_Wolf wrote:
On 25-11-2023 01:21, Jude DaShiell wrote:
With --cleanbuild and -f options added after having erased ~/share/yay/edbrowse-git and ~/.share/yay/quickjs I got:
==> Starting package()... mkdir -p -m 755 /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...
I doublechecked by building in a cleanchroot and everything works fine. Something in your build environment seems amiss.
If you want to investigate that further, you need to append the --log parameter to the makepkg command and upload the build logs somewhere.
a command like
curl -F 'f:1=<-' ix.io </path/to/log-file /
works well for that. after it has finished there will be an url shown on the command line, that's what we need to see the logs.
There's no telling how much time troubleshooting will take, incase you need edbrowse soon building using a clean chroot is probably best solution.
Are you familiar with devtools & extra-x86_64-build ?
LW
Not yet familiar with those tools but I will fix that a little later.
/ /
https://www.panix.com/~jdashiel/edbrowse-git-log.zip has the four logs this build fail produced. -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Sat, 25 Nov 2023, Lone_Wolf wrote:
On 25-11-2023 01:21, Jude DaShiell wrote:
With --cleanbuild and -f options added after having erased ~/share/yay/edbrowse-git and ~/.share/yay/quickjs I got:
==> Starting package()... mkdir -p -m 755 /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...
I doublechecked by building in a cleanchroot and everything works fine. Something in your build environment seems amiss.
If you want to investigate that further, you need to append the --log parameter to the makepkg command and upload the build logs somewhere.
a command like
curl -F 'f:1=<-' ix.io </path/to/log-file /
works well for that. after it has finished there will be an url shown on the command line, that's what we need to see the logs.
There's no telling how much time troubleshooting will take, incase you need edbrowse soon building using a clean chroot is probably best solution.
Are you familiar with devtools & extra-x86_64-build ?
LW
/ /
I'm facing same problem, can't build chromium anymore (stopped recently) ninja: build stopped: subcommand failed. ==> ERRO: Uma falha ocorreu em build() Em sáb., 25 de nov. de 2023 12:57, Jude DaShiell <jdashiel@panix.com> escreveu:
https://www.panix.com/~jdashiel/edbrowse-git-log.zip has the four logs this build fail produced.
-- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940.
On Sat, 25 Nov 2023, Lone_Wolf wrote:
On 25-11-2023 01:21, Jude DaShiell wrote:
With --cleanbuild and -f options added after having erased ~/share/yay/edbrowse-git and ~/.share/yay/quickjs I got:
==> Starting package()... mkdir -p -m 755 /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install -m755 edbrowse /home/jude/builds/edbrowse-git/pkg/edbrowse-git/usr/bin install: cannot stat 'edbrowse': No such file or directory make: *** [makefile:82: install] Error 1 ==> ERROR: A failure occurred in package(). Aborting...
I doublechecked by building in a cleanchroot and everything works fine. Something in your build environment seems amiss.
If you want to investigate that further, you need to append the --log parameter to the makepkg command and upload the build logs somewhere.
a command like
curl -F 'f:1=<-' ix.io </path/to/log-file /
works well for that. after it has finished there will be an url shown on
the
command line, that's what we need to see the logs.
There's no telling how much time troubleshooting will take, incase you need edbrowse soon building using a clean chroot is probably best solution.
Are you familiar with devtools & extra-x86_64-build ?
LW
/ /
On 25-11-2023 18:20, Gil Vicente Bernardo wrote:
I'm facing same problem, can't build chromium anymore (stopped recently)
ninja: build stopped: subcommand failed. ==> ERRO: Uma falha ocorreu em build()
Hi, that's a different package and unlikely to have the same issue. Also chromium is in repos, you may be trying to build another package (like ungoogled-chromium, google-chrome etc) Please start a new thread with clear info which package you're trying to build. Prepend comands with LC_ALL=C to ensure their output will be in english. Lone_Wolf
On 25-11-2023 16:57, Jude DaShiell wrote:
https://www.panix.com/~jdashiel/edbrowse-git-log.zip has the four logs this build fail produced.
Something went wrong with the upload. I get "You don't have permission to access this resource." and the size of the file is shown as 1.1k . I can download other files from that location. LW
Sorry, I forgot to chmod that file to 666 when uploaded. That's done now. -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Mon, 27 Nov 2023, Lone_Wolf wrote:
On 25-11-2023 16:57, Jude DaShiell wrote:
https://www.panix.com/~jdashiel/edbrowse-git-log.zip has the four logs this build fail produced.
Something went wrong with the upload. I get "You don't have permission to access this resource." and the size of the file is shown as 1.1k .
I can download other files from that location.
LW
On 27-11-2023 13:35, Jude DaShiell wrote:
Sorry, I forgot to chmod that file to 666 when uploaded. That's done now.
Dowloaded and understand now why it is just 1.1k size : the build log is empty. This only happens when there's no build() function or --repackage is used in the makepkg invocation. I've attached the PKGBUILD I used to build edbrowser-git , try with that. Incase the attachment isn't usable/removed, here's the contents : --------------------------------------- # Contributor: Chris Brannon <cmbrannon79 (at) gmail.com> # Contributor: joyfulgirl <joyfulgirl (at) archlinux.us> # Maintainer: aksr <aksr at t-com dot me> pkgname=edbrowse-git pkgver=3.8.7.r55.g3b8a1f45 pkgrel=1 pkgdesc="A line-oriented editor, browser and mail client." arch=('i686' 'x86_64') url="http://edbrowse.org/" license=('GPL' 'openssl') depends=('openssl' 'pcre' 'curl>=7.29.0' 'unixodbc' 'quickjs') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("$pkgname::git+https://github.com/CMB/edbrowse") md5sums=('SKIP') prepare() { cd "$srcdir/$pkgname/src" sed -i 's!quickjs-libc.h!quickjs/&!' jseng-quick.c js_hello_quick.c } pkgver() { cd "$srcdir/$pkgname" git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' } build() { export CFLAGS="${CFLAGS} -Wno-format-security" cd "$srcdir/$pkgname" QUICKJS_INCLUDE="/usr/include/quickjs" QUICKJS_LIB="/usr/lib/quickjs/" make } package() { cd "$srcdir/$pkgname/src" make DESTDIR="$pkgdir" PREFIX=/usr install install -Dm644 ../doc/man-edbrowse-debian.1 $pkgdir/usr/share/man/man1/edbrowse.1 install -Dm644 ../doc/sample.ebrc ../README $pkgdir/usr/share/doc/${pkgname%-*} install -Dm644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-*}/COPYING } Lone_Wolf
That was a successful build and install, thanks. -- Jude <jdashiel at panix dot com> "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Tue, 28 Nov 2023, Lone_Wolf wrote:
On 27-11-2023 13:35, Jude DaShiell wrote:
Sorry, I forgot to chmod that file to 666 when uploaded. That's done now.
Dowloaded and understand now why it is just 1.1k size : the build log is empty.
This only happens when there's no build() function or --repackage is used in the makepkg invocation.
I've attached the PKGBUILD I used to build edbrowser-git , try with that.
Incase the attachment isn't usable/removed, here's the contents :
---------------------------------------
# Contributor: Chris Brannon <cmbrannon79 (at) gmail.com> # Contributor: joyfulgirl <joyfulgirl (at) archlinux.us> # Maintainer: aksr <aksr at t-com dot me> pkgname=edbrowse-git pkgver=3.8.7.r55.g3b8a1f45 pkgrel=1 pkgdesc="A line-oriented editor, browser and mail client." arch=('i686' 'x86_64') url="http://edbrowse.org/" license=('GPL' 'openssl') depends=('openssl' 'pcre' 'curl>=7.29.0' 'unixodbc' 'quickjs') makedepends=('git') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("$pkgname::git+https://github.com/CMB/edbrowse") md5sums=('SKIP') prepare() { cd "$srcdir/$pkgname/src" sed -i 's!quickjs-libc.h!quickjs/&!' jseng-quick.c js_hello_quick.c } pkgver() { cd "$srcdir/$pkgname" git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g;s/^v//' } build() { export CFLAGS="${CFLAGS} -Wno-format-security" cd "$srcdir/$pkgname" QUICKJS_INCLUDE="/usr/include/quickjs" QUICKJS_LIB="/usr/lib/quickjs/" make } package() { cd "$srcdir/$pkgname/src" make DESTDIR="$pkgdir" PREFIX=/usr install install -Dm644 ../doc/man-edbrowse-debian.1 $pkgdir/usr/share/man/man1/edbrowse.1 install -Dm644 ../doc/sample.ebrc ../README $pkgdir/usr/share/doc/${pkgname%-*} install -Dm644 ../COPYING $pkgdir/usr/share/licenses/${pkgname%-*}/COPYING }
Lone_Wolf
participants (3)
-
Gil Vicente Bernardo
-
Jude DaShiell
-
Lone_Wolf