Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage-2.3.36 pulls mail-mta/nullmailer, ok to mask?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 98

PostPosted: Wed May 16, 2018 11:31 pm    Post subject: Portage-2.3.36 pulls mail-mta/nullmailer, ok to mask? Reply with quote

Is it needed for portage to work? Have installed 2.3.36 with it masked, and it seemed to work fine.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19638
Location: here

PostPosted: Thu May 17, 2018 5:51 am    Post subject: Reply with quote

In my system portage don't want nullmailer
Code:
$ emerge -p =portage-2.3.36
Calculating dependencies... done!
[ebuild  N     ] app-crypt/gentoo-keys-201607021514::gentoo  32 KiB
[ebuild  N     ] dev-python/bz2file-0.98::gentoo  PYTHON_TARGETS="python2_7 (-pypy)" 12 KiB
[ebuild  N     ] app-portage/gemato-13.0::gentoo  USE="blake2 bzip2 gpg -lzma -sha3 {-test} -tools" PYTHON_TARGETS="python2_7 python3_5 (-pypy) -python3_4 -python3_6" 66 KiB
[ebuild     U ~] sys-apps/portage-2.3.36::gentoo [2.3.24-r1::gentoo] USE="(ipc) native-extensions rsync-verify* xattr -build -doc -epydoc -gentoo-dev (-selinux)" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6" 969 KiB
$ equery d nullmailer
 * These packages depend on nullmailer:
virtual/mta-1 (mail-mta/nullmailer)
$ equery d virtual/mta-1
 * These packages depend on virtual/mta-1:
app-admin/sudo-1.8.22-r2 (sendmail ? virtual/mta)

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 98

PostPosted: Thu May 17, 2018 5:36 pm    Post subject: Reply with quote

~amd64 install.

Code:
(chroot) livecd / # emerge -p --oneshot --newuse '>=sys-apps/portage-2.3.24'

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

Calculating dependencies                     ... done!
[ebuild  N     ] app-crypt/openpgp-keys-gentoo-release-20180323
[ebuild  N     ] dev-libs/libunistring-0.9.9  USE="-doc -static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-libs/npth-1.5  USE="-static-libs"
[ebuild  N     ] app-eselect/eselect-lib-bin-symlink-0.1.1
[ebuild  N     ] app-eselect/eselect-pinentry-0.7
[ebuild  N     ] dev-libs/libassuan-2.5.1  USE="-static-libs"
[ebuild  N     ] dev-libs/libksba-1.3.5-r1  USE="-static-libs"
[ebuild  N     ] dev-python/bz2file-0.98  PYTHON_TARGETS="python2_7 -pypy"
[ebuild  N     ] net-dns/libidn2-2.0.4  USE="-static-libs" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-libs/libtasn1-4.13  USE="-doc -static-libs -valgrind" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] dev-libs/nettle-3.4  USE="gmp -doc (-neon) -static-libs {-test}" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="aes"
[ebuild  N     ] net-libs/gnutls-3.5.18  USE="cxx idn nls openssl seccomp tls-heartbeat zlib -dane -doc -examples -guile -openpgp -pkcs11 -sslv2 -sslv3 -static-libs {-test}
-test-full -tools -valgrind" ABI_X86="(64) -32 (-x32)"
[ebuild  N     ] app-crypt/pinentry-1.1.0-r2  USE="ncurses -caps -emacs -fltk -gnome-keyring -gtk -qt5 -static"
[ebuild  N     ] net-misc/curl-7.59.0  USE="ssl -adns -brotli -http2 -idn -ipv6 -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs {-test} -threads" ABI_X86="(64) -32 (-x32)"
CURL_SSL="openssl -axtls -gnutls -libressl -mbedtls -nss (-winssl)"
[ebuild  N     ] app-admin/metalog-3-r2  USE="unicode"
[ebuild  N     ] virtual/logger-0
[ebuild  N     ] mail-mta/nullmailer-2.0-r2  USE="ssl {-test}"
[ebuild  N     ] virtual/mta-1
[ebuild  N     ] app-crypt/gnupg-2.2.7  USE="bzip2 nls readline smartcard ssl -doc -ldap (-selinux) -tofu -tools -usb -wks-server"
[ebuild  N     ] app-portage/gemato-13.0  USE="blake2 bzip2 gpg -lzma -sha3 {-test} -tools" PYTHON_TARGETS="python2_7 python3_5 -pypy -python3_4 -python3_6"
[ebuild     U  ] sys-apps/portage-2.3.37 [2.3.24-r1] USE="rsync-verify*"
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6508
Location: Austria

PostPosted: Thu May 17, 2018 6:03 pm    Post subject: Reply with quote

Masking does not make dependencies go away.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 98

PostPosted: Thu May 17, 2018 6:23 pm    Post subject: Reply with quote

Works with nullmailer, but not with mail-mta/msntp and net-mail/mailbase.

Edit, wierd. Got them installed, but I can't find rhen in my previous post. They were deps with 2.3.36.

++ They were pulled because nullmailer was masked.

Why does portage need it?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 19638
Location: here

PostPosted: Thu May 17, 2018 7:13 pm    Post subject: Reply with quote

Sorry my fault. Portage need gemato for rsync-verify and gemato has gpg use flag that use virtual/mta,
Try to disable gpg from gemato
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 98

PostPosted: Thu May 17, 2018 7:28 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Sorry my fault. Portage need gemato for rsync-verify and gemato has gpg use flag that use virtual/mta,
Try to disable gpg from gemato


Nothing to be sorry about :) Thank you, but I'm wondering about why Portage needs mail packages. A dep Portage needs that pull them?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6508
Location: Austria

PostPosted: Fri May 18, 2018 6:26 am    Post subject: Reply with quote

fedeliallalinea told you everything you need to know; app-crypt/gnupg needs virtual/mta.

And virtual/mta is satisfied by multiple MTAs, so masking nullmailer just pulls in an alternative that you did not mask - that's why new dependencies appeared compared to your previous output in this thread...
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 98

PostPosted: Fri May 18, 2018 10:50 am    Post subject: Reply with quote

asturm wrote:
fedeliallalinea told you everything you need to know; app-crypt/gnupg needs virtual/mta.

And virtual/mta is satisfied by multiple MTAs, so masking nullmailer just pulls in an alternative that you did not mask - that's why new dependencies appeared compared to your previous output in this thread...


Ah, I see. Got to read about what virtual packages are. Thanks to both of you. :)
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12823

PostPosted: Sat May 19, 2018 1:36 am    Post subject: Reply with quote

Virtual packages are a simple hack to reduce the maintenance burden of alternatives. virtual/mta installs no files of its own, but is expected to or-depend on packages which qualify as a Mail Transport Agent. Packages which need an installed MTA, but do not care which MTA, depend on virtual/mta. The user then installs his/her choice of MTA, which satisfies the dependency of virtual/mta. Without this hack, every package that needed an MTA, but had no preference, would need to independently or-depend on the available MTAs. With the hack, there is a single package to modify when MTAs are added/removed.
Back to top
View user's profile Send private message
ayeyes
Tux's lil' helper
Tux's lil' helper


Joined: 03 Dec 2017
Posts: 98

PostPosted: Sun May 20, 2018 12:20 am    Post subject: Reply with quote

Thank you for a great explanation. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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