IFeelBloated / minsrp

simple blurring/sharpening filter for vaporsynth
2 stars 1 forks source link

minsrp r4 does not compile with gcc-5.0.3 (unix) #2

Closed 4re closed 8 years ago

4re commented 8 years ago

As the title says, r3 was compiling fine: http://pastebin.com/aAkzEJX3 :(

IFeelBloated commented 8 years ago

I got "stolen content from pastebin.com. your request has been blocked! visit pastebin.com for the original content."

IFeelBloated commented 8 years ago

maybe just post the log like, right here?

4re commented 8 years ago

wth, it shows right for me... I love this sites...

 * Package:    media-plugins/vapoursynth-minsrp-9999
 * Repository: vapoursynth
 * USE:        abi_x86_64 amd64 doc elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 * Fetching https://github.com/IFeelBloated/minsrp.git ...
git fetch https://github.com/IFeelBloated/minsrp.git +HEAD:refs/git-r3/HEAD
git symbolic-ref refs/git-r3/media-plugins/vapoursynth-minsrp/0/__main__ refs/heads/master
 * Checking out https://github.com/IFeelBloated/minsrp.git to /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999 ...
git checkout --quiet master
GIT update -->
   repository:               https://github.com/IFeelBloated/minsrp.git
   at the commit:            68f17fe0e824a36f29c5585c44643c5621224abe
>>> Source unpacked in /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work
>>> Preparing source in /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix ...
 * Running eautoreconf in '/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix' ...
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...
 [ ok ]
 * Running elibtoolize in: vapoursynth-minsrp-9999/build/unix/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999_build"
 * econf: updating vapoursynth-minsrp-9999/build/unix/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating vapoursynth-minsrp-9999/build/unix/config.guess with /usr/share/gnuconfig/config.guess
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/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 --disable-silent-rules --docdir=/usr/share/doc/vapoursynth-minsrp-9999 --libdir=/usr/lib64/vapoursynth/
checking for a BSD-compatible install... /usr/lib/portage/python3.5/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 whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
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-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix ...
>>> Working in BUILD_DIR: "/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999_build"
make -j8 
/bin/sh ./libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"minsrp\" -DPACKAGE_TARNAME=\"minsrp\" -DPACKAGE_VERSION=\"r1\" -DPACKAGE_STRING=\"minsrp\ r1\" -DPACKAGE_BUGREPORT=\"http://forum.doom9.org/showthread.php\?t=173328\" -DPACKAGE_URL=\"http://forum.doom9.org/showthread.php\?t=173328\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix    -std=c++11 -O3 -mfpmath=sse -msse2 -mcx16 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wshadow -I/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src -march=native -O3 -pipe -mfpmath=sse -fno-stack-protector -fno-diagnostics-color -c -o ../../src/Source.lo /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Source.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"minsrp\" -DPACKAGE_TARNAME=\"minsrp\" -DPACKAGE_VERSION=\"r1\" "-DPACKAGE_STRING=\"minsrp r1\"" "-DPACKAGE_BUGREPORT=\"http://forum.doom9.org/showthread.php?t=173328\"" "-DPACKAGE_URL=\"http://forum.doom9.org/showthread.php?t=173328\"" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix -std=c++11 -O3 -mfpmath=sse -msse2 -mcx16 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wshadow -I/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src -march=native -O3 -pipe -mfpmath=sse -fno-stack-protector -fno-diagnostics-color -c /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Source.cpp  -fPIC -DPIC -o ../../src/.libs/Source.o
In file included from /var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Source.cpp:2:0:
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp: In function ‘T _abs(T)’:
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:27:27: warning: declaration of ‘val’ shadows a global declaration [-Wshadow]
 static inline T _abs(T val) {
                           ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:24:13: note: shadowed declaration is here
 static long val = 0;
             ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp: In function ‘void _process_plane_3x3(const T*, int, T*, int, int, int, bool)’:
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:20: error: there are no arguments to ‘align’ that depend on a template parameter, so a declaration of ‘align’ must be available [-fpermissive]
  _declspec(align(16)) static T a[9];
                    ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:20: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:23: error: expected ‘;’ before ‘static’
  _declspec(align(16)) static T a[9];
                       ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:105:43: error: ‘a’ was not declared in this scope
  _ptr_sucker = reinterpret_cast<uint64_t>(a);
                                           ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp: In instantiation of ‘void _process_plane_3x3(const T*, int, T*, int, int, int, bool) [with T = float]’:
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:173:3:   required from ‘void _do_it_(const VSAPI*, const VSFrameRef*, int, VSFrameRef*, int, VSFrameRef*, int, int, int, VSFrameRef*, VSFrameRef*, int, double, int, bool) [with T1 = float; T2 = double; VSAPI = VSAPI; VSFrameRef = VSFrameRef]’
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Source.cpp:40:160:   required from here
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:17: error: ‘align’ was not declared in this scope
  _declspec(align(16)) static T a[9];
                 ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:11: error: ‘_declspec’ was not declared in this scope
  _declspec(align(16)) static T a[9];
           ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp: In instantiation of ‘void _process_plane_3x3(const T*, int, T*, int, int, int, bool) [with T = short unsigned int]’:
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:173:3:   required from ‘void _do_it_(const VSAPI*, const VSFrameRef*, int, VSFrameRef*, int, VSFrameRef*, int, int, int, VSFrameRef*, VSFrameRef*, int, double, int, bool) [with T1 = short unsigned int; T2 = int; VSAPI = VSAPI; VSFrameRef = VSFrameRef]’
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Source.cpp:42:164:   required from here
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:17: error: ‘align’ was not declared in this scope
  _declspec(align(16)) static T a[9];
                 ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:11: error: ‘_declspec’ was not declared in this scope
  _declspec(align(16)) static T a[9];
           ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp: In instantiation of ‘void _process_plane_3x3(const T*, int, T*, int, int, int, bool) [with T = unsigned char]’:
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:173:3:   required from ‘void _do_it_(const VSAPI*, const VSFrameRef*, int, VSFrameRef*, int, VSFrameRef*, int, int, int, VSFrameRef*, VSFrameRef*, int, double, int, bool) [with T1 = unsigned char; T2 = int; VSAPI = VSAPI; VSFrameRef = VSFrameRef]’
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Source.cpp:44:163:   required from here
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:17: error: ‘align’ was not declared in this scope
  _declspec(align(16)) static T a[9];
                 ^
/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix/../../src/Kernel.hpp:104:11: error: ‘_declspec’ was not declared in this scope
  _declspec(align(16)) static T a[9];
           ^
Makefile:490: recipe for target '../../src/Source.lo' failed
make: *** [../../src/Source.lo] Error 1
 * ERROR: media-plugins/vapoursynth-minsrp-9999::vapoursynth failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-plugins/vapoursynth-minsrp-9999::vapoursynth'`,
 * the complete build log and the output of `emerge -pqv '=media-plugins/vapoursynth-minsrp-9999::vapoursynth'`.
 * The complete build log is located at '/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999_build'
 * S: '/var/tmp/portage/media-plugins/vapoursynth-minsrp-9999/work/vapoursynth-minsrp-9999/build/unix'
IFeelBloated commented 8 years ago

okay, think I got where things went wrong, will fix that soon

IFeelBloated commented 8 years ago

is the latest source code working now?

4re commented 8 years ago

Yup, thankyou! :)