Giter VIP home page Giter VIP logo

ewpi's People

Contributors

abedsrour avatar stefan-schmidt avatar vtorri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ewpi's Issues

Getting errors while trying to install EFL by using ewpi

I am trying to install EFL in my Windows 10 system.

I am able to clone and compile ewpi successfully in MSYS2 MINGW64 terminal.
Then I am running this command: ./ewpi --efl --jobs=8. Packages are downloaded fine, but while extraction of sources is going on, I am getting following error:

:: Extraction of sources...
(11/88) zstd-1.5.5 [##### ] 12%tar: zstd-1.5.5/tests/cli-tests/bin/unzstd: Cannot create symlink to ‘zstd’: No such file or directory
tar: Exiting with failure status due to previous errors
Can not extract zstd-1.5.5.tar.gz

Some places I read that I should just execute the command again. But on trying to execute ./ewpi --efl --jobs=8 again, I am getting a new error in the terminal while downloading packages:

v2.5.0.tar.gz.1 [ <=> ] 1.78M 3.36MB/s in 0.5s
fatal: destination path 'libyuv' already exists and is not an empty directory.
error while downloading package libyuv (ret = 128)

Packages no longer build on Linux after verbose option commit

Since the verbose option was added already the first package (pkg-config) fails to build with this in make.log:

make: *** No rule to make target 'no'. Stop.

Somehow the "no" option was put in as a make target. I do not have --verbose defined on my commandline.

Reverting the verbose option commit (237283e) brings ewpi back to a working state for me.

gstreamer package does not configure with missing glib cross dep

98 Library gmp found: NO
99 Library gsl found: NO
100 Library gslcblas found: NO
101 Library dl found: NO
102 Checking for function "dladdr" : NO
103 Cross dependency glib-2.0 found: NO
104 Looking for a fallback subproject for the dependency glib-2.0
105 Couldn't use fallback subproject in subprojects/glib for the dependency glib-2.0
106 Reason: Subproject directory 'subprojects/glib' does not exist and cannot be downloaded:
107 No glib.wrap found for 'subprojects/glib'
108
109 meson.build:386:0: ERROR: Pkg-config not found.
110
111 A full log can be found at /home/stefan/EFL/ewpi/packages/gstreamer/gstreamer-1.14.4/builddir/meson-logs/meson-log.txt

Compilation error in gst-plugins-base-1.22.1 (ewpi-1.0)

Hi,

after building ewpi on Linux (Arch) from the ewpi-1.0.tar.gz and running

ewpi --efl --prefix=/opt/ewpi_64 --verbose

the compilation of gst-plugins-base-1.22.1 fails with errors:

gst-libs/gst/video/video-orc.c:489:25: error: ‘ORC_ONCE_INIT’ undeclared (first use in this function); 
gst-libs/gst/video/video-orc.c:769:25: error: ‘ORC_ONCE_INIT’ undeclared (first use in this function);
...

It seems that in orc-0.4.32/orc/orconce.h this is not defined, but in that header of orc version 0.4.34 it is.
When copying the orconce.h from the sources of orc-0.4.34 to /opt/ewpi_64/include/orc-0.4/orc/orconce.h
the compilation succeeds.
The build requirement in gst-plugins-base-1.22.1/meson.build says

orc_req = '>= 0.4.24'

but I don't see how this could work.
I'm not sure if there is some confusion on my side or if it's really an issue with gst-plugins-base and/or orc.
Can someone confirm this behaviour?

Regards,
Jean Rene

Ewpi fails to install package gettext-0.21.0

:: Installation of packages...
( 1/83) gettext-0.21.0 [ ] 1%xz: (stdout): Write error: Invalid argument
Can not install gettext

make.log

Making install in doc
make[1]: Entering directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/doc'
make[2]: Entering directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/doc'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/doc'
make[1]: Leaving directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/doc'
Making install in intl
make[1]: Entering directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/intl'
make  install-am
make[2]: Entering directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/intl'
  CCLD     libintl.la
libtool:   error: 'dcgettext.lo' is not a valid libtool object
make[2]: *** [Makefile:1643: libintl.la] Error 1
make[2]: Leaving directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/intl'
make[1]: *** [Makefile:1789: install] Error 2
make[1]: Leaving directory '/opt/ewpi_64/share/ewpi/packages/gettext/gettext-0.21/gettext-runtime/intl'
ake: *** [Makefile:1467: install-recursive] Error 1

deps: cannot contain more than 1 space to separate dependencies

The current parser doesn't ignore all spaces between dependencies, which causes the ewpi to consider an empty string a dependency when there are multiple spaces between dependencies in the ewpi file.

deps:^dep1^^dep2

Causes the ewpi to understand that there are three dependencies, namely: "dep1", "", "dep2". Which causes crashes.

conflicting type compile error in libmysofa

During the compile of libmysofa I get many conflicting type errors and the builds errors out.

1 [ 9%] Building C object src/CMakeFiles/mysofa-shared.dir/hrtf/reader.c.obj
2 [ 9%] Building C object src/CMakeFiles/mysofa-shared.dir/hdf/superblock.c.obj
3 In file included from /usr/include/stdlib.h:394,
4 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:8:
5 /usr/include/sys/types.h:108:19: error: conflicting types for 'ssize_t'
6 typedef __ssize_t ssize_t;
7 ^~~~~~~
8 In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7,
9 from /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/include/stddef.h:1,
10 from /usr/include/string.h:33,
11 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:7:
12 /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:45:35: note: previous declaration of 'ssize_t' was here
13 __MINGW_EXTENSION typedef __int64 ssize_t;
14 ^~~~~~~
15 In file included from /usr/include/sys/types.h:129,
16 from /usr/include/stdlib.h:394,
17 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:8:
18 /usr/include/bits/types/time_t.h:7:18: error: conflicting types for 'time_t'
19 typedef __time_t time_t;
20 ^~~~~~
21 In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7,
22 from /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/include/stddef.h:1,
23 from /usr/include/string.h:33,
24 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:7:
25 /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:138:20: note: previous declaration of 'time_t' was here
26 typedef __time64_t time_t;
27 ^~~~~~
28 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:9:
29 /usr/include/errno.h:38: warning: "errno" redefined
30 # define errno (__errno_location ())
31
32 In file included from /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/include/stddef.h:1,
33 from /usr/include/string.h:33,
34 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:7:
35 /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:19: note: this is the location of the previous definition
36 #define errno (
_errno())
37
38 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/reader.h:11,
39 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:11:
40 /usr/include/stdint.h:90:27: error: conflicting types for 'uintptr_t'
41 typedef unsigned long int uintptr_t;
42 ^~~~~~~~~
43 In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7,
44 from /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/include/stddef.h:1,
45 from /usr/include/string.h:33,
46 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:7:
47 /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:75:44: note: previous declaration of 'uintptr_t' was here
48 __MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
49 ^~~~~~~~~
50 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/reader.h:11,
51 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:11:
52 /usr/include/stdint.h:106: warning: "__INT64_C" redefined
53 # define __INT64_C(c) c ## L
54
55 : note: this is the location of the previous definition
56 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/reader.h:11,
57 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hdf/superblock.c:11:
58 /usr/include/stdint.h:107: warning: "__UINT64_C" redefined
59 # define __UINT64_C(c) c ## UL
60
61 : note: this is the location of the previous definition
62 make[2]: *** [src/CMakeFiles/mysofa-shared.dir/build.make:78: src/CMakeFiles/mysofa-shared.dir/hdf/superblock.c.obj] Error 1
63 make[2]: *** Waiting for unfinished jobs....
64 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:9:
65 /usr/include/stdio.h:77:19: error: conflicting types for 'ssize_t'
66 typedef __ssize_t ssize_t;
67 ^~~~~~~
68 In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7,
69 from /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/include/stddef.h:1,
70 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:8:
71 /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:45:35: note: previous declaration of 'ssize_t' was here
72 __MINGW_EXTENSION typedef __int64 ssize_t;
73 ^~~~~~~
74 In file included from /usr/include/sys/types.h:129,
75 from /usr/include/stdlib.h:394,
76 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:10:
77 /usr/include/bits/types/time_t.h:7:18: error: conflicting types for 'time_t'
78 typedef __time_t time_t;
79 ^~~~~~
80 In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7,
81 from /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/include/stddef.h:1,
82 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:8:
83 /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:138:20: note: previous declaration of 'time_t' was here
84 typedef __time64_t time_t;
85 ^~~~~~
86 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/mysofa.h:13,
87 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:15:
88 /usr/include/stdint.h:90:27: error: conflicting types for 'uintptr_t'
89 typedef unsigned long int uintptr_t;
90 ^~~~~~~~~
91 In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7,
92 from /usr/lib/gcc/x86_64-w64-mingw32/8.3.0/include/stddef.h:1,
93 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:8:
94 /usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:75:44: note: previous declaration of 'uintptr_t' was here
95 __MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
96 ^~~~~~~~~
97 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/mysofa.h:13,
98 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:15:
99 /usr/include/stdint.h:106: warning: "__INT64_C" redefined
100 # define __INT64_C(c) c ## L
101
102 : note: this is the location of the previous definition
103 In file included from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/mysofa.h:13,
104 from /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:15:
105 /usr/include/stdint.h:107: warning: "__UINT64_C" redefined
106 # define __UINT64_C(c) c ## UL
107
108 : note: this is the location of the previous definition
109 /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c: In function 'readValue':
110 /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:32:10: warning: conversion from 'long long unsigned int' to 'uint64_t' {aka 'long unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow]
111 return 0xffffffffffffffffLL;
112 ^~~~~~~~~~~~~~~~~~~~
113 /home/stefan/EFL/ewpi/install-dir/share/ewpi/packages/libmysofa/libmysofa-0.7/src/hrtf/reader.c:37:11: warning: conversion from 'long long unsigned int' to 'uint64_t' {aka 'long unsigned int'} changes value from '18446744073709551615' to '4294967295' [-Woverflow]
114 return 0xffffffffffffffffLL;
115 ^~~~~~~~~~~~~~~~~~~~
116 make[2]: *** [src/CMakeFiles/mysofa-shared.dir/build.make:64: src/CMakeFiles/mysofa-shared.dir/hrtf/reader.c.obj] Error 1
117 make[1]: *** [CMakeFiles/Makefile2:91: src/CMakeFiles/mysofa-shared.dir/all] Error 2
118 make: *** [Makefile:152: all] Error 2

Errors in trying to follow your directions... I tried two different ways, thus far...

First, I used my default MSYS2 MINGW64 environment

gcc -O2 -std=c99 -o ewpi ewpi.c ewpi_map.c

./ewpi --prefix=z:/ewpi_64 --host=x86_64-w64-mingw32
:: Configuration...
prefix: z:/ewpi_64
host: x86_64-w64-mingw32
arch: x86-64
strip: no
installer: no
verbose: no
efl: no
jobs:

:: Checking requirements...
gcc : yes
g++ : yes
ar : yes
dlltool : yes
nm : yes
ranlib : yes
strip : yes
windres : yes
make : yes
cmake : yes
python : yes
meson : yes
ninja : yes
yasm : yes
nasm : yes
gperf : yes
wget : yes
bison : yes
flex : yes
makensis : yes
:: Prepare directories in z:/ewpi_64...
:: Check which package is not installed...
:: Build the dependency tree...
Segmentation fault

Second, I used just the MSYS2 MSYS environment...
With this one, I get a different error...

newca@NEW_BEGINNINGS MSYS /z/ewpi
gcc -O2 -std=c99 -o ewpi ewpi.c ewpi_map.c
ewpi.c:17:11: fatal error: linux/limits.h: No such file or directory
17 | # include <linux/limits.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.

Ewpi fails to install package libavif-0.9.2

:: Installation of packages...
( 1/90) pkf-config-1.7.3 [ ] 1%xz: (stdout): Write error: Invalid argument
( 6/90) libpng-1.6.37 [## ] 6%xz: (stdout): Write error: Invalid argument
( 8/90) gettext-0.21.0 [### ] 8%xz: (stdout): Write error: Invalid argument
( 9/90) xz-5.2.5 [#### ] 10%xz: (stdout): Write error: Invalid argument
(17/90) nasm-2.14.2 [####### ] 18%xz: (stdout): Write error: Invalid argument
(18/90) libdav1d-0.9.2 [######## ] 20%xz: (stdout): Write error: Invalid argument
(20/90) libaom-3.1.2 [######## ] 22%Note: switching to '8f85bb1d686647d0f7dc1e7220f94f55193d2c89'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

git switch -c

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ae2be8030 Update AUTHORS,CHANGELOG,CMakeLists.txt for v3.1.2
(21/90) libavif-0.9.2 [######### ] 23% Can not install libavif

harfbuzz build failed

When trying to build all packages it fails at harfbuzz for me:

harfbuzz: installed (ret=512)
error while installing harfbuzz. see config.log or make.log

The make.log gives more clues:

In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7:0,
                 from /usr/lib/gcc/x86_64-w64-mingw32/7.3.0/include/stddef.h:1,
                 from /usr/include/stdlib.h:31,
                 from hb-private.hh:46,
                 from hb-icu.cc:30:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:75:44: error: conflicting declaration 'typedef long long unsigned int uintptr_t'
 __MINGW_EXTENSION typedef unsigned __int64 uintptr_t;
                                            ^~~~~~~~~
In file included from hb-common.h:63:0,
                 from hb-blob.h:34,
                 from hb.h:35,
                 from hb-private.hh:38,
                 from hb-icu.cc:30:
/usr/include/stdint.h:100:27: note: previous declaration as 'typedef long unsigned int uintptr_t'
 typedef unsigned long int uintptr_t;
                           ^~~~~~~~~
In file included from /usr/include/stdlib.h:279:0,
                 from hb-private.hh:46,
                 from hb-icu.cc:30:
/usr/include/sys/types.h:109:19: error: conflicting declaration 'typedef __ssize_t ssize_t'
 typedef __ssize_t ssize_t;
                   ^~~~~~~
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7:0,
                 from /usr/lib/gcc/x86_64-w64-mingw32/7.3.0/include/stddef.h:1,
                 from /usr/include/stdlib.h:31,
                 from hb-private.hh:46,
                 from hb-icu.cc:30:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:45:35: note: previous declaration as 'typedef long long int ssize_t'
 __MINGW_EXTENSION typedef __int64 ssize_t;
                                   ^~~~~~~
In file included from /usr/include/sys/types.h:130:0,
                 from /usr/include/stdlib.h:279,
                 from hb-private.hh:46,
                 from hb-icu.cc:30:
/usr/include/bits/types/time_t.h:7:18: error: conflicting declaration 'typedef __time_t time_t'
 typedef __time_t time_t;
                  ^~~~~~
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/stddef.h:7:0,
                 from /usr/lib/gcc/x86_64-w64-mingw32/7.3.0/include/stddef.h:1,
                 from /usr/include/stdlib.h:31,
                 from hb-private.hh:46,
                 from hb-icu.cc:30:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/crtdefs.h:138:20: note: previous declaration as 'typedef __time64_t time_t'
 typedef __time64_t time_t;
                    ^~~~~~
In file included from /usr/include/sys/sysmacros.h:41:0,
                 from /usr/include/sys/types.h:205,
                 from /usr/include/stdlib.h:279,
                 from hb-private.hh:46,
                 from hb-icu.cc:30:
/usr/include/sys/sysmacros.h: In function 'unsigned int gnu_dev_major(__dev_t)':
/usr/include/bits/sysmacros.h:44:60: warning: right shift count >= width of type [-Wshift-count-overflow]
     __major |= ((__dev & (__dev_t) 0xfffff00000000000u) >> 32); \
                                                            ^
/usr/include/sys/sysmacros.h:79:1: note: in expansion of macro '__SYSMACROS_DEFINE_MAJOR'
 __SYSMACROS_DEFINE_MAJOR (__SYSMACROS_IMPL_TEMPL)
 ^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/sysmacros.h: In function '__dev_t gnu_dev_makedev(unsigned int, unsigned int)':
/usr/include/bits/sysmacros.h:68:54: warning: left shift count >= width of type [-Wshift-count-overflow]
     __dev |= (((__dev_t) (__major & 0xfffff000u)) << 32); \
                                                      ^
/usr/include/sys/sysmacros.h:81:1: note: in expansion of macro '__SYSMACROS_DEFINE_MAKEDEV'
 __SYSMACROS_DEFINE_MAKEDEV (__SYSMACROS_IMPL_TEMPL)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from hb-private.hh:55:0,
                 from hb-icu.cc:30:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/intrin.h: At global scope:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/intrin.h:522:5: error: conflicting declaration of C function 'int _setjmp(__jmp_buf_tag*, void*)'
     __MACHINE(int __cdecl __attribute__ ((__nothrow__,__returns_twice__)) _setjmp(jmp_buf,void *))
     ^
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/intrin.h:38:0,
                 from hb-private.hh:55,
                 from hb-icu.cc:30:
/usr/include/setjmp.h:58:12: note: previous declaration 'int _setjmp(__jmp_buf_tag*)'
 extern int _setjmp (struct __jmp_buf_tag __env[1]) __THROWNL;
            ^~~~~~~
In file included from hb-icu.cc:30:0:
hb-private.hh:298:1: error: static assertion failed
 static_assert ((sizeof (int64_t) == 8), "");
 ^~~~~~~~~~~~~
hb-private.hh:299:1: error: static assertion failed
 static_assert ((sizeof (uint64_t) == 8), "");
 ^~~~~~~~~~~~~
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:114:0,
                 from hb-mutex-private.hh:53,
                 from hb-private.hh:617,
                 from hb-icu.cc:30:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/stralign.h: In function 'int ua_wcsicmp(LPCUWSTR, LPCUWSTR)':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/stralign.h:155:14: error: '_wcsicmp' was not declared in this scope
       return _wcsicmp((LPCWSTR)String1,(LPCWSTR)String2);
              ^~~~~~~~
/usr/x86_64-w64-mingw32/sys-root/mingw/include/stralign.h:155:14: note: suggested alternative: 'ua_wcsicmp'
       return _wcsicmp((LPCWSTR)String1,(LPCWSTR)String2);
              ^~~~~~~~
              ua_wcsicmp
make[3]: *** [Makefile:2290: libharfbuzz_icu_la-hb-icu.lo] Error 1
make[3]: Leaving directory '/home/stefan/EFL/efl/ewpi/packages/harfbuzz/harfbuzz-1.8.4/src'
make[2]: *** [Makefile:3051: install-recursive] Error 1
make[2]: Leaving directory '/home/stefan/EFL/efl/ewpi/packages/harfbuzz/harfbuzz-1.8.4/src'
make[1]: *** [Makefile:3432: install] Error 2
make[1]: Leaving directory '/home/stefan/EFL/efl/ewpi/packages/harfbuzz/harfbuzz-1.8.4/src'
make: *** [Makefile:516: install-recursive] Error 1

Wrong libname in luajit pc file results in failed linking

In the luajit install.sh file the sonames of the lib are set like this:
34 FILE_SO=lua51.dll
35 INSTALL_SONAME=lua51.dll
36 TARGET_XSHLDFLAGS="-shared -Wl,--out-implib,liblua.dll.a"
37 INSTALL_SOSHORT1=liblua.dll.a \

The luajit pc file still refers a different name though:
12 libname=luajit-${abiver}

This made the efl compile ail for me until I changed the pc file to use liblua as libname as well.

Fails to install lz4 binaries

I see the following issue when trying to build lz4 on Fedora (make.log):

1 make[1]: Entering directory '/ewpi-64-install/share/ewpi/packages/lz4/lz4-1.9.1/lib'
2 compiling dynamic library 1.9.1
3 x86_64-w64-mingw32-gcc -I/ewpi-64-install//include -DXXH_NAMESPACE=LZ4_ -O2 -pipe -march=x86-64 -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith -Wstrict-aliasing=1 -L/ewpi-64-install//lib -s -s hared lz4.c lz4frame.c lz4hc.c xxhash.c -fPIC -fvisibility=hidden -Wl,-soname=liblz4.so.1 -o liblz4.1
4 creating versioned links
5 cp -p liblz4.1 liblz4.so.1
6 cp -p liblz4.1 liblz4.so
7 creating pkgconfig
8 sed -e 's|@Prefix@|/ewpi-64-install/|'
9 -e 's|@libdir@|/ewpi-64-install//lib|'
10 -e 's|@INCLUDEDIR@|/ewpi-64-install//include|'
11 -e 's|@Version@|1.9.1|'
12 liblz4.pc.in >liblz4.pc
13 install -d -m 755 /ewpi-64-install//lib/pkgconfig/ /ewpi-64-install//include/ /ewpi-64-install//lib/ /ewpi-64-install//bin/
14 install -m 644 liblz4.pc /ewpi-64-install//lib/pkgconfig/
15 Installing libraries
16 install -m 755 liblz4.1 /ewpi-64-install//lib
17 cp -p liblz4.1 /ewpi-64-install//lib/liblz4.so.1
18 cp -p liblz4.1 /ewpi-64-install//lib/liblz4.so
19 Installing headers in /ewpi-64-install//include
20 install -m 644 lz4.h /ewpi-64-install//include/lz4.h
21 install -m 644 lz4hc.h /ewpi-64-install//include/lz4hc.h
22 install -m 644 lz4frame.h /ewpi-64-install//include/lz4frame.h
23 lz4 libraries installed
24 make[1]: Leaving directory '/ewpi-64-install/share/ewpi/packages/lz4/lz4-1.9.1/lib'
25 make[1]: Entering directory '/ewpi-64-install/share/ewpi/packages/lz4/lz4-1.9.1/programs'
26 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o ../lib/lz4.o ../lib/lz4.c
27 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o ../lib/lz4fra me.o ../lib/lz4frame.c
28 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o ../lib/lz4hc. o ../lib/lz4hc.c
29 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o ../lib/xxhash .o ../lib/xxhash.c
30 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o bench.o bench .c
31 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o datagen.o dat agen.c
32 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o lz4cli.o lz4c li.c
33 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -c -o lz4io.o lz4io .c
34 x86_64-w64-mingw32-gcc -O2 -pipe -march=x86-64 -Wall -Wextra -Wundef -Wcast-qual -Wcast-align -Wshadow -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wpointer-arith -Wstrict-aliasing=1 -I/ewpi-64-install//include -I../lib -DXXH_NAMESPACE=LZ4_ -L/ewpi-64-install// lib -s ../lib/lz4.o ../lib/lz4frame.o ../lib/lz4hc.o ../lib/xxhash.o bench.o datagen.o lz4cli.o lz4io.o -o lz4
35 Installing binaries
36 install: cannot stat 'lz4': No such file or directory
37 make[1]: *** [Makefile:151: install] Error 1
38 make[1]: Leaving directory '/ewpi-64-install/share/ewpi/packages/lz4/lz4-1.9.1/programs'
39 make: *** [Makefile:93: install] Error 2

libtheora package linking fails with syntax error in linker script

libtheora: compilingMaking install in lib
make[1]: Entering directory '/home/stefan/EFL/ewpi/packages/libtheora/libtheora-1.1.1/lib'
/bin/sh ../libtool --mode=link x86_64-w64-mingw32-gcc -I/home/stefan/EFL/ewpi_64/include -Wall -Wno-parentheses -O3 -fforce-addr -fomit-frame-pointer -finline-functions -funroll-loops -L/home/stefan/EFL/ewpi_64//lib -o libtheoradec.la -rpath /home/stefan/EFL/ewpi_64/lib -version-info 2:4:1 -no-undefined -export-symbols ../win32/xmingw32/libtheoradec-all.def apiwrapper.lo bitpack.lo decapiwrapper.lo decinfo.lo decode.lo dequant.lo fragment.lo huffdec.lo idct.lo info.lo internal.lo quant.lo state.lo mmxidct.lo mmxfrag.lo mmxstate.lo x86state.lo
libtool: link: rm -fr .libs/libtheoradec.def .libs/libtheoradec.exp .libs/libtheoradec.filter
libtool: link: /usr/bin/x86_64-w64-mingw32-nm -B .libs/apiwrapper.o .libs/bitpack.o .libs/decapiwrapper.o .libs/decinfo.o .libs/decode.o .libs/dequant.o .libs/fragment.o .libs/huffdec.o .libs/idct.o .libs/info.o .libs/internal.o .libs/quant.o .libs/state.o .libs/mmxidct.o .libs/mmxfrag.o .libs/mmxstate.o .libs/x86state.o | sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p' | /usr/bin/sed -e '/^[BCDGRS][ ]/s/.[ ]([^ ])/\1 DATA/' | /usr/bin/sed -e '/^[AITW][ ]/s/.*[ ]//' | sort | uniq > .libs/libtheoradec.exp
libtool: link: if test "x/usr/bin/sed 1q .libs/libtheoradec.def" = xEXPORTS; then cp .libs/libtheoradec.def .libs/libtheoradec-1.dll.def; else echo EXPORTS > .libs/libtheoradec-1.dll.def; cat .libs/libtheoradec.def >> .libs/libtheoradec-1.dll.def; fi
libtool: link: x86_64-w64-mingw32-gcc -shared .libs/libtheoradec-1.dll.def .libs/apiwrapper.o .libs/bitpack.o .libs/decapiwrapper.o .libs/decinfo.o .libs/decode.o .libs/dequant.o .libs/fragment.o .libs/huffdec.o .libs/idct.o .libs/info.o .libs/internal.o .libs/quant.o .libs/state.o .libs/mmxidct.o .libs/mmxfrag.o .libs/mmxstate.o .libs/x86state.o -L/home/stefan/EFL/ewpi_64//lib -o .libs/libtheoradec-1.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libtheoradec.dll.a
/usr/lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld: .libs/libtheoradec-1.dll.def:3: syntax error
/usr/lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld:.libs/libtheoradec-1.dll.def: file format not recognized; treating as linker script
/usr/lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld:.libs/libtheoradec-1.dll.def:2: syntax error
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:468: libtheoradec.la] Error 1
make[1]: Leaving directory '/home/stefan/EFL/ewpi/packages/libtheora/libtheora-1.1.1/lib'
make: *** [Makefile:291: install-recursive] Error 1
libtheora: installed (ret=512)

Redefined boolean during EFL build

When compiling EFL I run into this error where boolean is defined as two different types:
`
CC

   lib/emile/lib_emile_libemile_la-emile_image.lo

In file included from /root/EFL/ewpi_64/include/jpeglib.h:31:0,
from lib/emile/emile_image.c:25:
/root/EFL/ewpi_64/include/jmorecfg.h:242:13: error: conflicting types for 'boolean'
typedef int boolean;
^~~~~~~
In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/wtypes.h:8:0,
from /usr/x86_64-w64-mingw32/sys-root/mingw/include/winscard.h:10,
from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:97,
from /usr/x86_64-w64-mingw32/sys-root/mingw/include/winsock2.h:23,
from lib/emile/emile_image.c:10:
/usr/x86_64-w64-mingw32/sys-root/mingw/include/rpcndr.h:65:25: note: previous declaration of 'boolean' was here
typedef unsigned char boolean;
^~~~~~~
`
Making them the same type works around the issue but at least one comes from the ewpi include folder. Not sure which one you want to have here.

bullet pkgconfig file is broken

The Libs and Cflags variables exported by bullet.pc are busted: they use the mingw path /opt/ewpi_64/xyz but they need to use the Windows style C:/msys64/opt/ewpi_64/xyz in order to work correctly.

libwebp package compile fials with invalid libtool archive

Making install in imageio
make[1]: Entering directory '/home/stefan/EFL/ewpi/packages/libwebp/libwebp-1.0.0/imageio'
CCLD libimagedec.la
/usr/bin/grep: /home/stefan/EFL/efl/ewpi/packages/libwebp/libwebp-1.0.0/src/libwebp.la: No such file or directory
/usr/bin/sed: can't read /home/stefan/EFL/efl/ewpi/packages/libwebp/libwebp-1.0.0/src/libwebp.la: No such file or directory
libtool: error: '/home/stefan/EFL/efl/ewpi/packages/libwebp/libwebp-1.0.0/src/libwebp.la' is not a valid libtool archive
make[1]: *** [Makefile:391: libimagedec.la] Error 1
make[1]: Leaving directory '/home/stefan/EFL/ewpi/packages/libwebp/libwebp-1.0.0/imageio'
make: *** [Makefile:422: install-recursive] Error 1
libwebp: installed (ret=512)

bullet package does not build with missing -ldl

The bullet package does not build over a missing -ldl for linking

/usr/lib64/ccache/x86_64-w64-mingw32-g++ -isystem /home/stefan/EFL/ewpi/packages/bullet/bullet3-2.87/src -O2 -DNDEBUG -shared -o ../../lib/libBullet3OpenCL_clew.dll -Wl,--out-implib,../../lib/libBullet3OpenCL_clew.dll.a -Wl,--major-image-version,2,--minor-image-version,87 -Wl,--w hole-archive CMakeFiles/Bullet3OpenCL_clew.dir/objects.a -Wl,--no-whole-archive @CMakeFiles/Bullet3OpenCL_clew.dir/linklibs.rsp
/usr/lib/gcc/x86_64-w64-mingw32/7.3.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -ldl
collect2: error: ld returned 1 exit status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.