Bug 3050 - lilypond gives warnings on installation
Summary: lilypond gives warnings on installation
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: All Linux
Priority: High normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://bugs.mageia.org/show_bug.cgi?...
Whiteboard:
Keywords: validated_update
Depends on: 2317
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-14 18:24 CEST by claire robinson
Modified: 2012-01-27 21:42 CET (History)
7 users (show)

See Also:
Source RPM: lilypond-2.13.58-2.mga1.src.rpm
CVE:
Status comment:


Attachments

Description claire robinson 2011-10-14 18:24:05 CEST
Tested i586 and x86_64


On installing it gives warnings as below..

      2/7: lilypond              #############################################
install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.xz'
install-info: warning: no info dir entry in `/usr/share/info/music-glossary.info.xz'
/usr/share/lilypond/2.13.58/fonts/type1/: opendir: No such file or directory


The same errors occur when removing lilypond.
claire robinson 2011-10-14 18:26:10 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=2672

Manuel Hiebel 2011-10-16 00:34:03 CEST

Assignee: bugsquad => thomas

Comment 1 Thomas Spuhler 2011-10-16 01:25:45 CEST
This was a beta. I will upgrade it to a sable release, 2.14.2

Status: NEW => ASSIGNED

Comment 2 Thomas Spuhler 2011-10-16 21:37:51 CEST
OK, the stable doesn't build because it needs a newer fontforge
ERROR: Please install required programs:  /usr/bin/fontforge >= 20100501 (installed: 20090923)
Comment 3 Thomas Spuhler 2011-10-24 02:33:10 CEST
install-info: warning: no info dir entry in
`/usr/share/info/lilypond-learning.info.xz'
install-info: warning: no info dir entry in
`/usr/share/info/music-glossary.info.xz'
are warnings and seem to be normal. I will not fix it.

/usr/share/lilypond/2.13.58/fonts/type1/: opendir: No such file or directory
is an error and I fixed it locally.
As I said 2.13.58 is a development release and I will update it tot the stable release as soon as fontforge is updated to at least 20100501
Comment 4 claire robinson 2011-10-24 02:36:37 CEST
No problem, just let us know when you need it testing :)
Comment 5 Thomas Spuhler 2011-10-28 20:57:40 CEST
update is in updates_testing.
The two warnings are still there. seems to be an upstream bug. 
Reported by a suse user as well.Again it's a warning only.
the error  for the missing dir has been corrected.
I have tested a some music files

Assignee: thomas => qa-bugs

Comment 6 Dave Hodgins 2011-10-29 03:21:38 CEST
Testing complete on i586 for the srpm
lilypond-2.14.2-1.1.mga1.src.rpm

Testing done using some of the .ly files from the
lilypond-doc package.

CC: (none) => davidwhodgins

Comment 7 claire robinson 2011-11-02 13:31:04 CET
x86_64

Before
------

Preparing...                     #############################################
      1/3: ec-fonts-mftraced     #############################################
      2/3: lilypond              #############################################
install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.xz'
install-info: warning: no info dir entry in `/usr/share/info/music-glossary.info.xz'
warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr:/:/usr/bin/share/texmf-local/web2c:/usr/share/texmf-local/web2c://share/texmf-local/web2c:/usr/bin/texmf-local/web2c:/usr/texmf-local/web2c://texmf-local/web2c:/usr/bin/share/texmf/web2c:/usr/share/texmf/web2c://share/texmf/web2c:/usr/bin/texmf/web2c:/usr/texmf/web2c://texmf/web2c.
/usr/share/lilypond/2.13.58/fonts/type1/: opendir: No such file or directory
      3/3: lilypond-doc          #############################################


After
-----
Preparing...                     #############################################
      1/3: ec-fonts-mftraced     #############################################
      2/3: lilypond              #############################################
install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.xz'
install-info: warning: no info dir entry in `/usr/share/info/music-glossary.info.xz'
warning: kpathsea: configuration file texmf.cnf not found in these directories: /usr/bin:/usr:/:/usr/bin/share/texmf-local/web2c:/usr/share/texmf-local/web2c://share/texmf-local/web2c:/usr/bin/texmf-local/web2c:/usr/texmf-local/web2c://texmf-local/web2c:/usr/bin/share/texmf/web2c:/usr/share/texmf/web2c://share/texmf/web2c:/usr/bin/texmf/web2c:/usr/texmf/web2c://texmf/web2c.
      3/3: lilypond-doc          #############################################





It appears to be missing a requires on texlive-texmf which in itself is 600Mb

This seems to be a common problem for some reason.



# urpmi texlive-texmf
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch   
(medium "Core 32bit Release")
  perl-Algorithm-Diff            1.190.200    3.mga1        noarch  
  texlive-texmf                  20100722     14.mga1       noarch  
597MB of additional disk space will be used.
293MB of packages will be retrieved.


# urpmi lilypond
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch   
(medium "Core Updates Testing")
  lilypond                       2.14.2       1.1.mga1      x86_64  
  lilypond-doc                   2.14.2       1.1.mga1      x86_64  (suggested)
694MB of additional disk space will be used.
109MB of packages will be retrieved.


Preparing...                     #############################################
      1/2: lilypond-doc          #############################################
      2/2: lilypond              #############################################
install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.xz'
install-info: warning: no info dir entry in `/usr/share/info/music-glossary.info.xz'


In use..

# lilypond --pdf lily-1dbb7791.ly 
GNU LilyPond 2.14.2
Processing `lily-1dbb7791.ly'
Parsing...
Interpreting music... 
Preprocessing graphical objects...
Calculating line breaks... 
Drawing systems... 
error: 
The PostScript backend does not support the
system-by-system output.  For that, use the EPS backend instead,

  lilypond -dbackend=eps FILE


But doing as it suggests it does produce a pdf, png etc

# lilypond --pdf -dbackend=eps lily-1dbb7791.ly 
GNU LilyPond 2.14.2
Processing `lily-1dbb7791.ly'
Parsing...
Interpreting music... 
Preprocessing graphical objects...
Calculating line breaks... 
Drawing systems... 
Layout output to `lily-1dbb7791.eps'...
Converting to `./lily-1dbb7791.pdf'...
Layout output to `lily-1dbb7791-1.eps'...
Converting to `./lily-1dbb7791-1.pdf'...
Writing lily-1dbb7791-systems.texi...
Writing lily-1dbb7791-systems.tex...
Writing lily-1dbb7791-systems.count...
success: Compilation successfully completed


So, in summary, the  error below is now corrected..
/usr/share/lilypond/2.13.58/fonts/type1/: opendir: No such file or directory

but it's missing a require on texlive-texmf which turns this into a 400Mb download and 1.2Gb installation :\

It needs the -dbackend=eps option but works well when it is used.
Comment 8 claire robinson 2011-11-03 15:34:57 CET
ping Thomas..

You didn't add yourself in the CC so we've been talking to ourselves :D

CC: (none) => thomas

Comment 9 claire robinson 2011-11-07 14:50:30 CET
Assigning maintainer. Please reassign QA when you've looked into this. Thanks.

CC: (none) => qa-bugs
Assignee: qa-bugs => thomas

Comment 10 Thomas Spuhler 2011-11-08 05:16:31 CET
- but it's missing a require on texlive-texm
you have a good point. I took the spec file over w/o much questioning as long as it built and run.
The lilypond build requirement doesn't require textlive. It may be fine if we have texi2html that we build recently. I need to chack it out
-dbackend=eps
I couldn't find that anywhere in the documentation.
Comment 11 Thomas Spuhler 2011-11-11 05:25:49 CET
OK, it needs texinfo that has the texlive-texmf dependency
W/o it it doesn't build and gives a lot of errors on install.
I guess we should be ok now. BTW those warnings seem to be pretty common, texinfo also has them.
I will assign it to qa-bugs@ml.mageia.org

Keywords: (none) => validated_update
Assignee: thomas => qa-bugs

Manuel Hiebel 2011-11-11 15:45:26 CET

Keywords: validated_update => (none)

Comment 12 Dave Hodgins 2011-11-15 23:03:26 CET
Installing lilypond from Core Release does pull in
  texlive                        20100722     35.mga1       i586
  texlive-texmf                  20100722     14.mga1       noarch
The Core Updates Testing has a requires on texlive, which has a
requires on texlive-texmf.

Claire, where are you seeing a missing requires on texliv-texmf?
Comment 13 claire robinson 2011-11-16 01:11:24 CET
Comment 7 Dave

warning: kpathsea: configuration file texmf.cnf not found in these directories:
/usr/bin:/usr:/:/usr/bin/share/texmf-local/web2c:/usr/share/texmf-local/web2c://share/texmf-local/web2c:/usr/bin/texmf-local/web2c:/usr/texmf-local/web2c://texmf-local/web2c:/usr/bin/share/texmf/web2c:/usr/share/texmf/web2c://share/texmf/web2c:/usr/bin/texmf/web2c:/usr/texmf/web2c://texmf/web2c.

I recognise the paths from the jadetex bug. Tex seems to be a bit of a nightmare.

Has lilypond been updated again in comment 11? 

Not sure I'll get much chance to test it this week but I will try to.
Comment 14 Dave Hodgins 2011-11-16 02:06:35 CET
(In reply to comment #13)

> Has lilypond been updated again in comment 11? 
> Not sure I'll get much chance to test it this week but I will try to.

No.  The rpm for lilypond is Build Date: 2011-10-28T14:27:10 EDT

$ rpm -q -f /usr/share/texmf/web2c/texmf.cnf
texlive-texmf-20100722-14.mga1

Does the 64 bit version of texlive-texmf not get installed or does
it not contain the texmf.cnf file?
Comment 15 claire robinson 2011-11-16 23:29:52 CET
# urpme --test texlive
To satisfy dependencies, the following 4 packages will be removed (95MB):
  fontforge-1.0-0.20100501.1.1.mga1.x86_64
   (due to missing mfwin)
  jadetex-3.13-1.mga1.noarch
   (due to missing texlive,
    due to missing texlive[*])
  lilypond-2.14.2-1.1.mga1.x86_64
   (due to missing texlive[*])
  texlive-20100722-35.mga1.x86_64
Remove 4 packages? (y/N) n

# urpme --test texlive-texmf                                      
testing removal of texlive-texmf-20100722-14.mga1.noarch
Removal is possible


It seems texlive only requires texlive-texmf when it is installed. It's possible to remove texlive-texmf without removing texlive.

# urpmf texlive-texmf | grep texmf.cnf
texlive-texmf:/usr/share/texmf/web2c/texmf.cnf

Is this only true of the x86_64 or is yours the same?
Comment 16 Dave Hodgins 2011-11-17 00:17:52 CET
That's the same on i586.  My guess is that the requires in texlive for
texlive-texmf[*] doesn't get parsed properly by urpme.  I think
changing the requires to just texlive-texmf would fix it, as it
would match on the actual package name, instead of one of the
virtual provides.
Comment 17 claire robinson 2011-12-05 12:21:01 CET
Assigning back to maintainer, sorry Thomas. 
The texlive require needs to be changed to texlive-texmf

Assignee: qa-bugs => thomas

Comment 18 Thomas Spuhler 2012-01-20 05:13:06 CET
I added Requires(post) and (postun) texmf
Seems this solved the issue.
Please test and push to updates
Comment 19 David GEIGER 2012-01-20 14:15:30 CET
Hi Thomas,

We can not install this package :

# LC_ALL=C urpmi --test lilypond
A requested package cannot be installed:
lilypond-2.14.2-1.2.mga1.x86_64 (due to unsatisfied texmf[*])
Continue installation anyway? (Y/n) n

CC: (none) => geiger.david68210

Comment 20 claire robinson 2012-01-20 14:43:46 CET
That will be due to bug 2317 David. It affects MageiaUpdate and the applet.

You should be able to update with urpmi still though. If testing is successful it will require any added recursive dependencies linking from release into updates.
Comment 21 claire robinson 2012-01-20 14:46:25 CET
Sorry, I didn't properly read what you had done, please ignore comment 20.
Comment 22 Dave Hodgins 2012-01-21 01:19:01 CET
Confirmed ...
# urpmi lilypond
A requested package cannot be installed:
lilypond-2.14.2-1.2.mga1.i586 (due to unsatisfied texmf[*])

rpm -q --provides texlive-texmf
texmf-data = 20100722-14.mga1
perl(PDF::Reuse) = 0.292.0
perl(PDF::Reuse::Util)
perl(Tk::path_tre)
texlive-texmf = 20100722-14.mga1
Bert Aerts 2012-01-21 09:26:57 CET

CC: (none) => bert.ram.aerts

Comment 23 Bert Aerts 2012-01-21 09:47:19 CET
Same problem on Mageia 1 x86_64
Comment 24 Thomas Spuhler 2012-01-21 19:18:19 CET
should be the same as it's done the same way. I will work on it
Comment 25 Thomas Spuhler 2012-01-21 21:56:42 CET
It should now be resolved. I had not problem to install it and it pulled texlive-texmf
These warnings are still there, but upstream doesn't fix them, a lot of other packages have tehm and these are just warnings.
install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.xz'
install-info: warning: no info dir entry in `/usr/share/info/music-glossary.info.xz'
Comment 26 Bert Aerts 2012-01-21 22:10:21 CET
What do you mean Thomas?
Are there new lilypond packages now? Not yet visible in my ftp repo's.

I have texlive-texmf installed and get the warning "(due to unsatisfied texmf[*])"
I removed texlive-texmf and got exactly the same warning.
Comment 27 Thomas Spuhler 2012-01-21 22:14:21 CET
yes, I installed it from updates_testing.
I uninstalled texlive-texmf and did urpmi lilypond
it installed texlive-texmf and lilypond w/o error.
Please double check at your end:
 urpmi lilypond                                                                                                 
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch   
(medium "Core Updates Testing (distrib5)")
  lilypond                       2.14.2       1.3.mga1      x86_64  
(medium "Core 32bit Release (distrib31)")
  texlive-texmf                  20100722     14.mga1       noarch  
609MB of additional disk space will be used.
297MB of packages will be retrieved.
Proceed with the installation of the 2 packages? (Y/n) y


    $MIRRORLIST: media/core/release/texlive-texmf-20100722-14.mga1.noarch.rpm
    $MIRRORLIST: media/core/updates_testing/lilypond-2.14.2-1.3.mga1.x86_64.rpm                                                            
installing lilypond-2.14.2-1.3.mga1.x86_64.rpm texlive-texmf-20100722-14.mga1.noarch.rpm from /var/cache/urpmi/rpms                        
Preparing...                     #########################################################################################################
      1/2: texlive-texmf         #########################################################################################################
      2/2: lilypond              #########################################################################################################
install-info: warning: no info dir entry in `/usr/share/info/lilypond-learning.info.xz'
install-info: warning: no info dir entry in `/usr/share/info/music-glossary.info.xz'
Comment 28 Bert Aerts 2012-01-22 09:23:45 CET
It is indeed solved on x86_64 with these new files:

lilypond-2.14.2-1.3.mga1
lilypond-doc-2.14.2-1.3.mga1

Thanks !!
Comment 29 claire robinson 2012-01-22 17:33:10 CET
Assigning back to QA.

Testing i586

# urpme texlive-texmf
To satisfy dependencies, the following 4 packages will be removed (599MB):
  task-c-devel-2009.0-4.mga1.noarch
   (due to missing texinfo)
  texinfo-4.13a-2.1.mga1.i586
   (due to missing texmf-data)
  texlive-texmf-20100722-14.mga1.noarch
  xmlto-0.0.23-4.1.mga1.i586
   (due to missing texlive-texmf)
Remove 4 packages? (y/N) y


# urpmi lilypond
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch
(medium "Core Release")
  ec-fonts-mftraced              1.0.12       5.mga1        noarch
  guile                          1.8.7        5.mga1        i586
  libguile17                     1.8.7        5.mga1        i586
  texlive-texmf                  20100722     14.mga1       noarch
(medium "Core Updates Testing")
  lilypond                       2.14.2       1.3.mga1      i586
  lilypond-doc                   2.14.2       1.3.mga1      i586    (suggested)
1.2GB of additional disk space will be used.
407MB of packages will be retrieved.
Proceed with the installation of the 6 packages? (Y/n)


It pulls in texlive-texmf :)

$ cp /usr/share/doc/lilypond-doc/share/doc/lilypond/html/offline-root/Documentation/39/lily-2296a566.ly .

$ lilypond --pdf -dbackend=eps lily-2296a566.ly

creates a range of files..

$ ls lily*
lily-2296a566-1.eps
lily-2296a566.ly
lily-2296a566-systems.tex
lily-2296a566-1.pdf
lily-2296a566.pdf
lily-2296a566-systems.texi
lily-2296a566.eps
lily-2296a566-systems.count

The pdf it creates is a viable pdf with a music phrase.

Well done Thomas!

Update Validated

Assignee: thomas => qa-bugs

Comment 30 claire robinson 2012-01-22 17:38:29 CET
This is affected by bug 2317 so adding a depends on so we can track the linking.

Advisory
----------------
This update adds texlive-texmf as a direct dependency as it would cause errors if it wasn't installed.
----------------

SRPM: lilypond-2.14.2-1.3.mga1.src.rpm

This will require texlive-texmf linking into updates
SRPM: texlive-texmf-20100722-14.mga1.src.rpm

Could sysadmin please push from core/update_testing to core/updates and do the required linking.

Thankyou!

Depends on: (none) => 2317
Keywords: (none) => validated_update
CC: (none) => sysadmin-bugs

Comment 31 Thomas Backlund 2012-01-25 13:55:25 CET
update pushed.

Status: ASSIGNED => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED

Comment 32 claire robinson 2012-01-25 21:57:15 CET
The linking has been missed.

Could sysadmin please link texlive-texmf from core/release to core/updates

Thankyou!

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Manuel Hiebel 2012-01-25 22:15:05 CET

Priority: Normal => High

Comment 33 claire robinson 2012-01-25 22:19:26 CET
This is strange. Looking on the mirror itself it seems texlive-texmf is there but still lilypond is exhibiting bug 2317 - cannot be selected.

Our depcheck script doesn't show anything requiring linking, but something obviously does.
Comment 34 Thomas Backlund 2012-01-25 23:07:28 CET
Hmm... depcheck is broken...

[root@tmb ~]# LC_ALL=C urpmi lilypond --media "Core Updates"
A requested package cannot be installed:
lilypond-2.14.2-1.3.mga1.x86_64 (due to unsatisfied guile)

I'll fix the linking of guile and its libs
Comment 35 Thomas Backlund 2012-01-25 23:25:11 CET
Sigh...

[root@tmb ~]# LC_ALL=C urpmi lilypond --media "Core Updates"
A requested package cannot be installed:
lilypond-2.14.2-1.3.mga1.x86_64 (due to unsatisfied ec-fonts-mftraced[*])

[root@tmb ~]# LC_ALL=C urpmi ec-fonts-mftraced
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch   
(medium "Core Release")
  cdialog                        1.1          1.20100119.2> x86_64  
  ec-fonts-mftraced              1.0.12       5.mga1        noarch  
  ghostscript                    9.02         2.mga1        x86_64  
  ghostscript-common             9.02         2.mga1        x86_64  
  ghostscript-fonts              8.11         15.mga1       noarch  
  lib64freetype2                 1.3.1        39.mga1       x86_64  
  lib64gs9                       9.02         2.mga1        x86_64  
  lib64jbig2dec0                 0.11         2.mga1        x86_64  
  lib64paper1                    1.1.24       1.mga1        x86_64  
  lib64zziplib0                  0.13.60      2.mga1        x86_64  
  psutils                        p17          16.mga1       x86_64  
  texlive                        20100722     35.mga1       x86_64
Comment 36 Thomas Backlund 2012-01-25 23:28:21 CET
And even more...

[root@tmb ~]# LC_ALL=C urpmi lilypond --media "Core Updates"
A requested package cannot be installed:
lilypond-doc-2.14.2-1.3.mga1.x86_64 (due to unsatisfied rarian[*])
Continue installation anyway? (Y/n) 

[root@tmb ~]# LC_ALL=C urpmi rarian
To satisfy dependencies, the following packages are going to be installed:
   Package                        Version      Release       Arch   
(medium "Core Release")
  lib64rarian0                   0.8.1        7.mga1        x86_64  
  rarian                         0.8.1        7.mga1        x86_64
Comment 37 Thomas Backlund 2012-01-25 23:52:55 CET
Linking done.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 38 claire robinson 2012-01-26 10:20:27 CET
Not all of those should have required linking Thomas, but thankyou. 

It *should* only be added requires since the release version that need to be linked. There is something strange with this one.
Comment 39 claire robinson 2012-01-26 10:41:07 CET
lilypond still cannot be selected.

I've installed from Release and trying to update in MageiaUpdate x86_64

Sorry, the following package cannot be selected:

- lilypond-2.14.2-1.3.mga1.x86_64

Selecting it anyway it says..

Sorry, the following package cannot be selected:

- lilypond-2.14.2-1.3.mga1.x86_64 (due to conflicts with texlive-texmf-20100722-14.mga1.noarch)

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 40 claire robinson 2012-01-26 11:20:14 CET
Using urpmi also installs perl-Algorithm-Diff which isn't yet linked and is a require of texlive-texmf.

Could this also be linked please.
Comment 41 claire robinson 2012-01-27 17:25:56 CET
ping?
Comment 42 Thomas Backlund 2012-01-27 21:42:56 CET
perl-Algorithm-Diff is now linked

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


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