Public bug reported:
Binary package hint: fpc
I am trying to compile a new package (my first) for Ubuntu in a pbuilder
environment with lazarus, but it fails because fp-units-gtk2 has
undefined references. A bug was filed [1] where a patch was also
supplied. I tried to tested it but I did not get it to work. I attach it
here nevertheless because it looks simple, although the paths are not
correct. It tries to patch packages/gtk2/src/gtk+/gtk/gtk2.pas and
packages/gtk2/src/gtk+/gtk/gtkfilesystem.inc instead of
fpcsrc/packages/extra/gtk2/gtk+/gtk/gtk2.pas and
fpcsrc/packages/extra/gtk2/gtk+/gtk/gtkfilesystem.inc
My debian type program source is available at [2]
The error message:
Linking winff
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function
`GTK2_GTK_FILE_SYSTEM_ERROR$$LONGWORD':
gtk2.pas:(.text+0xb7d1): undefined reference to `gtk_file_system_error_quark'
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function
`GTK2_GTK_TYPE_FILE_INFO$$LONGWORD':
gtk2.pas:(.text+0xb7e1): undefined reference to `gtk_file_info_get_type'
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function
`GTK2_GTK_TYPE_FILE_SYSTEM$$LONGWORD':
gtk2.pas:(.text+0xb7f1): undefined reference to `gtk_file_system_get_type'
/usr/lib/fpc/2.2.0/units/i386-linux/gtk2/gtk2.o: In function
`GTK2_GTK_TYPE_FILE_FOLDER$$LONGWORD':
gtk2.pas:(.text+0xb871): undefined reference to `gtk_file_folder_get_type'
winff.lpr(31,1) Error: Error while linking
[EMAIL PROTECTED]:/# lsb_release -rd
Description: Ubuntu intrepid (development branch)
Release: 8.10
[EMAIL PROTECTED]:~/winff-0.42# apt-cache policy fp-units-gtk2
fp-units-gtk2:
Installed: 2.2.0-dfsg1-9
Candidate: 2.2.0-dfsg1-9
Version table:
*** 2.2.0-dfsg1-9 0
500 http://mirrors.kernel.org intrepid/universe Packages
100 /var/lib/dpkg/status
[1] http://mantis.freepascal.org/view.php?id=11837
[2] http://mentors.debian.net/debian/pool/main/w/winff
** Affects: lazarus
Importance: Unknown
Status: Unknown
** Affects: fpc (Ubuntu)
Importance: Undecided
Status: New
--
fp-units-gtk2 has undefined references due to GtkFileSystemError removal from
GTK
https://bugs.launchpad.net/bugs/260464
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs