Comments (8)
Comment by beallio
Tuesday Nov 04, 2014 at 08:08 GMT
I successfully built it with java-7-openjdk-amd64 and java-8-oracle. The instructions for debian-based builds may need to be updated. I'm running Ubuntu 14.04.1 LTS.
from airsonic.
Comment by nils-wisiol
Tuesday Nov 04, 2014 at 13:17 GMT
same issue here.
from airsonic.
Comment by nils-wisiol
Tuesday Nov 04, 2014 at 13:31 GMT
Replacing "debian" with "linux" in https://github.com/EugeneKay/subsonic/blob/release/subsonic-installer-debian/pom.xml#L22 fixed it for me
from airsonic.
Comment by rykerwilliams
Tuesday Nov 04, 2014 at 17:59 GMT
The latest comment from @nils-wisiol worked for me.
from airsonic.
Comment by evil666
Tuesday Nov 04, 2014 at 18:10 GMT
Already tried replacing debian with linux and compiling fails. Ill try to build with java-7-openjdk-amd64 and java-8-oracle.
from airsonic.
Comment by evil666
Tuesday Nov 04, 2014 at 18:46 GMT
OK tried with java-7-openjdk-amd64 and also changed the one line on the pom file again. I still get compiling error below.
me@ubuntu:~/subsonic$ mvn -P full -pl subsonic-installer-debian/ -am install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for net.sourceforge.subsonic:subsonic-rest-api:jar:5.0
[WARNING] 'build.plugins.plugin.version' for org.jvnet.jaxb2.maven2:maven-jaxb2-plugin is missing. @ line 17, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Subsonic
[INFO] Subsonic Installer for Debian
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic 5.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.2:analyze-only (analyze) @ subsonic ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ subsonic ---
[INFO] Installing /home/thomas/subsonic/pom.xml to /home/thomas/.m2/repository/net/sourceforge/subsonic/subsonic/5.0/subsonic-5.0.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Subsonic Installer for Debian 5.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (dpkg) @ subsonic-installer-debian ---
[INFO] Executing tasks
main:
[echo] Creating Debian package...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Subsonic .......................................... SUCCESS [1.965s]
[INFO] Subsonic Installer for Debian ..................... FAILURE [4.484s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.962s
[INFO] Finished at: Tue Nov 04 12:40:38 CST 2014
[INFO] Final Memory: 9M/59M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run (dpkg) on project subsonic-installer-debian: An Ant BuildException has occured: Execute failed: java.io.IOException: Cannot run program "fakeroot" (in directory "/home/me/subsonic/subsonic-installer-debian"): error=2, No such file or directory -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :subsonic-installer-debian
from airsonic.
Comment by nils-wisiol
Tuesday Nov 04, 2014 at 18:52 GMT
try installing the fakeroot package
On 11/04/2014 07:46 PM, evil666 wrote:
OK tried with java-7-openjdk-amd64 and also changed the one line on the
pom file again. I still get compiling error below.me@ubuntu:~/subsonic$ mvn -P full -pl subsonic-installer-debian/ -am install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective
model for net.sourceforge.subsonic:subsonic-rest-api:jar:5.0
[WARNING] 'build.plugins.plugin.version' for
org.jvnet.jaxb2.maven2:maven-jaxb2-plugin is missing. @ line 17, column 21
[WARNING]
[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING][INFO]
[INFO] Reactor Build Order:
[INFO]
[INFO] Subsonic
[INFO] Subsonic Installer for Debian
[INFO][INFO]
[INFO] Building Subsonic 5.0
[INFO]
[INFO]
[INFO] --- maven-dependency-plugin:2.2:analyze-only (analyze) @ subsonic ---
[INFO] Skipping pom project
[INFO]
[INFO] --- maven-install-plugin:2.3:install (default-install) @ subsonic ---
[INFO] Installing /home/thomas/subsonic/pom.xml to
/home/thomas/.m2/repository/net/sourceforge/subsonic/subsonic/5.0/subsonic-5.0.pom
[INFO][INFO]
[INFO] Building Subsonic Installer for Debian 5.0
[INFO]
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (dpkg) @
subsonic-installer-debian ---
[INFO] Executing tasksmain:
[echo] Creating Debian package...[INFO]
[INFO] Reactor Summary:
[INFO]
[INFO] Subsonic .......................................... SUCCESS [1.965s]
[INFO] Subsonic Installer for Debian ..................... FAILURE [4.484s][INFO]
[INFO] BUILD FAILURE
[INFO]
[INFO] Total time: 6.962s
[INFO] Finished at: Tue Nov 04 12:40:38 CST 2014
[INFO] Final Memory: 9M/59M[INFO]
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (dpkg) on project
subsonic-installer-debian: An Ant BuildException has occured: Execute
failed: java.io.IOException: Cannot run program "fakeroot" (in directory
"/home/me/subsonic/subsonic-installer-debian"): error=2, No such file or
directory -> [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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR] mvn -rf :subsonic-installer-debian—
Reply to this email directly or view it on GitHub
https://github.com/EugeneKay/subsonic/issues/10#issuecomment-61692206.
from airsonic.
Comment by evil666
Tuesday Nov 04, 2014 at 19:12 GMT
Yep just seen that. Gonna try a fresh pull here in a sec.
Edit:
OK fresh pull, maven2, pom file edited and fakeroot installed = success
Might want to add installing fakeroot to instructions and correct the pom file again.
Thanks for listening and helping
from airsonic.
Related Issues (20)
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- DLNA (10.6.2) doesn't work in TrueNas Jail HOT 3
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Multiple issues around logging in with LDAP enabled
- Auto-login as admin / single-user mode HOT 1
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Dependabot couldn't authenticate with https://dl.bintray.com/ijabz/maven
- Add bookmarking options to web player
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airsonic.