[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-3474590 ] "make test" fails for some build paths
From:       SourceForge.net <noreply () sourceforge ! net>
Date:       2012-02-28 12:07:08
Message-ID: E1S2Lpm-000388-6O () sfs-ml-4 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #3474590, was opened at 2012-01-16 17:39
Message generated for change (Comment added) made by dts12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3474590&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: build/test
Group: linux
> Status: Closed
> Resolution: Fixed
Priority: 5
Private: No
Submitted By: https://www.google.com/accounts ()
Assigned to: Nobody/Anonymous (nobody)
Summary: "make test" fails for some build paths

Initial Comment:
Building Net-SNMP version 5.7.1 on Ubuntu 10.10 (x86-64)

Configure and make appear to work fine (full commands below). Running "make test" \
fails with the following message repeated for every test:

Can't open ../eval_tools.sh
Can't open ../support/simple_eval_tools.sh
...


The failure seems to be due to the path I used for the build:

    /foo/blah/work/adapter/adapter_apps/net-snmp/net-snmp-5.7.1

specifically, it seems related to the shared "adapter" prefix part way through the \
path 

If I follow the same procedure with a simpler / shorter path, everything appears to \
work much better.

Commands used:

cd /foo/blah/work/adapter/adapter_apps/net-snmp
tar -xf net-snmp-5.7.1.tar.gz
cd net-snmp-5.7.1

./configure  \
    --with-openssl=/foo/blah/work/adapter/adapter_apps/openssl-1.0.0f   \
    --prefix=/foo/blah/work/adapter/adapter_apps/net-snmp/install_linux64 \
    --with-default-snmp-version=3 \
    --with-sys-contact=foo@blah.com \
    --with-sys-location=Here \
    --with-logfile=none \
    --with-persistent-directory=/foo/blah/work/adapter/adapter_apps/net-snmp/install_linux64/var


make

make test



----------------------------------------------------------------------

> Comment By: Dave Shield (dts12)
Date: 2012-02-28 04:07

Message:
It actually seems to be down to the underscore in the path that you're
using.
This is confusing a regular expression within the testing framework.
If you rename the root of your working tree so that the filename doesn't
contain an underscore, then things should work OK.

I've tweaked the regular expression so that this shouldn't be a problem
with future releases. See GIT commit
ac166051b6a092dd4a594326ec85e2f699b62547 for details


----------------------------------------------------------------------

Comment By: Dave Shield (dts12)
Date: 2012-02-28 04:07

Message:
Thanks for the bug report!
We've fixed the problem in the 5.6.x and 5.7.x code branches  and the main
development tree, so it should be fixed in future releases of the Net-SNMP
package.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=3474590&group_id=12694

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic