Bug #2448
closedwaf does not find setegid when configured in debug mode in Ubuntu 14.04
0%
Description
This stops nfd from running. Checked out the latest version (bda8366ada40e90d30dc2859334889e4e5f36a7b) and it happens on Ubuntu 14.04.
Without-debug:
root@riker:~/NFD# ./waf configure --without-websocket
Setting top to : /root/NFD
Setting out to : /root/NFD/build
Checking for 'g++' (C++ compiler) : /usr/bin/g++
..
Checking for header ifaddrs.h : yes
Checking for function setegid : yes
Checking for function seteuid : yes
Checking for function sysconf : yes
..
With debug:
./waf configure --without-websocket --debug
Setting top to : /tmp/NFD
Setting out to : /tmp/NFD/build
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking supported CXXFLAGS : -std=c++11
Checking supported CXXFLAGS : -pedantic -Wall -O0 -g3 -Werror -Wno-error=maybe-uninitialized -Og
Checking for program 'doxygen' : not found
Checking for program 'tar' : /bin/tar
Checking for program 'sphinx-build' : not found
Checking for std::is_default_constructible : yes
Checking for std::is_move_constructible : yes
Checking for override specifier : yes
Checking for program 'bash' : /bin/bash
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for 'libndn-cxx' : yes
Checking for librt library : yes
Checking for libresolv library : yes
Checking for header ifaddrs.h : yes
Checking for function setegid : not found
Dropping privileges is not supported on this platform
Checking boost includes : 1.54.0
Checking boost libs : ok
Checking for boost linkage : ok
Checking if Unix sockets are supported : yes
Checking if Ethernet face support can be enabled : yes
Checking for libpcap library : yes
Checking for function pcap_set_immediate_mode : yes
'configure' finished successfully (3.831s)
Updated by susmit shannigrahi almost 10 years ago
root@riker:/tmp/NFD# nfd-start
1422559980.880583 TRACE: [NameTree] lookup /
1422559980.880632 TRACE: [NameTree] insert /
1422559980.880648 TRACE: [NameTree] Name / hash value = 0 location = 0
1422559980.880674 TRACE: [NameTree] Did not find /, need to insert it to the table
1422559980.880693 INFO: [StrategyChoice] setDefaultStrategy /localhost/nfd/strategy/best-route/%FD%02
1422559980.880982 INFO: [InternalFace] registering callback for /localhost/nfd/fib
1422559980.881051 INFO: [InternalFace] registering callback for /localhost/nfd/faces
1422559980.881110 INFO: [InternalFace] registering callback for /localhost/nfd/strategy-choice
1422559980.881175 INFO: [InternalFace] registering callback for /localhost/nfd/status
1422559980.881233 INFO: [FaceTable] Added face id=1 remote=internal:// local=internal://
1422559980.883739 DEBUG: [Forwarder] onIncomingData face=1 data=/localhost/nfd/faces/events/%FE%00
1422559980.883820 TRACE: [NameTree] NameTree::findAllMatches/localhost/nfd/faces/events/%FE%00
1422559980.883887 TRACE: [NameTree] findLongestPrefixMatch /localhost/nfd/faces/events/%FE%00
1422559980.883957 DEBUG: [ContentStore] insert /localhost/nfd/faces/events/%FE%00
1422559980.884032 DEBUG: [Forwarder] onDataUnsolicited face=1 data=/localhost/nfd/faces/events/%FE%00 cached
1422559980.884190 TRACE: [GeneralConfigSection] using user "" group ""
1422559980.884256 FATAL: [NFD] Dropping and raising privileges is not supported on this platform
1422559982.880198 INFO: [RibManager] Listening on: /localhost/nfd/rib
1422559982.883109 INFO: [RibManager] Start monitoring face create/destroy events
1422559982.885002 FATAL: [NRD] error while connecting to the forwarder (Connection refused)
Updated by Alex Afanasyev almost 10 years ago
- Is duplicate of Bug #2419: wscript misdetects availability of functions for conditional compilation (getpass, setegid, ...) added
Updated by Alex Afanasyev almost 10 years ago
Can you verify that http://gerrit.named-data.net/#/c/1685/ solves the problem?
Updated by susmit shannigrahi almost 10 years ago
Can you verify that http://gerrit.named-data.net/#/c/1685/ solves the problem?
Yes, it does solve the problem.
Updated by Davide Pesavento over 7 years ago
- Subject changed from waf does not find setegit when configured in debug mode in Ubuntu 14.04 to waf does not find setegid when configured in debug mode in Ubuntu 14.04
- Start date deleted (
01/29/2015)
Updated by Davide Pesavento about 1 year ago
- Tags set to waf
- Category set to Build