[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

GitLab Migration User  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |MOVED

--- Comment #8 from GitLab Migration User  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/939.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

--- Comment #7 from charlie  ---
I recompiled both 32-bit and 64-bit libXvMC with the patch applied and mesa
meson configure error remains.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

--- Comment #6 from Dylan Baker  ---
I started thinking about this over the weekend, and realized that all of this
work-arounding a lack of a .pc file for libxvmcw is silly, we should just add a
pkg-config file so this is less painful:
https://gitlab.freedesktop.org/xorg/lib/libxvmc/merge_requests/2

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

--- Comment #5 from charlie  ---
In a crossfile, setting like:

c_link_args = ['-L', '/home/a/lib']

terminates meson configuring earlier and results in a new error:

meson.build:1114:2: ERROR: C library 'dl' not found

Thanks for your time.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

--- Comment #4 from Dylan Baker  ---
Ah, sorry. The -D version is for the command line, in the cross file it
would be :
c_link_args = ['-L', '/path']

I'm on mobile, please excuse autocorrect fail.

On Thu, Jul 4, 2019, 17:56  wrote:

> *Comment # 3  on
> bug 110735  from
> charlie  *
>
> I can wait.
>
> Setting "-Dc_link_args" in a config file results in:
> meson: error: unrecognized arguments: ..
>
> So I set it in a meson crossfile like:
> [properties]
> c_link_args = ['-L /home/a/lib32']
>
> Results in 'XvMCW not found'.
>
> I also tried setting a native file
> (https://mesonbuild.com/Native-environments.html) mesa32.ini like:
>
> [paths]
> libdir = '/home/a/lib32'
> prefix = '/home/a'
>
> Still not found.
>
> --
> You are receiving this mail because:
>
>- You are on the CC list for the bug.
>
>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

--- Comment #3 from charlie  ---
I can wait.

Setting "-Dc_link_args" in a config file results in:
meson: error: unrecognized arguments: ..

So I set it in a meson crossfile like:
[properties]
c_link_args = ['-L /home/a/lib32']

Results in 'XvMCW not found'.

I also tried setting a native file
(https://mesonbuild.com/Native-environments.html) mesa32.ini like:

[paths]
libdir = '/home/a/lib32'
prefix = '/home/a'

Still not found.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

--- Comment #2 from Dylan Baker  ---
I'm not at my computer right now (its a holiday here), but you might be
able to fix this by seeing -Dc_link_args="-L /path/with/xvmc"

I'm on mobile, please excuse autocorrect fail.

On Thu, Jul 4, 2019, 00:32  wrote:

> *Comment # 1  on
> bug 110735  from
> charlie  *
>
> As a temporary work around--link to code from non-standard directory to the
> 32-bit /usr/lib directory, for example:
>
> if [[ $ARCH == *86 ]]; then
> sudo find ${HOME}/lib32/ -name "libXvMC*" -type f -maxdepth 1 -exec bash -c 
> 'ln
> -s "$0" /usr/lib/"${0##*/}"' {} \;
> sudo find ${HOME}/lib32/ -name "libXvMC*" -type l -maxdepth 1 -exec bash -c 
> 'ln
> -s "$0" /usr/lib/"${0##*/}"' {} \;
> fi
>
> Then delete links after compiling finishes:
>
> sudo rm /usr/lib/libXvMC*
>
> _
> Update: setting an rpath on 32-bit complied libXvMC* would still not let Meson
> find the libs.
>
> --
> You are receiving this mail because:
>
>- You are on the CC list for the bug.
>
>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

--- Comment #1 from charlie  ---
As a temporary work around--link to code from non-standard directory to the
32-bit /usr/lib directory, for example:

if [[ $ARCH == *86 ]]; then
sudo find ${HOME}/lib32/ -name "libXvMC*" -type f -maxdepth 1 -exec bash -c 'ln
-s "$0" /usr/lib/"${0##*/}"' {} \;
sudo find ${HOME}/lib32/ -name "libXvMC*" -type l -maxdepth 1 -exec bash -c 'ln
-s "$0" /usr/lib/"${0##*/}"' {} \;
fi

Then delete links after compiling finishes:

sudo rm /usr/lib/libXvMC*

_
Update: setting an rpath on 32-bit complied libXvMC* would still not let Meson
find the libs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-07-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

charlie  changed:

   What|Removed |Added

 CC||baker.dyla...@gmail.com

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110735] Meson can't find 32-bit libXvMCW in non-standard path

2019-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110735

Bug ID: 110735
   Summary: Meson can't find 32-bit libXvMCW in non-standard path
   Product: Mesa
   Version: git
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Other
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: bug0xa...@hushmail.com
QA Contact: mesa-dev@lists.freedesktop.org

When compiling mesa in 32-bit mode meson finds 64-bit XvMCW instead of 32-bit
XvMCW during configuring. The 32-bit XvMCW library is in a non-standard path.

meson-log.txt: "Compiler stderr:
src/gallium/state_trackers/xvmc/meson.build:31:2: ERROR: C library 'XvMCW' not
found"

Yes, both 64-bit and 32-bit libXvMC are installed in separate directories.

PKG_CONFIG_PATH, LD_LIBRARY_PATH, LDFLAGS, CXXLDFLAGS, CPPFLAGS are pointed to
the 32-bit path location of XvMCW and have no effect.

The CC='/usr/bin/32/gcc' and CXX='/usr/bin/32/g++' wrappers have no effect.

I did not attempt hardcoding an rpath into an 32-bit XvMCW recompile yet.

Software:
gcc-9.1.0_multilib
meson-0.50.0

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev