Looks like g++ doesn't like __hwloc_attribute_unused in hwloc/helper.h Brice
Le 15/03/2012 16:42, Hydra Build Daemon a écrit : > Hi, > > This is to let you know that Hydra build 36199 of job > runtime:hwloc-trunk:build_fedora2_i386 has changed from 'Success' to 'Failed'. > > Complete build information can be found on this page: > http://hydra.bordeaux.inria.fr/build/36199 > > The last 50 lines of the build log are shown at the bottom of this email. > > A summary of the build information follows: > > Build ID: | 36199 > Nix name: | hwloc-1.5a1-1 > Short description: | Native Nix build on x86_64-linux > Maintainer(s): | Samuel Thibault <samuel.thiba...@inria.fr>, Brice > Goglin <brice.gog...@labri.fr> > System: | x86_64-linux > Derivation store path: | > /nix/store/6cxvr7nx08lj0gs9nix22zbdyachj8xr-hwloc-1.5a1-1.drv > Output store path: | > /nix/store/2kpgnd0gnpvpc0y27qndhgxyq93dzcpn-hwloc-1.5a1-1 > Time added: | 2012-03-15 16:42:22 > Build started: | 2012-03-15 16:38:09 > Build finished: | 2012-03-15 16:42:22 > Duration: | 253s > > The build inputs were: > > Name | Type | Value > ------------+-------+------------------------------------------------------------------------------------------------------------------------- > hydraConfig | git | > git+ssh://hydra...@scm.gforge.inria.fr//gitroot/hydra-recipes/hydra-recipes.git:c9447e6644bf3fb26b09d0b61fc4545bfcffb62b > nixpkgs | svn | https://nixos.org/repos/nix/nixpkgs/trunk/:33105 > tarball | build | 36128 > > Regards, > > The Hydra build daemon. > > --- > hwloc_get_non_io_ancestor_obj(...)': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1247: error: cannot declare static > function inside another function > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h: In function `hwloc_obj* > hwloc_get_next_pcidev(hwloc_topology*, hwloc_obj*)': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1257: error: cannot declare static > function inside another function > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h: In function `hwloc_obj* > hwloc_get_pcidev_by_busid(hwloc_topology*, unsigned int, unsigned int, > unsigned int, unsigned int)': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1274: error: cannot declare static > function inside another function > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h: In function `hwloc_obj* > hwloc_get_pcidev_by_busidstring(hwloc_topology*, const char*)': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1293: error: cannot declare static > function inside another function > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h: In function `hwloc_obj* > hwloc_get_next_osdev(hwloc_topology*, hwloc_obj*)': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1303: error: cannot declare static > function inside another function > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h: In function `hwloc_obj* > hwloc_get_next_bridge(hwloc_topology*, hwloc_obj*)': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1312: error: cannot declare static > function inside another function > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h: In function `int > hwloc_bridge_covers_pcibus(hwloc_obj*, unsigned int, unsigned int)': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1328: error: cannot declare static > function inside another function > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h: In function `hwloc_obj* > hwloc_get_hostbridge_by_pcibus(hwloc_topology*, unsigned int, unsigned int) > ': > /tmp/hwloc-1.5a1-1/include/hwloc/helper.h:1347: error: syntax error before > `}' > token > hwloc-hello-cpp.cpp:18: error: cannot declare static function inside another > function > make[3]: *** [hwloc-hello-cpp.o] Error 1 > make[3]: Leaving directory `/tmp/hwloc-1.5a1-1/doc' > make[2]: *** [check-am] Error 2 > make[2]: Leaving directory `/tmp/hwloc-1.5a1-1/doc' > make[1]: *** [check] Error 2 > make[1]: Leaving directory `/tmp/hwloc-1.5a1-1/doc' > make: *** [check-recursive] Error 1 > build time elapsed: 0m0.028s 0m0.024s 0m22.330s 3m37.685s > Copying build directory to > /nix/store/2kpgnd0gnpvpc0y27qndhgxyq93dzcpn-hwloc-1.5a1-1/tmp > build failed with exit code 2 (ignored) > DONE > [ 250.758000] ACPI: Preparing to enter system sleep state S5 > [ 250.758712] Disabling non-boot CPUs ... > [ 250.759189] Power down. > ./run-vm: line 34: 20861 Terminated > /nix/store/bacp63363ly8s0dazdj2qv3v3v6wsn9x-socat-1.7.1.2/bin/socat > unix-listen:./samba > exec:"/nix/store/pd5v7rwq7fx7wgmsz7iml2vx5386302f-util-linux-2.20.1/bin/setsid > /nix/store/wq5nk5qbm3xbhwvvyh1yl0jqinrpyw8w-samba-3.6.1/sbin/smbd -s > /tmp/nix-build-6cxvr7nx08lj0gs9nix22zbdyachj8xr-hwloc-1.5a1-1.drv-0/smb.conf",nofork > > /dev/null 2>&1