Date: Wed, 23 Jul 2014 22:38:05 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 192074] New: cad/netgen fails to build after update ports tree on 10-STABLE amd64 Message-ID: <bug-192074-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192074 Bug ID: 192074 Summary: cad/netgen fails to build after update ports tree on 10-STABLE amd64 Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: fidaj@ukr.net [snip] 1 warning generated. mv -f .deps/demoview.Tpo .deps/demoview.Po c++ -DHAVE_CONFIG_H -I. -I.. -I../libsrc/include -I../libsrc/interface -DOPENGL -DTOGL_X11 -I"/usr/local/include/tcl8.6" -DFFMPEG -D__STDC_CONSTANT_MACROS -DJPEGLIB -I/usr/local/include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/lib/Togl-1.7 -O2 -pipe -march=3Dnative -fstack-protector -fno-strict-aliasing -DOCCGEOMETRY -DHAVE_CONFIG_H -Damd64 -I/usr/local/include/OpenCASCADE -MT ngappinit.o -MD -MP -MF .deps/ngappinit.Tpo -c -o ngappinit.o ngappinit.cpp In file included from ngappinit.cpp:8: In file included from ../libsrc/include/meshing.hpp:1: In file included from ../libsrc/include/../meshing/meshing.hpp:6: In file included from ../libsrc/include/../meshing/../include/myadt.hpp:1: In file included from ../libsrc/include/../general/myadt.hpp:26: ../libsrc/include/../general/array.hpp:329:12: warning: destination for this 'memcpy' call is a pointer to dynamic class 'netgen::Element'; vtable point= er will be overwritten [-Wdynamic-class-memaccess] memcpy (p, data, mins * sizeof(T)); ~~~~~~ ^ ../libsrc/include/../general/array.hpp:218:2: note: in instantiation of mem= ber function 'netgen::Array<netgen::Element, 0>::ReSize' requested here ReSize (nsize); ^ ../libsrc/include/../meshing/meshclass.hpp:200:19: note: in instantiation of member function 'netgen::Array<netgen::Element, 0>::SetSize' requested here volelements.SetSize(0);=20 ^ ../libsrc/include/../general/array.hpp:329:12: note: explicitly cast the pointer to silence this warning memcpy (p, data, mins * sizeof(T)); ^ (void*) 1 warning generated. mv -f .deps/ngappinit.Tpo .deps/ngappinit.Po c++ -DHAVE_CONFIG_H -I. -I.. -I../libsrc/include -I../libsrc/interface -DOPENGL -DTOGL_X11 -I"/usr/local/include/tcl8.6" -DFFMPEG -D__STDC_CONSTANT_MACROS -DJPEGLIB -I/usr/local/include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/lib/Togl-1.7 -O2 -pipe -march=3Dnative -fstack-protector -fno-strict-aliasing -DOCCGEOMETRY -DHAVE_CONFIG_H -Damd64 -I/usr/local/include/OpenCASCADE -MT onetcl.o -MD -MP -MF .deps/onetcl.Tpo = -c -o onetcl.o onetcl.cpp mv -f .deps/onetcl.Tpo .deps/onetcl.Po c++ -DHAVE_CONFIG_H -I. -I.. -I../libsrc/include -I../libsrc/interface -DOPENGL -DTOGL_X11 -I"/usr/local/include/tcl8.6" -DFFMPEG -D__STDC_CONSTANT_MACROS -DJPEGLIB -I/usr/local/include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/lib/Togl-1.7 -O2 -pipe -march=3Dnative -fstack-protector -fno-strict-aliasing -DOCCGEOMETRY -DHAVE_CONFIG_H -Damd64 -I/usr/local/include/OpenCASCADE -MT parallelfunc.o -MD -MP -MF .deps/parallelfunc.Tpo -c -o parallelfunc.o parallelfunc.cpp mv -f .deps/parallelfunc.Tpo .deps/parallelfunc.Po c++ -DHAVE_CONFIG_H -I. -I.. -I../libsrc/include -I../libsrc/interface -DOPENGL -DTOGL_X11 -I"/usr/local/include/tcl8.6" -DFFMPEG -D__STDC_CONSTANT_MACROS -DJPEGLIB -I/usr/local/include -I/usr/local/include/tcl8.6 -I/usr/local/include/tk8.6 -I/usr/local/lib/Togl-1.7 -O2 -pipe -march=3Dnative -fstack-protector -fno-strict-aliasing -DOCCGEOMETRY -DHAVE_CONFIG_H -Damd64 -I/usr/local/include/OpenCASCADE -MT ngpkg.o -MD -MP -MF .deps/ngpkg.Tpo -c= -o ngpkg.o ngpkg.cpp In file included from ngpkg.cpp:28: In file included from ./togl_1_7.h:16: /usr/local/lib/Togl-1.7/togl_ws.h:5:10: warning: 'TOGL_X11' macro redefined # define TOGL_X11 ^ <command line>:3:9: note: previous definition is here #define TOGL_X11 1 ^ In file included from ngpkg.cpp:50: In file included from /usr/local/include/jpeglib.h:27: /usr/local/include/jmorecfg.h:198:9: warning: 'EXTERN' macro redefined #define EXTERN(type) extern "C" type ^ /usr/local/include/tcl8.6/tcl.h:306:12: note: previous definition is here # define EXTERN extern "C" TCL_STORAGE_CLASS ^ ngpkg.cpp:2228:22: error: use of undeclared identifier 'av_get_pict_type_ch= ar'; did you mean 'av_get_picture_type_char'? char pict_type =3D av_get_pict_type_char(context->coded_frame->pict_typ= e); ^~~~~~~~~~~~~~~~~~~~~ av_get_picture_type_char /usr/local/include/libavutil/avutil.h:277:6: note: 'av_get_picture_type_cha= r' declared here char av_get_picture_type_char(enum AVPictureType pict_type); ^ ngpkg.cpp:2252:12: error: unknown type name 'CodecID'; did you mean 'AVCodecID'? static CodecID codec_id =3D CODEC_ID_MPEG1VIDEO; ^~~~~~~ AVCodecID /usr/local/include/libavcodec/avcodec.h:107:6: note: 'AVCodecID' declared h= ere enum AVCodecID { ^ ngpkg.cpp:2312:19: error: use of undeclared identifier 'avcodec_alloc_conte= xt'; did you mean 'avformat_alloc_context'? context =3D avcodec_alloc_context(); ^~~~~~~~~~~~~~~~~~~~~ avformat_alloc_context /usr/local/include/libavformat/avformat.h:1650:18: note: 'avformat_alloc_context' declared here AVFormatContext *avformat_alloc_context(void); ^ ngpkg.cpp:2312:17: error: assigning to 'AVCodecContext *' from incompatible type 'AVFormatContext *' context =3D avcodec_alloc_context(); ^ ~~~~~~~~~~~~~~~~~~~~~~~ ngpkg.cpp:2323:13: error: use of undeclared identifier 'avcodec_open' if( avcodec_open( context, codec ) < 0 ) { ^ ngpkg.cpp:2332:22: warning: 'avcodec_alloc_frame' is deprecated [-Wdeprecated-declarations] YUVpicture =3D avcodec_alloc_frame(); ^ /usr/local/include/libavcodec/avcodec.h:3422:10: note: 'avcodec_alloc_frame' declared here AVFrame *avcodec_alloc_frame(void); ^ ngpkg.cpp:2341:22: warning: 'avcodec_alloc_frame' is deprecated [-Wdeprecated-declarations] RGBpicture =3D avcodec_alloc_frame(); ^ /usr/local/include/libavcodec/avcodec.h:3422:10: note: 'avcodec_alloc_frame' declared here AVFrame *avcodec_alloc_frame(void); ^ ngpkg.cpp:2401:17: warning: 'avcodec_encode_video' is deprecated [-Wdeprecated-declarations] bytes =3D avcodec_encode_video( context, buff.MPG, ^ /usr/local/include/libavcodec/avcodec.h:4340:5: note: 'avcodec_encode_video' declared here int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, ^ ngpkg.cpp:2424:19: warning: 'avcodec_encode_video' is deprecated [-Wdeprecated-declarations] bytes =3D avcodec_encode_video( context, buff.MPG, MPGbufsize, NU= LL ); ^ /usr/local/include/libavcodec/avcodec.h:4340:5: note: 'avcodec_encode_video' declared here int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, ^ In file included from ngpkg.cpp:8: In file included from ../libsrc/include/myadt.hpp:1: In file included from ../libsrc/include/../general/myadt.hpp:26: ../libsrc/include/../general/array.hpp:329:12: warning: destination for this 'memcpy' call is a pointer to dynamic class 'netgen::Element'; vtable point= er will be overwritten [-Wdynamic-class-memaccess] memcpy (p, data, mins * sizeof(T)); ~~~~~~ ^ ../libsrc/include/../general/array.hpp:218:2: note: in instantiation of mem= ber function 'netgen::Array<netgen::Element, 0>::ReSize' requested here ReSize (nsize); ^ ../libsrc/include/../meshing/meshclass.hpp:200:19: note: in instantiation of member function 'netgen::Array<netgen::Element, 0>::SetSize' requested here volelements.SetSize(0);=20 ^ ../libsrc/include/../general/array.hpp:329:12: note: explicitly cast the pointer to silence this warning memcpy (p, data, mins * sizeof(T)); ^ (void*) 7 warnings and 5 errors generated. gmake[4]: *** [ngpkg.o] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1 gmake[4]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0= =B0=D0=BB=D0=BE=D0=B3=D0=B0 `/media/da0s1/obj/usr/ports/cad/netgen/work/netgen-5.0.0/ng' gmake[3]: *** [all-recursive] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 1 gmake[3]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0= =B0=D0=BB=D0=BE=D0=B3=D0=B0 `/media/da0s1/obj/usr/ports/cad/netgen/work/netgen-5.0.0' gmake[2]: *** [all] =D0=9E=D1=88=D0=B8=D0=B1=D0=BA=D0=B0 2 gmake[2]: =D0=92=D1=8B=D1=85=D0=BE=D0=B4 =D0=B8=D0=B7 =D0=BA=D0=B0=D1=82=D0= =B0=D0=BB=D0=BE=D0=B3=D0=B0 `/media/da0s1/obj/usr/ports/cad/netgen/work/netgen-5.0.0' *** Error code 1 Stop. make[1]: stopped in /usr/ports/cad/netgen *** Error code 1 Stop. make: stopped in /usr/ports/cad/netgen =3D=3D=3D>>> make build failed for cad/netgen =3D=3D=3D>>> Aborting update =3D=3D=3D>>> Update for cad/netgen failed =3D=3D=3D>>> Aborting update --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192074-13>