Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
5
Star
0
Fork
4
src-openEuler
/
openwebbeans
Code
Issues
1
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
【22.03-LTS-SP2 round2】【arm/x86】openwebbeans自编译失败
Done
#I7AT0S
Bug
张鹭
Opened this issue
2023-06-05 09:39
【环境信息】 软件信息: 1) OS版本及分支:openEuler 22.03 (LTS-SP2) 2) 内核信息:5.10.0-152.0.0.78.oe2203sp2 【操作步骤】 1、yumdownloader --source openwebbeans 2、rpm -i openwebbeans-1.2.8-1.oe2203sp2.src.rpm 3、rpmbuild -ba openwebbeans.spec  [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ openwebbeans-el22 --- [INFO] Building jar: /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-el22/target/openwebbeans-el22-1.2.8.jar [INFO] [INFO] --------------< org.apache.openwebbeans:openwebbeans-web >-------------- [INFO] Building Web plugin 1.2.8 [6/18] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ openwebbeans-web --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ openwebbeans-web --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ openwebbeans-web --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ openwebbeans-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 5 resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ openwebbeans-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/target/classes [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/EnterpriseTestLifeCycle.java: Some input files use or override a deprecated API. [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/EnterpriseTestLifeCycle.java: Recompile with -Xlint:deprecation for details. [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java: /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java uses unchecked or unsafe operations. [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java:[39,8] org.apache.webbeans.web.lifecycle.test.MockServletContext is not abstract and does not override abstract method setResponseCharacterEncoding(java.lang.String) in javax.servlet.ServletContext [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache OpenWebBeans [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache OpenWebBeans 1.2.8: [INFO] [INFO] Apache OpenWebBeans ................................ SUCCESS [ 1.597 s] [INFO] SPI definition ..................................... SUCCESS [ 2.132 s] [INFO] OpenWebBeans Core .................................. SUCCESS [ 15.963 s] [INFO] EE Common plugin ................................... SUCCESS [ 0.323 s] [INFO] EL 2.2 plugin ...................................... SUCCESS [ 10.331 s] [INFO] Web plugin ......................................... FAILURE [ 0.285 s] [INFO] EJB plugin ......................................... SKIPPED [INFO] Java EE plugin ..................................... SKIPPED [INFO] Tomcat 7 plugin .................................... SKIPPED [INFO] JMS plugin ......................................... SKIPPED [INFO] JSF-2 plugin ....................................... SKIPPED [INFO] Clustering Plugin .................................. SKIPPED [INFO] EE Resource plugin ................................. SKIPPED [INFO] EE Resource plugin ................................. SKIPPED [INFO] OSGi plugin ........................................ SKIPPED [INFO] CDI Test Framework ................................. SKIPPED [INFO] CDI Testing API .................................... SKIPPED [INFO] OWB Testing plugin ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.423 s [INFO] Finished at: 2023-06-05T09:35:28+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project openwebbeans-web: Compilation failure [ERROR] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java:[39,8] org.apache.webbeans.web.lifecycle.test.MockServletContext is not abstract and does not override abstract method setResponseCharacterEncoding(java.lang.String) in javax.servlet.ServletContext [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :openwebbeans-web error: Bad exit status from /var/tmp/rpm-tmp.yX8AHF (%build) RPM build errors: line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-arquillian line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-cdi11 line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-arquillian line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-cdi11 Bad exit status from /var/tmp/rpm-tmp.yX8AHF (%build) 【预期结果】编译成功 【实际结果】编译失败 【附件信息】 repo: [everything] name=everything baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/everything/$basearch enabled=1 gpgcheck=1 gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/everything/$basearch/RPM-GPG-KEY-openEuler [EPOL] name=EPOL baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/EPOL/main/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/OS/$basearch/RPM-GPG-KEY-openEuler [source] name=source baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/source/ enabled=1 gpgcheck=1 gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/source/$basearch/RPM-GPG-KEY-openEuler
【环境信息】 软件信息: 1) OS版本及分支:openEuler 22.03 (LTS-SP2) 2) 内核信息:5.10.0-152.0.0.78.oe2203sp2 【操作步骤】 1、yumdownloader --source openwebbeans 2、rpm -i openwebbeans-1.2.8-1.oe2203sp2.src.rpm 3、rpmbuild -ba openwebbeans.spec  [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ openwebbeans-el22 --- [INFO] Building jar: /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-el22/target/openwebbeans-el22-1.2.8.jar [INFO] [INFO] --------------< org.apache.openwebbeans:openwebbeans-web >-------------- [INFO] Building Web plugin 1.2.8 [6/18] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ openwebbeans-web --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ openwebbeans-web --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (process-resource-bundles) @ openwebbeans-web --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ openwebbeans-web --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] Copying 5 resources [INFO] Copying 5 resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ openwebbeans-web --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 14 source files to /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/target/classes [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/EnterpriseTestLifeCycle.java: Some input files use or override a deprecated API. [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/EnterpriseTestLifeCycle.java: Recompile with -Xlint:deprecation for details. [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java: /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java uses unchecked or unsafe operations. [INFO] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java:[39,8] org.apache.webbeans.web.lifecycle.test.MockServletContext is not abstract and does not override abstract method setResponseCharacterEncoding(java.lang.String) in javax.servlet.ServletContext [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Apache OpenWebBeans [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Apache OpenWebBeans 1.2.8: [INFO] [INFO] Apache OpenWebBeans ................................ SUCCESS [ 1.597 s] [INFO] SPI definition ..................................... SUCCESS [ 2.132 s] [INFO] OpenWebBeans Core .................................. SUCCESS [ 15.963 s] [INFO] EE Common plugin ................................... SUCCESS [ 0.323 s] [INFO] EL 2.2 plugin ...................................... SUCCESS [ 10.331 s] [INFO] Web plugin ......................................... FAILURE [ 0.285 s] [INFO] EJB plugin ......................................... SKIPPED [INFO] Java EE plugin ..................................... SKIPPED [INFO] Tomcat 7 plugin .................................... SKIPPED [INFO] JMS plugin ......................................... SKIPPED [INFO] JSF-2 plugin ....................................... SKIPPED [INFO] Clustering Plugin .................................. SKIPPED [INFO] EE Resource plugin ................................. SKIPPED [INFO] EE Resource plugin ................................. SKIPPED [INFO] OSGi plugin ........................................ SKIPPED [INFO] CDI Test Framework ................................. SKIPPED [INFO] CDI Testing API .................................... SKIPPED [INFO] OWB Testing plugin ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.423 s [INFO] Finished at: 2023-06-05T09:35:28+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project openwebbeans-web: Compilation failure [ERROR] /root/rpmbuild/BUILD/openwebbeans-1.2.8/webbeans-web/src/main/java/org/apache/webbeans/web/lifecycle/test/MockServletContext.java:[39,8] org.apache.webbeans.web.lifecycle.test.MockServletContext is not abstract and does not override abstract method setResponseCharacterEncoding(java.lang.String) in javax.servlet.ServletContext [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :openwebbeans-web error: Bad exit status from /var/tmp/rpm-tmp.yX8AHF (%build) RPM build errors: line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-arquillian line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-cdi11 line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-arquillian line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: openwebbeans-cdi11 Bad exit status from /var/tmp/rpm-tmp.yX8AHF (%build) 【预期结果】编译成功 【实际结果】编译失败 【附件信息】 repo: [everything] name=everything baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/everything/$basearch enabled=1 gpgcheck=1 gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/everything/$basearch/RPM-GPG-KEY-openEuler [EPOL] name=EPOL baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/EPOL/main/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/OS/$basearch/RPM-GPG-KEY-openEuler [source] name=source baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/source/ enabled=1 gpgcheck=1 gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-22.03-LTS-SP2/rc2_openeuler-2023-05-25-18-39-41/source/$basearch/RPM-GPG-KEY-openEuler
Comments (
3
)
Sign in
to comment
Status
Done
Backlog
已挂起
Fixing
Confirmed
Done
Accepted
Canceled
Assignees
Not set
caodongxia
caodongxia
Assignee
Collaborator
+Assign
+Mention
Labels
sig/sig-Java
Not set
Projects
Unprojected
Unprojected
Milestones
openEuler-22.03-LTS-SP2-round-2
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (25)
Tags (21)
master
openEuler-24.03-LTS-Next
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2
openEuler-24.09
openEuler-25.03
openEuler-25.09
openEuler-24.03-LTS
openEuler-22.03-LTS-Next
openEuler-22.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP2
openEuler-20.03-LTS-Next
openEuler-20.03-LTS-SP1
openEuler-20.03-LTS-SP2
openEuler-20.03-LTS-SP3
openEuler-20.03-LTS-SP4
openEuler-20.09
openEuler-21.03
openEuler-21.09
openEuler-22.03-LTS
openEuler-22.03-LTS-SP1
openEuler-22.09
openEuler-23.03
openEuler-23.09
openEuler-24.03-LTS-SP2-release
openEuler-25.03-release
openEuler-24.03-LTS-SP1-release
openEuler-22.03-LTS-SP4-release
openEuler-24.09-release
openEuler-24.03-LTS-release
openEuler-22.03-LTS-SP3-release
openEuler-23.09-rc5
openEuler-22.03-LTS-SP1-release
openEuler-22.09-release
openEuler-22.09-rc5
openEuler-22.09-20220829
openEuler-22.03-LTS-20220331
openEuler-22.03-LTS-round5
openEuler-22.03-LTS-round3
openEuler-22.03-LTS-round2
openEuler-22.03-LTS-round1
openEuler-20.03-LTS-SP3-release
openEuler-20.03-LTS-SP2-20210624
openEuler-21.03-20210330
openEuler-20.09-20200928
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/src-openeuler/openwebbeans.git
git@gitee.com:src-openeuler/openwebbeans.git
src-openeuler
openwebbeans
openwebbeans
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register