Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508392 - net-analyzer/net-snmp-5.7.2.1 - /usr/bin/install: cannot stat 'add_mibdir.3': No such file or directory (parallel make)
Summary: net-analyzer/net-snmp-5.7.2.1 - /usr/bin/install: cannot stat 'add_mibdir.3':...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 10:57 UTC by Ondřej Guth
Modified: 2014-04-30 23:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (pt-emerge-info,4.17 KB, text/plain)
2014-04-22 10:57 UTC, Ondřej Guth
Details
build.log (build.log,406.53 KB, text/plain)
2014-04-23 11:14 UTC, Ondřej Guth
Details
net-snmp-5.7.2.1-phony.patch (net-snmp-5.7.2.1-phony.patch,418 bytes, patch)
2014-04-23 15:20 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ondřej Guth 2014-04-22 10:57:07 UTC
Created attachment 375466 [details]
emerge --info

Trying to emerge net-analyzer/net-snmp-5.7.2.1 but failed in install phase with

/usr/bin/install: cannot stat 'add_mibdir.3': No such file or directory	


It seems that rules to create add_mibdir.3 and many others in man3 directory are missing in Makefile. As a workaround it helped to create these files as empty and continue with

ebuild net-snmp-5.7.2.1.ebuild merge
Comment 1 Ondřej Guth 2014-04-22 10:58:52 UTC
USE FLAGS

-X
+bzip2
-doc
-elf
-ipv6
-lm_sensors
-mfd-rewrites
-minimal
-mysql
-netlink
-pci
-perl
-python
-python_single_target_python2_6
+python_single_target_python2_7
-python_targets_python2_6
+python_targets_python2_7
-rpm
+ssl
+tcpd
-ucd-compat
+zlib
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-22 15:35:04 UTC
Please attach the entire build log to this bug report.
Comment 3 Ondřej Guth 2014-04-23 11:12:41 UTC
Comment on attachment 375466 [details]
emerge --info

Portage 2.2.8-r1 (hardened/linux/amd64, gcc-4.7.3, glibc-2.17, 3.13.6-hardened-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.13.6-hardened-r3-x86_64-QEMU_Virtual_CPU_version_0.15.1-with-gentoo-2.2
KiB Mem:     1022380 total,    215852 free
KiB Swap:    4194300 total,   4194168 free
Timestamp of tree: Thu, 10 Apr 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average=2.8 --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs --load-average=1.9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.cz.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext acl amd64 bash-completion berkdb bindist bzip2 cli cracklib crypt cxx dri gdbm hardened iconv justify mmx modules multilib nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl syslog tcpd unicode urandom vim-syntax xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="auth_basic authn_file authz_host authz_user dav dav_fs dir filter headers log_config mime mime_magic negotiation setenvif unique_id userdir" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en cs cs_CZ cz" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

net-analyzer/net-snmp-5.7.2.1 was built with the following:
USE="bzip2 ssl tcpd zlib -X -doc -elf -ipv6 -lm_sensors -mfd-rewrites -minimal -mysql -netlink -pci -perl -python -rpm (-selinux) -ucd-compat" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
Comment 4 Ondřej Guth 2014-04-23 11:14:06 UTC
Created attachment 375544 [details]
build.log
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-23 15:20:53 UTC
Created attachment 375554 [details, diff]
net-snmp-5.7.2.1-phony.patch

0006-build-make-sure-that-the-man-aliases-are-all-properl.patch doesn't do its job properly since the first thing the manaliases recipe does is 'touch manaliases'. Maybe adding a .PHONY target instead of touching an unused file fixes this?
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-26 16:34:26 UTC
(In reply to Jeroen Roovers from comment #5)
> Created attachment 375554 [details, diff] [details, diff]
> net-snmp-5.7.2.1-phony.patch
> 
> 0006-build-make-sure-that-the-man-aliases-are-all-properl.patch doesn't do
> its job properly since the first thing the manaliases recipe does is 'touch
> manaliases'. Maybe adding a .PHONY target instead of touching an unused file
> fixes this?

Added in -r1.
Comment 7 Ondřej Guth 2014-04-28 15:47:43 UTC
(In reply to Jeroen Roovers from comment #6)
> (In reply to Jeroen Roovers from comment #5)
> > Created attachment 375554 [details, diff] [details, diff] [details, diff]
> > net-snmp-5.7.2.1-phony.patch
> > 
> > 0006-build-make-sure-that-the-man-aliases-are-all-properl.patch doesn't do
> > its job properly since the first thing the manaliases recipe does is 'touch
> > manaliases'. Maybe adding a .PHONY target instead of touching an unused file
> > fixes this?
> 
> Added in -r1.

I confirm that ebuild install for net-analyzer/net-snmp-5.7.2.1-r1 now works correctly.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-28 16:23:12 UTC
So it's fixed, then...