[Bug 192074] New: cad/netgen fails to build after update ports tree on 10-STABLE amd64
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 23 22:38:06 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192074
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 at FreeBSD.org
Reporter: fidaj at 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=native -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 pointer
will be
overwritten [-Wdynamic-class-memaccess]
memcpy (p, data, mins * sizeof(T));
~~~~~~ ^
../libsrc/include/../general/array.hpp:218:2: note: in instantiation of member
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);
^
../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=native -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=native -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=native -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_char';
did you mean 'av_get_picture_type_char'?
char pict_type = av_get_pict_type_char(context->coded_frame->pict_type);
^~~~~~~~~~~~~~~~~~~~~
av_get_picture_type_char
/usr/local/include/libavutil/avutil.h:277:6: note: 'av_get_picture_type_char'
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 = CODEC_ID_MPEG1VIDEO;
^~~~~~~
AVCodecID
/usr/local/include/libavcodec/avcodec.h:107:6: note: 'AVCodecID' declared here
enum AVCodecID {
^
ngpkg.cpp:2312:19: error: use of undeclared identifier 'avcodec_alloc_context';
did you mean 'avformat_alloc_context'?
context = 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 = 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 = 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 = 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 = 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 = avcodec_encode_video( context, buff.MPG, MPGbufsize, NULL );
^
/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 pointer
will be
overwritten [-Wdynamic-class-memaccess]
memcpy (p, data, mins * sizeof(T));
~~~~~~ ^
../libsrc/include/../general/array.hpp:218:2: note: in instantiation of member
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);
^
../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] Ошибка 1
gmake[4]: Выход из каталога
`/media/da0s1/obj/usr/ports/cad/netgen/work/netgen-5.0.0/ng'
gmake[3]: *** [all-recursive] Ошибка 1
gmake[3]: Выход из каталога
`/media/da0s1/obj/usr/ports/cad/netgen/work/netgen-5.0.0'
gmake[2]: *** [all] Ошибка 2
gmake[2]: Выход из каталога
`/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
===>>> make build failed for cad/netgen
===>>> Aborting update
===>>> Update for cad/netgen failed
===>>> Aborting update
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list