Bug 1432940

Summary: can't build vte291 with --enable-test-application
Product: Red Hat Enterprise Linux 7 Reporter: Tomas Pelka <tpelka>
Component: vte291Assignee: Debarshi Ray <debarshir>
Status: CLOSED UPSTREAM QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: egmont, mkrajnak
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-16 15:47:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Pelka 2017-03-16 12:46:06 UTC
Description of problem:
can't build vte291 with --enable-test-application

Version-Release number of selected component (if applicable):
vte291-0.46.1-1.el7

How reproducible:
100%

Steps to Reproduce:
1. ./configure --enable-test-application
2. make check
3.

Actual results:
# make check
Making check in src
make[1]: Entering directory `/home/test/rpmbuild/BUILD/vte-0.46.1/src'
  GEN      vteresources.cc
make  check-am
make[2]: Entering directory `/home/test/rpmbuild/BUILD/vte-0.46.1/src'
  CXX      libvte_2_91_la-vteresources.lo
  CXXLD    libvte-2.91.la
  GISCAN   Vte-2.91.gir
pty.cc:959: Warning: Vte: invalid "transfer" annotation for gint: only valid for array, struct, union, boxed, object and interface types
pty.cc:990: Warning: Vte: invalid "transfer" annotation for gint: only valid for array, struct, union, boxed, object and interface types
vtegtk.cc:2352: Warning: Vte: Unknown container Type(target_fundamental=utf8, ctype=char*) for element-type annotation
 VAPIGEN vte-2.91.vapi
  GEN      appresources.c
  CC       vte_2_91-appresources.o
  CCLD     vte-2.91
  CCLD     testvte
  GICOMP   Vte-2.91.gir
make  dumpkeys reflect-text-view reflect-vte mev table xticker vteconv vtestream-file test-vtetypes \
  check-doc-syntax.sh test-vte-sh.sh 
make[3]: Entering directory `/home/test/rpmbuild/BUILD/vte-0.46.1/src'
make[3]: `dumpkeys' is up to date.
make[3]: `reflect-text-view' is up to date.
  CCLD     reflect-vte
make[3]: `mev' is up to date.
make[3]: `table' is up to date.
make[3]: `xticker' is up to date.
  CXX      vteconv-vteconv.o
vteconv.cc: In function ‘void test_zero_byte_passthrough()’:
vteconv.cc:644:13: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
         int i;
             ^
vteconv.cc: In function ‘int main(int, char**)’:
vteconv.cc:774:40: error: missing sentinel in function call [-Werror=format=]
         g_test_init (&argc, &argv, NULL);
                                        ^
cc1plus: some warnings being treated as errors
make[3]: *** [vteconv-vteconv.o] Error 1
make[3]: Leaving directory `/home/test/rpmbuild/BUILD/vte-0.46.1/src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/test/rpmbuild/BUILD/vte-0.46.1/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/test/rpmbuild/BUILD/vte-0.46.1/src'
make: *** [check-recursive] Error 1


Expected results:
build should be successful

Additional info:

Comment 1 Egmont Koblinger 2017-03-16 13:23:40 UTC
Forwarded upstream: https://bugzilla.gnome.org/show_bug.cgi?id=780146 (solution is also presented there).

Note that --enable-test-application is irrelevant (that's a test application as the name says, rather than unittests as in "make check", and that's the default anyways).

Comment 2 Martin Krajnak 2017-08-16 15:47:00 UTC
Reported failure was fixed in vte291-0.46.2-1.el7