Bug 83390 - telepathy-logger-0.8.1 fails to build with --disable-debug
Summary: telepathy-logger-0.8.1 fails to build with --disable-debug
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 09:46 UTC by Pacho Ramos
Modified: 2019-12-03 19:32 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Pacho Ramos 2014-09-02 09:46:05 UTC
We get:
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../extensions -I.. -Wall -Wextra -Wformat-security -Winit-self -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wno-missing-field-initializers -Wno-unused-parameter -D_POSIX_SOURCE -std=c99 -DG_LOG_DOMAIN=\"tp-logger\" -DTPL_DATA_DIR=\"telepathy-logger\" -DTP_DISABLE_SINGLE_INCLUDE -pthread -I/usr/include/libxml2 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -march=native -pipe -O2 -ggdb -c -o log-iter-pidgin.lo log-iter-pidgin.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../extensions -I.. -Wall -Wextra -Wformat-security -Winit-self -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wno-missing-field-initializers -Wno-unused-parameter -D_POSIX_SOURCE -std=c99 -DG_LOG_DOMAIN=\"tp-logger\" -DTPL_DATA_DIR=\"telepathy-logger\" -DTP_DISABLE_SINGLE_INCLUDE -pthread -I/usr/include/libxml2 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -pipe -O2 -ggdb -c log-iter.c  -fPIC -DPIC -o .libs/log-iter.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../extensions -I.. -Wall -Wextra -Wformat-security -Winit-self -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wno-missing-field-initializers -Wno-unused-parameter -D_POSIX_SOURCE -std=c99 -DG_LOG_DOMAIN=\"tp-logger\" -DTPL_DATA_DIR=\"telepathy-logger\" -DTP_DISABLE_SINGLE_INCLUDE -pthread -I/usr/include/libxml2 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -pipe -O2 -ggdb -c log-iter-pidgin.c  -fPIC -DPIC -o .libs/log-iter-pidgin.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../extensions -I.. -Wall -Wextra -Wformat-security -Winit-self -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wno-missing-field-initializers -Wno-unused-parameter -D_POSIX_SOURCE -std=c99 -DG_LOG_DOMAIN=\"tp-logger\" -DTPL_DATA_DIR=\"telepathy-logger\" -DTP_DISABLE_SINGLE_INCLUDE -pthread -I/usr/include/libxml2 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include      -march=native -pipe -O2 -ggdb -c -o log-iter-xml.lo log-iter-xml.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../extensions -I.. -Wall -Wextra -Wformat-security -Winit-self -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wsign-compare -Wstrict-prototypes -Wno-missing-field-initializers -Wno-unused-parameter -D_POSIX_SOURCE -std=c99 -DG_LOG_DOMAIN=\"tp-logger\" -DTPL_DATA_DIR=\"telepathy-logger\" -DTP_DISABLE_SINGLE_INCLUDE -pthread -I/usr/include/libxml2 -I/usr/include/telepathy-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -pipe -O2 -ggdb -c log-iter-xml.c  -fPIC -DPIC -o .libs/log-iter-xml.o
debug.c:111:21: error: unknown type name 'TplDebugFlags'
make[3]: *** [debug.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/net-im/telepathy-logger-0.8.1/work/telepathy-logger-0.8.1/telepathy-logger'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-im/telepathy-logger-0.8.1/work/telepathy-logger-0.8.1/telepathy-logger'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-im/telepathy-logger-0.8.1/work/telepathy-logger-0.8.1'
make: *** [all] Error 2
Comment 1 Simon McVittie 2014-09-02 10:17:33 UTC
In Telepathy 1, we resolved this by deleting the --disable-debug option. Having a build-time configuration that none of the developers will ever actually test, and that makes bug reports useless, in order to reduce on-disk footprint slightly, does not seem like the route to happiness.

Patches welcome (either to fix the build with --disable-debug, or to delete that build option).

Until/unless there is a patch, I would suggest working around this by changing the Gentoo packaging metadata to never pass --disable-debug, regardless of "use flags" or whatever.
Comment 2 Pacho Ramos 2014-09-02 10:21:00 UTC
Yeah, we are building with --enable-debug due this for now :)
Comment 3 GitLab Migration User 2019-12-03 19:32:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-logger/issues/39.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.