! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Plugin API documentation does not build
Status:
RESOLVED: FIXED

Comments

Description Guido Berhoerster 2012-08-10 18:24:25 CEST
The plugin documentation does not build with 0.3.0:

[   21s] Making all in docs
[   21s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs'
[   21s] Making all in plugin-api
[   21s] make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api'
[   21s]   DOC   Scanning header files
[   21s] Can't open source directory ../../parole: No such file or directory at /usr/bin/gtkdoc-scan line 219.
[   21s] make[3]: *** [scan-build.stamp] Error 2
[   21s] make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api'
[   21s] make[2]: *** [all-recursive] Error 1
[   21s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs'
[   21s] make[1]: *** [all-recursive] Error 1
[   21s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/parole-0.3.0'
[   21s] make: *** [all] Error 2

Obviously the path to the sources is wrong. Correcting the path results in another build failure due to a missing dependency of the plugin API documentation target on the plugin library. After explicitly building the application first, the plugin API documentation build still fails with:

make[1]: Entering directory `/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api'
  DOC   Scanning header files
  DOC   Introspecting gobjects
.libs/Parole-Plugins-scan.o: In function `get_object_types':
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:45: undefined reference to `parole_aspect_ratio_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:46: undefined reference to `parole_button_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:47: undefined reference to `parole_button_key_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:48: undefined reference to `parole_conf_dialog_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:49: undefined reference to `parole_conf_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:50: undefined reference to `parole_disc_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:52: undefined reference to `parole_gst_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:53: undefined reference to `parole_media_chooser_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:54: undefined reference to `parole_media_list_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:56: undefined reference to `parole_open_location_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:58: undefined reference to `parole_player_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:60: undefined reference to `parole_plugin_player_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:61: undefined reference to `parole_plugins_manager_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:62: undefined reference to `parole_provider_module_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:65: undefined reference to `parole_screen_saver_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:68: undefined reference to `pm_provider_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:69: undefined reference to `sample_provider_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:70: undefined reference to `stream_properties_get_type'
/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api/Parole-Plugins-scan.c:71: undefined reference to `tray_provider_get_type'
collect2: error: ld returned 1 exit status
Linking of scanner failed:
make[1]: *** [scan-build.stamp] Error 1
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/parole-0.3.0/docs/plugin-api'
make: *** [all-recursive] Error 1
Comment 1 Sean Davis editbugs 2012-08-10 19:03:49 CEST
Hello, please try again with the latest git master.
Comment 2 Guido Berhoerster 2012-08-10 19:22:33 CEST
This is on latest git master.
Comment 3 Sean Davis editbugs 2012-08-13 18:08:28 CEST
Hello, I have updated the build files.  Please try again on the latest master.
Comment 4 Guido Berhoerster 2012-08-13 19:57:41 CEST
(In reply to comment #3)
> Hello, I have updated the build files.  Please try again on the latest
> master.

No, still doesn't work yet:

[   22s] Making all in docs
[   22s] make[2]: Entering directory `/home/abuild/rpmbuild/BUILD/parole/docs'
[   22s] Making all in plugin-api
[   22s] make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/parole/docs/plugin-api'
[   22s]   DOC   Scanning header files
[   22s]   DOC   Introspecting gobjects
[   23s] libtool: link: cannot find the library `../../src/misc/libparole.la' or unhandled argument `../../src/misc/libparole.la'
[   23s] Linking of scanner failed:
[   23s] make[3]: *** [scan-build.stamp] Error 1
[   23s] make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/parole/docs/plugin-api'
[   23s] make[2]: *** [all-recursive] Error 1
[   23s] make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/parole/docs'
[   23s] make[1]: *** [all-recursive] Error 1
[   23s] make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/parole'
[   23s] make: *** [all] Error 2

Seems like you are missing a makefile dependency of the documentation on libparole, it tries to build the documentation first.
Comment 5 Sean Davis editbugs 2012-08-14 16:44:36 CEST
Thanks again, the problem should finally be resolved.  Please test again.
Comment 6 Guido Berhoerster 2012-08-14 22:48:07 CEST
Created attachment 4591 
build log

I'm afraid it still fails to build with rev754ec9be61c2b381297e2311b79839a69f89a319 , build log is attached.
Comment 7 Sean Davis editbugs 2012-08-15 15:32:17 CEST
I think I have found a proper solution to your bug.  Please test again with the latest master.
Comment 8 Guido Berhoerster 2012-08-15 16:41:43 CEST
(In reply to comment #7)
> I think I have found a proper solution to your bug.  Please test again with
> the latest master.

Thanks, the documentation builds fine now. It would be nice if you could release a maintenance update soon with all the fixes since 0.3.0.
Comment 9 Sean Davis editbugs 2012-08-15 16:43:24 CEST
(In reply to comment #8)
> (In reply to comment #7)
> > I think I have found a proper solution to your bug.  Please test again with
> > the latest master.
> 
> Thanks, the documentation builds fine now. It would be nice if you could
> release a maintenance update soon with all the fixes since 0.3.0.

That's good to hear.  I will be releasing a maintenance release later today, after I hear back from another bugfix.

Bug #9196

Reported by:
Guido Berhoerster
Reported on: 2012-08-10
Last modified on: 2012-08-15

People

Assignee:
Simon Steinbeiss
CC List:
1 user

Version

Version:
unspecified

Attachments

build log (5.62 KB, text/plain)
2012-08-14 22:48 CEST , Guido Berhoerster
no flags

Additional information