[opensuse-packaging] cairo - harfbuzz causes Failure to Build FT_Get_Var_Design_Coordinates?
All, I have a little editor that I build that has built for 13.1 to 42.3 without error. However when enabling the Leap 15 repo for building, I get a failure to build from source, e.g (an error on link due to symbol problems): [ 94s] cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_appdata.o gtk_appdata.c [ 95s] cc -o bin/gtkwrite_dev obj/gtkwrite.o obj/gtk_windef.o obj/gtk_toolbar.o obj/gtk_textview.o obj/gtk_statusbar.o obj/gtk_sourceview.o obj/gtk_settings.o obj/gtk_print.o obj/gtk_menu.o obj/gtk_goto.o obj/gtk_findreplace.o obj/gtk_filemon.o obj/gtk_filebuf.o obj/gtk_common_dlg.o obj/gtk_charset.o obj/gtk_appdata.o -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ `pkg-config --libs gtk+-2.0` -lgtksourceview-2.0 [ 95s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/libcairo.so: undefined reference to `FT_Get_Var_Design_Coordinates' [ 95s] /usr/lib64/libharfbuzz.so.0: undefined reference to `FT_Done_MM_Var' [ 95s] /usr/lib64/libharfbuzz.so.0: undefined reference to `FT_Get_Var_Blend_Coordinates' [ 95s] collect2: error: ld returned 1 exit status [ 95s] make: *** [Makefile:37: gtkwrite] Error 1 [ 95s] error: Bad exit status from /var/tmp/rpm-tmp.C2kJEn (%build) [ 95s] [ 95s] [ 95s] RPM build errors: [ 95s] Bad exit status from /var/tmp/rpm-tmp.C2kJEn (%build) [ 95s] [ 95s] cloud107 failed "build gtkwrite.spec" at Tue Jun 26 06:25:16 UTC 2018. The package is: https://build.opensuse.org/package/show/home:drankinatty/gtkwrite Is there a problem with the new cairo or harfbuzz that isn't compatible with 42.3 versions? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 07/02/2018 08:32 PM, David C. Rankin wrote:
All,
I have a little editor that I build that has built for 13.1 to 42.3 without error. However when enabling the Leap 15 repo for building, I get a failure to build from source, e.g (an error on link due to symbol problems):
[ 94s] cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_appdata.o gtk_appdata.c [ 95s] cc -o bin/gtkwrite_dev obj/gtkwrite.o obj/gtk_windef.o obj/gtk_toolbar.o obj/gtk_textview.o obj/gtk_statusbar.o obj/gtk_sourceview.o obj/gtk_settings.o obj/gtk_print.o obj/gtk_menu.o obj/gtk_goto.o obj/gtk_findreplace.o obj/gtk_filemon.o obj/gtk_filebuf.o obj/gtk_common_dlg.o obj/gtk_charset.o obj/gtk_appdata.o -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ `pkg-config --libs gtk+-2.0` -lgtksourceview-2.0 [ 95s] /usr/lib64/gcc/x86_64-suse-linux/7/../../../../lib64/libcairo.so: undefined reference to `FT_Get_Var_Design_Coordinates' [ 95s] /usr/lib64/libharfbuzz.so.0: undefined reference to `FT_Done_MM_Var' [ 95s] /usr/lib64/libharfbuzz.so.0: undefined reference to `FT_Get_Var_Blend_Coordinates' [ 95s] collect2: error: ld returned 1 exit status [ 95s] make: *** [Makefile:37: gtkwrite] Error 1 [ 95s] error: Bad exit status from /var/tmp/rpm-tmp.C2kJEn (%build) [ 95s] [ 95s] [ 95s] RPM build errors: [ 95s] Bad exit status from /var/tmp/rpm-tmp.C2kJEn (%build) [ 95s] [ 95s] cloud107 failed "build gtkwrite.spec" at Tue Jun 26 06:25:16 UTC 2018.
The package is:
https://build.opensuse.org/package/show/home:drankinatty/gtkwrite
Is there a problem with the new cairo or harfbuzz that isn't compatible with 42.3 versions?
The frustrating point is that downloading and rebuilding the .srpm created from 42.3 on 15 works without issue: cat ~/tmp/gtkwrite-0.1.9.build.log rpmbuild --rebuild gtkwrite-0.1.9-3.1.src.rpm Installing gtkwrite-0.1.9-3.1.src.rpm warning: gtkwrite-0.1.9-3.1.src.rpm: Header V3 DSA/SHA1 Signature, key ID 532ce4da: NOKEY Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jig8p9 + umask 022 + cd /home/david/rpmbuild/BUILD + cd /home/david/rpmbuild/BUILD + rm -rf gtkwrite-0.1.9 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/david/rpmbuild/SOURCES/v0.1.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gtkwrite-0.1.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qmhjnt + umask 022 + cd /home/david/rpmbuild/BUILD + /usr/bin/rm -rf /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64 ++ dirname /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64 + /usr/bin/mkdir -p /home/david/rpmbuild/BUILDROOT + /usr/bin/mkdir /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64 + cd gtkwrite-0.1.9 + make with=-DWGTKSOURCEVIEW2 cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtkwrite.o gtkwrite.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_windef.o gtk_windef.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_toolbar.o gtk_toolbar.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_textview.o gtk_textview.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_statusbar.o gtk_statusbar.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_sourceview.o gtk_sourceview.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_settings.o gtk_settings.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_print.o gtk_print.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_menu.o gtk_menu.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_goto.o gtk_goto.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_findreplace.o gtk_findreplace.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_filemon.o gtk_filemon.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_filebuf.o gtk_filebuf.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_common_dlg.o gtk_common_dlg.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_charset.o gtk_charset.c cc -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ -c -o obj/gtk_appdata.o gtk_appdata.c cc -o bin/gtkwrite_dev obj/gtkwrite.o obj/gtk_windef.o obj/gtk_toolbar.o obj/gtk_textview.o obj/gtk_statusbar.o obj/gtk_sourceview.o obj/gtk_settings.o obj/gtk_print.o obj/gtk_menu.o obj/gtk_goto.o obj/gtk_findreplace.o obj/gtk_filemon.o obj/gtk_filebuf.o obj/gtk_common_dlg.o obj/gtk_charset.o obj/gtk_appdata.o -Wall -Wextra -pedantic -finline-functions -std=gnu11 -Ofast `pkg-config --cflags gtk+-2.0` -MP -MD -DWGTKSOURCEVIEW2 -I/usr/include/gtksourceview-2.0/ `pkg-config --libs gtk+-2.0` -lgtksourceview-2.0 strip -s -o bin/gtkwrite bin/gtkwrite_dev + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Yz36ho + umask 022 + cd /home/david/rpmbuild/BUILD + cd gtkwrite-0.1.9 + install -m 755 -d /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64//usr/bin + install -m 755 bin/gtkwrite /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64//usr/bin + install -m 755 -d /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/gtksourceview-2.0/styles + install -m 644 styles/gtkwrite.xml /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/gtksourceview-2.0/styles + install -m 644 styles/gtkwrite_light.xml /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/gtksourceview-2.0/styles + install -m 755 -d /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/gtkwrite/img + install -m 644 img/gtkwrite.png /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/gtkwrite/img + install -m 644 img/gtkwrite.ico /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/gtkwrite/img + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-suse Processing files: gtkwrite-0.1.9-3.1.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vYdAmj + umask 022 + cd /home/david/rpmbuild/BUILD + cd gtkwrite-0.1.9 + DOCDIR=/home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/doc/packages/gtkwrite + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/doc/packages/gtkwrite + cp -pr README.md /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/doc/packages/gtkwrite + cp -pr gpl-2.0.txt /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64/usr/share/doc/packages/gtkwrite + exit 0 Provides: gtkwrite = 0.1.9-3.1 gtkwrite(x86-64) = 0.1.9-3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libgtksourceview-2.0.so.0()(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64 Wrote: /home/david/rpmbuild/RPMS/x86_64/gtkwrite-0.1.9-3.1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.psa6If + umask 022 + cd /home/david/rpmbuild/BUILD + cd gtkwrite-0.1.9 + rm -rf /home/david/rpmbuild/BUILDROOT/gtkwrite-0.1.9-3.1.x86_64 + exit 0 Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.9qi76b + umask 022 + cd /home/david/rpmbuild/BUILD + rm -rf gtkwrite-0.1.9 + exit 0 So is this a buildservice issue or a packaging issue. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
El 02-07-2018 a las 21:32, David C. Rankin escribió:
All,
I have a little editor that I build that has built for 13.1 to 42.3 without error. However when enabling the Leap 15 repo for building, I get a failure to build from source, e.g (an error on link due to symbol problems):
In your repository the freetype version you are using (built from local package freetype2_dcr ) does not match the freetype version used to link the system's libcairo, it won't work. do not create this mixes with libraries that do not support symbol versioning, they will break at anytime and RPM dependencies will not warn you of the impending doom. Cheers. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 07/02/2018 10:47 PM, Cristian Rodríguez wrote:
El 02-07-2018 a las 21:32, David C. Rankin escribió:
All,
I have a little editor that I build that has built for 13.1 to 42.3 without error. However when enabling the Leap 15 repo for building, I get a failure to build from source, e.g (an error on link due to symbol problems):
In your repository the freetype version you are using (built from local package freetype2_dcr ) does not match the freetype version used to link the system's libcairo, it won't work. do not create this mixes with libraries that do not support symbol versioning, they will break at anytime and RPM dependencies will not warn you of the impending doom.
Cheers.
Cristian, Thank you! But I am bewildered. Are you saying that the gtkwrite build (which is not related in the least to the freetype2 package in my repo) will automatically use the freetype2_dcr package -- even though it isn't referenced anywhere in the .spec of Makefile for gtkwrite? Dang you have good eyes. The error log says it *is* using the libfreetype from my repo. How do I tell the gtkwrite .spec to just use the normal libfreetype? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 07/03/2018 02:26 AM, David C. Rankin wrote:
Dang you have good eyes. The error log says it *is* using the libfreetype from my repo. How do I tell the gtkwrite .spec to just use the normal libfreetype?
Wait! Light-bulb ON -- that's what that "Use for Build" grid in the Repositories page is for -- right? I bet it is, I'll try and see if that fixes the issue. (sure hope the fonts are all wonky afterwards :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On 07/03/2018 02:33 AM, David C. Rankin wrote:
Wait! Light-bulb ON -- that's what that "Use for Build" grid in the Repositories page is for -- right? I bet it is, I'll try and see if that fixes the issue. (sure hope the fonts are all wonky afterwards :)
That did it! I always wondered what the hell that lower-right grid was for. Failure is indeed the best teacher :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
El 03-07-2018 a las 3:26, David C. Rankin escribió:
Are you saying that the gtkwrite build (which is not related in the least to the freetype2 package in my repo) will automatically use the freetype2_dcr package -- even though it isn't referenced anywhere in the .spec of Makefile for gtkwrite?
Correct, That's how the OBS works.. if a local package provides X then will be used for build replacing X included in the distribution.
Dang you have good eyes.
Just used to deal with all sort of obscure errors. :-) The error log says it *is* using the libfreetype
from my repo. How do I tell the gtkwrite .spec to just use the normal libfreetype?
Do not use it for build, change the flag in the web interface. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Cristian Rodríguez
-
David C. Rankin