Advertisement
Belgos1958

Untitled

Oct 18th, 2021
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 12.16 KB | None | 0 0
  1. prt-get: installing /usr/ports/contrib/ant
  2. prt-get: starting build Mon Oct 18 11:41:22 2021
  3. =======> Building '/home/pkgmk/pkg/ant#1.10.11-1.pkg.tar.gz'.
  4. bsdtar -p -o -C /home/pkgmk/work/ant/src -xf /home/pkgmk/src/apache-ant-1.10.11-src.tar.xz
  5. cp ant.conf /home/pkgmk/work/ant/src
  6. + build
  7. + cd apache-ant-1.10.11
  8. + sed -i 's|/usr/bin/python|/usr/bin/python2|' src/script/runant.py
  9. + unset JAVA_HOME
  10. + export JAVA_HOME=/usr/lib/java/openjdk16-jdk
  11. + JAVA_HOME=/usr/lib/java/openjdk16-jdk
  12. + ./bootstrap.sh
  13. ... Bootstrapping Ant Distribution
  14. ... Compiling Ant Classes with --release 8
  15. Note: Some input files use or override a deprecated API.
  16. Note: Recompile with -Xlint:deprecation for details.
  17. ... Copying Required Files
  18. ... Building Ant Distribution
  19. Buildfile: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build.xml
  20.  
  21. bootstrap:
  22.  
  23. check-optional-packages:
  24.  
  25. prepare:
  26.  
  27. compile:
  28. Compiling 297 source files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes
  29. Ignoring source, target and bootclasspath as release has been set
  30. warning: unknown enum constant Status.STABLE
  31.   reason: class file for org.apiguardian.api.API$Status not found
  32. warning: unknown enum constant Status.STABLE
  33. warning: unknown enum constant Status.STABLE
  34. warning: unknown enum constant Status.INTERNAL
  35. warning: unknown enum constant Status.STABLE
  36. warning: unknown enum constant Status.INTERNAL
  37. warning: unknown enum constant Status.STABLE
  38. warning: unknown enum constant Status.STABLE
  39. warning: unknown enum constant Status.STABLE
  40. warning: unknown enum constant Status.EXPERIMENTAL
  41. warning: unknown enum constant Status.EXPERIMENTAL
  42. warning: unknown enum constant Status.STABLE
  43. warning: unknown enum constant Status.STABLE
  44. warning: unknown enum constant Status.STABLE
  45. warning: unknown enum constant Status.STABLE
  46. warning: unknown enum constant Status.STABLE
  47. warning: unknown enum constant Status.STABLE
  48. warning: unknown enum constant Status.MAINTAINED
  49. warning: unknown enum constant Status.MAINTAINED
  50. warning: unknown enum constant Status.STABLE
  51. warning: unknown enum constant Status.STABLE
  52. warning: unknown enum constant Status.STABLE
  53. warning: unknown enum constant Status.STABLE
  54. warning: unknown enum constant Status.STABLE
  55. warning: unknown enum constant Status.STABLE
  56. warning: unknown enum constant Status.INTERNAL
  57. warning: unknown enum constant Status.INTERNAL
  58. Note: Some input files use or override a deprecated API.
  59. Note: Recompile with -Xlint:deprecation for details.
  60. 27 warnings
  61. Creating empty /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes/org/apache/tools/ant/taskdefs/optional/junitlauncher/package-info.class
  62.  
  63. compile-jdk9+:
  64. Compiling 3 source files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes
  65. warning: [options] bootstrap class path not set in conjunction with -source 8
  66. 1 warning
  67. Creating empty /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes/org/apache/tools/ant/taskdefs/modules/package-info.class
  68.  
  69. build:
  70. Deleting directory /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined
  71. Compiling 11 source files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes
  72. Ignoring source, target and bootclasspath as release has been set
  73. Creating empty /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes/org/apache/tools/ant/taskdefs/optional/junitlauncher/confined/package-info.class
  74. Copying 6 files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes
  75. Copying 2 files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes
  76. Copying 4 files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/classes/org/apache/tools/ant/taskdefs/optional/junit/xsl
  77.  
  78. jars:
  79. Copying 2 files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build
  80. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-launcher.jar
  81. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant.jar
  82. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-bootstrap.jar
  83. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-apache-resolver.jar
  84. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-junit.jar
  85. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-junit4.jar
  86. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-junitlauncher.jar
  87. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-apache-regexp.jar
  88. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-apache-oro.jar
  89. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-apache-bcel.jar
  90. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-apache-log4j.jar
  91. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-commons-logging.jar
  92. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-apache-bsf.jar
  93. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-javamail.jar
  94. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-netrexx.jar
  95. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-commons-net.jar
  96. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-antlr.jar
  97. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-imageio.jar
  98. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-jmf.jar
  99. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-jai.jar
  100. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-swing.jar
  101. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-jsch.jar
  102. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-jdepend.jar
  103. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-apache-xalan2.jar
  104. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-xz.jar
  105.  
  106. compile-tests:
  107. Created dir: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/testcases
  108. Compiling 336 source files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/testcases
  109. Ignoring source, target and bootclasspath as release has been set
  110. warning: unknown enum constant Status.STABLE
  111.   reason: class file for org.apiguardian.api.API$Status not found
  112. warning: unknown enum constant Status.STABLE
  113. warning: unknown enum constant Status.STABLE
  114. warning: unknown enum constant Status.STABLE
  115. warning: unknown enum constant Status.INTERNAL
  116. warning: unknown enum constant Status.STABLE
  117. warning: unknown enum constant Status.STABLE
  118. warning: unknown enum constant Status.INTERNAL
  119. warning: unknown enum constant Status.STABLE
  120. warning: unknown enum constant Status.STABLE
  121. warning: unknown enum constant Status.STABLE
  122. warning: unknown enum constant Status.STABLE
  123. warning: unknown enum constant Status.STABLE
  124. warning: unknown enum constant Status.STABLE
  125. warning: unknown enum constant Status.STABLE
  126. warning: unknown enum constant Status.STABLE
  127. warning: unknown enum constant Status.STABLE
  128. warning: unknown enum constant Status.STABLE
  129. Note: Some input files use or override a deprecated API.
  130. Note: Recompile with -Xlint:deprecation for details.
  131. 18 warnings
  132. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/testcases/org/apache/tools/ant/taskdefs/test2-antlib.jar
  133.  
  134. test-jar:
  135. Building jar: /home/pkgmk/work/ant/src/apache-ant-1.10.11/build/lib/ant-testutil.jar
  136.  
  137. -ant-dist-warn-jdk9+:
  138.  
  139. dist-lite:
  140. Created dir: /home/pkgmk/work/ant/src/apache-ant-1.10.11/bootstrap
  141. Created dir: /home/pkgmk/work/ant/src/apache-ant-1.10.11/bootstrap/bin
  142. Created dir: /home/pkgmk/work/ant/src/apache-ant-1.10.11/bootstrap/lib
  143. Copying 25 files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/bootstrap/lib
  144. Copying 13 files to /home/pkgmk/work/ant/src/apache-ant-1.10.11/bootstrap/bin
  145.  
  146. BUILD SUCCESSFUL
  147. Total time: 6 seconds
  148. ... Cleaning Up Build Directories
  149. ... Done Bootstrapping Ant Distribution
  150. + bootstrap/bin/ant -Ddest=optional -f fetch.xml
  151. Buildfile: /home/pkgmk/work/ant/src/apache-ant-1.10.11/fetch.xml
  152.  
  153. pick-dest:
  154.      [echo] Downloading to /home/pkgmk/work/ant/src/apache-ant-1.10.11/lib/optional
  155.  
  156. probe-m2:
  157.  
  158. download-m2:
  159.      [echo] Downloading to /home/pkgmk/work/ant/src/apache-ant-1.10.11/lib/optional
  160.       [get] Getting: https://archive.apache.org/dist/maven/ant-tasks/2.1.3/binaries/maven-ant-tasks-2.1.3.jar
  161.       [get] To: /home/pkgmk/work/ant/src/apache-ant-1.10.11/lib/optional/maven-ant-tasks-2.1.3.jar
  162.       [get] ....................................................
  163.       [get] .............................
  164.  
  165. dont-validate-m2-checksum:
  166.  
  167. validate-m2-checksum:
  168.  
  169. checksum-mismatch:
  170.  
  171. checksum-match:
  172.  
  173. get-m2:
  174.  
  175. macros:
  176.  
  177. init:
  178.  
  179. antunit:
  180. [artifact:dependencies] Downloading: org/apache/ant/ant-antunit/1.4.1/ant-antunit-1.4.1.pom from repository central at https://repo1.maven.org/maven2/
  181. [artifact:dependencies] [WARNING] Unable to get resource 'org.apache.ant:ant-antunit:pom:1.4.1' from repository central (https://repo1.maven.org/maven2/): Specified destination directory cannot be created: /root/.m2/repository/org/apache/ant/ant-antunit/1.4.1
  182. [artifact:dependencies] Downloading: org/apache/ant/ant-antunit/1.4.1/ant-antunit-1.4.1.jar from repository central at https://repo1.maven.org/maven2/
  183. [artifact:dependencies] [WARNING] Unable to get resource 'org.apache.ant:ant-antunit:jar:1.4.1' from repository central (https://repo1.maven.org/maven2/): Specified destination directory cannot be created: /root/.m2/repository/org/apache/ant/ant-antunit/1.4.1
  184. [artifact:dependencies] An error has occurred while processing the Maven artifact tasks.
  185. [artifact:dependencies]  Diagnosis:
  186. [artifact:dependencies]
  187. [artifact:dependencies] Unable to resolve artifact: Missing:
  188. [artifact:dependencies] ----------
  189. [artifact:dependencies] 1) org.apache.ant:ant-antunit:jar:1.4.1
  190. [artifact:dependencies]
  191. [artifact:dependencies]   Try downloading the file manually from the project website.
  192. [artifact:dependencies]
  193. [artifact:dependencies]   Then, install it using the command:
  194. [artifact:dependencies]       mvn install:install-file -DgroupId=org.apache.ant -DartifactId=ant-antunit -Dversion=1.4.1 -Dpackaging=jar -Dfile=/path/to/file
  195. [artifact:dependencies]
  196. [artifact:dependencies]   Alternatively, if you host your own repository you can deploy the file there:
  197. [artifact:dependencies]       mvn deploy:deploy-file -DgroupId=org.apache.ant -DartifactId=ant-antunit -Dversion=1.4.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  198. [artifact:dependencies]
  199. [artifact:dependencies]   Path to dependency:
  200. [artifact:dependencies]     1) org.apache.maven:super-pom:pom:2.0
  201. [artifact:dependencies]     2) org.apache.ant:ant-antunit:jar:1.4.1
  202. [artifact:dependencies]
  203. [artifact:dependencies] ----------
  204. [artifact:dependencies] 1 required artifact is missing.
  205. [artifact:dependencies]
  206. [artifact:dependencies] for artifact:
  207. [artifact:dependencies]   org.apache.maven:super-pom:pom:2.0
  208. [artifact:dependencies]
  209. [artifact:dependencies] from the specified remote repositories:
  210. [artifact:dependencies]   central (https://repo1.maven.org/maven2/)
  211. [artifact:dependencies]
  212. [artifact:dependencies]
  213.  
  214. BUILD FAILED
  215. /home/pkgmk/work/ant/src/apache-ant-1.10.11/fetch.xml:212: The following error occurred while executing this line:
  216. /home/pkgmk/work/ant/src/apache-ant-1.10.11/fetch.xml:122: Unable to resolve artifact: Missing:
  217. ----------
  218. 1) org.apache.ant:ant-antunit:jar:1.4.1
  219.  
  220.   Try downloading the file manually from the project website.
  221.  
  222.   Then, install it using the command:
  223.       mvn install:install-file -DgroupId=org.apache.ant -DartifactId=ant-antunit -Dversion=1.4.1 -Dpackaging=jar -Dfile=/path/to/file
  224.  
  225.   Alternatively, if you host your own repository you can deploy the file there:
  226.       mvn deploy:deploy-file -DgroupId=org.apache.ant -DartifactId=ant-antunit -Dversion=1.4.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
  227.  
  228.   Path to dependency:
  229.     1) org.apache.maven:super-pom:pom:2.0
  230.     2) org.apache.ant:ant-antunit:jar:1.4.1
  231.  
  232. ----------
  233. 1 required artifact is missing.
  234.  
  235. for artifact:
  236.   org.apache.maven:super-pom:pom:2.0
  237.  
  238. from the specified remote repositories:
  239.   central (https://repo1.maven.org/maven2/)
  240.  
  241.  
  242.  
  243. Total time: 2 seconds
  244. =======> ERROR: Building '/home/pkgmk/pkg/ant#1.10.11-1.pkg.tar.gz' failed.
  245.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement