Skip to contentSkip to conversation

netsnmp: Remove ldconfig calls

PATCH New Bernd Kuhls 3 participants 3 messages May 14, 2014 – May 16, 2014

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 netsnmp: Remove ldconfig calls

ldconfig breaks links created by gpu-viv-bin-mx6q.

fixes
http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/

---
v2: rework the fix to not need a separate patch file

 package/netsnmp/netsnmp.mk |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
package/netsnmp/netsnmp.mk +6 -1
index 63ec97a..665b564 100644
@@ -67,9 +67,14 @@ ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
 	NETSNMP_CONF_OPT += --disable-debugging
 endif
 
+define NETSNMP_INSTALL_STAGING_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+		DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install
+endef
+
 define NETSNMP_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
-		DESTDIR=$(TARGET_DIR) install
+		DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install
 	$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
 		$(TARGET_DIR)/etc/init.d/S59snmpd
 	for mib in $(NETSNMP_BLOAT_MIBS); do \
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH v2 1/1 netsnmp: Remove ldconfig calls

Bernd, All,

On 2014-05-14 06:51 +0200, Bernd Kuhls spake thusly:

Quoted 6 lines

ldconfig breaks links created by gpu-viv-bin-mx6q.

fixes
http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/

Regards,
Yann E. MORIN.

Quoted 33 lines

---
v2: rework the fix to not need a separate patch file

 package/netsnmp/netsnmp.mk |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
package/netsnmp/netsnmp.mk +6 -1
index 63ec97a..665b564 100644
@@ -67,9 +67,14 @@ ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
 	NETSNMP_CONF_OPT += --disable-debugging
 endif
 
+define NETSNMP_INSTALL_STAGING_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+		DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install
+endef
+
 define NETSNMP_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
-		DESTDIR=$(TARGET_DIR) install
+		DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install
 	$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
 		$(TARGET_DIR)/etc/init.d/S59snmpd
 	for mib in $(NETSNMP_BLOAT_MIBS); do \
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH v2 1/1 netsnmp: Remove ldconfig calls

In reply to Bernd Kuhls
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

ldconfig breaks links created by gpu-viv-bin-mx6q. fixes
http://autobuild.buildroot.net/results/ab5/ab57dd3729d529366808cbfc802f49360b2ec2b9/

---
v2: rework the fix to not need a separate patch file

 package/netsnmp/netsnmp.mk |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
package/netsnmp/netsnmp.mk +0 -0
index 63ec97a..665b564 100644

package/netsnmp/netsnmp.mk ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y) · line 73

Quoted 7 lines
package/netsnmp/netsnmp.mk +4 -0
@@ -67,9 +67,14 @@ ifneq ($(BR2_PACKAGE_NETSNMP_ENABLE_DEBUGGING),y)
 	NETSNMP_CONF_OPT += --disable-debugging
 endif
 
+define NETSNMP_INSTALL_STAGING_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
+		DESTDIR=$(STAGING_DIR) LIB_LDCONFIG_CMD=true install
+endef

You can simply override NETSNMP_INSTALL_STAGING_OPT instead. Fixed to use that for both staging and target install and committed, thanks.

Quoted 15 lines
package/netsnmp/netsnmp.mk +2 -1
+
 define NETSNMP_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
-		DESTDIR=$(TARGET_DIR) install
+		DESTDIR=$(TARGET_DIR) LIB_LDCONFIG_CMD=true install
 	$(INSTALL) -D -m 0755 package/netsnmp/S59snmpd \
 		$(TARGET_DIR)/etc/init.d/S59snmpd
 	for mib in $(NETSNMP_BLOAT_MIBS); do \
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 1 line
Bye, Peter Korsgaard