Bug 821769

Summary: libidn2: Gnulib bundled but no bundled(gnulib) provides
Product: [Fedora] Fedora Reporter: Mikolaj Izdebski <mizdebsk>
Component: libidn2Assignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libidn2-0.8-3.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-16 22:09:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mikolaj Izdebski 2012-05-15 13:54:34 UTC
A bundled copy of Gnulib - The GNU Portability Library [1] was found in
libidn2. No Bundled Libraries section [2] of Packaging guidelines
gives more information on bundled libraries and how they should be handled.

Affected libidn2 version: libidn2-0.8-1.fc17

As a kind of copylib, Gnulib has been granted an exception. However, to comply
with Packaging guidelines, packages bundling Gnulib must note that the library
has been granted an exception in the spec file comment with a link to the FPC
ticket where the exception was granted and add a virtual provide to the spec
file to note that Gnulib is bundled. Refer to [2] for more details.

No comment about bundling Gnulib and no virtual provide were found in the
libidn2.spec file. To comply with the packaging guideliness please
add an appropriate comment to the spec file as well as a virtual provide.

Source tarball where bundled Gnulib was found:
    libidn2-0.8.tar.gz

At least the following files look like Gnulib files:
    ./libidn2-0.8/src/gl/m4/00gnulib.m4
    ./libidn2-0.8/gl/m4/00gnulib.m4
    ./libidn2-0.8/src/gl/Makefile.in
    ./libidn2-0.8/src/gl/Makefile.am
    ./libidn2-0.8/src/gl/m4/gnulib-comp.m4
    ./libidn2-0.8/gl/unictype/categ_of.h
    ./libidn2-0.8/gl/unictype/bidi_of.h
    ./libidn2-0.8/gl/unictype/scripts.h
    ./libidn2-0.8/gl/unictype/combiningclass.h
    ./libidn2-0.8/gl/unictype/joiningtype_of.h
    ./libidn2-0.8/gl/unictype/scripts_byname.gperf
    ./libidn2-0.8/gl/unictype/categ_M.h
    ./libidn2-0.8/gl/Makefile.in
    ./libidn2-0.8/gl/Makefile.am
    ./libidn2-0.8/gl/m4/gnulib-comp.m4
    ./libidn2-0.8/gl/uninorm/decomposition-table2.h
    ./libidn2-0.8/gl/uninorm/composition-table.gperf
    ./libidn2-0.8/gl/uninorm/decomposition-table1.h

There are most likely more Gnulib files bundled in the SRPM. I didn't bother
to list them all as it shouldn't be necessary.


[1] http://www.gnu.org/software/gnulib/
[2] http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries

Comment 1 Robert Scheck 2012-05-15 14:05:32 UTC
Is there a gnulib package within Fedora that could be used instead of using
the bundled one?

Comment 2 Mikolaj Izdebski 2012-05-15 14:25:28 UTC
I don't think so.

Bundling Gnulib is allowed, but you must add "Provides: bundled(gnulib) = version". See [1]


[1] http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries