public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug releng/21190] New: stap fails to build on rhel6 because of
@ 2017-02-21 12:18 mcermak at redhat dot com
  2017-02-21 13:17 ` [Bug releng/21190] " fche at redhat dot com
  2017-02-21 14:46 ` mcermak at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2017-02-21 12:18 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=21190

            Bug ID: 21190
           Summary: stap fails to build on rhel6 because of
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: releng
          Assignee: systemtap at sourceware dot org
          Reporter: mcermak at redhat dot com
                CC: dsmith at redhat dot com
  Target Milestone: ---

Systemtap fails to build with --enable-sqlite on rhel-6, where sqlite-3.6 is
available.  This breaks `make rpm`, thusly:

=======
checking for sqlite3... no
configure: error: in `/home/mcermak/rpmbuild/BUILD/systemtap-3.2':
configure: error: --enable-sqlite was given, but test for sqlite failed
See `config.log' for more details
error: Bad exit status from /var/tmp/rpm-tmp.0CeUad (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.0CeUad (%build)
make: *** [rpm] Error 1
 6.9 Server x86_64 $ rpm -q sqlite
sqlite-3.6.20-1.el6_7.2.x86_64
 6.9 Server x86_64 $
=======

Following update (+ autoreconf) works the problem around:

=======
diff --git a/configure.ac b/configure.ac
index f60e63d..82b0d23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -248,7 +248,7 @@ AC_ARG_ENABLE([sqlite],
   [enable_sqlite=check])               dnl ACTION-IF-NOT-GIVEN
 sqlite3_LIBS=
 AS_IF([test "x$enable_sqlite" != xno],
-  [PKG_CHECK_MODULES([sqlite3], [sqlite3 > 3.7],
+  [PKG_CHECK_MODULES([sqlite3], [sqlite3 > 3.6],
     [AC_DEFINE([HAVE_LIBSQLITE3], [1], [Define to 1 if you have the 'sqlite3'
library (-lsqlite3).])],
     [if test "x$enable_sqlite" != xcheck; then
       AC_MSG_FAILURE([--enable-sqlite was given, but test for sqlite failed])
=======

Is there some reason for preferring sqlite-3.7 over sqlite-3.6?

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug releng/21190] stap fails to build on rhel6 because of
  2017-02-21 12:18 [Bug releng/21190] New: stap fails to build on rhel6 because of mcermak at redhat dot com
@ 2017-02-21 13:17 ` fche at redhat dot com
  2017-02-21 14:46 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2017-02-21 13:17 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=21190

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
The .spec file would need to take away the --enable-sqlite from rhel6.
The pkgconfig version requirement is legit (based on the stap -i sample
command).

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug releng/21190] stap fails to build on rhel6 because of
  2017-02-21 12:18 [Bug releng/21190] New: stap fails to build on rhel6 because of mcermak at redhat dot com
  2017-02-21 13:17 ` [Bug releng/21190] " fche at redhat dot com
@ 2017-02-21 14:46 ` mcermak at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: mcermak at redhat dot com @ 2017-02-21 14:46 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=21190

Martin Cermak <mcermak at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Martin Cermak <mcermak at redhat dot com> ---
Fixed in commit 0f887b7f25ab2193459b79a0d3483a3a5a205bf0 .

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-21 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21 12:18 [Bug releng/21190] New: stap fails to build on rhel6 because of mcermak at redhat dot com
2017-02-21 13:17 ` [Bug releng/21190] " fche at redhat dot com
2017-02-21 14:46 ` mcermak at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).