Package Details: edbrowse-git 3.8.5.r189.g9a6c8a74-1

Git Clone URL: https://aur.archlinux.org/edbrowse-git.git (read-only, click to copy)
Package Base: edbrowse-git
Description: A line-oriented editor, browser and mail client.
Upstream URL: http://edbrowse.org/
Licenses: GPL, openssl
Conflicts: edbrowse
Provides: edbrowse
Submitter: None
Maintainer: aksr
Last Packager: aksr
Votes: 6
Popularity: 0.000000
First Submitted: 2011-03-24 13:24 (UTC)
Last Updated: 2022-12-23 21:19 (UTC)

Required by (0)

Sources (1)

Latest Comments

korimitsu commented on 2023-12-17 21:25 (UTC)

Does not compile anymore:

jseng-quick.c: In function ‘embedNodeName’:
jseng-quick.c:2010:17: warning: ‘__builtin___strncpy_chk’ specified bound depends on the length of the source argument [-Wstringop-truncation]
 2010 |                 strncpy(b, nodeName, length);
      |                 ^
jseng-quick.c:2007:26: note: length computed here
 2007 |                 length = strlen(nodeName);
      |                          ^~~~~~~~~~~~~~~~
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
collect2: error: ld returned 1 exit status
make[1]: *** [makefile:76: edbrowse] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-user/edbrowse-git/src/edbrowse-git/src'
make: *** [makefile:5: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

countellington commented on 2022-10-07 14:27 (UTC) (edited on 2022-10-08 04:17 (UTC) by countellington)

Here is how to get makepkg to run. At least it worked for me. add unixodbc to depends and quickjs to makedepends. (Also quickjs is replacing tidy so tidy is no longer required)

Then change the make line under build() to

make QUICKJS_DIR="/usr/include/quickjs" QUICKJS_LDFLAGS="/usr/lib/quickjs/libquickjs.a -ldl"

The source makefile assumes quickjs will be build relative to edbrowse so its set to ../../quickjs hence the need for the two overrides.

m040601 commented on 2022-09-03 21:07 (UTC) (edited on 2022-09-03 21:45 (UTC) by m040601)

As the previous commenter reported, it also fails to build for me,

 2120 |         asprintf(&t, "%s\t%05d\t%s\t%d\t%d\t%d\n",
      |         ^~~~~~~~
      |         vsprintf
cc -I/usr/include/tidy   -c -o css.o css.c
perl ../tools/buildsourcestring.pl shared.js startwindow.js endwindow.js startwindow.c
Content shared.js written to startwindow.c
Content startwindow.js written to startwindow.c
Content endwindow.js written to startwindow.c
cc -I/usr/include/tidy   -c -o startwindow.o startwindow.c
cc -I/usr/include/tidy   -c -o dbops.o dbops.c
cc -I/usr/include/tidy   -c -o dbodbc.o dbodbc.c
dbodbc.c:25:10: fatal error: sql.h: No such file or directory
   25 | #include <sql.h>                /* ODBC header files */
      |          ^~~~~~~
compilation terminated.
make[1]: *** [<builtin>: dbodbc.o] Error 1
make[1]: Leaving directory '/dev/shm/aurydesty/edbrowse-git/src/edbrowse-git/src'
make: *** [makefile:5: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: edbrowse-git

I then tried git clone from github and make (not makepkg).

    $ cc -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -DEDBROWSE_ON_LINUX     -c -o dbops.o dbops.c
dbops.c: In function ‘timeString’:
dbops.c:573:41: warning: ‘%02d’ directive writing between 2 and 6 bytes into a region of size between 0 and 6 [-Wformat-overflow=]
  573 |                 sprintf(buf, "%02d:%02d:%02d %cM", h, m, s, c);
      |                                         ^~~~
dbops.c:573:30: note: directive argument in the range [-32768, 32767]
  573 |                 sprintf(buf, "%02d:%02d:%02d %cM", h, m, s, c);
      |                              ^~~~~~~~~~~~~~~~~~~~
dbops.c:573:17: note: ‘sprintf’ output between 12 and 22 bytes into a destination of size 12
  573 |                 sprintf(buf, "%02d:%02d:%02d %cM", h, m, s, c);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -Wall -Wno-unused -D_FILE_OFFSET_BITS=64 -DEDBROWSE_ON_LINUX     -c -o dbodbc.o dbodbc.c
dbodbc.c:25:10: fatal error: sql.h: No such file or directory
   25 | #include <sql.h>                /* ODBC header files */
      |          ^~~~~~~
compilation terminated.
make[1]: *** [<builtin>: dbodbc.o] Error 1
make[1]: Leaving directory '/dev/shm/edbrowse/src'
make: *** [makefile:5: all] Error 2

Same "sql.h" error.

There is a github issue concerning Archlinux open, https://github.com/CMB/edbrowse/issues/79

They also release binaries. Cumbersome to find this on the github page. I tested x64 frome, https://edbrowse.org/static/ and it worked fine.

Maybe there could be an Arch PKGBUILD "edbrowse-bin" based on this ?

As of 2022 the upstream development is alive and well, with many recent commits, https://github.com/CMB/edbrowse/commits/master.

There are plenty and frequent tag releases, https://github.com/CMB/edbrowse/tags

This PKGBUILD has not been touched since 2017. So it needs review.

There is also a tag,


Conflicts:  edbrowse

But there isn't any PKGBUILD called "edbrowse" anymore.

marrs commented on 2022-03-18 23:17 (UTC)

This fails to build when I run makepkg -si

dbodbc.c:25:10: fatal error: sql.h: No such file or directory

aksr commented on 2017-12-10 11:21 (UTC)

GuyDuNigo: Updated, thanks.

GuyDuNigo commented on 2017-11-21 19:17 (UTC)

Edbrowse now needs the duktape Javascript engine (in community repo) to be compiled and to work (no more js dependency I guess then).

<deleted-account> commented on 2011-10-25 15:53 (UTC)

This is fixed; it builds against js-1.8.5 now.

<deleted-account> commented on 2011-07-11 20:28 (UTC)

The soname of the javascript library changed, and they changed the API. So I need to come up with a fix. Thanks for the report.