When executing this line:

bootstrap/bin/ant -f fetch.xml -Ddest=system || true

to download the runtime dependencies, the build fails with this message:


BUILD FAILED
/usr/src/java/apache-ant/apache-ant-1.10.2/fetch.xml:332: The following
error occurred while executing this line:
/usr/src/java/apache-ant/apache-ant-1.10.2/fetch.xml:122: Unable to resolve
artifact: Missing:
----------
1) javax.media:jai-core:jar:1.1.3

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=javax.media -DartifactId=jai-core
-Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file
there:
      mvn deploy:deploy-file -DgroupId=javax.media -DartifactId=jai-core
-Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]

  Path to dependency:
  1) org.apache.maven:super-pom:pom:2.0
  2) javax.media:jai-core:jar:1.1.3

----------
1 required artifact is missing.

for artifact:
  org.apache.maven:super-pom:pom:2.0

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Presumably this is why you had to download jai-core-1.1.3.jar in the first
place. And I assume the same reason for jai-codec-1.1.3.jar.

This failure is a pain because it stops my script. I think it would be
worth a note in the book mentioning this build failure and assuring LFS
devotees that all runtime dependencies have in fact been downloaded.

jb.
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to