Opened 19 years ago

Closed 19 years ago

#2888 closed defect (fixed)

UPDATE: net-snmp - fix some overzealous character escaping

Reported by: paulbeard@… Owned by: opendarwin.org@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

The port will install a directory called "${prefix} in the system root and deposit some goodies there, rather than interpolating your chosen destination.

I have a patch that handles the trivial changes.

Attachments (1)

diff (698 bytes) - added by paulbeard@… 19 years ago.
patch to take out some unneeded "\" characters that muck up the install

Download all attachments as: .zip

Change History (12)

Changed 19 years ago by paulbeard@…

Attachment: diff added

patch to take out some unneeded "\" characters that muck up the install

comment:1 Changed 19 years ago by snu@…

Owner: changed from darwinports-bugs@… to opendarwin.org@…
Summary: net-snmp port has some overzealous character escapingUPDATE: net-snmp - fix some overzealous character escaping

Assigned to maintainer and made summary policy-compliant.

comment:2 Changed 19 years ago by opendarwin.org@…

Status: newassigned

Just rebuilt net-snmp (+ipv6 +ssl +zlib), don't get the problem (no /${prefix} directory). I'm on Mac OS X 10.3.9, dports freshly updated today (20050426 11:31 PDT). Any other info you have on your system that will help show what's different?

comment:3 Changed 19 years ago by paulbeard@…

I just tried to install it again and it can't find openssl ('cuz I don't have it installed). openssl won't install claiming it can't find zlib which *is* installed.

I'm on 10.3.9, running the same old darwinports (with fresh sources): I'm not using any of the RCs for the 1.0 release.

How do I disable those dependencies (zlib, openssl)?

comment:4 Changed 19 years ago by opendarwin.org@…

Resolution: fixed
Status: assignedclosed

Is zlib installed and active? There is a problem with "installed" but not "activated" ports - the deps engine will find the receipt for a "installed" but not "activated" port and think its okay to use, resulting in failure later on. Nominally, you should be able to turn off the default inclusion of ssl and zlib in net-snmp, however it appears that doesn't work right. I'll change the Portfile to build in ssl and zlib by default and add no_ssl and no_zlib variants. Done, also updated to 5.2.1 while at it. Please update and give it a try. If it fails, I'd like to see the output of 'port -v -d configure' and 'port installed', perhaps that will give us some clues.

comment:5 Changed 19 years ago by opendarwin.org@…

Resolution: fixed
Status: closedreopened

hrm, didn't mean to close this bug.

comment:6 Changed 19 years ago by opendarwin.org@…

Status: reopenedassigned

comment:7 Changed 19 years ago by paulbeard@…

So how do I specify variant without ssl or zlib, just to get over this hump?

white:~/Documents/src/darwinports/dports/net/net-snmp root# port -v -d configure net-snmp DEBUG: Found port in file:///Users/paul/Documents/src/darwinports/dports/net/net-snmp DEBUG: Changing to port directory: /Users/paul/Documents/src/darwinports/dports/net/net-snmp DEBUG: Requested variant powerpc is not provided by port net-snmp. DEBUG: Requested variant darwin is not provided by port net-snmp. DEBUG: Requested variant macosx is not provided by port net-snmp. DEBUG: Executing variant ssl provides ssl Error: Error executing ssl: can't set "depends_lib": invalid depspec: port:openssl

The following ports are currently installed:

atk 1.9.0_0 (active) expat 1.95.8_1 (active) fondu 040925_0 (active) fontconfig 2.2.3_1 (active) freetype 2.1.9_1 (active) gettext 0.14.3_1 (active) gimp2 2.2.3_0 (active) glib1 1.2.10_4 (active) glib2 2.6.2_1 (active) gtk+extra 0.99.17_0 (active) gtk1 1.2.10_6 (active) gtk2 2.6.2_1 (active) hicolor-icon-theme 0.5_0 (active) jpeg 6b_0 (active) lcms 1.14_0 (active) libart_lgpl 2.3.17_0 (active) libiconv 1.9.2_1 (active) libpng 1.2.8_1 (active) libwmf 0.2.8.2_0 (active) libxml2 2.6.16_0 (active) libxslt 1.1.12_0 (active) p5-xml-parser 2.34_3 (active) pango 1.8.0_0 (active) perl5.8 5.8.6_1 (active) pkgconfig 0.17.2_0 (active) render 0.8_2 (active) tiff 3.7.1_0 (active) wget 1.9.1_0 (active) Xft2 2.1.6_0 (active) xrender 0.8.4_0 (active) zlib 1.2.2_1 (active)

comment:8 Changed 19 years ago by opendarwin.org@…

first off update your base/, it is out of date. See if that works for you, if not I'd like to see the same outputs again. If you really don't want ssl support, the no_ssl variant will remove ssl support.

comment:9 Changed 19 years ago by paulbeard@…

Updating base/ seems to be moving things along: I still don't know how to install a variant, though.

comment:10 Changed 19 years ago by paulbeard@…

Looks like it's resolved: don't know what was causing it.

Still seeing it on another system, but I'll try updating base/ and see what that does.

(root@…)-(01:28 PM / Wed Apr 27) ${prefix}/var# pwd /${prefix}/var (root@…)-(01:28 PM / Wed Apr 27) ${prefix}/var# ls log net-snmp (root@…)-(01:28 PM / Wed Apr 27)

No mistaking what port is involved.

comment:11 Changed 19 years ago by olegb@…

Resolution: fixed
Status: assignedclosed

this was resolved ... closing

Note: See TracTickets for help on using tickets.