[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building mysql-workbench-community cannot find cairo.h
From: |
Luis Felipe |
Subject: |
Re: Building mysql-workbench-community cannot find cairo.h |
Date: |
Mon, 21 Oct 2024 18:36:43 +0000 |
User-agent: |
Icedove Daily |
Hi Simen,
On 20/10/24 16:41, Simen Endsjø wrote:
Hi, I need some help packaging mysql-workbench.
I'm using
https://git.sr.ht/~yewscion/yewscion-guix-channel/tree/trunk/item/cdr255/utils.scm#L985
as a base. That channel doesn't work, but it seems pretty complete although
maybe not 100% up to date.
I pushed my changes to a branch in case someone want to give it a go:
https://codeberg.org/simendsjo/dotfiles/src/branch/wip-mysql-package/sijo/packages/mysql.scm#L117
When trying to build this, I get an error:
/tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/source/library/forms/swig/cairo.i:180:
Error: Unable to find 'cairo/cairo.h'
I'm not familiar with building MySQL Workbench, but I get a different
error while trying to build it from your branch:
#+begin_example
$ guix build -L . --cores=1 mysql-workbench-community
...
[ 47%] [mysql] Generating parser files...
cd
/tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/source/library/parsers/grammars
&& /gnu/store/71aka05f0ldz2x3wf3491iz488qxgqk3-icedtea-2.6.13/bin/java
-Xmx1024m -jar
/gnu/store/zbzixk2v8vnc0i4xzg73q8f3lfm0ybw3-antlr4-4.10.1/share/java/antlr4.jar/antlr-4.13.2-complete.jar
-Dlanguage=Cpp -listener -visitor -o ../mysql -package parsers
/tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/source/library/parsers/grammars/MySQLLexer.g4
/tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/source/library/parsers/grammars/MySQLParser.g4
Error: Unable to access jarfile
/gnu/store/zbzixk2v8vnc0i4xzg73q8f3lfm0ybw3-antlr4-4.10.1/share/java/antlr4.jar/antlr-4.13.2-complete.jar
make[2]: ***
[library/parsers/CMakeFiles/generate_parser_mysql.dir/build.make:90:
/tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/source/library/parsers/mysql/MySQLLexer.h]
Error 1
make[2]: Leaving directory
'/tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:1986:
library/parsers/CMakeFiles/generate_parser_mysql.dir/all] Error 2
make[1]: Leaving directory
'/tmp/guix-build-mysql-workbench-community-8.0.40-1.a7478f6.drv-0/build'
make: *** [Makefile:139: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "1")
exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 980.0 seconds
command "make" "-j" "1" failed with status 2
build process 6 exited with status 256
#+end_example
I'm not using the channel you pointed to, though, only the mysql.scm
module from your repository and the rest of the packages from the Guix
channel.
Also, even though MySQL Workbench fails to build, the other packages in
the module build correctly, look like free software and useful in their
own, so maybe those can be contributed already to Guix?
Cheers,
OpenPGP_0x0AB0D067012F08C3.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature