Bug 757105 - no font(:lang=blahblah) generated for Provides
Summary: no font(:lang=blahblah) generated for Provides
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-25 13:45 UTC by Akira TAGOH
Modified: 2015-02-18 13:39 UTC (History)
6 users (show)

Fixed In Version: rpm-4.9.1.2-5.fc16
Clone Of:
Environment:
Last Closed: 2015-02-18 13:39:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Akira TAGOH 2011-11-25 13:45:01 UTC
Description of problem:
There seems some packages facing this issue. I'm not yet checking everything but at least no font(:lang=blahblah) in wqy-zenhei-fonts, cjkuni-uming-fonts and cjkuni-ukai-fonts. I guess there was nothing wrong in the package side because it seems happened on wqy-zenhei-fonts since http://koji.fedoraproject.org/koji/buildinfo?buildID=218470 which was just a mass-rebuild.
When invoking fontconfig.prov directly, simply works. so dunno something broken in rpm or buildroot?
Though the font packages built very recently has one; http://koji.fedoraproject.org/koji/buildinfo?buildID=275177 but even just rebuilding the package didn't help; http://koji.fedoraproject.org/koji/taskinfo?taskID=3540632. so it's still broken anyway.

Version-Release number of selected component (if applicable):
rpm-build-4.9.1.2-4.fc17

How reproducible:
always

Steps to Reproduce:
1.build wqy-zenhei-fonts
2.see the result of rpm -qf --provides
3.
  
Actual results:
no font(:lang=...) provided

Expected results:
certain font(:lang=...) should be provided.

Additional info:

Comment 1 Akira TAGOH 2011-11-25 13:48:53 UTC
missed one pointer; http://koji.fedoraproject.org/koji/buildinfo?buildID=213066

This release of the font package has, and it has been gone in next build as I mentioned the above.

Comment 2 Panu Matilainen 2011-11-25 14:03:14 UTC
This is due to a libmagic string change - either the string it produces for fonts has simply changed (wouldn't be the first time) or its identifying some new "subtype" of fonts.

Will fix...

Comment 3 Panu Matilainen 2011-11-25 14:21:49 UTC
Okay, should be fixed in rpm-4.9.1.2-5.fc17.

FWIW this affects F16 too, so an update is needed there as well (already planned for next week)

Comment 4 Nicolas Mailhot 2011-11-25 14:40:33 UTC
BTW if someone has a little time, now that rpm supports external dependency generators, this stuff could probably be moved in fontpackages completely (in theory, I haven't lokked at it deeply yet). That would avoid updating rpm every time we want font dependency changes.

Comment 5 Akira TAGOH 2011-11-28 01:38:15 UTC
Cool. thanks for quick update. we need to pick up what font packages affects this and need to rebuild then...

nim-nim:
I agree since the font packages basically has BR to fontpackages. is there any case the external packages has dependency generator?

Comment 6 Akira TAGOH 2011-11-28 02:23:43 UTC
BTW does this affect f15 too maybe? I can see no fonts() provides similarly on f15 though.

Comment 7 Nicolas Mailhot 2011-11-28 07:44:33 UTC
(In reply to comment #5)

> nim-nim:
> I agree since the font packages basically has BR to fontpackages. is there any
> case the external packages has dependency generator?

I'm not sure I understand the question but if you ask if others have made use of the external dep engine in new rpm that is a definite yes. I haven't kept any pointers though :(

Comment 8 Akira TAGOH 2011-12-09 08:22:24 UTC
Any chance to fix this issue for f15 and f16?

Comment 9 Akira TAGOH 2012-01-31 04:51:28 UTC
Ping?

Comment 10 Akira TAGOH 2012-01-31 04:54:58 UTC
FWIW the fix of this issue can see on the package in question:
http://koji.fedoraproject.org/koji/rpminfo?rpmID=2851886

So we can backport the fix to f15 and f16 I think.

Comment 11 Fedora Update System 2012-02-09 08:54:28 UTC
rpm-4.9.1.2-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/rpm-4.9.1.2-5.fc16

Comment 12 Fedora Update System 2012-02-09 08:57:18 UTC
rpm-4.9.1.2-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/rpm-4.9.1.2-4.fc15

Comment 13 Fedora Update System 2012-02-10 00:56:09 UTC
Package rpm-4.9.1.2-5.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing rpm-4.9.1.2-5.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1504/rpm-4.9.1.2-5.fc16
then log in and leave karma (feedback).

Comment 14 Fedora Update System 2012-02-11 21:55:11 UTC
rpm-4.9.1.2-5.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2012-02-11 22:04:00 UTC
rpm-4.9.1.2-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Akira TAGOH 2012-02-14 08:38:33 UTC
Sorry for reopen and not reporting this earlier, but it's strange there are still packages not containing fonts(:lang=blahblahblah) things in rawhide at least since we've mass-rebuilt.

Here is the package list we are still facing and the details for the file magic:

baekmuk-bdf-fonts-0:2.2-11.fc17.noarch:
iso8859-2-100dpi-fonts-0:1.0-26.fc17.noarch
iso8859-2-75dpi-fonts-0:1.0-26.fc17.noarch
iso8859-2-misc-fonts-0:1.0-26.fc17.noarch
jisksp16-1990-fonts-0:0.983-7.fc17.noarch
  X11 Portable Compiled Font data (gzip compressed data, ...

ctan-cm-lgc-roman-fonts-0:0.5-19.fc17.noarch
ctan-cm-lgc-sans-fonts-0:0.5-19.fc17.noarch
ctan-cm-lgc-typewriter-fonts-0:0.5-19.fc17.noarch
ctan-kerkis-calligraphic-fonts-0:2.0-25.fc17.noarch
ctan-kerkis-sans-fonts-0:2.0-25.fc17.noarch
ctan-kerkis-serif-fonts-0:2.0-25.fc17.noarch
ctan-musixtex-fonts-0:1.13-5.fc17.noarch
texmacs-fedora-fonts-0:1.0.7.11-2.fc17.noarch
urw-fonts-0:2.4-11.fc17.noarch
  PostScript Type 1 font program data

ghostscript-fonts-0:5.50-28.fc17.noarch
  PostScript Type 1 font program data
  PostScript Type 1 font text
  
libdockapp-fonts-0:0.6.2-5.fc17.x86_64
  X11 Portable Compiled Font data, LSB first (gzip compressed data, ...

ucs-miscfixed-fonts-0:0.3-8.fc18.noarch
  X11 BDF font, ASCII text

Comment 17 Panu Matilainen 2012-02-14 08:46:55 UTC
Recent libmagic update changed a number of strings, affecting python, perl and whatnot. Might have to do with that... I'll have a look when I get a chance.

Comment 18 Nicolas Mailhot 2012-02-14 10:30:56 UTC
and btw do those fonts actually contain enough glyphs to satisfy at least one lang in fontconfig?

They're all old and crufty, and unicode changed a lot since

Comment 19 Akira TAGOH 2012-02-15 04:44:33 UTC
(In reply to comment #18)
> and btw do those fonts actually contain enough glyphs to satisfy at least one
> lang in fontconfig?
> 
> They're all old and crufty, and unicode changed a lot since

That's a separate issue. I dropped such packages from the list and basically they have fonts(...) at least but those doesn't.

Comment 20 Fedora Admin XMLRPC Client 2012-04-13 23:11:11 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 21 Fedora Admin XMLRPC Client 2012-04-13 23:13:36 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 22 Akira TAGOH 2012-04-18 05:38:21 UTC
Any chance to update for this?

Comment 23 Panu Matilainen 2012-05-07 12:57:44 UTC
There are at least two different issues remaining: the libmagic regex is still slightly wrong for some of the cases (eg urw-fonts) and in others (eg baekmuk-bdf-fonts) rpm considers the files as fonts but fontconfig doesn't understand them: it doesn't like the compression, and it doesn't grok the files even if uncompressed.

Comment 24 Akira TAGOH 2012-05-08 02:51:54 UTC
I'm willing to fix fontconfig if any. let me have a look.

Comment 25 Akira TAGOH 2012-05-08 02:57:29 UTC
Ah, well, this is a known issue.. see Bug#529818. it's not actually relevant to the compression. I have no idea to fix it so far.

Comment 26 Fedora End Of Life 2013-04-03 19:37:03 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 27 Jan Zeleny 2014-06-10 06:37:42 UTC
Clearing needinfo as per comments 23 and 25

Comment 28 Fedora End Of Life 2015-01-09 21:54:29 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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 19 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 29 Fedora End Of Life 2015-02-18 13:39:25 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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