Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building package without amd64 but system with amd64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
SlowMotion
n00b
n00b


Joined: 26 May 2024
Posts: 29

PostPosted: Sun Jun 30, 2024 6:53 pm    Post subject: Building package without amd64 but system with amd64 Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 1772

PostPosted: Sun Jun 30, 2024 8:09 pm    Post subject: Reply with quote

https://wiki.gentoo.org/wiki/Knowledge_Base:Accepting_a_keyword_for_a_single_package
Back to top
View user's profile Send private message
hedmo
Veteran
Veteran


Joined: 29 Aug 2009
Posts: 1310
Location: sweden

PostPosted: Mon Jul 01, 2024 3:30 am    Post subject: Re: Building package without amd64 but system with amd64 Reply with quote

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
View user's profile Send private message
SlowMotion
n00b
n00b


Joined: 26 May 2024
Posts: 29

PostPosted: Mon Jul 01, 2024 6:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum