Summary: | app-editors/gvim-8.1.0648 USE=motif - configure: checking for location of Motif GUI libs... <not found> | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | OKUMURA N. Shin-ya <oku.ns> |
Component: | Current packages | Assignee: | Oskari Pirhonen <xxc3ncoredxx> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ajak, proxy-maint, sam, vim |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/25628 https://github.com/gentoo/gentoo/pull/30816 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log config.log Patch for 9999 |
Created attachment 566616 [details]
emerge --info
Please attach the entire build log to this bug report. Read the build log and attach the config.log that it mentions to this bug report as well. Created attachment 567248 [details]
build.log
Created attachment 567250 [details]
config.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35443759beadd2c24113c9457e62a016d81ccb5a commit 35443759beadd2c24113c9457e62a016d81ccb5a Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2021-03-26 08:34:56 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2021-03-26 08:43:53 +0000 app-editors/gvim: drop old version Dropping all old versions, which do not support slotted lua, as current ones does. Closes: https://bugs.gentoo.org/682292 Closes: https://bugs.gentoo.org/628570 Closes: https://bugs.gentoo.org/629694 Closes: https://bugs.gentoo.org/630042 Closes: https://bugs.gentoo.org/678864 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> app-editors/gvim/Manifest | 4 - app-editors/gvim/gvim-8.2.0360.ebuild | 367 ---------------------------------- app-editors/gvim/gvim-8.2.0508.ebuild | 367 ---------------------------------- app-editors/gvim/gvim-8.2.0638.ebuild | 367 ---------------------------------- app-editors/gvim/gvim-8.2.0814.ebuild | 367 ---------------------------------- 5 files changed, 1472 deletions(-) I don't think this is resolved. I still get the very same error and output reported by the OP. Okay, I think I got this. The ./configure script says checking for location of Motif GUI libs... <not found> So I configured it with ./configure --enable-gui=motif --with-motif-lib=/usr/lib64/libXm.so and it compiled successfully with the Motif GUI. Created attachment 741168 [details, diff]
Patch for 9999
Caveat: I'm not an Ebuild master at all!
myconf+=( --enable-gui=motif --with-motif-lib=-lXm ) also works, and should be future-proof, in contrast to the solution I previously proposed. This looks potentially relevant: https://github.com/vim/vim/commit/01967f5b1042b375b38098eceaf31671902c8dbb The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f2b4b321dccd03d25fe85d8d26f8a8698ee77a commit c3f2b4b321dccd03d25fe85d8d26f8a8698ee77a Author: Oskari Pirhonen <xxc3ncoredxx@gmail.com> AuthorDate: 2023-05-01 00:37:52 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-01 01:32:33 +0000 app-editors/gvim: add 9.0.1503 Bug: https://bugs.gentoo.org/905373 Closes: https://bugs.gentoo.org/678864 Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-editors/gvim/Manifest | 1 + app-editors/gvim/gvim-9.0.1503.ebuild | 367 ++++++++++++++++++++++++++++++++++ 2 files changed, 368 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b64fc47970052bff5c8039f92a70b658f5ac91e6 commit b64fc47970052bff5c8039f92a70b658f5ac91e6 Author: Oskari Pirhonen <xxc3ncoredxx@gmail.com> AuthorDate: 2023-05-01 00:39:57 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-01 01:32:33 +0000 app-editors/vim: add 9.0.1503 Bug: https://bugs.gentoo.org/905373 Bug: https://bugs.gentoo.org/678864 Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-editors/vim/Manifest | 1 + app-editors/vim/vim-9.0.1503.ebuild | 371 ++++++++++++++++++++++++++++++++++++ 2 files changed, 372 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa24ae670f87674b8c1a2399ebb68e1d391764b7 commit aa24ae670f87674b8c1a2399ebb68e1d391764b7 Author: Oskari Pirhonen <xxc3ncoredxx@gmail.com> AuthorDate: 2023-05-01 00:40:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-01 01:32:33 +0000 app-editors/vim-core: add 9.0.1503 Bug: https://bugs.gentoo.org/905373 Bug: https://bugs.gentoo.org/678864 Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> app-editors/vim-core/Manifest | 1 + app-editors/vim-core/vim-core-9.0.1503.ebuild | 231 ++++++++++++++++++++++++++ 2 files changed, 232 insertions(+) |
when USE='-gtk3 -gnome -gtk motif' emerge =app-editors/gvim-8.1.0648, the configure of app-editors/gvim-8.1.0648 doesn't find Motif. I have x11-libs/motif-2.3.8-r1 with USE="abi_x86_64 amd64 elibc_glibc examples jpeg kernel_linux motif22-compatibility png static-libs unicode userland_GNU xft". Reproducible: Always Steps to Reproduce: 1.USE='-gtk3 -gnome -gtk motif' emerge =app-editors/gvim-8.1.0648 Actual Results: # USE='-gtk3 -gnome -gtk motif' emerge app-editors/gvim Calculating dependencies... done! (snip) >>> Emerging (1 of 1) app-editors/gvim-8.1.0648::gentoo (snip) * Building gvim with the MOTIF GUI ./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 --docdir=/usr/share/doc/gvim-8.1.0648 --htmldir=/usr/share/doc/gvim-8.1.0648/html --libdir=/usr/lib64 --with-modified-by=Gentoo-8.1.0648 --with-vim-name=gvim --with-x --with-features=huge --disable-gpm --enable-multibyte --enable-acl --enable-cscope --disable-luainterp --without-luajit --disable-netbeans --enable-nls --enable-perlinterp --enable-pythoninterp --enable-python3interp --disable-mzschemeinterp --disable-rubyinterp --disable-selinux --disable-xsmp --enable-tclinterp --enable-gui=motif (snip) checking size of wchar_t is 2 bytes... no checking --enable-gui argument... Motif GUI support checking for location of Motif GUI includes... in default path checking --with-motif-lib argument... no checking for location of Motif GUI libs... <not found> checking for /proc link to executable... /proc/self/exe # LANG=C /usr/bin/gvim E25: GUI cannot be used: Not enabled at compile time Expected Results: gvim runs with Motif.