Bug 1983601 - Review Request: guile30 - A GNU implementation of Scheme for application extensibility
Summary: Review Request: guile30 - A GNU implementation of Scheme for application exte...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Engelhard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-19 08:00 UTC by Tomas Korbar
Modified: 2021-08-04 10:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-08-04 10:18:34 UTC
Type: ---
Embargoed:
ce: fedora-review+


Attachments (Terms of Use)

Description Tomas Korbar 2021-07-19 08:00:38 UTC
Spec URL: https://tkorbar.fedorapeople.org/guile3.spec
SRPM URL: https://tkorbar.fedorapeople.org/guile3-3.0.7-1.fc35.src.rpm
Description:
GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library
implementation of the Scheme programming language, written in C.  GUILE
provides a machine-independent execution platform that can be linked in
as a library during the building of extensible programs.
Fedora Account System Username: tkorbar

Comment 1 Christopher Engelhard 2021-07-20 10:35:42 UTC
Full review below, please let me know if you have any questions. The package is generally OK, apart from the issues listed below.

One question from my side:
Is /usr/lib64/guile/3.0/extensions/guile-readline.so* something that is supposed to be generally available or is that
guile-internal like the stuff in .../ccache ?

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


Issues:
=======
- [MUST] If your application is a C or C++ application you must list a
  BuildRequires against gcc, gcc-c++ or clang. Please add BuildRequires: gcc

- [MUST] There are some directories that should be owned by this package but aren't:
  /usr/share/guile/site/3.0, /usr/share/guile/3.0/scheme, /usr/share/guile/site
  Please add them to %files

- [MUST] Texinfo files are installed using install-info in %post and %preun if
  package has .info files.

- [MUST] Some parts of the code seem to be MIT/GPL/PublicDomain licensed, rather than LGPL,
  please check if these end up in the package
    MIT License:
     - guile-3.0.7/doc/ref/sxml-match.texi
     - guile-3.0.7/module/ice-9/quasisyntax.scm
     - guile-3.0.7/module/srfi/srfi-38.scm
     - guile-3.0.7/module/srfi/srfi-41.scm
     - guile-3.0.7/module/srfi/srfi-45.scm
     - guile-3.0.7/module/srfi/srfi-64/testing.scm
     - guile-3.0.7/module/srfi/srfi-67/compare.scm
     - guile-3.0.7/module/srfi/srfi-71.scm
     - guile-3.0.7/module/sxml/sxml-match.ss
    Public domain
     - guile-3.0.7/module/ice-9/match.upstream.scm
    GPL
     - guile-3.0.7/guile-readline/ice-9/readline.scm
    GPLv3+
     - guile-3.0.7/guile-readline/readline.c
     - guile-3.0.7/guile-readline/readline.h
     - guile-3.0.7/libguile/libguile-3.0-gdb.scm
     - guile-3.0.7/module/language/elisp/compile-tree-il.scm

- [SHOULD] Please add dependencies on pkg-config and change (build)requires
  to pkgconfig(<libraryname>). See
  https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/

- [SHOULD] Please add comment with the rationale for the bundled provide, e.g.
  that guile ships a patched version of a git checkout of localcharset.[h,c]
  from gnulib, as intended by gnulib upstream.

- [SHOULD] Please also add the version of the bundled gnulib. Brief look at upstream seems to indicate
  that it is v0.1-1157-gb03f418, but that doesn't really line up with the numbering scheme the fedora
  package uses (just Version: 0 coupled to a Release: with git suffix) or with the way gnulib works in general
  I'd suggest just adding the Version as a comment. Git history of the file is here:
  https://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=a91b95cca2d397c84f8b9bbd602d40209a7092ce

- [SHOULD] Please list libguile version explicitly in %files, rather than via
  glob (i.e as libguile*.so..X.Y.Z or at least .X*) to protect against accidental library
  version bumps. See
  https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shared_libraries

- [SHOULD] Please add brief comments and/or upstream links to patches to explain what they do.

- [SHOULD] Doesn't build on aarch64 due to test fail:
    error: 'guild compile' failed to remove 't-guild-compile-100826.go.64hinA'
    FAIL: test-guild-compile
    wrote `/builddir/build/BUILD/guile-3.0.7/cache/guile/ccache/3.0-LE-8-4.5/builddir/build/BUILD/guile-3.0.7/test-suite/standalone/test-signal-fork.go'
    parent: child: 100919101058

- [EXTRA] [RPMLINT] [PATCH] missing-call-to-chdir-with-chroot is most likely triggered by libguile/posix.c,
  and for once seems to me to not be a false positive. Please check (I'm not that much of a C expert)
  and consider adding a patch that calls chdir() before chrooting, as this is a potential security issue.

- [EXTRA] [PATCH] configure.ac contains AC_PROG_LIBTOOL, which is deprecated. Maybe add a patch to replace it
  with LT_INIT? No further changes should be necessary. See
  https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html

- [EXTRA] [RPMLINT] [PATCH] Fix FSF address.

- [NON-ISSUE] Further (informative, non-issue) comments inline below, enclosed in ****.


===== MUST items =====

C/C++:
[X]: Package does not contain kernel modules.
[X]: Package contains no static executables.
[X]: Development (unversioned) .so files in -devel subpackage, if present.
     **** Shared libraries in libdir are guile-specific, not in LDPATH and
     not even normal libraries ****
[x]: Provides: bundled(gnulib) in place as required.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[X]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[!]: License field in the package spec file matches the actual license.
[X]: License file installed when any subpackage combination is installed.
[!]: Package requires other packages for directories it uses.
     Note: No known owner of /usr/share/guile/site/3.0,
     /usr/share/guile/3.0/scheme
[!]: Package must own all directories that it creates.
     Note: Directories without known owners: /usr/share/guile/site/3.0,
     /usr/share/guile/3.0/scheme, /usr/share/guile/site
[!]: Package does not own files or directories owned by other packages.
     **** existing guile packages put all their stuff in <base>/guile/<version>
     so it makes sense for this package to follow that precedent. Since it doesn't
     directly or indirectly require any other guile version, it is OK for it to co-own
     /usr/include/guile, /usr/lib64/guile, /usr/share/guile owned by other guile
     packages. ****
[X]: %build honors applicable compiler flags or justifies otherwise.
[X]: Package contains no bundled libraries without FPC exception.
     **** Package contains a single file from gnulib, which is additionally patched by
     upstream. Same exceptions as granted to the guile 2.x package should apply here ****
[X]: Changelog in prescribed format.
[X]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[X]: Development files must be in a -devel package
[X]: Package uses nothing in %doc for runtime.
[X]: Package consistently uses macros (instead of hard-coded directory
     names).
[X]: Package is named according to the Package Naming Guidelines.
[X]: Package does not generate any conflict.
[X]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[X]: Requires correct, justified where necessary.
[X]: Spec file is legible and written in American English.
[X]: Package contains systemd file(s) if in need.
[X]: Useful -debuginfo package or justification otherwise.
[X]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
[X]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
     license(s) in its own file, then that file, containing the text of the
     license(s) for the package is included in %license.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local

===== SHOULD items =====

Generic:
[-]: If the source package does not include license text(s) as a separate
     file from upstream, the packager SHOULD query upstream to include it.
[X]: Final provides and requires are sane (see attachments).
[?]: Package functions as described.
     **** Not tested, as I have no knowledge of Scheme ****
[X]: Latest version is packaged.
[X]: Package does not include license text files separate from upstream.
[!]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[!]: Package should compile and build into binary rpms on all supported
     architectures.
     **** Works on x86_64 & armhfp, %check fails
     on aarch64, not tested on s390x & ppc64le ****
[X]: %check is present and all tests pass.
[X]: Packages should try to preserve timestamps of original installed
     files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Fully versioned dependency in subpackages if applicable.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.

===== EXTRA items =====

Generic:
[!]: Package should not use obsolete m4 macros
     **** Some obsoleted macros found, see end of review for details. ****
[-]: Large data in /usr/share should live in a noarch subpackage if package
     is arched.
[x]: Rpmlint is run on debuginfo package(s).
     Note: No rpmlint messages.
[x]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: guile3-3.0.7-1.fc35.x86_64.rpm
          guile3-devel-3.0.7-1.fc35.x86_64.rpm
          guile3-debuginfo-3.0.7-1.fc35.x86_64.rpm
          guile3-debugsource-3.0.7-1.fc35.x86_64.rpm
          guile3-3.0.7-1.fc35.src.rpm
guile3.x86_64: W: unstripped-binary-or-object /usr/lib64/guile/3.0/ccache/ice-9/and-let-star.go
guile3.x86_64: E: shared-lib-without-dependency-information /usr/lib64/guile/3.0/ccache/ice-9/and-let-star.go
guile3.x86_64: E: missing-PT_GNU_STACK-section /usr/lib64/guile/3.0/ccache/ice-9/and-let-star.go

**** Omitted for readablility: the same 3 complaints about every other .go file in /usr/lib64/guile/3.0/ccache/ ****

**** the above are all caused by rpmlint mistaking guile-internal scheme libs as normal shared libraries. These are OK. ****
guile3.x86_64: E: missing-call-to-chdir-with-chroot /usr/lib64/libguile-3.0.so.1.4.0
guile3.x86_64: E: incorrect-fsf-address /usr/share/guile/3.0/language/elisp/compile-tree-il.scm
**** these two are easy fixes ****
guile3.x86_64: W: no-manual-page-for-binary guild3.0
guile3.x86_64: W: no-manual-page-for-binary guile-tools3.0
guile3.x86_64: W: dangerous-command-in-%trigger rm
guile3.x86_64: W: dangerous-command-in-%trigger rm
guile3-devel.x86_64: W: no-documentation
guile3-devel.x86_64: W: no-manual-page-for-binary guile-config3.0
guile3-devel.x86_64: W: no-manual-page-for-binary guile-snarf3.0
**** these are expected & OK to not fix ****
guile3.src:28: W: unversioned-explicit-provides bundled(gnulib)
**** see issues above ****
5 packages and 0 specfiles checked; 656 errors, 335 warnings.




Rpmlint (debuginfo)
-------------------
Checking: guile3-debuginfo-3.0.7-1.fc35.x86_64.rpm
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Unversioned so-files
--------------------
guile3: /usr/lib64/guile/3.0/extensions/guile-readline.so


Source checksums
----------------
https://ftp.gnu.org/gnu/guile/guile-3.0.7.tar.gz :
  CHECKSUM(SHA256) this package     : c7935b7a29e42443f6a35d35cf20ffa7d028c399303f872cd1219598a83656ae
  CHECKSUM(SHA256) upstream package : c7935b7a29e42443f6a35d35cf20ffa7d028c399303f872cd1219598a83656ae


Requires
--------
guile3 (rpmlib, GLIBC filtered):
    /bin/sh
    /usr/bin/sh
    coreutils
    glibc
    ld-linux-x86-64.so.2()(64bit)
    libc.so.6()(64bit)
    libcrypt.so.2()(64bit)
    libcrypt.so.2(XCRYPT_2.0)(64bit)
    libffi.so.6()(64bit)
    libgc.so.1()(64bit)
    libgmp.so.10()(64bit)
    libguile-3.0.so.1()(64bit)
    libguile-3.0.so.1(GUILE_2.0)(64bit)
    libm.so.6()(64bit)
    libncurses.so.6()(64bit)
    libreadline.so.8()(64bit)
    libtinfo.so.6()(64bit)
    libunistring.so.2()(64bit)
    rtld(GNU_HASH)

guile3-devel (rpmlib, GLIBC filtered):
    /usr/bin/pkg-config
    /usr/bin/sh
    gc-devel
    gmp-devel
    guile3(x86-64)
    libguile-3.0.so.1()(64bit)
    pkgconfig

guile3-debuginfo (rpmlib, GLIBC filtered):

guile3-debugsource (rpmlib, GLIBC filtered):



Provides
--------
guile3:
    bundled(gnulib)
    guile3
    guile3(x86-64)
    libguile-3.0.so.1()(64bit)
    libguile-3.0.so.1(GUILE_2.0)(64bit)

guile3-devel:
    guile3-devel
    guile3-devel(x86-64)
    pkgconfig(guile-3.0)

guile3-debuginfo:
    debuginfo(build-id)
    guile3-debuginfo
    guile3-debuginfo(x86-64)
    libguile-3.0.so.1.4.0-3.0.7-1.fc35.x86_64.debug()(64bit)

guile3-debugsource:
    guile3-debugsource
    guile3-debugsource(x86-64)



AutoTools: Obsoleted m4s found
------------------------------
  AC_PROG_LIBTOOL found in: guile-3.0.7/configure.ac:104,
  guile-3.0.7/configure.ac:1414


Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 1983601
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, C/C++, Shell-api
Disabled plugins: SugarActivity, Python, Java, PHP, fonts, Ocaml, Perl, Ruby, Haskell, R
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 2 Christopher Engelhard 2021-07-21 05:33:25 UTC
I've also tested the s390x and ppc64le builds now.

- Build on s390x failed during the libguile compilation when trying to assemble documentation.
- ppc64le worked, but you might run into problems on the builders there during the %check phase, on my machine test-stack-overflow took hours to complete while consuming practically all available memory.

Comment 3 Tomas Korbar 2021-07-22 11:59:49 UTC
Hi Christopher,
thanks for your review. I think i managed to address all of the issues

One question from my side:
Is /usr/lib64/guile/3.0/extensions/guile-readline.so* something that is supposed to be generally available or is that
guile-internal like the stuff in .../ccache ?

----- Internal IMO, it is guiles module

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated


Issues:
=======
- [MUST] If your application is a C or C++ application you must list a
  BuildRequires against gcc, gcc-c++ or clang. Please add BuildRequires: gcc

----- Done

- [MUST] There are some directories that should be owned by this package but aren't:
  /usr/share/guile/site/3.0, /usr/share/guile/3.0/scheme, /usr/share/guile/site
  Please add them to %files

----- Done

- [MUST] Texinfo files are installed using install-info in %post and %preun if
  package has .info files.

----- Done.

- [MUST] Some parts of the code seem to be MIT/GPL/PublicDomain licensed, rather than LGPL,
  please check if these end up in the package
    MIT License:
     - guile-3.0.7/doc/ref/sxml-match.texi
     - guile-3.0.7/module/ice-9/quasisyntax.scm
     - guile-3.0.7/module/srfi/srfi-38.scm
     - guile-3.0.7/module/srfi/srfi-41.scm
     - guile-3.0.7/module/srfi/srfi-45.scm
     - guile-3.0.7/module/srfi/srfi-64/testing.scm
     - guile-3.0.7/module/srfi/srfi-67/compare.scm
     - guile-3.0.7/module/srfi/srfi-71.scm
     - guile-3.0.7/module/sxml/sxml-match.ss
    Public domain
     - guile-3.0.7/module/ice-9/match.upstream.scm
    GPL
     - guile-3.0.7/guile-readline/ice-9/readline.scm
    GPLv3+
     - guile-3.0.7/guile-readline/readline.c
     - guile-3.0.7/guile-readline/readline.h
     - guile-3.0.7/libguile/libguile-3.0-gdb.scm
     - guile-3.0.7/module/language/elisp/compile-tree-il.scm

----- These files are included so i added licenses. It is unfortunate

- [SHOULD] Please add dependencies on pkg-config and change (build)requires
  to pkgconfig(<libraryname>). See
  https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/

----- Done

- [SHOULD] Please add comment with the rationale for the bundled provide, e.g.
  that guile ships a patched version of a git checkout of localcharset.[h,c]
  from gnulib, as intended by gnulib upstream.

----- Done

- [SHOULD] Please also add the version of the bundled gnulib. Brief look at upstream seems to indicate
  that it is v0.1-1157-gb03f418, but that doesn't really line up with the numbering scheme the fedora
  package uses (just Version: 0 coupled to a Release: with git suffix) or with the way gnulib works in general
  I'd suggest just adding the Version as a comment. Git history of the file is here:
  https://git.savannah.gnu.org/gitweb/?p=guile.git;a=commit;h=a91b95cca2d397c84f8b9bbd602d40209a7092ce

----- Done

- [SHOULD] Please list libguile version explicitly in %files, rather than via
  glob (i.e as libguile*.so..X.Y.Z or at least .X*) to protect against accidental library
  version bumps. See
  https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shared_libraries

----- Done

- [SHOULD] Please add brief comments and/or upstream links to patches to explain what they do.

----- Done

- [SHOULD] Doesn't build on aarch64 due to test fail:
    error: 'guild compile' failed to remove 't-guild-compile-100826.go.64hinA'
    FAIL: test-guild-compile
    wrote `/builddir/build/BUILD/guile-3.0.7/cache/guile/ccache/3.0-LE-8-4.5/builddir/build/BUILD/guile-3.0.7/test-suite/standalone/test-signal-fork.go'
    parent: child: 100919101058

----- I did not encounter any such issue during scratch builds. It seems that some of the tests
are not really stable. If this test will keep failing in the future, then i will disable it.

- [EXTRA] [RPMLINT] [PATCH] missing-call-to-chdir-with-chroot is most likely triggered by libguile/posix.c,
  and for once seems to me to not be a false positive. Please check (I'm not that much of a C expert)
  and consider adding a patch that calls chdir() before chrooting, as this is a potential security issue.

----- Done

- [EXTRA] [PATCH] configure.ac contains AC_PROG_LIBTOOL, which is deprecated. Maybe add a patch to replace it
  with LT_INIT? No further changes should be necessary. See
  https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html

----- Done

- [EXTRA] [RPMLINT] [PATCH] Fix FSF address.

----- Upstream has been notified but i am not comfortable with downstream patching license.

- [NON-ISSUE] Further (informative, non-issue) comments inline below, enclosed in ****.


Updated specfile and srpm are in the same place, the originals were.

Comment 4 Christopher Engelhard 2021-07-22 16:34:58 UTC
Looking good!

Just two more things:
- the %files section is missing %dir %{_datadir}/guile/site/%{mver} (/usr/share/guile/site/3.0 still has no owner)
- your patch for the chroot thing seems to be replacing the chroot() call with chdir() instead of doing chdir-then-chroot, is that intended? It would also be OK to leave it unpatched for now and just report the issue upstream. 

Regarding the tests, it did some more runs and it is all a bit inconsitent for me as well, there were also irreproducible issues with the stack overflow tests that were most likely caused by that test just eating way too much memory. Could be that that also happens for the guile-compile test. Anyway, disabling those inconsistently failing tests if it happens again is perfectly fine.

Comment 5 Aleksei Bavshin 2021-07-22 22:13:36 UTC
Apologies for intruding, this review made me genuinely curious about the versioning of guile in Fedora.

Once this is approved, we'll have 3 packages:
 - guile (unversioned) - legacy and unmaintained since 2017 2.0 branch, provides unversioned /usr/bin/guile
 - guile22 - legacy, but still maintained 2.2.x branch, provides /usr/bin/guile2.2
 - guile3 - latest release, provides /usr/bin/guile3.0

Q1: This seems kind of backwards to me. Guidelines do not require unversioned package to be the latest one (I just confirmed with the text), but I've seen that being advised on devel@.
It's also confusing for me as a user, since I expect `dnf install guile` to get a current package instead of the deprecated one (but that's not as important).

Somewhat related: is our gdb package built against guile 2.0 _only_ because it's unversioned and is assumed to be the right version to use by default? Gdb supports all the versions up to 3.0.

Q2: Guile upstream seems to have a solid versioning strategy: each minor release is a new version of the language incompatible with a previous one. 2.0, 2.2, 3.0,.. 3.2?
In regards to that, guile3.0 could be more appropriate name for the package. If the upstream is alive enough to release 3.2 in however many years that'll take, things will get a bit confusing :)

Comment 6 Tomas Korbar 2021-07-23 08:48:22 UTC
Hi guys,

Christopher,
I added the record into the files section.
My patch adds chdir call, it does not replace it, i am certain of it.

Aleksei,
Yeah, i agree it is confusing. Since i am maintainer of all guile versions,
i find myself nowadays more and more tempted with removing both 1.8 and 2.0 from
Fedora and switching default version to 2.2 but one problem after another.
Good point about the package name. I will change it to guile30 since we already named
guile 2.2 as 22 and i do not want to have "." in package name.

Christopher, are you comfortable with giving review+ after these changes?

Comment 7 Aleksei Bavshin 2021-07-23 09:23:24 UTC
> i find myself nowadays more and more tempted with removing both 1.8 and 2.0 from
> Fedora and switching default version to 2.2 but one problem after another.

I took a look at the 4 remaining packages in rawhide that are still depending on guile 2.0, and all of them are working with 2.2/3.0 (with minimal build scripts patching when necessary). I can send PRs over the weekend and if maintainers accept these we'll no longer need 2.0.
1.8 requires actual porting, afaik, so I haven't even tried.

> I will change it to guile30 since we already named guile 2.2 as 22 and i do not want to have "." in package name.

Current version of packaging policies actually recommends to preserve the "."[1]. But I agree with the argument about naming consistency.

[1]: https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#multiple

Comment 8 Christopher Engelhard 2021-07-23 11:06:12 UTC
(In reply to Tomas Korbar from comment #6)
> My patch adds chdir call, it does not replace it, i am certain of it.

Yeah, sorry, my mistake. 

> Christopher, are you comfortable with giving review+ after these changes?

Yes, all good now. I set review+ . Thanks for packaging this.

Comment 9 Gwyn Ciesla 2021-07-27 13:49:19 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/guile30

Comment 10 Aleksei Bavshin 2021-07-30 04:35:27 UTC
Hi Tomas,

The rawhide package currently fails to install: guile30-devel has an unsatisfiable Requires: guile3%{?_isa}. Sounds like you forgot to update that after renaming the spec :)
One more place to fix for the new package name is `touch -r "%{_specdir}/guile3.spec`.


Note You need to log in before you can comment on or make changes to this bug.