#35691 closed defect (fixed)
net-snmp: No rule to make target `add_mibdir.3', needed by `maninstall'
Reported by: | renz@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | squiggledid | |
Port: | net-snmp |
Description
---> Staging net-snmp into destroot Error: org.macports.destroot for port net-snmp returned: command execution failed Please see the log file for port net-snmp for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_net-snmp/net-snmp/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port net-snmp failed
Attachments (1)
Change History (9)
Changed 12 years ago by renz@…
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|
comment:2 follow-up: 3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | port net-snmp returned: command execution failed → net-snmp: No rule to make target `add_mibdir.3', needed by `maninstall' |
---|
Strange, the only hit for the error message "No rule to make target `add_mibdir.3', needed by `maninstall'
" on Google is http://comments.gmane.org/gmane.network.net-snmp.user/32434 but that was for version 5.6 and the fix mentioned there is already in the version 5.7.1 that you're using.
comment:3 follow-up: 4 Changed 11 years ago by squiggledid
Replying to ryandesign@…:
Strange, the only hit for the error message "
No rule to make target `add_mibdir.3', needed by `maninstall'
" on Google is http://comments.gmane.org/gmane.network.net-snmp.user/32434 but that was for version 5.6 and the fix mentioned there is already in the version 5.7.1 that you're using.
I just got this exact error:
:info:destroot make[1]: *** No rule to make target `add_mibdir.3', needed by `maninstall'. Stop.
while trying to install net-snmp-5.7.2
comment:4 Changed 11 years ago by squiggledid
Replying to david.mcg.squire@…:
Replying to ryandesign@…:
Strange, the only hit for the error message "
No rule to make target `add_mibdir.3', needed by `maninstall'
" on Google is http://comments.gmane.org/gmane.network.net-snmp.user/32434 but that was for version 5.6 and the fix mentioned there is already in the version 5.7.1 that you're using.I just got this exact error:
:info:destroot make[1]: *** No rule to make target `add_mibdir.3', needed by `maninstall'. Stop."while trying to install net-snmp-5.7.2
Also, the @EGREP@ fix mentioned in your link above is there in man/Makefile.in, but I still get the error on Mavericks. (NB. @EGREP@ is translated to '/usr/bin/grep -e')
comment:5 follow-up: 6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | david.mcg.squire@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks for letting me know this was not an isolated incident. I re-examined the original log attached here 20 months ago, and noticed that it was building with -j24
-- in other words, 24 parallel jobs. Unless you've modified macports.conf, this would only occur on a machine with 12 hyperthreaded cores and at least 24 GB RAM, which is not a system I have tested on. But trying to build with build.jobs=24
now, even on my 4-core MacBook Pro, I was able to reproduce the problem. I disabled the parallel build in r118825 and will report this bug to the developers of net-snmp.
comment:6 follow-up: 7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
and will report this bug to the developers of net-snmp.
comment:7 Changed 10 years ago by fenner@…
Replying to ryandesign@…:
Replying to ryandesign@…:
and will report this bug to the developers of net-snmp.
There's a patch there, if you'd care to see if it fixes the original problem - https://sourceforge.net/p/net-snmp/bugs/_discuss/thread/23e9e381/1c6b/attachment/man-makefile-parallel.diff
comment:8 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
The patch was committed upstream and included in net-snmp 5.7.3, to which the net-snmp port was updated in r129760.
In the future, please Cc the port maintainer(s).