Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388501 - gnome-extra/libgda-4.2.9[doc] fails to emerge
Summary: gnome-extra/libgda-4.2.9[doc] fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 04:58 UTC by Naveen Goswamy
Modified: 2011-11-16 18:41 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the build log (build.log,728.96 KB, text/plain)
2011-10-26 05:02 UTC, Naveen Goswamy
Details
build.log of libgda-4.2.10 on ~amd64 (build.log,746.01 KB, text/plain)
2011-11-09 10:40 UTC, jannis
Details
The patch to fix this bug (libgda-4.2.9-docfix.patch,818 bytes, text/plain)
2011-11-16 11:25 UTC, Weihua Zhou
Details
The patch for this bug (libgda-4.2.9-docfix.patch,818 bytes, patch)
2011-11-16 11:28 UTC, Weihua Zhou
Details | Diff
Ebuild file for the patch (libgda-4.2.9.ebuild,3.60 KB, text/plain)
2011-11-16 11:30 UTC, Weihua Zhou
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Naveen Goswamy 2011-10-26 04:58:46 UTC
libgda-4.2.9 fails to emerge on upgrade with



Reproducible: Always

Steps to Reproduce:
1.emerge --update --newuse --deep -av world
2.
3.
Actual Results:  
../libgda-4.0-docs.sgml:595: parser error : Failure to process entity libgda-GdaSqlParser
      &libgda-GdaSqlParser;
                           ^
../libgda-4.0-docs.sgml:595: parser error : Entity 'libgda-GdaSqlParser' not defined
      &libgda-GdaSqlParser;
                           ^
unable to parse ../libgda-4.0-docs.sgml
make[2]: *** [html-build.stamp] Error 6

Expected Results:  
succeeded emerge
Comment 1 Naveen Goswamy 2011-10-26 05:02:41 UTC
Created attachment 290839 [details]
the build log
Comment 2 David W Noon 2011-10-26 11:23:04 UTC
I have this same issue on 2 stable x86 boxes and 1 stable amd64 box.
Comment 3 Naveen Goswamy 2011-10-27 19:29:07 UTC
I believe this was related to the USE doc flag I had set... 
I just successfully emerged it with -doc
Comment 4 David W Noon 2011-10-27 19:47:19 UTC
(In reply to comment #3)
> I believe this was related to the USE doc flag I had set... 
> I just successfully emerged it with -doc

The package should emerge correctly with the doc flag too.  But it doesn't.

Given that this is a library presenting a database access API, any application programmer attempting to use that API needs the documentation.
Comment 5 jannis 2011-11-09 10:39:55 UTC
libgda-4.2.10 is still affected. build log follows
Comment 6 jannis 2011-11-09 10:40:38 UTC
Created attachment 292001 [details]
build.log of libgda-4.2.10 on ~amd64
Comment 7 jannis 2011-11-09 10:44:42 UTC
As explained by gnome-devs at the linked gnome bug (see URL), this is fixed in libgda-4.2.11
A bump to this new version should fix this bug here.
Comment 8 Weihua Zhou 2011-11-16 11:25:02 UTC
Created attachment 292747 [details]
The patch to fix this bug

Hi, I've worked out a patch for this bug. You can download the patch from the attachment. By using epatch at the end of the src_prepare function in the ebuild, libgda can be compiled with doc flag on. This patch also works with 2.9.10
Comment 9 Weihua Zhou 2011-11-16 11:28:01 UTC
Created attachment 292749 [details, diff]
The patch for this bug

I just forgot to check the patch checkbox.
Comment 10 Weihua Zhou 2011-11-16 11:30:07 UTC
Created attachment 292751 [details]
Ebuild file for the patch
Comment 11 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-11-16 18:41:15 UTC
Fixed in libgda-4.2.11, thanks to everyone for reporting.

>  16 Nov 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
>  +libgda-4.2.11.ebuild, +libgda-5.0.1.ebuild, metadata.xml:
>  Version bump for both slots; fixes several bugs, including building with
>  USE=doc (bug #388501). Enable mdb support for 4.2.11. Enable vala bindings
>  for 5.0.1 (they build now). Enable tests for 5.0.1 (the test suite now passes
>  when running from portage).