Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722624 - dev-cpp/ETL fails test: ../ETL/_pen.h:137:65: error: binding reference of type ‘etl::generic_pen<T, AT>::difference_type::value_type&’ {aka ‘int&’} to ‘const value_type’ {aka ‘const int’} discards qualifiers
Summary: dev-cpp/ETL fails test: ../ETL/_pen.h:137:65: error: binding reference of typ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-12 07:21 UTC by Agostino Sarubbo
Modified: 2021-07-08 15:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,93.13 KB, text/plain)
2020-05-12 07:21 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-12 07:21:24 UTC
This is an auto-filled bug because dev-cpp/ETL fails to compile.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you need further logs, feel free to ask..
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-12 07:21:37 UTC
Created attachment 638358 [details]
build.log

build log and emerge --info
Comment 2 Joonas Niilola gentoo-dev 2021-07-08 14:06:18 UTC
Ping, this package has been broken for over a year. Time to last-rite?
Comment 3 Luca Barbato gentoo-dev 2021-07-08 14:17:02 UTC
I just tried, it builds just fine with gcc-9 and gcc-11.
Comment 4 Luca Barbato gentoo-dev 2021-07-08 14:17:38 UTC
Ago could you please try again and tell me if it still broken for you?
Comment 5 Luca Barbato gentoo-dev 2021-07-08 14:20:33 UTC
We could last-rite it since we do not have synfig in the tree.
Comment 6 Agostino Sarubbo gentoo-dev 2021-07-08 14:50:29 UTC
it fails but in src_test

It has originally a wrong summary
Comment 7 Luca Barbato gentoo-dev 2021-07-08 15:03:49 UTC
Reproduced, we can last rite it or bump it to 1.4.1 assuming later somebody wants to add the current synfig.
Comment 8 Luca Barbato gentoo-dev 2021-07-08 15:20:36 UTC
The tests are broken on 1.4.1 as well.
Comment 9 Luca Barbato gentoo-dev 2021-07-08 15:23:08 UTC
kaby ETL-1.4.1 # make check V=1
Making check in ETL
make[1]: Entering directory '/var/tmp/portage/dev-cpp/ETL-1.4.1/work/ETL-1.4.1/ETL'
make[1]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-1.4.1/work/ETL-1.4.1/ETL'
Making check in test
make[1]: Entering directory '/var/tmp/portage/dev-cpp/ETL-1.4.1/work/ETL-1.4.1/test'
make  fixed handle clock angle hermite stringf pen surface smart_ptr benchmark smach spline
make[2]: Entering directory '/var/tmp/portage/dev-cpp/ETL-1.4.1/work/ETL-1.4.1/test'
x86_64-pc-linux-gnu-g++ -pipe -W -Wall -O2 -DNDEBUG -I.. -I../ETL -pipe -W -Wall -O2 -DNDEBUG  -Wl,-O1 -Wl,--as-needed -o fixed fixed.o
x86_64-pc-linux-gnu-g++ -pipe -W -Wall -O2 -DNDEBUG -I.. -I../ETL -pipe -W -Wall -O2 -DNDEBUG  -Wl,-O1 -Wl,--as-needed -o handle handle.o
x86_64-pc-linux-gnu-g++ -pipe -W -Wall -O2 -DNDEBUG -I.. -I../ETL -pipe -W -Wall -O2 -DNDEBUG  -Wl,-O1 -Wl,--as-needed -o clock clock.o
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../ETL  -I.. -I../ETL  -pipe -W -Wall -O2 -DNDEBUG -I.. -I../ETL -pipe -W -Wall -O2 -DNDEBUG -c -o angle.o angle.cpp
angle.cpp: In function ‘int angle_test()’:
angle.cpp:205:17: error: reference to ‘hermite’ is ambiguous
  205 |                 hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
      |                 ^~~~~~~
In file included from ../ETL/hermite:32,
                 from angle.cpp:29:
../ETL/_hermite.h:135:7: note: candidates are: ‘template<class V, class T> class etl::hermite’
  135 | class hermite : public bezier<V,T>
      |       ^~~~~~~
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927,
                 from ../ETL/_fixed.h:33,
                 from ../ETL/_curve_func.h:33,
                 from ../ETL/angle:31,
                 from angle.cpp:26:
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:918:5: note:                 ‘template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::hermite(unsigned int, _Tp)’
  918 |     hermite(unsigned int __n, _Tp __x)
      |     ^~~~~~~
angle.cpp:205:30: error: expected primary-expression before ‘>’ token
  205 |                 hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
      |                              ^
angle.cpp:205:32: error: ‘hermie’ was not declared in this scope
  205 |                 hermite<angle> hermie(a,b,b.dist(a),b.dist(a));
      |                                ^~~~~~
make[2]: *** [Makefile:685: angle.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-cpp/ETL-1.4.1/work/ETL-1.4.1/test'
Comment 10 Luca Barbato gentoo-dev 2021-07-08 15:39:20 UTC
Fixing the tests in ETL-1.4.1 was easy enough.