Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem With Gentoo on Raspberry pi B2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
nullrootbyte
n00b
n00b


Joined: 26 Jul 2020
Posts: 6

PostPosted: Sun Jul 26, 2020 9:16 pm    Post subject: Problem With Gentoo on Raspberry pi B2 Reply with quote

I guess this is a newbie question, but i cant solve this without help and recently im experimenting with gentoo on ARM (i have gentoo on my desktop pc and this never happend before)

Code:
doas emerge -avuDN @world

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! The ebuild selected to satisfy "net-nds/openldap[static-libs?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]" has unmet requirements.
- net-nds/openldap-2.4.50::gentoo USE="berkdb crypt ipv6 minimal ssl syslog tcpd test -cxx -debug -experimental -gnutls -iodbc -kerberos -kinit -libressl -odbc -overlays -pbkdf2 -perl -samba -sasl (-selinux) -sha2 -smbkrb5passwd -static-libs"

  The following REQUIRED_USE flag constraints are unsatisfied:
    at-most-one-of ( test minimal )

  The above constraints are a subset of the following complete expression:
    cxx? ( sasl ) pbkdf2? ( ssl ) test? ( berkdb ) at-most-one-of ( test minimal )

(dependency required by "net-misc/curl-7.71.0::gentoo" [ebuild])
(dependency required by "dev-util/cmake-3.16.5::gentoo" [ebuild])
(dependency required by "dev-libs/check-0.14.0-r2::gentoo" [ebuild])
(dependency required by "x11-libs/libxcb-1.14::gentoo[test]" [ebuild])
(dependency required by "x11-libs/libX11-1.6.9::gentoo" [ebuild])
(dependency required by "x11-libs/libXext-1.3.4::gentoo" [ebuild])
(dependency required by "x11-libs/libXmu-1.1.3::gentoo" [ebuild])
(dependency required by "x11-apps/xhost-1.0.8::gentoo" [ebuild])
(dependency required by "dev-python/pygobject-3.34.0::gentoo[test]" [ebuild])
(dependency required by "net-wireless/bluez-5.54::gentoo[python_single_target_python3_7,test]" [ebuild])
(dependency required by "dev-lang/python-2.7.18-r1::gentoo[bluetooth]" [ebuild])
(dependency required by "sys-devel/automake-1.16.1-r1::gentoo[test]" [ebuild])
(dependency required by "sys-devel/libtool-2.4.6-r6::gentoo" [installed])
(dependency required by "x11-libs/libICE-1.0.10::gentoo" [ebuild])
(dependency required by "x11-libs/libSM-1.2.3::gentoo" [ebuild])
(dependency required by "x11-libs/libXt-1.2.0::gentoo" [ebuild])


if you can help me and tell me what im doing wrong i apreciate so much (sorry if my english is so bad :oops: :oops: [/quote] but im from Honduras and i speak spanish)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45823
Location: 56N 3W

PostPosted: Sun Jul 26, 2020 9:38 pm    Post subject: Reply with quote

nullrootbyte,

Welcome to Gentoo.

The key to your problem is
Code:

  The following REQUIRED_USE flag constraints are unsatisfied:
    at-most-one-of ( test minimal )


You have
Code:
net-nds/openldap-2.4.50::gentoo USE="berkdb crypt ipv6 minimal ssl syslog tcpd test

That both the minimal and test USE flags, but you are only allowed at most, one, of those two flags.

How did you set USE=test ?

It pulls in a lot of extra dependencies that are required by test suits and spends a lot of CPU time running test routines.
You probably don't want that at all.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nullrootbyte
n00b
n00b


Joined: 26 Jul 2020
Posts: 6

PostPosted: Mon Jul 27, 2020 7:15 am    Post subject: Reply with quote

NeddySeagoon wrote:
nullrootbyte,

How did you set USE=test ?

It pulls in a lot of extra dependencies that are required by test suits and spends a lot of CPU time running test routines.
You probably don't want that at all.


Thanks for the response, and i dont know what would do test in my Raspberry.

how i tell you, im newbie in gentoo because i start on Ubuntu, Debian and after i try Arch and i playing with gentoo now, first on AMD64 and now on ARM

you recommend the use of flaggie?, thanks dude.

Saludos desde Honduras.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45823
Location: 56N 3W

PostPosted: Mon Jul 27, 2020 9:05 am    Post subject: Reply with quote

nullrootbyte,

What profile have you set?

Code:
eselect profile list
will show the list with an * against the active one.
Please post the entire list as I don't have a 32 bit arm install to hand.

Which profile you should select depends on what you want to use the Pi2 for.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nullrootbyte
n00b
n00b


Joined: 26 Jul 2020
Posts: 6

PostPosted: Tue Jul 28, 2020 11:33 pm    Post subject: Reply with quote

Quote:
What profile have you set?


i have select

Code:
default/linux/arm/17.0/armv6j/developer (dev)


and this is the entire list

Code:
[1]   default/linux/arm/17.0 (stable)
  [2]   default/linux/arm/17.0/desktop (dev)
  [3]   default/linux/arm/17.0/desktop/gnome (dev)
  [4]   default/linux/arm/17.0/desktop/gnome/systemd (dev)
  [5]   default/linux/arm/17.0/desktop/plasma (dev)
  [6]   default/linux/arm/17.0/desktop/plasma/systemd (dev)
  [7]   default/linux/arm/17.0/developer (dev)
  [8]   default/linux/arm/17.0/armv4 (dev)
  [9]   default/linux/arm/17.0/armv4/desktop (dev)
  [10]  default/linux/arm/17.0/armv4/desktop/gnome (dev)
  [11]  default/linux/arm/17.0/armv4/desktop/plasma (dev)
  [12]  default/linux/arm/17.0/armv4/developer (dev)
  [13]  default/linux/arm/17.0/armv4t (dev)
  [14]  default/linux/arm/17.0/armv4t/desktop (dev)
  [15]  default/linux/arm/17.0/armv4t/desktop/gnome (dev)
  [16]  default/linux/arm/17.0/armv4t/desktop/plasma (dev)
  [17]  default/linux/arm/17.0/armv4t/developer (dev)
  [18]  default/linux/arm/17.0/armv5te (dev)
  [19]  default/linux/arm/17.0/armv5te/desktop (dev)
  [20]  default/linux/arm/17.0/armv5te/desktop/gnome (dev)
  [21]  default/linux/arm/17.0/armv5te/desktop/plasma (dev)
  [22]  default/linux/arm/17.0/armv5te/developer (dev)
  [23]  default/linux/arm/17.0/armv6j (dev)
  [24]  default/linux/arm/17.0/armv6j/desktop (dev)
  [25]  default/linux/arm/17.0/armv6j/desktop/gnome (dev)
  [26]  default/linux/arm/17.0/armv6j/desktop/plasma (dev)
  [27]  default/linux/arm/17.0/armv6j/developer (dev) *
  [28]  default/linux/arm/17.0/armv7a (dev)
  [29]  default/linux/arm/17.0/armv7a/desktop (dev)
  [30]  default/linux/arm/17.0/armv7a/desktop/gnome (dev)
  [31]  default/linux/arm/17.0/armv7a/desktop/plasma (dev)
  [32]  default/linux/arm/17.0/armv7a/developer (dev)
  [33]  default/linux/arm/17.0/musl/armv6j (exp)
  [34]  default/linux/arm/17.0/musl/armv6j/hardened (exp)
  [35]  default/linux/arm/17.0/musl/armv7a (exp)
  [36]  default/linux/arm/17.0/musl/armv7a/hardened (exp)
  [37]  default/linux/arm/17.0/uclibc/armv6j (exp)
  [38]  default/linux/arm/17.0/uclibc/armv6j/hardened (exp)
  [39]  default/linux/arm/17.0/uclibc/armv7a (exp)
  [40]  default/linux/arm/17.0/uclibc/armv7a/hardened (exp)


And i dont have any propose to Pi2, is just curiosity like how work and how configure it, maybe try to compile programs like aircrack-ng to test my wifi network (im insteresed in white hack) or a mini web server with nginx and even compile java to deploy minecraft server ( :lol: )

thanks for your response NeddySeagoon
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45823
Location: 56N 3W

PostPosted: Wed Jul 29, 2020 5:14 pm    Post subject: Reply with quote

nullrootbyte,

First of all, do not use any profile listed as (dev)
Those profiles are intended to apply settings that are useful for developing and testing code. That's where your USE=test comes from.

A Pi2 is an armv7a or armv8a CPU, so anything with armv6j in its name is suboptimal. It will work.
The Pi Zero and original Pis are armv6j
The Pi 2 started out as armv7a but later ones use the same CPU as the Pi3.
The Pi3 and Pi4 are both armv8a

What does the last few lines of /proc/cpuinfo say?

Regardless, choose the
Code:
default/linux/arm/17.0


Exactly which stage3 tarball did you install?
A stage3-armv6j_hardfp- or stage3-armv7a_hardfp- tarball will both work but stage3-armv7a_hardfp- is better on your CPU.

Fixing your profile will help, regardless of the stage3 you have.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nullrootbyte
n00b
n00b


Joined: 26 Jul 2020
Posts: 6

PostPosted: Thu Jul 30, 2020 7:42 pm    Post subject: Reply with quote

NeddySeagoon wrote:
nullrootbyte,
/proc/cpuinfo


they say ARMv7 CPU and i made the change in the eselect like yo tell me
Code:
default/linux/arm/17.0


and the stage3 i choose is stage3-armv7a_hardfp-

now, i have another problem yesterday i buy a USB wifi adapter and i dont see it when i do iwconfig, so searching in the internet i found https://github.com/lord2y/rtl8192eu-arm-linux-driver what is the driver i want

Code:
Bus 001 Device 004: ID 0bda:818b Realtek Semiconductor Corp. RTL8192EU 802.11b/g/n WLAN Adapter


and i dont know how i install this and how put it in the kernel. when i try to make how say in the github page i give
Code:
 /lib/modules/5.4.51-v7+/build: no such file or directory.


thanks for your help again, every day i feel more close :oops:
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45823
Location: 56N 3W

PostPosted: Thu Jul 30, 2020 8:01 pm    Post subject: Reply with quote

nullrootbyte,

You have a matching stage3 and profile. That's good.

/lib/modules/5.4.51-v7+/build will only exist if you made your own kernel.

The kernel 5.4.51-v7+ looks like a Pi Foundation kernel. I suspect that the RTL8192EU driver is there.
However, it needs firmware before it can work.
The firmware is provided by the linux-firmware package. Once that is installed the firmware will be in /lib/firmware/rtlwifi/.
Code:
$ ls /lib/firmware/rtlwifi/rtl8192eu*
/lib/firmware/rtlwifi/rtl8192eu_ap_wowlan.bin
/lib/firmware/rtlwifi/rtl8192eu_nic.bin
/lib/firmware/rtlwifi/rtl8192eu_wowlan.bin


Plug in the WiFi dongle after you have the firmware.
The driver will load the firmware into the device then
wlan0 will be listed in
Code:
ifconfig -a


From this point on follow the Gentoo Handbook to install wpa_supplicant and configure Wifi.
wpa_supplicant deals with the extra steps required by the radio link.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
nullrootbyte
n00b
n00b


Joined: 26 Jul 2020
Posts: 6

PostPosted: Thu Jul 30, 2020 8:28 pm    Post subject: Reply with quote

NeddySeagoon wrote:
nullrootbyte,

You have a matching stage3 and profile. That's good.

/lib/modules/5.4.51-v7+/build will only exist if you made your own kernel.

ok thats right maybe later i try to learn how to make compile my own kernel and do the config.

Code:
The kernel 5.4.51-v7+ looks like a Pi Foundation kernel. I suspect that the RTL8192EU driver is there.


i search in https://github.com/raspberrypi/linux/search?q=RTL8192EU&unscoped_q=RTL8192EU and i will install the firmware like you tell me. thanks a lot

Quote:
From this point on follow the Gentoo Handbook to install wpa_supplicant and configure Wifi.
wpa_supplicant deals with the extra steps required by the radio link.


Yes, i will follow the Handbook and i learn about more stuffs and if i get another mistake sure you see me here again.

you are great NeddySeagoon
Back to top
View user's profile Send private message
nullrootbyte
n00b
n00b


Joined: 26 Jul 2020
Posts: 6

PostPosted: Thu Jul 30, 2020 10:29 pm    Post subject: Java detail Reply with quote

Already i have Raspberry with gentoo and wifi the setup work fine, but now i have problem with JAVA

i try to install java jre with:

Code:
doas emerge oracle-jre-bin


but i get this:

Code:
 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

Calculating dependencies... done!

!!! All ebuilds that could satisfy "oracle-jre-bin" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-java/oracle-jre-bin-1.8.0.202::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/arch/arm/package.mask:
# James Le Cuirot <chewi@gentoo.org> (2016-01-09)
# This is built for armv6 and will not work on earlier generations.


For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


whats mean (masked by: package.mask)?

i dont want create new post so. tell me if im wrong.

this is my make.conf

Code:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=armv7-a -mfpu=neon-vfpv4 -mfloat-abi=hard"
CXXFLAGS="${CFLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult https://wiki.gentoo.org/wiki/Changing_the_CHOST_variable before changing.
CHOST="armv7a-unknown-linux-gnueabihf"

ACCEPT_LICENSE="Oracle-BCLA-JavaSE"

USE="-test java ~arm commercial headless-awt javafx jce selinux nsplugin -cups -alsa"

# NOTE: This stage was built with the bindist Use flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C


thanks :oops: :oops:
Back to top
View user's profile Send private message
ross_cc
n00b
n00b


Joined: 29 Jul 2020
Posts: 16
Location: Manila

PostPosted: Fri Jul 31, 2020 4:20 am    Post subject: Re: Java detail Reply with quote

nullrootbyte wrote:

whats mean (masked by: package.mask)?


Short version: don't install this package, it's no longer supported by gentoo developers.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45823
Location: 56N 3W

PostPosted: Sat Aug 01, 2020 7:48 pm    Post subject: Reply with quote

ross_cc,

Code:
- dev-java/oracle-jre-bin-1.8.0.202::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/arch/arm/package.mask:
# James Le Cuirot <chewi@gentoo.org> (2016-01-09)
# This is built for armv6 and will not work on earlier generations.


Oracle are making it harder to download the tarball from their website. You now need an account.
Gentoo has decided to phase out dev-java/oracle-jre-bin but its not gone yet.

dev-java/oracle-jre-bin is a closed source java, It only works on armv6 and armv7 so its masked.

If you must have dev-java/oracle-jre-bin, read about unmasking packages.

Once you get it unmasked, portage will complain about the licence.
Then portage will not be able to download it.
You need to create an account and download the tarball so that portage can use it.

Use icedtea-bin if its available for arm.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM 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