On 7/22/23 20:10, José Matos wrote:
On Sat, 2023-07-22 at 23:59 +0200, Jean-Marc Lasgouttes wrote:
I suspect rpmdist dislikes the hyphens after RC1. Are you sure that
this is typical of rpm naming? You could try underscores instead.
In the past our release nme were more like lyx-2.4.0rc1
Jean-Marc is right regarding the name scheme:
[name]-[version]-[release].[arch].rpm
2.4.0-RC1-devel
does not work but
2.4.0-RC1.devel
would
where 2.4.0 is the version and RC1-devel is the release.
Notice also that nowadays rpm supports the pre-release naming scheme
like
2.4.0~rc1 for the version.
This is only relevant if you plan to later release
lyx-2.4.0-1
to ensure that rpm considers that this version is newer than
lyx-2.4.0~rc1-1 (for example)
OK, after changing the version in configure.ac to 2.4.0~RC1.1, I get
further. But then I get:
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/metainfo/org.lyx.LyX.metainfo.xml
Any idea what that is?
Full rpm-related output below.
Riki
+ TEXMF=/usr/share/texmf
+ mkdir -p
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/texmf/tex/
latex
+ mv
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/lyx/tex
/home/ri
kiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64//usr/share/texmf/tex/latex/lyx
+ cp -a lib/images/lyx.png
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/
share/lyx/images/
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed
2.4.0~RC1.1-2 --uni
que-debug-suffix -2.4.0~RC1.1-2.x86_64 --unique-debug-src-base
lyx-2.4.0~RC1.1-2.x86_64 --
run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000
-S debugsourcefiles
.list /home/rikiheck/rpmbuild/BUILD/lyx-2.4.0~RC1.1
extracting debug info from
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/
bin/lyx
extracting debug info from
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/
bin/lyxclient
extracting debug info from
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/
bin/tex2lyx
/usr/bin/gdb
/usr/bin/gdb
/tmp/tmp.OR6YbGHPBg (1/1)
100 % 4136 B / 21.3 KiB = 0.190
/tmp/tmp.MOjAyU9Hxr (1/1)
100 % 23.5 KiB / 187.6 KiB = 0.125
/usr/bin/gdb
/tmp/tmp.LMb3FJ2a5s (1/1)
100 % 130.1 KiB / 1016.2 KiB = 0.128
original debug info size: 279980kB, size after compression: 232736kB
/usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match.
19714 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
*** WARNING: ./usr/share/lyx/scripts/csv2lyx.py is executable but has no
shebang, removing
executable bit
*** WARNING: ./usr/share/lyx/scripts/fen2ascii.py is executable but has
no shebang, removi
ng executable bit
*** WARNING: ./usr/share/lyx/scripts/prefs2prefs_prefs.py is executable
but has no shebang
, removing executable bit
*** WARNING: ./usr/share/lyx/scripts/fig2pdftex.py is executable but has
no shebang, remov
ing executable bit
*** WARNING: ./usr/share/lyx/scripts/lyxpak.py is executable but has no
shebang, removing
executable bit
*** WARNING: ./usr/share/lyx/scripts/convertDefault.py is executable but
has no shebang, r
emoving executable bit
*** WARNING: ./usr/share/lyx/scripts/clean_dvi.py is executable but has
no shebang, removi
ng executable bit
*** WARNING: ./usr/share/lyx/scripts/legacy_lyxpreview2ppm.py is
executable but has no she
bang, removing executable bit
*** WARNING: ./usr/share/lyx/scripts/fig2pstex.py is executable but has
no shebang, removi
ng executable bit
*** WARNING: ./usr/share/lyx/scripts/lyxpreview2bitmap.py is executable
but has no shebang
, removing executable bit
*** WARNING: ./usr/share/lyx/scripts/lyxpreview_tools.py is executable
but has no shebang,
removing executable bit
*** WARNING: ./usr/share/lyx/scripts/docbook_copy.py is executable but
has no shebang, rem
oving executable bit
*** WARNING: ./usr/share/lyx/scripts/prefs2prefs.py is executable but
has no shebang, remo
ving executable bit
*** WARNING: ./usr/share/lyx/scripts/TeXFiles.py is executable but has
no shebang, removin
g executable bit
*** WARNING: ./usr/share/lyx/scripts/include_bib.py is executable but
has no shebang, remo
ving executable bit
*** WARNING: ./usr/share/lyx/scripts/ext_copy.py is executable but has
no shebang, removin
g executable bit
*** WARNING: ./usr/share/lyx/scripts/html2latexwrapper.py is executable
but has no shebang
, removing executable bit
*** WARNING: ./usr/share/lyx/scripts/convert_pdf.py is executable but
has no shebang, remo
ving executable bit
*** WARNING: ./usr/share/lyx/scripts/docbook2epub.py is executable but
has no shebang, rem
oving executable bit
*** WARNING: ./usr/share/lyx/scripts/layout2layout.py is executable but
has no shebang, re
moving executable bit
*** WARNING: ./usr/share/lyx/scripts/tex_copy.py is executable but has
no shebang, removin
g executable bit
*** WARNING: ./usr/share/lyx/scripts/prefs2prefs_lfuns.py is executable
but has no shebang
, removing executable bit
*** WARNING: ./usr/share/lyx/scripts/fig_copy.py is executable but has
no shebang, removin
g executable bit
+ /usr/lib/rpm/brp-remove-la-files
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: lyx-2.4.0~RC1.1-2.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XktuHp
+ umask 022
+ cd /home/rikiheck/rpmbuild/BUILD
+ cd lyx-2.4.0~RC1.1
+
DOCDIR=/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/doc/lyx
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/d
oc/lyx
+ cp -pr ANNOUNCE
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/doc
/lyx
+ cp -pr COPYING
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/doc/
lyx
+ cp -pr README
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/doc/l
yx
+ cp -pr UPGRADING
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/do
c/lyx
+ cp -pr NEWS
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/doc/lyx
+ cp -pr lib/CREDITS
/home/rikiheck/rpmbuild/BUILDROOT/lyx-2.4.0~RC1.1-2.x86_64/usr/share/
doc/lyx
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(lyx.desktop) lyx = 2.4.0~RC1.1-2
lyx(x86-64) = 2.4.0~R
C1.1-2 mimehandler(application/x-lyx) mimehandler(text/x-lyx)
Requires(interp): /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rp
mlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <=
4.0-1
Requires(post): /bin/sh
Requires(postun): /bin/sh
Requires: /usr/bin/python3 libQt5Core.so.5()(64bit)
libQt5Core.so.5(Qt_5)(64bit) libQt5Cor
e.so.5(Qt_5.15)(64bit) libQt5Gui.so.5()(64bit)
libQt5Gui.so.5(Qt_5)(64bit) libQt5Svg.so.5(
)(64bit) libQt5Svg.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit)
libQt5Widgets.so.5(Qt_5)(
64bit) libQt5X11Extras.so.5()(64bit) libQt5X11Extras.so.5(Qt_5)(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit) li
bc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit)
libc.so.6(GLIBC_2.33)(64bit) libc
.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit)
libc.so.6(GLIBC_2.7)(64bit) libgcc_s.
so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit)
libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64
bit) libm.so.6(GLIBC_2.2.5)(64bit) libmagic.so.1()(64bit)
libstdc++.so.6()(64bit) libstdc+
+.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit)
libstdc++.so.6(CXXABI_1.3.8)
(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.s
o.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit)
libstdc++.so.6(GLIBCXX_3.
4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit)
libstdc++.so.6(GLIBCXX_3.4.20)(64bit) l
ibstdc++.so.6(GLIBCXX_3.4.21)(64bit)
libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(
GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit)
libstdc++.so.6(GLIBCXX_3.4.32
)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libxcb.
so.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH)
Obsoletes: tetex-lyx
Processing files: lyx-debugsource-2.4.0~RC1.1-2.x86_64
Provides: lyx-debugsource = 2.4.0~RC1.1-2 lyx-debugsource(x86-64) =
2.4.0~RC1.1-2
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rp
mlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: lyx-debuginfo-2.4.0~RC1.1-2.x86_64
Provides: debuginfo(build-id) = 0b7b0d5c022c1e438d36edba5ddf2c9219940d78
debuginfo(build-i
d) = 35732b8f4d90501dc06411cadf3d06985298bc1f debuginfo(build-id) =
3bd548452a41dbb71fdeeb
067c2449429417a26d lyx-debuginfo = 2.4.0~RC1.1-2 lyx-debuginfo(x86-64) =
2.4.0~RC1.1-2
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rp
mlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: lyx-debugsource(x86-64) = 2.4.0~RC1.1-2
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/home/rikiheck/rpmbuild/BUILDROO
T/lyx-2.4.0~RC1.1-2.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/share/metainfo/org.lyx.LyX.metainfo.xml
RPM build warnings:
line 14: It's not recommended to have unversioned Obsoletes:
Obsoletes: tetex-lyx
source_date_epoch_from_changelog set but %changelog is missing
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/share/metainfo/org.lyx.LyX.metainfo.xml
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel