Re: [blfs-dev] Libsoup-2.70.0 does not build with brotli-1.0.9

2020-09-20 Thread Bruce Dubbs via blfs-dev

On 9/20/20 11:30 AM, Douglas R. Reno via blfs-dev wrote:


On 9/20/20 8:04 AM, NicP via blfs-dev wrote:

Hello,

While building BLFS-10.0 systemd stable version, libsoup-2.70.0 fails 
to build if brotli-1.0.9 is installed.


The build stops with this message : unrecognized command-line option 
'-R'.


This '-R' (obviousli erroneous) provides from one of the pkgconfig 
files coming with brotli 
(/usr/lib/pkgconfig/libbrotli{common,dec,enc}.pc).


Adding -Dbrotli=disabled to the meson command of libsoup does the job 
(but of course without brotli support).


Is it a known issue ?

Best regards.



This is an upstream regression that we're going to have to solve as 
it'll affect the latest libsoup for GNOME-3.38 as well.


Can you try applying this fix to brotli and then recompiling it:

https://github.com/google/brotli/pull/838/commits/092446fafb4bfb81738853b7c7f76b293cd92a80 


Seems easy enough:

sed -i 's/-R${libdir}//' scripts/*.in

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Libsoup-2.70.0 does not build with brotli-1.0.9

2020-09-20 Thread NicP via blfs-dev

Le 20-09-20 à 18:30, Douglas R. Reno via blfs-dev a écrit :

On 9/20/20 8:04 AM, NicP via blfs-dev wrote:

Hello,

While building BLFS-10.0 systemd stable version, libsoup-2.70.0 fails 
to build if brotli-1.0.9 is installed.


The build stops with this message : unrecognized command-line option 
'-R'.


This '-R' (obviousli erroneous) provides from one of the pkgconfig 
files coming with brotli 
(/usr/lib/pkgconfig/libbrotli{common,dec,enc}.pc).


Adding -Dbrotli=disabled to the meson command of libsoup does the job 
(but of course without brotli support).


Is it a known issue ?

Best regards.


This is an upstream regression that we're going to have to solve as 
it'll affect the latest libsoup for GNOME-3.38 as well.


Can you try applying this fix to brotli and then recompiling it:

https://github.com/google/brotli/pull/838/commits/092446fafb4bfb81738853b7c7f76b293cd92a80 


Thank you,

- Doug

Done : the fix solves the issue. Libsoup builds fine and tests are OK.
BTW the fix just removes '-R${libdir}' from the 3 libbrotli...pc files.
These options were not present in the version 1.0.7 of brotli (version 
used for BLFS 10.0 stable, but upgrading to 1.0.9 is recommended in the 
errata).


Thank you for your response.

Best regards.
--
NicP
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] Libsoup-2.70.0 does not build with brotli-1.0.9

2020-09-20 Thread Douglas R. Reno via blfs-dev


On 9/20/20 8:04 AM, NicP via blfs-dev wrote:

Hello,

While building BLFS-10.0 systemd stable version, libsoup-2.70.0 fails 
to build if brotli-1.0.9 is installed.


The build stops with this message : unrecognized command-line option 
'-R'.


This '-R' (obviousli erroneous) provides from one of the pkgconfig 
files coming with brotli 
(/usr/lib/pkgconfig/libbrotli{common,dec,enc}.pc).


Adding -Dbrotli=disabled to the meson command of libsoup does the job 
(but of course without brotli support).


Is it a known issue ?

Best regards.



This is an upstream regression that we're going to have to solve as 
it'll affect the latest libsoup for GNOME-3.38 as well.


Can you try applying this fix to brotli and then recompiling it:

https://github.com/google/brotli/pull/838/commits/092446fafb4bfb81738853b7c7f76b293cd92a80


Thank you,

- Doug

--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page