Bug#835644: nfstrace: FTBFS: nfs_procedure.h:111:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]

Chris Lamb lamby at debian.org
Sat Aug 27 22:13:11 UTC 2016


Source: nfstrace
Version: 0.4.2-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

nfstrace fails to build from source in unstable/amd64:

  [..]

  Patching output file 2275/2515
  Patching output file 2276/2515
  Patching output file 2277/2515
  Patching output file 2278/2515
  Patching output file 2279/2515
  Patching output file 2280/2515
  Patching output file 2281/2515
  Patching output file 2282/2515
  Patching output file 2283/2515
  Patching output file 2284/2515
  Patching output file 2285/2515
  Patching output file 2286/2515
  Patching output file 2287/2515
  Patching output file 2288/2515
  Patching output file 2289/2515
  Patching output file 2290/2515
  Patching output file 2291/2515
  Patching output file 2292/2515
  Patching output file 2293/2515
  Patching output file 2294/2515
  Patching output file 2295/2515
  Patching output file 2296/2515
  Patching output file 2297/2515
  Patching output file 2298/2515
  Patching output file 2299/2515
  Patching output file 2300/2515
  Patching output file 2301/2515
  Patching output file 2302/2515
  Patching output file 2303/2515
  Patching output file 2304/2515
  Patching output file 2305/2515
  Patching output file 2306/2515
  Patching output file 2307/2515
  Patching output file 2308/2515
  Patching output file 2309/2515
  Patching output file 2310/2515
  Patching output file 2311/2515
  Patching output file 2312/2515
  Patching output file 2313/2515
  Patching output file 2314/2515
  Patching output file 2315/2515
  Patching output file 2316/2515
  Patching output file 2317/2515
  Patching output file 2318/2515
  Patching output file 2319/2515
  Patching output file 2320/2515
  Patching output file 2321/2515
  Patching output file 2322/2515
  Patching output file 2323/2515
  Patching output file 2324/2515
  Patching output file 2325/2515
  Patching output file 2326/2515
  Patching output file 2327/2515
  Patching output file 2328/2515
  Patching output file 2329/2515
  Patching output file 2330/2515
  Patching output file 2331/2515
  Patching output file 2332/2515
  Patching output file 2333/2515
  Patching output file 2334/2515
  Patching output file 2335/2515
  Patching output file 2336/2515
  Patching output file 2337/2515
  Patching output file 2338/2515
  Patching output file 2339/2515
  Patching output file 2340/2515
  Patching output file 2341/2515
  Patching output file 2342/2515
  Patching output file 2343/2515
  Patching output file 2344/2515
  Patching output file 2345/2515
  Patching output file 2346/2515
  Patching output file 2347/2515
  Patching output file 2348/2515
  Patching output file 2349/2515
  Patching output file 2350/2515
  Patching output file 2351/2515
  Patching output file 2352/2515
  Patching output file 2353/2515
  Patching output file 2354/2515
  Patching output file 2355/2515
  Patching output file 2356/2515
  Patching output file 2357/2515
  Patching output file 2358/2515
  Patching output file 2359/2515
  Patching output file 2360/2515
  Patching output file 2361/2515
  Patching output file 2362/2515
  Patching output file 2363/2515
  Patching output file 2364/2515
  Patching output file 2365/2515
  Patching output file 2366/2515
  Patching output file 2367/2515
  Patching output file 2368/2515
  Patching output file 2369/2515
  Patching output file 2370/2515
  Patching output file 2371/2515
  Patching output file 2372/2515
  Patching output file 2373/2515
  Patching output file 2374/2515
  Patching output file 2375/2515
  Patching output file 2376/2515
  Patching output file 2377/2515
  Patching output file 2378/2515
  Patching output file 2379/2515
  Patching output file 2380/2515
  Patching output file 2381/2515
  Patching output file 2382/2515
  Patching output file 2383/2515
  Patching output file 2384/2515
  Patching output file 2385/2515
  Patching output file 2386/2515
  Patching output file 2387/2515
  Patching output file 2388/2515
  Patching output file 2389/2515
  Patching output file 2390/2515
  Patching output file 2391/2515
  Patching output file 2392/2515
  Patching output file 2393/2515
  Patching output file 2394/2515
  Patching output file 2395/2515
  Patching output file 2396/2515
  Patching output file 2397/2515
  Patching output file 2398/2515
  Patching output file 2399/2515
  Patching output file 2400/2515
  Patching output file 2401/2515
  Patching output file 2402/2515
  Patching output file 2403/2515
  Patching output file 2404/2515
  Patching output file 2405/2515
  Patching output file 2406/2515
  Patching output file 2407/2515
  Patching output file 2408/2515
  Patching output file 2409/2515
  Patching output file 2410/2515
  Patching output file 2411/2515
  Patching output file 2412/2515
  Patching output file 2413/2515
  Patching output file 2414/2515
  Patching output file 2415/2515
  Patching output file 2416/2515
  Patching output file 2417/2515
  Patching output file 2418/2515
  Patching output file 2419/2515
  Patching output file 2420/2515
  Patching output file 2421/2515
  Patching output file 2422/2515
  Patching output file 2423/2515
  Patching output file 2424/2515
  Patching output file 2425/2515
  Patching output file 2426/2515
  Patching output file 2427/2515
  Patching output file 2428/2515
  Patching output file 2429/2515
  Patching output file 2430/2515
  Patching output file 2431/2515
  Patching output file 2432/2515
  Patching output file 2433/2515
  Patching output file 2434/2515
  Patching output file 2435/2515
  Patching output file 2436/2515
  Patching output file 2437/2515
  Patching output file 2438/2515
  Patching output file 2439/2515
  Patching output file 2440/2515
  Patching output file 2441/2515
  Patching output file 2442/2515
  Patching output file 2443/2515
  Patching output file 2444/2515
  Patching output file 2445/2515
  Patching output file 2446/2515
  Patching output file 2447/2515
  Patching output file 2448/2515
  Patching output file 2449/2515
  Patching output file 2450/2515
  Patching output file 2451/2515
  Patching output file 2452/2515
  Patching output file 2453/2515
  Patching output file 2454/2515
  Patching output file 2455/2515
  Patching output file 2456/2515
  Patching output file 2457/2515
  Patching output file 2458/2515
  Patching output file 2459/2515
  Patching output file 2460/2515
  Patching output file 2461/2515
  Patching output file 2462/2515
  Patching output file 2463/2515
  Patching output file 2464/2515
  Patching output file 2465/2515
  Patching output file 2466/2515
  Patching output file 2467/2515
  Patching output file 2468/2515
  Patching output file 2469/2515
  Patching output file 2470/2515
  Patching output file 2471/2515
  Patching output file 2472/2515
  Patching output file 2473/2515
  Patching output file 2474/2515
  Patching output file 2475/2515
  Patching output file 2476/2515
  Patching output file 2477/2515
  Patching output file 2478/2515
  Patching output file 2479/2515
  Patching output file 2480/2515
  Patching output file 2481/2515
  Patching output file 2482/2515
  Patching output file 2483/2515
  Patching output file 2484/2515
  Patching output file 2485/2515
  Patching output file 2486/2515
  Patching output file 2487/2515
  Patching output file 2488/2515
  Patching output file 2489/2515
  Patching output file 2490/2515
  Patching output file 2491/2515
  Patching output file 2492/2515
  Patching output file 2493/2515
  Patching output file 2494/2515
  Patching output file 2495/2515
  Patching output file 2496/2515
  Patching output file 2497/2515
  Patching output file 2498/2515
  Patching output file 2499/2515
  Patching output file 2500/2515
  Patching output file 2501/2515
  Patching output file 2502/2515
  Patching output file 2503/2515
  Patching output file 2504/2515
  Patching output file 2505/2515
  Patching output file 2506/2515
  Patching output file 2507/2515
  Patching output file 2508/2515
  Patching output file 2509/2515
  Patching output file 2510/2515
  Patching output file 2511/2515
  Patching output file 2512/2515
  Patching output file 2513/2515
  Patching output file 2514/2515
  Patching output file 2515/2515
  lookup cache used 26506/65536 hits=197536 misses=32845
  finished...
  make[5]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  [100%] Built target documentation-doxygen
  make -f docs/CMakeFiles/documentation.dir/build.make docs/CMakeFiles/documentation.dir/depend
  make[5]: Entering directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  cd /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2 /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/docs /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu/docs /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu/docs/CMakeFiles/documentation.dir/DependInfo.cmake --color=
  Scanning dependencies of target documentation
  make[5]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  make -f docs/CMakeFiles/documentation.dir/build.make docs/CMakeFiles/documentation.dir/build
  make[5]: Entering directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  make[5]: Nothing to be done for 'docs/CMakeFiles/documentation.dir/build'.
  make[5]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  [100%] Built target documentation
  make[4]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  /usr/bin/cmake -E cmake_progress_start /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu/CMakeFiles 0
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2'
     dh_auto_build -Nnfstrace-doc
  	make -j1
  make[1]: Entering directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  /usr/bin/cmake -H/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2 -B/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
  /usr/bin/cmake -E cmake_progress_start /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu/CMakeFiles /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
  make -f CMakeFiles/Makefile2 all
  make[2]: Entering directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  make -f CMakeFiles/nfstrace.dir/build.make CMakeFiles/nfstrace.dir/depend
  make[3]: Entering directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  cd /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2 /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2 /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu/CMakeFiles/nfstrace.dir/DependInfo.cmake --color=
  Scanning dependencies of target nfstrace
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  make -f CMakeFiles/nfstrace.dir/build.make CMakeFiles/nfstrace.dir/build
  make[3]: Entering directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  [  1%] Building CXX object CMakeFiles/nfstrace.dir/src/analysis/analysis_manager.cpp.o
  /usr/bin/c++    -I/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src  -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2  -std=c++11 -pedantic -Wall -Werror -Wextra -fPIC -fvisibility=hidden   -o CMakeFiles/nfstrace.dir/src/analysis/analysis_manager.cpp.o -c /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/analysis/analysis_manager.cpp
  In file included from /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/analysis/nfs_parser.h:28:0,
                   from /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/analysis/parsers.h:27,
                   from /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/analysis/analysis_manager.h:32,
                   from /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/analysis/analysis_manager.cpp:22:
  /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/protocols/nfs/nfs_procedure.h: In destructor 'NST::protocols::NFSProcedure<ArgType, ResType>::~NFSProcedure()':
  /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/protocols/nfs/nfs_procedure.h:111:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
           if(pres) xdr_free((xdrproc_t)proc_t_of(res), (char*)&res      );
           ^~
  /home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/src/protocols/nfs/nfs_procedure.h:112:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
                    xdr_free((xdrproc_t)xdr_replymsg,   (char*)&reply);
                    ^~~~~~~~
  cc1plus: all warnings being treated as errors
  CMakeFiles/nfstrace.dir/build.make:65: recipe for target 'CMakeFiles/nfstrace.dir/src/analysis/analysis_manager.cpp.o' failed
  make[3]: *** [CMakeFiles/nfstrace.dir/src/analysis/analysis_manager.cpp.o] Error 1
  make[3]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  CMakeFiles/Makefile2:70: recipe for target 'CMakeFiles/nfstrace.dir/all' failed
  make[2]: *** [CMakeFiles/nfstrace.dir/all] Error 2
  make[2]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  Makefile:163: recipe for target 'all' failed
  make[1]: *** [all] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20160827231107.p4j7i8iTeP.db.nfstrace/nfstrace-0.4.2/obj-x86_64-linux-gnu'
  dh_auto_build: make -j1 returned exit code 2
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nfstrace.0.4.2-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 43561 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160827/b5870114/attachment.obj>


More information about the Reproducible-builds mailing list