【环境信息】
软件信息:
1) OS版本及分支:openEuler 23.03
2) 内核信息:6.1.14-4.0.0.12.oe2303
【操作步骤】
1、yumdownloader --source tycho
2、rpm -i tycho-1.3.0-5.oe2303.src.rpm
3、rpmbuild -ba tycho.spec
【预期结果】编译成功
【实际结果】编译失败
【附件信息】
repo:
[everything]
name=everything
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc3_openeuler-2023-03-11-09-22-01/everything/$basearch
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc3_openeuler-2023-03-11-09-22-01/everything/$basearch/RPM-GPG-KEY-openEuler
[epol]
name=epol
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc3_openeuler-2023-03-11-09-22-01/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc3_openeuler-2023-03-11-09-22-01/OS/$basearch/RPM-GPG-KEY-openEuler
[source]
name=source
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc3_openeuler-2023-03-11-09-22-01/source/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc3_openeuler-2023-03-11-09-22-01/source/$basearch/RPM-GPG-KEY-openEuler
Hi zhanglu626, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: sig-Java, and any of the maintainers: @chong_W , @rita_dong , @雒海波 , @caodongxia , @xu_ping
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
问题原因:jetty自编译依赖mvn(javax.servlet:servlet-api),jakarta-servlet和glassfish-servlet-api同时提供了mvn(javax.servlet:servlet-api),且为不同版本,tycho编译需要依赖低版本的mvn(javax.servlet:servlet-api),自编译时自动安装了jakarta-servlet提供的高版本的mvn(javax.servlet:servlet-api),所以需要对mvn(javax.servlet:servlet-api)的版本进行限制,使其下载依赖包时下载低版本的glassfish-servlet-api
回归测试通过,测试截图如下:
登录 后才可以发表评论