Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 731842

Summary: dev-libs/boost-1.74.0 - src_install(): sendmail: fatal: parameter inet_interfaces: no local interface found for 192.168.2.1
Product: Gentoo Linux Reporter: Jan Psota <jasiupsota>
Component: Current packagesAssignee: David Seifert <soap>
Status: RESOLVED INVALID    
Severity: normal CC: office, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Jan Psota 2020-07-09 10:39:05 UTC
find: ‘/var/tmp/portage/dev-libs/boost-1.73.0/homedir/.maildir’: No such file or directory
sendmail: fatal: parameter inet_interfaces: no local interface found for 192.168.2.1

I think it is not normal. And it does not install of course.

From build.log:
>>> Install dev-libs/boost-1.73.0 into /var/tmp/portage/dev-libs/boost-1.73.0/image  
 * abi_x86_64.amd64: running multilib-minimal_abi_src_install
 * /var/tmp/portage/dev-libs/boost-1.73.0/work/boost_1_73_0-abi_x86_64.amd64/user-config.jam already
 exists, skipping configuration
 * python3_7: running append_to_b2_opts

b2 --user-config=/var/tmp/portage/dev-libs/boost-1.73.0/work/boost_1_73_0-abi_x86_64.amd64/user-conf
ig.jam python=3.7 gentoorelease -j8 -q -d+2 pch=off --disable-icu boost.locale.icu=off --without-mpi
 --without-context --without-coroutine --without-fiber --without-stacktrace --boost-build=/usr/share
/boost-build --prefix=/var/tmp/portage/dev-libs/boost-1.73.0/image/usr --layout=system --no-cmake-config threading=multi link=shared -sNO_BZIP2=0 -sNO_LZMA=0 -sNO_ZLIB=0 -sNO_ZSTD=0 --includedir=/var/tmp/portage/dev-libs/boost-1.73.0/image/usr/include --libdir=/var/tmp/portage/dev-libs/boost-1.73.0/image/usr/lib64 install

find: ‘/var/tmp/portage/dev-libs/boost-1.73.0/homedir/.maildir’: No such file or directory

sendmail: fatal: parameter inet_interfaces: no local interface found for 192.168.2.1

Error sending message, child exited 75 (Deferred.).
Could not send the message.
 * ERROR: dev-libs/boost-1.73.0::gentoo failed (install phase):
 *   Installation of Boost libraries failed
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-07-09 11:12:22 UTC
Please attach the entire build log to this bug report.
Comment 2 Jan Psota 2020-07-09 11:19:15 UTC
Created attachment 648470 [details]
build log
Comment 3 David Seifert gentoo-dev 2020-08-15 22:26:44 UTC
(In reply to Jan Psota from comment #0)
> find: ‘/var/tmp/portage/dev-libs/boost-1.73.0/homedir/.maildir’: No such
> file or directory
> sendmail: fatal: parameter inet_interfaces: no local interface found for
> 192.168.2.1
> 
> I think it is not normal. And it does not install of course.
> 
> From build.log:
> >>> Install dev-libs/boost-1.73.0 into /var/tmp/portage/dev-libs/boost-1.73.0/image  
>  * abi_x86_64.amd64: running multilib-minimal_abi_src_install
>  *
> /var/tmp/portage/dev-libs/boost-1.73.0/work/boost_1_73_0-abi_x86_64.amd64/
> user-config.jam already
>  exists, skipping configuration
>  * python3_7: running append_to_b2_opts
> 
> b2
> --user-config=/var/tmp/portage/dev-libs/boost-1.73.0/work/boost_1_73_0-
> abi_x86_64.amd64/user-conf
> ig.jam python=3.7 gentoorelease -j8 -q -d+2 pch=off --disable-icu
> boost.locale.icu=off --without-mpi
>  --without-context --without-coroutine --without-fiber --without-stacktrace
> --boost-build=/usr/share
> /boost-build --prefix=/var/tmp/portage/dev-libs/boost-1.73.0/image/usr
> --layout=system --no-cmake-config threading=multi link=shared -sNO_BZIP2=0
> -sNO_LZMA=0 -sNO_ZLIB=0 -sNO_ZSTD=0
> --includedir=/var/tmp/portage/dev-libs/boost-1.73.0/image/usr/include
> --libdir=/var/tmp/portage/dev-libs/boost-1.73.0/image/usr/lib64 install
> 
> find: ‘/var/tmp/portage/dev-libs/boost-1.73.0/homedir/.maildir’: No such
> file or directory
> 
> sendmail: fatal: parameter inet_interfaces: no local interface found for
> 192.168.2.1
> 
> Error sending message, child exited 75 (Deferred.).
> Could not send the message.
>  * ERROR: dev-libs/boost-1.73.0::gentoo failed (install phase):
>  *   Installation of Boost libraries failed

I have honestly no clue where sendmail enters the picture here
Comment 4 Jan Psota 2020-08-18 06:59:41 UTC
Hi! New boost, newest portage, but still the same on this machine:

>>> Install dev-libs/boost-1.74.0 into /var/tmp/portage/dev-libs/boost-1.74.0
[...]
find: ‘/var/tmp/portage/dev-libs/boost-1.74.0/homedir/.maildir’: No such file or directory
sendmail: fatal: parameter inet_interfaces: no local interface found for 192.168.2.1
Error sending message, child exited 75 (Deferred.).
Could not send the message.
 * ERROR: dev-libs/boost-1.74.0::gentoo failed (install phase):
 *   Installation of Boost libraries failed

I have 2 other Gentoo servers, both with Postfix MTA (just like this)
and without any problems. And the idea of sending mails during install
stage of a package, stinks...
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2020-12-02 01:57:23 UTC
> find: ‘/var/tmp/portage/dev-libs/boost-1.74.0/homedir/.maildir’: No such
> file or directory
> sendmail: fatal: parameter inet_interfaces: no local interface found for
> 192.168.2.1
> Error sending message, child exited 75 (Deferred.).
> Could not send the message.
>  * ERROR: dev-libs/boost-1.74.0::gentoo failed (install phase):
>  *   Installation of Boost libraries failed


Please doublecheck if you have any locally self-defined macros, shortcuts, bash functions etc with name "b2" ...

At this point the install process wants to call a program called b2. And the result is completely different from what should happen.
Comment 6 Jan Psota 2020-12-02 20:14:27 UTC
> Please doublecheck if you have any locally self-defined macros, shortcuts,
> bash functions etc with name "b2" ...
> 
> At this point the install process wants to call a program called b2. And the
> result is completely different from what should happen.

You are a genius! No need to check twice ;-)
$ type b2
b2 is /usr/local/sbin/b2

Close that bug. I will use longer name for backup script ;-)