Closed Artoria2e5 closed 8 years ago
The tradition epoch that I said is: If you do not attach such an epoch, your package will be denied by rpm, and your system won't be LSB-complicant
---- Mingye Wang编写 ----
The current RPMEPOCH design is a leftover before ab2-port introduction.
When I designed the PKGEPOCH in ab2-port, it was intended to be a fully rpm-compliant epoch, so it was only a bash integer, without anything fancy like makepkg floats.
Additionally, using a separate EPOCH lead to inconsistent outputs from pm_getver
, since RPM only knows about the epoch being written in the spec.
Solution: In pm.sh, declare -n RPMEPOCH=PKGEPOCH
.
Reply to this email directly or view it on GitHub: https://github.com/AOSC-Dev/autobuild3/issues/79
Yes, and perl is the classic case in the discussion. 2015年12月17日 下午9:42,"Icenowy Zheng" notifications@github.com写道:
The tradition epoch that I said is: If you do not attach such an epoch, your package will be denied by rpm, and your system won't be LSB-complicant
- 发送自我的Sony Xperia™智能手机
---- Mingye Wang编写 ----
The current RPMEPOCH design is a leftover before ab2-port introduction.
When I designed the PKGEPOCH in ab2-port, it was intended to be a fully rpm-compliant epoch, so it was only a bash integer, without anything fancy like makepkg floats.
Additionally, using a separate EPOCH lead to inconsistent outputs from
pm_getver
, since RPM only knows about the epoch being written in the spec.Solution: In pm.sh,
declare -n RPMEPOCH=PKGEPOCH
.
Reply to this email directly or view it on GitHub: https://github.com/AOSC-Dev/autobuild3/issues/79
— Reply to this email directly or view it on GitHub https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165672221.
So just make a declare -i PKGEPOCH
in pmlib. This is fscking easy.
The problem is do we want the hacky bit that RPM requires to be found on DPKG as well... 2015年12月17日 下午9:44,"Mingye Wang" notifications@github.com写道:
So just make a declare -i PKGEPOCH in pmlib.
— Reply to this email directly or view it on GitHub https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165672378.
The problem is with a fscking inconsistent output from pm_getver
, your dependency info generated is fscking bootstrap.
Here's a solution: add the global epoch to rpm levels
---- Mingye Wang编写 ----
The problem is with a fscking inconsistent output from pm_getver
, your dependency info generated is fscking bootstrap.
Reply to this email directly or view it on GitHub: https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165672516
Very true. But calm down. A unity on version payload is not a issue on functionality anyways, I mean, I can live with an extra epoch can't I... 2015年12月17日 下午9:46,"Mingye Wang" notifications@github.com写道:
The problem is with a fscking inconsistent output from pm_getver, your dependency info generated is fscking bootstrap.
— Reply to this email directly or view it on GitHub https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165672516.
Just make them the same. Already said that in comment 0.
Design failure is design failure. Remove it before people get used to it.
Explain that a little further? 2015年12月17日 下午9:48,"Icenowy Zheng" notifications@github.com写道:
Here's a solution: add the global epoch to rpm levels
- 发送自我的Sony Xperia™智能手机
---- Mingye Wang编写 ----
The problem is with a fscking inconsistent output from
pm_getver
, your dependency info generated is fscking bootstrap.
Reply to this email directly or view it on GitHub: https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165672516
— Reply to this email directly or view it on GitHub https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165672731.
I will agree with you on this point. Please proceed. 2015年12月17日 下午9:50,"Mingye Wang" notifications@github.com写道:
Design failure is design failure. Remove it before people get used to it.
— Reply to this email directly or view it on GitHub https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165672939.
Too lazy to touch the code. All solutions are there, just apply them yourself.
I am wiping the OpenJDK butt.
Alright, tomorrow morning. 2015年12月17日 下午9:57,"Mingye Wang" notifications@github.com写道:
Too lazy to touch the code. All solutions are there, just apply them yourself.
I am wiping the OpenJDK butt.
— Reply to this email directly or view it on GitHub https://github.com/AOSC-Dev/autobuild3/issues/79#issuecomment-165673562.
?
The current RPMEPOCH design is a leftover before ab2-port introduction.
When I designed the PKGEPOCH in ab2-port, it was intended to be a fully rpm-compliant epoch, so it was only a bash integer, without anything fancy like makepkg floats. Yes, no need for a separate epoch.
Additionally, using a separate EPOCH lead to inconsistent outputs from
pm_getver
, since RPM only knows about the epoch being written in the spec.Solution: In pm.sh,
declare -n RPMEPOCH=PKGEPOCH
.