Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 493034 Details for
Bug 630248
dev-cpp/metslib-0.5.3 : ../.../model.hh:248:5: error: uniform_int is not a member of std
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-cpp:metslib-0.5.3:20170907-124816.log
dev-cpp:metslib-0.5.3:20170907-124816.log (text/plain), 11.18 KB, created by
Toralf Förster
on 2017-09-07 15:21:27 UTC
(
hide
)
Description:
dev-cpp:metslib-0.5.3:20170907-124816.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2017-09-07 15:21:27 UTC
Size:
11.18 KB
patch
obsolete
> * Package: dev-cpp/metslib-0.5.3 > * Repository: gentoo > * Maintainer: aballier@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking metslib-0.5.3.tgz to /var/tmp/portage/dev-cpp/metslib-0.5.3/work >>>> Source unpacked in /var/tmp/portage/dev-cpp/metslib-0.5.3/work >>>> Preparing source in /var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3 ... > * econf: updating metslib-0.5.3/config/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating metslib-0.5.3/config/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 >checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9... yes >checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ >checking whether the C++ compiler works... yes >checking for C++ compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether we are using the GNU C++ compiler... yes >checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes >checking for style of include used by make... GNU >checking dependency style of x86_64-pc-linux-gnu-g++... none >checking whether build environment is sane... yes >checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking tr1/unordered_map usability... yes >checking tr1/unordered_map presence... yes >checking for tr1/unordered_map... yes >checking unordered_map usability... yes >checking unordered_map presence... yes >checking for unordered_map... yes >configure: creating ./config.status >config.status: creating shave >config.status: creating shave-libtool >config.status: creating Makefile >config.status: creating metslib.pc >config.status: creating metslib/Makefile >config.status: creating doxydoc/Makefile >config.status: creating test/Makefile >config.status: creating config.h >config.status: executing metslib/metslib_ah.hh commands >config.status: creating metslib/metslib_ah.hh - prefix METSLIB for config.h defines >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3 ... >make -j1 >make all-recursive >make[1]: Entering directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3' >Making all in metslib >make[2]: Entering directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/metslib' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/metslib' >Making all in test >make[2]: Entering directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/test' >make[2]: Nothing to be done for 'all'. >make[2]: Leaving directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/test' >make[2]: Entering directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3' >make[2]: Leaving directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3' >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3' >>>> Source compiled. >>>> Test phase: dev-cpp/metslib-0.5.3 >make -j1 check >Making check in metslib >make[1]: Entering directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/metslib' >make[1]: Nothing to be done for 'check'. >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/metslib' >Making check in test >make[1]: Entering directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/test' >make tabu_list_test permutation_problem_test termination_test >make[2]: Entering directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/test' >x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DMETSLIB_TESTING -Werror=terminate -O2 -pipe -march=native -c -o tabu_list_test.o tabu_list_test.cc >In file included from ../metslib/mets.hh:129:0, > from tabu_list_test.cc:2: >../metslib/model.hh: In function âvoid mets::random_shuffle(mets::permutation_problem&, random_generator&)â: >../metslib/model.hh:248:5: error: âuniform_intâ is not a member of âstdâ > std::uniform_int<size_t> unigen; > ^~~ >../metslib/model.hh:248:28: error: expected primary-expression before â>â token > std::uniform_int<size_t> unigen; > ^ >../metslib/model.hh:248:30: error: âunigenâ was not declared in this scope > std::uniform_int<size_t> unigen; > ^~~~~~ >../metslib/model.hh:249:5: error: âvariate_generatorâ is not a member of âstdâ > std::variate_generator<random_generator&, > ^~~ >../metslib/model.hh:249:44: error: expected primary-expression before â&â token > std::variate_generator<random_generator&, > ^ >../metslib/model.hh:249:45: error: expected primary-expression before â,â token > std::variate_generator<random_generator&, > ^ >../metslib/model.hh:250:7: error: âuniform_intâ is not a member of âstdâ > std::uniform_int<size_t> >gen(rng, unigen); > ^~~ >../metslib/model.hh:250:30: error: expected primary-expression before â>â token > std::uniform_int<size_t> >gen(rng, unigen); > ^ >../metslib/model.hh:250:32: error: expected primary-expression before â>â token > std::uniform_int<size_t> >gen(rng, unigen); > ^ >../metslib/model.hh:256:55: error: âgenâ was not declared in this scope > std::random_shuffle(p.pi_m.begin(), p.pi_m.end(), gen); > ^~~ >../metslib/model.hh: In function âvoid mets::perturbate(mets::permutation_problem&, unsigned int, random_generator&)â: >../metslib/model.hh:267:5: error: âuniform_intâ is not a member of âstdâ > std::uniform_int<> int_range; > ^~~ >../metslib/model.hh:267:22: error: expected primary-expression before â>â token > std::uniform_int<> int_range; > ^ >../metslib/model.hh:267:24: error: âint_rangeâ was not declared in this scope > std::uniform_int<> int_range; > ^~~~~~~~~ >../metslib/model.hh: At global scope: >../metslib/model.hh:559:10: error: âuniform_intâ in namespace âstdâ does not name a template type > std::uniform_int<> int_range; > ^~~~~~~~~~~ >../metslib/model.hh: In constructor âmets::swap_neighborhood<rndgen>::swap_neighborhood(random_generator&, unsigned int)â: >../metslib/model.hh:573:41: error: class âmets::swap_neighborhood<rndgen>â does not have any field named âint_rangeâ > : mets::move_manager(), rng(r), int_range(0), n(moves) > ^~~~~~~~~ >In file included from ../metslib/mets.hh:134:0, > from tabu_list_test.cc:2: >../metslib/simulated-annealing.hh: At global scope: >../metslib/simulated-annealing.hh:137:10: error: âuniform_realâ in namespace âstdâ does not name a template type > std::uniform_real<double> ureal; > ^~~~~~~~~~~~ >../metslib/simulated-annealing.hh:139:10: error: âvariate_generatorâ in namespace âstdâ does not name a template type > std::variate_generator< std::mt19937, std::uniform_real<double> > gen; > ^~~~~~~~~~~~~~~~~ >../metslib/simulated-annealing.hh: In constructor âmets::simulated_annealing<move_manager_type>::simulated_annealing(mets::evaluable_solution&, mets::solution_recorder&, move_manager_t&, mets::termination_criteria_chain&, mets::abstract_cooling_schedule&, double, double, double)â: >../metslib/simulated-annealing.hh:195:5: error: class âmets::simulated_annealing<move_manager_type>â does not have any field named âurealâ > ureal(0.0,1.0), rng(), gen(rng, ureal) > ^~~~~ >../metslib/simulated-annealing.hh:195:28: error: class âmets::simulated_annealing<move_manager_type>â does not have any field named âgenâ > ureal(0.0,1.0), rng(), gen(rng, ureal) > ^~~ >../metslib/simulated-annealing.hh:195:37: error: âurealâ was not declared in this scope > ureal(0.0,1.0), rng(), gen(rng, ureal) > ^~~~~ >../metslib/simulated-annealing.hh: In member function âvirtual void mets::simulated_annealing<move_manager_type>::search()â: >../metslib/simulated-annealing.hh:225:24: error: there are no arguments to âgenâ that depend on a template parameter, so a declaration of âgenâ must be available [-fpermissive] > if(delta < 0 || gen() < exp(-delta/(K_m*current_temp_m))) > ^ >../metslib/simulated-annealing.hh:225:24: note: (if you use â-fpermissiveâ, G++ will accept your code, but allowing the use of an undeclared name is deprecated) >make[2]: *** [Makefile:258: tabu_list_test.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/test' >make[1]: *** [Makefile:455: check-am] Error 2 >make[1]: Leaving directory '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3/test' >make: *** [Makefile:342: check-recursive] Error 1 > * ERROR: dev-cpp/metslib-0.5.3::gentoo failed (test phase): > * Make check failed. See above for details. > * > * Call stack: > * ebuild.sh, line 115: Called src_test > * environment, line 191: Called default > * phase-functions.sh, line 808: Called default_src_test > * phase-functions.sh, line 837: Called __eapi0_src_test > * phase-helpers.sh, line 763: Called die > * The specific snippet of code: > * $emake_cmd ${internal_opts} check || \ > * die "Make check failed. See above for details." > * > * If you need support, post the output of `emerge --info '=dev-cpp/metslib-0.5.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-cpp/metslib-0.5.3::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-cpp:metslib-0.5.3:20170907-124816.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-cpp/metslib-0.5.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/metslib-0.5.3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3' > * S: '/var/tmp/portage/dev-cpp/metslib-0.5.3/work/metslib-0.5.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 630248
:
493032
| 493034 |
493036
|
493038
|
493040
|
493042
|
493044