sekikn commented on PR #1335:
URL: https://github.com/apache/bigtop/pull/1335#issuecomment-2693572752

   Tested the PR on Fedora 40 but came across the following error. 
   
   ```
   $ curl -sL https://github.com/apache/bigtop/pull/1335.diff | git apply
   $ sudo bigtop_toolchain/bin/puppetize.sh 
   $ sudo puppet apply --modulepath=$PWD:/etc/puppet/code/modules -e 'include 
bigtop_toolchain::jdk11'
   Notice: Compiled catalog for fedora. in environment production in 0.01 
seconds
   Notice: 
/Stage[main]/Bigtop_toolchain::Jdk11/Package[java-11-openjdk-devel]/ensure: 
created
   Notice: Applied catalog in 29.89 seconds
   $ sudo puppet apply --modulepath=$PWD:/etc/puppet/code/modules -e 'include 
bigtop_toolchain::jdk'
   Notice: Compiled catalog for fedora. in environment production in 0.02 
seconds
   symlink_realpath(/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/cacerts) 
realpath() failed: No such file or directory
   symlink_realpath(/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/cacerts) 
realpath() failed: No such file or directory
   symlink_realpath(/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/cacerts) 
realpath() failed: No such file or directory
   symlink_realpath(/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/cacerts) 
realpath() failed: No such file or directory
   Notice: /Stage[main]/Bigtop_toolchain::Jdk/Package[jdk8]/ensure: created
   Notice: 
/Stage[main]/Bigtop_toolchain::Jdk/File[/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/cacerts]/target:
 target changed 
'../../../../../../../../../../../etc/pki/ca-trust/extracted/java/cacerts' to 
'/etc/pki/java/cacerts'
   Notice: /Stage[main]/Bigtop_toolchain::Jdk/Exec[ensure java 8 is set as 
default]/returns: /usr/lib/jvm/java-1.8.0-openjdk/jre/bin/javac has not been 
configured as an alternative for javac
   Error: 'update-alternatives --set java 
/usr/lib/jvm/java-1.8.0-openjdk/jre/bin/java                     && 
update-alternatives --set javac /usr/lib/jvm/java-1.8.0-openjdk/jre/bin/javac' 
returned 2 instead of one of [0]
   Error: /Stage[main]/Bigtop_toolchain::Jdk/Exec[ensure java 8 is set as 
default]/returns: change from 'notrun' to ['0'] failed: 'update-alternatives 
--set java /usr/lib/jvm/java-1.8.0-openjdk/jre/bin/java                     && 
update-alternatives --set javac /usr/lib/jvm/java-1.8.0-openjdk/jre/bin/javac' 
returned 2 instead of one of [0]
   Notice: Applied catalog in 5.73 seconds
   ```
   
   Maybe `/usr/lib/jvm/java-1.8.0-openjdk/jre/bin/javac` should be 
`/usr/lib/jvm/java-1.8.0-openjdk/bin/javac`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to