Bug 1208760 - ERROR: no such language objcode
Summary: ERROR: no such language objcode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: guile
Version: 22
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Synacek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-03 06:22 UTC by Jan Kratochvil
Modified: 2015-12-02 23:50 UTC (History)
4 users (show)

Fixed In Version: guile-2.0.11-7.fc23 guile-2.0.11-7.fc22
Clone Of:
Environment:
Last Closed: 2015-11-30 21:22:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Sourceware 18381 0 P2 RESOLVED ERROR: no such language objcode 2020-07-23 15:50:03 UTC

Description Jan Kratochvil 2015-04-03 06:22:27 UTC
Description of problem:
I have added Guile support to GDB but now GDB always compiles tons of Guile on each start with complaints.

Version-Release number of selected component (if applicable):
guile-2.0.11-4.fc22.x86_64
gdb-7.9-10.fc22.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. gdb

Actual results:
;;; note: source file /usr/share/guile/2.0/ice-9/eval.scm
;;;       newer than compiled /usr/lib64/guile/2.0/ccache/ice-9/eval.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/guile/2.0/system/base/compile.scm
;;; it seems /usr/share/guile/2.0/system/base/compile.scm
;;; is part of the compiler; skipping auto-compilation
[...]
;;; compiling /usr/share/guile/2.0/system/vm/program.scm
;;; compiling /usr/share/guile/2.0/language/objcode/spec.scm
;;; WARNING: compilation of /usr/share/guile/2.0/language/objcode/spec.scm failed:
;;; ERROR: no such language objcode
[...]
;;; compiling /usr/share/guile/2.0/ice-9/pretty-print.scm
;;; WARNING: compilation of /usr/share/guile/2.0/ice-9/pretty-print.scm failed:
;;; ERROR: no such language objcode
GNU gdb (GDB) Fedora 7.9-10.fc22
[...]
(gdb) _

Expected results:
GNU gdb (GDB) Fedora 7.9-10.fc22
[...]
(gdb) _

Additional info:
Guile is a compile-time dependency so I would have to disable it completely again.

Comment 1 Jan Kratochvil 2015-05-08 06:13:59 UTC
It is due to the Fedora guile packaging not being multilib-clean:

WARNING: The command below may remove more packages due to dependencies!

yum -y remove guile.{x86_64,i686};yum -y install guile.x86_64;yum -y install guile.i686;yum -y remove guile.i686;rpm -V guile.x86_64;yum -y remove guile.x86_64
.......T.    /usr/bin/guild
.......T.    /usr/share/guile/2.0/guile-procedures.txt
.......T.    /usr/share/guile/2.0/ice-9/and-let-star.scm
.......T.    /usr/share/guile/2.0/ice-9/binary-ports.scm
[...]

Reproducible on F-21, F-22 and Rawhide.

It is unrelated to GDB, the same problem happens running just 'guile'.

Comment 2 Fedora End Of Life 2015-11-04 12:06:03 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Jan Synacek 2015-11-11 12:46:28 UTC
This is reproducible by simply installing first the x86_64 version and then the i686 version on an x86_64 system and then running guile.

Guile tries to compile everything because the timestamps of the source file and its corresponding guile object file (compiled go files) differ. New compiled objects are created in a cache directory inside the user's home, that's why the compilation executes everytime guile is run.

But, why does rpm modify the scm files if they are identical?

Comment 4 Fedora Update System 2015-11-13 11:44:56 UTC
guile-2.0.11-7.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-44cdeeefb3

Comment 5 Fedora Update System 2015-11-13 11:44:56 UTC
guile-2.0.11-7.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-7919a08cf4

Comment 6 Fedora Update System 2015-11-14 03:22:00 UTC
guile-2.0.11-7.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update guile'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7919a08cf4

Comment 7 Fedora Update System 2015-11-14 04:53:17 UTC
guile-2.0.11-7.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update guile'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-44cdeeefb3

Comment 8 Panu Matilainen 2015-11-23 12:33:47 UTC
Rpm allows sharing files whose content is identical but timestamp differs, and yes it can cause artifacts like timestamp verification failures in some situations. With the exception of %config files, rpm does not compare contents when laying down files so the last one wins.

Comment 9 Fedora Update System 2015-11-30 21:22:50 UTC
guile-2.0.11-7.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2015-12-02 23:50:48 UTC
guile-2.0.11-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


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