Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517708 - =dev-cpp/glog-0.3.3-r1 FEATURES=test - .../work/glog-0.3.3/src/demangle_unittest.cc:123:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
Summary: =dev-cpp/glog-0.3.3-r1 FEATURES=test - .../work/glog-0.3.3/src/demangle_unitt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2014-07-21 17:46 UTC by Markus Walter
Modified: 2016-03-03 14:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (glog-0.3.3-r1:20140721-174430.log,22.41 KB, text/plain)
2014-07-21 17:46 UTC, Markus Walter
Details
emerge --info (info.txt,5.81 KB, text/plain)
2014-07-21 17:47 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2014-07-21 17:46:50 UTC
Created attachment 381270 [details]
build log

On my hardened ~amd64 machine with gcc-4.9.0 I see the following failure in glog. This does not occur if tests are disabled.

/var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc: In function ‘int main(int, char**)’:
/var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc:123:43: error: ‘ParseCommandLineFlags’ was not declared in this scope
   ParseCommandLineFlags(&argc, &argv, true);
                                           ^
/var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc:123:43: note: suggested alternative:
In file included from ./src/glog/logging.h:85:0,
                 from /var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/utilities.h:82,
                 from /var/tmp/portage/dev-cpp/glog-0.3.3-r1/work/glog-0.3.3/src/demangle_unittest.cc:34:
/usr/include/gflags/gflags.h:346:31: note:   ‘gflags::ParseCommandLineFlags’
 extern GFLAGS_DLL_DECL uint32 ParseCommandLineFlags(int *argc, char*** argv, bool remove_flags);
                               ^
Makefile:872: recipe for target 'demangle_unittest-demangle_unittest.o' failed
make: *** [demangle_unittest-demangle_unittest.o] Error 1
Comment 1 Markus Walter 2014-07-21 17:47:03 UTC
Created attachment 381272 [details]
emerge --info
Comment 2 SpanKY gentoo-dev 2014-07-28 05:32:28 UTC
what version of gflags do you have ?  it passes for me w/gflags-2.0 and 2.1.1-r1.
Comment 3 Markus Walter 2014-07-28 18:50:28 UTC
(In reply to SpanKY from comment #2)
> what version of gflags do you have ?  it passes for me w/gflags-2.0 and
> 2.1.1-r1.

For me the error happens with gflags-2.1.1-r1, but not with 2.0.
Comment 4 SpanKY gentoo-dev 2014-07-29 15:19:06 UTC
if you rebuild gflags (2.1.1-r1), then glog, does it work ?
Comment 5 Markus Walter 2014-07-29 15:35:49 UTC
(In reply to SpanKY from comment #4)
> if you rebuild gflags (2.1.1-r1), then glog, does it work ?

No. I rebuilt gflags twice and I saw no change when merging glog after each iteration.
Comment 6 SpanKY gentoo-dev 2016-03-02 18:08:15 UTC
is this still an issue ?
Comment 7 Markus Walter 2016-03-03 08:22:25 UTC
(In reply to SpanKY from comment #6)
> is this still an issue ?

I just tried with glog-0.3.4 and the problem is gone.
Comment 8 SpanKY gentoo-dev 2016-03-03 14:52:18 UTC
thanks for checking