View previous topic :: View next topic |
Author |
Message |
SlowMotion n00b
Joined: 26 May 2024 Posts: 36
|
Posted: Sun Jun 30, 2024 6:53 pm Post subject: Building package without amd64 but system with amd64 |
|
|
I want to install bcompare from gentoo-zh repository.
But if i try i get the message that all packages are masked.
Code: | emerge --ask bcompare |
Code: |
!!! All ebuilds that could satisfy "bcompare" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-misc/bcompare-4.4.7.28397::gentoo-zh (masked by: ~amd64 keyword)
- app-misc/bcompare-4.4.6.27483::gentoo-zh (masked by: ~amd64 keyword)
|
If I understand that correct, it means that it can not compile for amd64.
So the question is if its possible to build whole system for amd64 but this app without that USE ?
And if it is OK, how I can declare that in package.use folder.
Is an entry like
Code: | app-misc/bcompare::gentoo-zh -amd64 |
in a file bcompare in /etc/portage/package.use enough ? |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1923
|
|
Back to top |
|
|
hedmo Veteran
Joined: 29 Aug 2009 Posts: 1331 Location: sweden
|
Posted: Mon Jul 01, 2024 3:30 am Post subject: Re: Building package without amd64 but system with amd64 |
|
|
SlowMotion
this means that you are running a stable system and want to install an unstable package on it . to install an unstable package to you need to tell portage to unlock this package via :
Code: |
/etc/portage/package.accept_keywords
|
with :
Code: |
app-misc/bcompare ~amd64
|
this will let all unstable versions of app-misc/bcompare be installed on your system. beware! that app-misc/bcompare may depend on other unstable packages that needs to be unlocked to. |
|
Back to top |
|
|
SlowMotion n00b
Joined: 26 May 2024 Posts: 36
|
Posted: Mon Jul 01, 2024 6:51 pm Post subject: |
|
|
Thanks that helped
I just like Beyond Compare I use it at company on Windows.
I only needed to install patchelf additional (without accept_keywords for it)
Sadly it does not support the trial period.
But the licensing dialog at least pops up.
But on merging I get this output which I am not very experienced with :
Code: | * bcompare-4.4.7.28397.x86_64.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking bcompare-4.4.7.28397.x86_64.tar.gz to /var/tmp/portage/app-misc/bcompare-4.4.7.28397/work
>>> Source unpacked in /var/tmp/portage/app-misc/bcompare-4.4.7.28397/work
>>> Preparing source in /var/tmp/portage/app-misc/bcompare-4.4.7.28397/work/bcompare-4.4.7.28397 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/bcompare-4.4.7.28397/work/bcompare-4.4.7.28397 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-misc/bcompare-4.4.7.28397/work/bcompare-4.4.7.28397 ...
>>> Source compiled.
>>> Test phase [not enabled]: app-misc/bcompare-4.4.7.28397
>>> Install app-misc/bcompare-4.4.7.28397 into /var/tmp/portage/app-misc/bcompare-4.4.7.28397/image
install.sh: root does not have write permissions to /opt/bcompare
>>> Completed installing app-misc/bcompare-4.4.7.28397 into /var/tmp/portage/app-misc/bcompare-4.4.7.28397/image
* Final size of build directory: 59500 KiB (58.1 MiB)
* Final size of installed tree: 59176 KiB (57.7 MiB)
* QA Notice: Pre-stripped files found:
* /opt/bcompare/lib64/beyondcompare/BCompare
* /opt/bcompare/lib64/beyondcompare/qt4/libQtCore.so.4
* /opt/bcompare/lib64/beyondcompare/qt4/libQtGui.so.4
* /opt/bcompare/lib64/beyondcompare/lib7z.so
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
/opt/bcompare/lib64/beyondcompare/bcmount64
/opt/bcompare/lib64/beyondcompare/bcmount32
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-caja.amd64.so
/opt/bcompare/lib64/beyondcompare/lib7z.so
/opt/bcompare/lib64/beyondcompare/libQt4Pas.so.5
/opt/bcompare/lib64/beyondcompare/qt4/libQtCore.so.4
/opt/bcompare/lib64/beyondcompare/qt4/libQtGui.so.4
/opt/bcompare/lib64/beyondcompare/BCompare
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-caja.i386.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-nautilus.amd64.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-nautilus.amd64.so.ext4
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-nautilus.i386.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-nemo.amd64.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-nemo.i386.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-thunarx-2.amd64.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-thunarx-2.i386.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-thunarx-3.amd64.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare-ext-thunarx-3.i386.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare_ext_kde.amd64.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare_ext_kde.i386.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare_ext_kde5.amd64.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare_ext_kde5.i386.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare_ext_konq.amd64.so
/opt/bcompare/lib64/beyondcompare/ext/bcompare_ext_konq.i386.so
* QA Notice: Unresolved soname dependencies:
*
* /opt/bcompare/lib64/beyondcompare/BCompare: libbz2.so.1.0
* /opt/bcompare/lib64/beyondcompare/bcmount32: libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0
* /opt/bcompare/lib64/beyondcompare/bcmount64: libgdk-x11-2.0.so.0
*
|
Am I missing something ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Tue Jul 02, 2024 5:11 pm Post subject: |
|
|
SlowMotion,
Code: |
* /opt/bcompare/lib64/beyondcompare/BCompare: libbz2.so.1.0
* /opt/bcompare/lib64/beyondcompare/bcmount32: libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0
* /opt/bcompare/lib64/beyondcompare/bcmount64: libgdk-x11-2.0.so.0 |
it can't find those libraries.
libbz2.so.1.0 belongs to Code: | $ equery b libbz2.so.1.0
* Searching for libbz2.so.1.0 ...
app-arch/bzip2-1.0.8-r5 (/usr/lib64/libbz2.so.1.0 -> libbz2.so.1.0.8) | which should be in your PATH, so should be found.
libgdk-x11-2.0.so.0 belongs to Code: | $ equery b libgdk-x11-2.0.so.0
* Searching for libgdk-x11-2.0.so.0 ...
x11-libs/gtk+-2.24.33-r3 (/usr/lib64/libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.2400.33) |
You may not have x11-libs/gtk+ in slot 2 installed if you only need slot 3.
Portage File List can hep identify files belonging to packages that you don't have installed, so the other three are left as an exercise for the reader. :)
Teach a man to fish ...
We won't let you go hungry but you can work for your supper. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SlowMotion n00b
Joined: 26 May 2024 Posts: 36
|
Posted: Tue Jul 02, 2024 5:26 pm Post subject: |
|
|
Thanks for the help, will check later.
Assumed that it should be meaning that, but got confused as the first dialog appeared.
Also was not aware of the slot mechanism |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54578 Location: 56N 3W
|
Posted: Tue Jul 02, 2024 6:31 pm Post subject: |
|
|
SlowMotion,
Slotting is Gentoos way oy having different versions of the same package installed at the same time.
The problem usually is that the different versions install the same files, so a way has to be found to install the files in different locations, so that there are no collisions.
Code: |
$ eix x11-libs/gtk+
[I] x11-libs/gtk+
Available versions:
(2) 2.24.33-r3^t{tbz2}
(3) 3.24.35^t 3.24.41^t{tbz2} (~)3.24.42^t{tbz2}
{+X aqua broadway cloudproviders colord cups examples gtk-doc +introspection sysprof test vim-syntax wayland xinerama ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 2.24.33-r3(2)^t{tbz2}(20:21:13 16/03/24)(cups introspection -aqua -examples -test -vim-syntax -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") 3.24.42(3)^t{tbz2}(12:47:52 26/05/24)(X cups introspection -aqua -broadway -cloudproviders -colord -examples -gtk-doc -sysprof -test -vim-syntax -wayland -xinerama ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
Homepage: https://www.gtk.org/
Description: Gimp ToolKit +
|
Code: | Available versions:
(2) 2.24.33-r3^t{tbz2}
(3) 3.24.35^t 3.24.41^t{tbz2} (~)3.24.42^t{tbz2} | Thats 'slots' 2 and 3. I have both. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
SlowMotion n00b
Joined: 26 May 2024 Posts: 36
|
Posted: Tue Jul 02, 2024 7:39 pm Post subject: |
|
|
After your first mentioning slots i read the wiki page about it
Tried to fix the problems in the recommended way.
Installed x11-libs/gtk+:2 -> helped
Installed app-arch/bzip2 -> didn't help
Installed dev-libs/glib -> should fix libgio-2.0.so.0, libglib-2.0.so.0 and libgobject-2.0.so.0 -> but didn't help
Code: |
* QA Notice: Unresolved soname dependencies:
*
* /opt/bcompare/lib64/beyondcompare/BCompare: libbz2.so.1.0
* /opt/bcompare/lib64/beyondcompare/bcmount32: libgio-2.0.so.0 libglib-2.0.so.0 libgobject-2.0.so.0
*
|
But i can find the libs in /usr/lib64/
Is that a problem that system is build with amd64 but bcompare with ~amd64 ? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22694
|
Posted: Tue Jul 02, 2024 8:32 pm Post subject: |
|
|
The problem is that bcompare was not built at all. Upstream gave you a prebuilt binary, but left out a number of required libraries. The ebuild should have mandated installation of the required libraries, but apparently does not. This is a bug in the ebuild. |
|
Back to top |
|
|
e8root Tux's lil' helper
Joined: 09 Feb 2024 Posts: 94
|
Posted: Wed Jul 03, 2024 5:31 am Post subject: |
|
|
Installed app-misc/bcompare-4.4.7.28397 without any issues (note: quoted "QA Notice" is not an indication of an issue) and it just ran. There was need to enter a license when running but I understand anyone wanting to use this program has a valid license
Quote: | I just like Beyond Compare I use it at company on Windows. |
Yeah, same here.
I was not aware there exists Linux version. I tried running version installed on Windows but there was some issue and I figured to find good open source alternative... which I never got to and tortured myself with diff...
..anyways, now BCompare works so only thing to do is to add context menus to Double Commander to make it really usable.
Still, can anyone who is used to BCompare recommend comparable open source compare tool?
ps.
Quote: | The problem is that bcompare was not built at all. Upstream gave you a prebuilt binary, but left out a number of required libraries. The ebuild should have mandated installation of the required libraries, but apparently does not. This is a bug in the ebuild. |
I had the same message during install and behavior (no trial license and window to enter valid license) and was able to register and use program.
Trial license is probably generated by installer so the way to get it is to use official installer. In this case because program can be used after putting license in imho ebuild is fine. I would not expect there being any trial license generators in ebuilds... _________________ Unix Wars - Episode V: AT&T Strikes Back |
|
Back to top |
|
|
C5ace Guru
Joined: 23 Dec 2013 Posts: 484 Location: Brisbane, Australia
|
Posted: Wed Jul 03, 2024 7:42 am Post subject: |
|
|
I use app-misc/mc to compare directories and edit files.
Command -> Compare Directories
Command -> Compare Files
Works well on local end remote directories. _________________ Observation after 30 years working with computers:
All software has known and unknown bugs and vulnerabilities. Especially software written in complex, unstable and object oriented languages such as perl, python, C++, C#, Rust and the likes. |
|
Back to top |
|
|
|