Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev-java/h2: H2DB failed to compile #52

Open
vizv opened this issue Oct 27, 2021 · 0 comments
Open

dev-java/h2: H2DB failed to compile #52

vizv opened this issue Oct 27, 2021 · 0 comments

Comments

@vizv
Copy link

vizv commented Oct 27, 2021

Got the following error:

...
>>> Compiling source in /var/tmp/portage/dev-java/h2-1.3.176/work/h2 ...                                                                                                                       
find: ‘src/main src/tools/org/h2/dev src/tools/org/h2/jaqu src/tools/org/h2/mode’: No such file or directory                                                                                   
find: ‘src/main src/tools/org/h2/dev src/tools/org/h2/jaqu src/tools/org/h2/mode’: No such file or directory
 * Compiling ...                                                                               
javac: no source files                                                                                                                                                                         
Usage: javac <options> <source files>                                                          
use -help for a list of possible options 
...

fixed with:

diff --git a/dev-java/h2/h2-1.3.176.ebuild b/dev-java/h2/h2-1.3.176.ebuild
index acbc6570..7b55b9bd 100644
--- a/dev-java/h2/h2-1.3.176.ebuild
+++ b/dev-java/h2/h2-1.3.176.ebuild
@@ -36,7 +36,7 @@ RDEPEND="${CDEPEND}
        >=virtual/jre-1.7"
 
 S="${WORKDIR}/${PN}"
-JAVA_SRC_DIR="src/main src/tools/org/h2/dev src/tools/org/h2/jaqu src/tools/org/h2/mode"
+JAVA_SRC_DIR=(src/main src/tools/org/h2/dev src/tools/org/h2/jaqu src/tools/org/h2/mode)
 JAVA_GENTOO_CLASSPATH="jts-core,lucene-3.6,osgi-core-api,osgi-enterprise-api,servlet-api-2.4,slf4j-api"
 
 java_prepare() {

see java-pkg-simple_src_compile in java-pkg-simple.eclass, which expect JAVA_SRC_DIR to be a bash array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant