Bug #11905
openBuild and publish error for library/dbus
0%
Description
The OI source is from 2018. Consequently, there may be a new version of the source, or some of the bugs may have already been fixed. Though the changes have been developed on SPARC hardware, they might correct bugs in some x86 packages. In any case, they should not damage other x86 packages.
During the build of library/dbus, I received this error:
CCLD dbus-monitor Undefined first referenced symbol in file inet_ntop dbus-print-message.o (symbol belongs to implicit dependency /lib/libnsl.so.1) ld: fatal: symbol referencing errors. No output written to .libs/dbus-monitor collect2: error: ld returned 1 exit status make[3]: *** [Makefile:684: dbus-monitor] Error 1
The cause of this error is a missing library on the link command line. The solution is to modify Makefile to add this library. The patch Makefile.diff accomplishes this change. With that one fixed, I received the following publish errors:
Couldn't find 'usr/share/doc/dbus/api/dir_5b42d9f00640640b7578618a0863a45d.html' in any of the specified search directories: ... Couldn't find 'usr/share/doc/dbus/api/dir_e7d8299e1873836dc4681e7d05d03e4d.html' in any of the specified search directories:
The cause, in this case, is that the build on SPARC hardware did not create the html document files. The solution is to update the manifest to append variant.arch=i386 to those files. The patch dbus.diff accomplishes this change. With it, the publish was successful.
Files
No data to display