fusesource / leveldbjni

A Java Native Interface to LevelDB
BSD 3-Clause "New" or "Revised" License
536 stars 143 forks source link

leveldbjni build failing #11

Closed postmaxin closed 11 years ago

postmaxin commented 12 years ago

Hi, I am trying to build leveldbjni following the directions and I get a build error pretty late in. leveldb and snappy build and leveldbjni mostly builds, but when I try to build linux64, it seems like it is missing files. How can this be resolved?

[...]

[INFO] --- maven-hawtjni-plugin:1.5:build (default) @ leveldbjni-linux64 --- Downloading: http://repo.fusesource.com/nexus/content/groups/public-snapshots/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT-native-src.zip Downloading: https://oss.sonatype.org/content/repositories/public/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT-native-src.zip [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21.704s [INFO] Finished at: Thu Apr 19 11:39:28 PDT 2012 [INFO] Final Memory: 12M/981M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.fusesource.hawtjni:maven-hawtjni-plugin:1.5:build (default) on project leveldbjni-linux64: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist. Could not find artifact org.fusesource.leveldbjni:leveldbjni:zip:native-src:99-master-SNAPSHOT in fusesource.nexus.snapshot (http://repo.fusesource.com/nexus/content/groups/public-snapshots) [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.fusesource.leveldbjni -DartifactId=leveldbjni -Dversion=99-master-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.fusesource.leveldbjni -DartifactId=leveldbjni -Dversion=99-master-SNAPSHOT -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.fusesource.leveldbjni:leveldbjni:zip:99-master-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] fusesource.nexus.snapshot (http://repo.fusesource.com/nexus/content/groups/public-snapshots, releases=true, snapshots=true), [ERROR] sonatype-nexus (https://oss.sonatype.org/content/repositories/public, releases=true, snapshots=true), [ERROR] fusesource-releases (http://repo.fusesource.com/nexus/content/groups/public, releases=true, snapshots=false), [ERROR] fusesource-snapshots (http://repo.fusesource.com/nexus/content/groups/public-snapshots, releases=false, snapshots=true), [ERROR] central (http://repo1.maven.org/maven2, releases=true, snapshots=false) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

tarung commented 12 years ago

I also got the same error while trying to build on fedora 64 bit Please let me know if you were able around this problem ?

tarung commented 12 years ago

I think it tries to download http://repo.fusesource.com/nexus/content/groups/public-snapshots/org/fusesource/leveldbjni/leveldbjni/99-master-SNAPSHOT/leveldbjni-99-master-SNAPSHOT-native-src.zip but the location is moved to somewhere else. -Urgent help needed.

-Regards Tarun

postmaxin commented 12 years ago

No, I haven't made any progress. I think we need to track down who is responsible for releasing leveldbjni... hmm

michael-apptornado commented 12 years ago

Same problem here...

jasonhowes commented 12 years ago

Looks like you need to checkout the 1.2 tag. So instead of just:

git clone git://github.com/fusesource/leveldbjni.git

do this:

git clone git://github.com/fusesource/leveldbjni.git
cd leveldbjni; git checkout leveldbjni-1.2 ; cd -
chirino commented 11 years ago

Is it still failing for you guys against the lastest trunk?

chirino commented 11 years ago

closing as reporter is not responding.