* [Buildroot] kodi: build errors
@ 2015-03-12 1:49 Carlos A. M. dos Santos
2015-03-12 10:25 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Carlos A. M. dos Santos @ 2015-03-12 1:49 UTC (permalink / raw)
To: buildroot
Hello,
I'm facing some errors trying to build kodi using the buildroot
(commit a4788aa6157d1496cdd32cb9802710d4e97bc550)
The first problem is that kodi requires "libjpeg" to build, not
"jpeg". I solved the problem applying the following patch:
diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 1bc8b15..f6e95e2 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -42,7 +42,7 @@ menuconfig BR2_PACKAGE_KODI
select BR2_PACKAGE_FONTCONFIG
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_JASPER
- select BR2_PACKAGE_JPEG
+ select BR2_PACKAGE_LIBJPEG
select BR2_PACKAGE_LIBASS
select BR2_PACKAGE_LIBCDIO
select BR2_PACKAGE_LIBCURL
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index f40fc31..fd6fbfe 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -16,7 +16,7 @@ KODI_INSTALL_STAGING = YES
# http://wiki.xbmc.org/index.php?title=TexturePacker
KODI_DEPENDENCIES = host-gawk host-gettext host-gperf host-infozip host-lzo \
host-nasm host-sdl_image host-swig
-KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype jasper jpeg \
+KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype
jasper libjpeg \
libass libcdio libcurl libfribidi libgcrypt libmad libmodplug libmpeg2 \
libogg libplist libpng libsamplerate libungif libvorbis libxml2
libxslt lzo ncurses \
openssl pcre python readline sqlite taglib tiff tinyxml yajl zlib
(sorry, the copy/paste converted tabs to spaces)
The error in build/kodi-14.1-Helix/config.log is
configure:26554: checking for main in -lSDL_image
configure:26573:
/work/br-master-glibc/host/usr/bin/i686-buildroot-linux-gnu-gcc -o
conftest -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-D_FILE_OFFSET_BITS=64 -Os -fPIC -DPIC -D_REENTRANT
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1
-D_LARGEFILE_SOURCE -D
/work/br-master-glibc/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libtag.so:
undefined reference to `std::__throw_out_of_range_fmt(char const*,
...)@GLIBCXX_3.4.20'
collect2: error: ld returned 1 exit status
Have anybody seen this before?
Thanks
--
Carlos Santos
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] kodi: build errors
2015-03-12 1:49 [Buildroot] kodi: build errors Carlos A. M. dos Santos
@ 2015-03-12 10:25 ` Thomas Petazzoni
2015-03-14 15:14 ` Carlos A. M. dos Santos
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2015-03-12 10:25 UTC (permalink / raw)
To: buildroot
Dear Carlos A. M. dos Santos,
On Wed, 11 Mar 2015 22:49:48 -0300, Carlos A. M. dos Santos wrote:
> Hello,
>
> I'm facing some errors trying to build kodi using the buildroot
> (commit a4788aa6157d1496cdd32cb9802710d4e97bc550)
>
> The first problem is that kodi requires "libjpeg" to build, not
> "jpeg". I solved the problem applying the following patch:
>
> diff --git a/package/kodi/Config.in b/package/kodi/Config.in
> index 1bc8b15..f6e95e2 100644
> --- a/package/kodi/Config.in
> +++ b/package/kodi/Config.in
> @@ -42,7 +42,7 @@ menuconfig BR2_PACKAGE_KODI
> select BR2_PACKAGE_FONTCONFIG
> select BR2_PACKAGE_FREETYPE
> select BR2_PACKAGE_JASPER
> - select BR2_PACKAGE_JPEG
> + select BR2_PACKAGE_LIBJPEG
> select BR2_PACKAGE_LIBASS
> select BR2_PACKAGE_LIBCDIO
> select BR2_PACKAGE_LIBCURL
> diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
> index f40fc31..fd6fbfe 100644
> --- a/package/kodi/kodi.mk
> +++ b/package/kodi/kodi.mk
> @@ -16,7 +16,7 @@ KODI_INSTALL_STAGING = YES
> # http://wiki.xbmc.org/index.php?title=TexturePacker
> KODI_DEPENDENCIES = host-gawk host-gettext host-gperf host-infozip host-lzo \
> host-nasm host-sdl_image host-swig
> -KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype jasper jpeg \
> +KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype
> jasper libjpeg \
> libass libcdio libcurl libfribidi libgcrypt libmad libmodplug libmpeg2 \
> libogg libplist libpng libsamplerate libungif libvorbis libxml2
> libxslt lzo ncurses \
> openssl pcre python readline sqlite taglib tiff tinyxml yajl zlib
This change is not correct: selecting BR2_PACKAGE_JPEG and having
'jpeg' in KODI_DEPENDENCIES is the right thing to do. The 'jpeg'
package is a virtual package: it will itself depend on 'libjpeg' or
'jpeg-turbo' depending on the selected jpeg implementation.
Can you be more specific about which problems you have seen in relation
to jpeg support?
> (sorry, the copy/paste converted tabs to spaces)
>
> The error in build/kodi-14.1-Helix/config.log is
>
> configure:26554: checking for main in -lSDL_image
> configure:26573:
> /work/br-master-glibc/host/usr/bin/i686-buildroot-linux-gnu-gcc -o
> conftest -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -Os -fPIC -DPIC -D_REENTRANT
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1
> -D_LARGEFILE_SOURCE -D
> /work/br-master-glibc/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libtag.so:
> undefined reference to `std::__throw_out_of_range_fmt(char const*,
> ...)@GLIBCXX_3.4.20'
> collect2: error: ld returned 1 exit status
>
> Have anybody seen this before?
It's trying to use the C compiler to link with C++ libraries. Can you
share your Buildroot .config that exhibits the problem ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] kodi: build errors
2015-03-12 10:25 ` Thomas Petazzoni
@ 2015-03-14 15:14 ` Carlos A. M. dos Santos
2015-03-14 16:04 ` Thomas Petazzoni
2015-03-15 0:30 ` Yann E. MORIN
0 siblings, 2 replies; 5+ messages in thread
From: Carlos A. M. dos Santos @ 2015-03-14 15:14 UTC (permalink / raw)
To: buildroot
OK, I restored the kodi configuration files to the original ones. I'm
sending the .config file.
--
"Quando dou comida aos pobres, me chamam de Santo. Quando pergunto por
que s?o pobres, me chamam de Comunista."
-- D H?lder C?mara
On Thu, Mar 12, 2015 at 7:25 AM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Dear Carlos A. M. dos Santos,
>
> On Wed, 11 Mar 2015 22:49:48 -0300, Carlos A. M. dos Santos wrote:
>> Hello,
>>
>> I'm facing some errors trying to build kodi using the buildroot
>> (commit a4788aa6157d1496cdd32cb9802710d4e97bc550)
>>
>> The first problem is that kodi requires "libjpeg" to build, not
>> "jpeg". I solved the problem applying the following patch:
>>
>> diff --git a/package/kodi/Config.in b/package/kodi/Config.in
>> index 1bc8b15..f6e95e2 100644
>> --- a/package/kodi/Config.in
>> +++ b/package/kodi/Config.in
>> @@ -42,7 +42,7 @@ menuconfig BR2_PACKAGE_KODI
>> select BR2_PACKAGE_FONTCONFIG
>> select BR2_PACKAGE_FREETYPE
>> select BR2_PACKAGE_JASPER
>> - select BR2_PACKAGE_JPEG
>> + select BR2_PACKAGE_LIBJPEG
>> select BR2_PACKAGE_LIBASS
>> select BR2_PACKAGE_LIBCDIO
>> select BR2_PACKAGE_LIBCURL
>> diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
>> index f40fc31..fd6fbfe 100644
>> --- a/package/kodi/kodi.mk
>> +++ b/package/kodi/kodi.mk
>> @@ -16,7 +16,7 @@ KODI_INSTALL_STAGING = YES
>> # http://wiki.xbmc.org/index.php?title=TexturePacker
>> KODI_DEPENDENCIES = host-gawk host-gettext host-gperf host-infozip host-lzo \
>> host-nasm host-sdl_image host-swig
>> -KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype jasper jpeg \
>> +KODI_DEPENDENCIES += boost bzip2 expat ffmpeg fontconfig freetype
>> jasper libjpeg \
>> libass libcdio libcurl libfribidi libgcrypt libmad libmodplug libmpeg2 \
>> libogg libplist libpng libsamplerate libungif libvorbis libxml2
>> libxslt lzo ncurses \
>> openssl pcre python readline sqlite taglib tiff tinyxml yajl zlib
>
> This change is not correct: selecting BR2_PACKAGE_JPEG and having
> 'jpeg' in KODI_DEPENDENCIES is the right thing to do. The 'jpeg'
> package is a virtual package: it will itself depend on 'libjpeg' or
> 'jpeg-turbo' depending on the selected jpeg implementation.
>
> Can you be more specific about which problems you have seen in relation
> to jpeg support?
>
>> (sorry, the copy/paste converted tabs to spaces)
>>
>> The error in build/kodi-14.1-Helix/config.log is
>>
>> configure:26554: checking for main in -lSDL_image
>> configure:26573:
>> /work/br-master-glibc/host/usr/bin/i686-buildroot-linux-gnu-gcc -o
>> conftest -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
>> -D_FILE_OFFSET_BITS=64 -Os -fPIC -DPIC -D_REENTRANT
>> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG=1
>> -D_LARGEFILE_SOURCE -D
>> /work/br-master-glibc/host/usr/i686-buildroot-linux-gnu/sysroot/usr/lib/libtag.so:
>> undefined reference to `std::__throw_out_of_range_fmt(char const*,
>> ...)@GLIBCXX_3.4.20'
>> collect2: error: ld returned 1 exit status
>>
>> Have anybody seen this before?
>
> It's trying to use the C compiler to link with C++ libraries. Can you
> share your Buildroot .config that exhibits the problem ?
>
> Thanks,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 65744 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150314/c4aa59d7/attachment.obj>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] kodi: build errors
2015-03-14 15:14 ` Carlos A. M. dos Santos
@ 2015-03-14 16:04 ` Thomas Petazzoni
2015-03-15 0:30 ` Yann E. MORIN
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2015-03-14 16:04 UTC (permalink / raw)
To: buildroot
Dear Carlos A. M. dos Santos,
On Sat, 14 Mar 2015 12:14:29 -0300, Carlos A. M. dos Santos wrote:
> OK, I restored the kodi configuration files to the original ones. I'm
> sending the .config file.
Your configuration file indicates:
Buildroot 2015.05-git-00354-gf574230-dirty Configuration
Which means you have some uncommitted changes to Buildroot. Since I
don't know which changes you've made, how can I be sure that the
changes you've made are not the reason for the problem?
But anyway, I will start a build with your configuration.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] kodi: build errors
2015-03-14 15:14 ` Carlos A. M. dos Santos
2015-03-14 16:04 ` Thomas Petazzoni
@ 2015-03-15 0:30 ` Yann E. MORIN
1 sibling, 0 replies; 5+ messages in thread
From: Yann E. MORIN @ 2015-03-15 0:30 UTC (permalink / raw)
To: buildroot
Carlos, All,
On 2015-03-14 12:14 -0300, Carlos A. M. dos Santos spake thusly:
> OK, I restored the kodi configuration files to the original ones. I'm
> sending the .config file.
I've successfully built this .config of yours using current master.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-15 0:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-12 1:49 [Buildroot] kodi: build errors Carlos A. M. dos Santos
2015-03-12 10:25 ` Thomas Petazzoni
2015-03-14 15:14 ` Carlos A. M. dos Santos
2015-03-14 16:04 ` Thomas Petazzoni
2015-03-15 0:30 ` Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.