All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
@ 2010-02-22  7:47 Rishikesh
  2010-02-22 15:48 ` Iranna D Ankad
  0 siblings, 1 reply; 9+ messages in thread
From: Rishikesh @ 2010-02-22  7:47 UTC (permalink / raw)
  To: LTP; +Cc: risrajak, iranna.ankad, svishuku

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

Hi All,

Welcome to ltp community.

The February 2010 Intermediate release is out now. This build contains
many fixes. Changelog you can find as attached.

You can directly download from:
https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228/ltp-intermediate-20100228.tgz/download

And for more details you can just have a look to ltp Home Page: 
http://ltp.sourceforge.net/

-- 
Thanks&  Regards
Rishi Kesh K Rajak
IBM LTC, Bangalore
LTP Maintainer
Please join IRC: #ltp @ freenode.net


[-- Attachment #2: ChangeLog.new --]
[-- Type: text/plain, Size: 14959 bytes --]


commit a6ff3058e577983a1052b333adfb3038a3c6f53e
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Sun Feb 21 19:23:10 2010 -0800

    Update the install-in-build-tree script.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit c2c8d7f6d8d77f9755a919bf8fdd858ba4c9fbdb
Author: root <root@orangebox.(none)>
Date:   Sun Feb 21 18:12:18 2010 -0800

    Detecting potential fork errors in the test.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 0ebb1487d747f128c9f63c5ae0121d387ada87bc
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Sun Feb 21 08:14:18 2010 -0800

    Update README as per recent changes to build / test scripts.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 0a383ab2d22d7ba20128429592ec31be055a5aa9
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Sun Feb 21 08:11:52 2010 -0800

    1. Fix a bug in the git pull method (wasn't setting srcdir).
    2. Set safe_rm when ltp is pulled so we can opt out of using srcdir
    with install-in-build-tree s.t. we can _truly_ test
    install-in-build-tree.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit e520c3189f54b690d057ccdae29167d33771584c
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Sun Feb 21 08:10:03 2010 -0800

    Switch all of these Makefiles over to MAKE_DEPS instead of ad hoc
    trunk-all // incorrectly specified all: | type dependencies.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 225c2e31425d5f4b8f67bc69c309fe70dfe8fcf1
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Sat Feb 20 22:51:42 2010 -0800

    Add the library to MAKE_DEPS so it gets built prior to the other goals
    in this directory.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 02f8fe875ea4f13caf3452b9a60f4b4db49e45df
Author: root <root@orangebox.(none)>
Date:   Fri Feb 19 09:42:56 2010 -0800

    Hi,
    
    Scripts under LTPROOT/testscripts/ need to access ltp-pan from some
    other loaction now. Moreover there are scripts to run MATH and SYSCALL
    tests which are not required as they can be directly run through
    ./runltp -f <math/runltp>
    This patch fixes them. Probably the scripts need to be looked on
    more to fix such anomalies.
    
    Signed-off-by: Subrata Modak <subrata@linux.vnet.ibm.com>

commit 031c65bd3f6172d5cc80df0b577c025a139b3577
Author: root <root@orangebox.(none)>
Date:   Fri Feb 19 09:38:36 2010 -0800

    Hi,
    
    I have tried to execute the 'io_floppy' test in  LTP Version:  LTP-20100131.1
    
    maxin@maxin-laptop:/opt/ltp$ ./runltp -f io_floppy
    
    This test failed since the 'stress_floppy' script was not installed properly.
    Please find the below given log:
    -----------------------------------------------------------
    ....
    Running tests.......
    <<<test_start>>>
    tag=stress_floppy stime=1266516562
    cmdline="export TCdat=$LTPROOT/testcases/kernel/io/stress_floppy; stress_floppy"
    contacts=""
    analysis=exit
    <<<test_output>>>
    sh: stress_floppy: not found
    incrementing stop
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=127 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    INFO: ltp-pan reported some tests FAIL
    LTP Version: LTP-20100131.1
    
          ###############################################################"
    
               Done executing testcases."
               LTP Version:  LTP-20100131.1
          ###############################################################"
    -----------------------------------------------------------
    
    Attached patch(stress_floppy_Makefile.patch) fixes Makefile and the
    'stress_floppy' script gets installed properly.
    
    -----------------------------------------------------------
    Running tests.......
    <<<test_start>>>
    tag=stress_floppy stime=1266518427
    cmdline="export TCdat=$LTPROOT/testcases/kernel/io/stress_floppy; stress_floppy"
    contacts=""
    analysis=exit
    <<<test_output>>>
    incrementing stop
    Testing format...
    /dev/fd0: No such file or directory
    Format failed!
    <<<execution_status>>>
    initiation_status="ok"
    duration=0 termination_type=exited termination_id=1 corefile=no
    cutime=0 cstime=0
    <<<test_end>>>
    INFO: ltp-pan reported some tests FAIL
    LTP Version: LTP-20100131.1
    -----------------------------------------------------------
    
    Well, after applying this patch, the 'io_floppy' test fails successfully :)
    (Expected failure as I don't have a floppy drive)
    
    Signed-off-by: Maxin B. John <maxin.john@gmail.com>

commit ad99f1087d63aae7563534c0b6f66461671050cb
Author: root <root@orangebox.(none)>
Date:   Fri Feb 19 01:24:05 2010 -0800

    Work on the previous buffer overflow problem a bit more; ftest0[38]
    still fail from time to time, oddly enough even though I can't exactly
    pinpoint the root cause.
    
    Clean some of the format strings up though while I'm here...
    
    Signed-off-by: root <root@orangebox.(none)>

commit d639eef7e81a3c8768b13b471647deee41c8ff48
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 23:47:44 2010 -0800

    Fix a typo; improve some sentence wording.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 2aa40f7e10518977881b933cc93b8f50847cf3cf
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 23:43:02 2010 -0800

    Avoid sudo blocking for tty input indefinitely; this issue will need to
    be `properly' fixed by not having a password for the sudo'er's acct.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit e03cee01ad68f7b8449a6eb091f7f739c3013e21
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 22:23:31 2010 -0800

    Fix a cosmetic bug where Version wasn't being generated for
    install-in-build-tree scenarios.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 3fceccbde835affc869f91cbc60c7a91fa0add0b
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 21:43:51 2010 -0800

    Merge the remote changes, again?? git's really complicated...
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 1ca6b265f9af0ffdbeee03411c38489899723fc1
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 21:43:07 2010 -0800

    Merge the remote changes (!)
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 4c2f39a8aaf619086a73efc1819be4dd5a0c2822
Merge: 103b262 77ed5b4
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 21:41:48 2010 -0800

    Merge branch 'master' of ssh://ltp.git.sourceforge.net/gitroot/ltp/ltp-dev

commit 103b26251758c4582af5ebf6a9b8774832be643a
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 21:27:53 2010 -0800

    Clean up the TODO.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 09cbd9c271a3a74ccf7bd3401f6bb528c3c7d119
Author: Garrett Cooper <yanegomi@gmail.com>
Date:   Thu Feb 18 21:24:03 2010 -0800

    1. Correct compile time warnings by defining the timeout to 0 sec, 0
    nsec, instead of NULL.
    2. Make sure that the syscall errno applies to the entire test, not just
    the portion that Jiri noted the error with.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit a2a0763133d7d8d2464b2018b6bf287a03847592
Author: gcooper <gcooper@orangebox.(none)>
Date:   Thu Feb 18 21:11:40 2010 -0800

    Update the build_functions script to add clean sanity support, git pull
    support, and also do some minor refactoring in terms of how some
    variables are set as well as when they're set.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 53786432b7db7d066563c42e0d87df755dbbf321
Author: gcooper <gcooper@orangebox.(none)>
Date:   Wed Feb 17 09:32:01 2010 -0800

    acl_test01 today...
    1. Should use $TMP.
    2. Should use tst_resm today.
    3. Should exit 0 on setup failure.
    4. Doesn't cleanup in the event of a test failure.
    5. Has a hardcoded loopback device instead of looking for the next
    available one via losetup -f.
    6. Other stylistic nits:
        a. [ $? != 0 ] -> [ $? -ne 0 ]
        b. Incorrect whitespace conventions / indentation issues.
        c. Etc...
    
    This test will need to be enhanced [still] to support non-ext2 //
    -ext3 filesystems (my kernel only supports ext4 fs's for instance...).
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 77ed5b4eb6a65b90b38defd8aa981e8e9f04b5d9
Merge: 77312d8 98f3812
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Wed Feb 17 18:57:58 2010 +0530

    Merge branch 'test'

commit 98f38120c682e64818e0a13abe62ffab94910e8d
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Wed Feb 17 18:57:23 2010 +0530

     I've seen failures reporting "return value=0, errno=EACCESS" in the
    mq_notify01 test. This is because the syscall actually succeeded (as
    expected by the test), but, as it is implemented by a library
    function, some of the (more) syscalls it invoked failed. The POSIX
    specification of errno says it should only be read when the call in
    question failed - therefore, this patch hardcodes errno 0 when return
    value is 0.
    
     Also, this patch removes a useless TEST macro usage in a place the
    TEST_RETURN nor TEST_ERRNO variables are never checked.
    
    Regards
        Jiri Palecek
    
    Signed-off-by: Jiri Palecek <jpalecek@web.de>

commit 77312d8f35ad3c516636bce1401c78ac09e08a5f
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Wed Feb 17 18:45:56 2010 +0530

    In the previous mailx version, the command "echo "d" | mail -u root" will
    output like the following.
    -----------------------------
    Mail version 8.1 6/6/93.  Type ? for help.
    "/var/mail/root": 1 message 1 new
    >N  1 MAILER-DAEMON@localh  Mon Jan 25 09:11  63/2367  "Returned mail: see tr"
    -----------------------------
    
    Buy in Heirloom Mail, the command will output.
    -----------------------------
    Heirloom Mail version 12.4 7/29/08.  Type ? for help.
    "/var/mail/root": 1 message 1 new
    >N  1 Mail Delivery Subsys  Mon Jan 25 14:16  67/2195  "Returned mail: see tr"
    -----------------------------
    
    "MAILER-DAEMON@localh" is been changed to "Mail Delivery Subsys".
    We should make mail_tests.sh to supporting Heirloom Mail.
    
    Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>

commit d4eb64c5715c44479ce90abd9292019dfe8377e3
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Mon Feb 15 19:30:34 2010 +0530

    Deleted the scratch dir for testing

commit 6feffd8c46093216f795597c7d12739504583f64
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Mon Feb 15 19:20:14 2010 +0530

    Testing with different branch and merging with main

commit e0984c4239b07eb6d83b2445d3d77b53576a5889
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Mon Feb 15 19:17:35 2010 +0530

    Testing with different branch

commit dd04033034f9e550029178f9d85c95f411ef1009
Author: gcooper <gcooper@orangebox.(none)>
Date:   Sun Feb 14 23:16:22 2010 -0800

    Correct at least one of these lousy diagnostic messages for not finding
    nobody in /etc/passwd...
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 8686ad72fbe76a7de8fe8e93ef68a71fff8a049d
Author: gcooper <gcooper@orangebox.(none)>
Date:   Sun Feb 14 23:12:10 2010 -0800

    Correctly consolidate tst_exit() calls in cleanup() as noted by
    Mitani-san.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 4086783fafe6afd70a6d647ae8bf5ded0548be79
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Mon Feb 15 12:08:23 2010 +0530

    Added one TODO for conversion of CVS to GIT

commit f4f57997f7809f1c85a1d124ba277e7f3a510d08
Author: Rishikesh K Rajak <rishikesh@rishikesh.in.ibm.com>
Date:   Sun Feb 14 22:41:20 2010 +0530

    Testing for push to ltp.sf.net

commit 186613249384740cfd5c8346c1b6659613c6a2a6
Author: yaberauneya <yaberauneya>
Date:   Fri Feb 12 09:15:37 2010 +0000

    *** empty log message ***

commit dfac29ccbb03db3e4ee3fa5674cbbbf0104b08aa
Author: yaberauneya <yaberauneya>
Date:   Fri Feb 12 09:02:50 2010 +0000

    Remove test file.

commit 2279bf46ad12b3e75c512e9f146bc60a49220444
Author: yaberauneya <yaberauneya>
Date:   Fri Feb 12 09:02:34 2010 +0000

    Test.

commit 98379aa37cbc3dd8ac41ee6628b5033743f47165
Author: yaberauneya <yaberauneya>
Date:   Wed Feb 10 23:24:45 2010 +0000

    1. Simplify smoke test further by only checking to see whether or not the syscall works as opposed to checking the kernel version because people can backport support as seen fit and shouldn't be hindered by a stupid kernel version check...
    2. Correct compile because I originally checked in the change on a box without a proper toolchain and thus couldn't build before now.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit eea384d34e99680de3ba09f6fe6916ecc1d960b0
Author: yaberauneya <yaberauneya>
Date:   Wed Feb 10 23:12:53 2010 +0000

    Not everyone has unshare capability... thanks for the reminder Mitani-san...
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 903f68fcdcf31ee426190ac72adb9eaa293baaeb
Author: yaberauneya <yaberauneya>
Date:   Wed Feb 10 23:04:09 2010 +0000

    Fixed typo found by Mitani-san.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit a962b7f8f0fae7b34edcc1b7619944e1137cd057
Author: yaberauneya <yaberauneya>
Date:   Wed Feb 10 01:28:25 2010 +0000

    Adding runtest entries for rt_sigaction0[23], as noted by Mitani-san, and forgotten by your's truly...
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>

commit 7a0b567320b80b2cb361c9481549508ea772d73f
Author: yaberauneya <yaberauneya>
Date:   Tue Feb 9 14:49:02 2010 +0000

    An error occured on my i386 box.
    (OS: Fedora8, Kernel: 2.6.33-rc6, libcap: libcap-2.16)
    -------------
    exec_without_inh    1  TFAIL  :  Failed to drop CAP_SYS_ADMIN from bounding set.
    exec_without_inh    0  TINFO  :  (ret=-1, errno 38)
    -------------
    If the macro HAVE_DECL_CAP_BSET_DROP is 0, this error will occurs.
    But the program should to be broken when f != CAP_SET, like the similar code
    "if (ret || f != CAP_SET) {" in exec_with_inh.c.
    
    The TBROK message will be outputted if my patch merged.
    -------------
    exec_without_inh    1  TBROK  :  Failed to add CAP_SYS_ADMIN to pI
    -------------
    
    Signed-off-by: Shi Weihua <shiwh@cn.fujitsu.com>
    ---

commit 4f16ee0005cce6fc23727e39e1762c1e1f5a1285
Author: yaberauneya <yaberauneya>
Date:   Tue Feb 9 14:45:29 2010 +0000

    1. Remove mqns check app check. It no longer exists in the repo and thus gates these tests unnecessarily from being run..
    2. Compile the netns check app.
    
    Signed-off-by: Garrett Cooper <yanegomi@gmail.com>


[-- Attachment #3: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-22  7:47 [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10 Rishikesh
@ 2010-02-22 15:48 ` Iranna D Ankad
  2010-02-22 16:49   ` Rishikesh K Rajak
  2010-02-22 18:15   ` Garrett Cooper
  0 siblings, 2 replies; 9+ messages in thread
From: Iranna D Ankad @ 2010-02-22 15:48 UTC (permalink / raw)
  To: Rishikesh; +Cc: Rishikesh K Rajak, LTP, Vishukumar S Shetty


[-- Attachment #1.1: Type: text/plain, Size: 3386 bytes --]

Hello Rishi,
LTP compilation on my system halted with below build errors, please check 
this out.    Thanks!

gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall 
-I/root/ltp-intermediate-20100228/testcases/kernel/include 
-I/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind/../utils/ 
-I../../../../include -I../../../../include   -L../../../../lib  mbind01.c 
  -lltp -lnuma -o mbind01
mbind01.c:184: error: ‘MPOL_DEFAULT’ undeclared here (not in a function)
mbind01.c:196: error: ‘MPOL_BIND’ undeclared here (not in a function)
mbind01.c:208: error: ‘MPOL_INTERLEAVE’ undeclared here (not in a 
function)
mbind01.c:220: error: ‘MPOL_PREFERRED’ undeclared here (not in a function)
mbind01.c: In function ‘do_test’:
mbind01.c:309: error: ‘MPOL_F_ADDR’ undeclared (first use in this 
function)
mbind01.c:309: error: (Each undeclared identifier is reported only once
mbind01.c:309: error: for each function it appears in.)
mbind01.c:317: warning: comparison between pointer and integer
mbind01.c:319: warning: comparison between pointer and integer
make[4]: *** [mbind01] Error 1
make[4]: Leaving directory 
`/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/root/ltp-intermediate-20100228/testcases/kernel/syscalls'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/root/ltp-intermediate-20100228/testcases/kernel'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/ltp-intermediate-20100228/testcases'
make: *** [testcases-all] Error 2
[root@mx3655 ltp-intermediate-20100228]# 

Here are the make & autoconf versions I am running.

[root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep make
automake14-1.4p6-13
imake-1.0.2-3
automake17-1.7.9-7
automake15-1.5-16
automake16-1.6.3-8
make-3.81-3.el5
automake-1.9.6-2.1
[root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep autoconf
autoconf-2.59-12
[root@mx3655 ltp-intermediate-20100228]#


-Iranna D Ankad
----------------------------------------------------------------------------------------------------
Linux-Technology Center, IBM India Software Labs
Manyata Embassy Park, BENGALURU - 560045,
Ph: +91-080-28055007   Extn: 55007
----------------------------------------------------------------------------------------------------
"If you don't have patience to test the software, the software will test 
your patience !!"



Rishikesh <risrajak@linux.vnet.ibm.com> 
02/22/10 01:17 PM

To
LTP <ltp-list@lists.sourceforge.net>
cc
Garrett Cooper <yanegomi@gmail.com>, Rishikesh K Rajak/India/IBM@IBMIN, 
Vishukumar S Shetty/India/IBM@IBMIN, Iranna D Ankad/India/IBM@IBMIN
Subject
[ANNOUNCEMENT]: Intermediate release for FEB'10






Hi All,

Welcome to ltp community.

The February 2010 Intermediate release is out now. This build contains
many fixes. Changelog you can find as attached.

You can directly download from:
https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228/ltp-intermediate-20100228.tgz/download


And for more details you can just have a look to ltp Home Page: 
http://ltp.sourceforge.net/

-- 
Thanks&  Regards
Rishi Kesh K Rajak
IBM LTC, Bangalore
LTP Maintainer
Please join IRC: #ltp @ freenode.net

[attachment "ChangeLog.new" deleted by Iranna D Ankad/India/IBM] 


[-- Attachment #1.2: Type: text/html, Size: 5781 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-22 15:48 ` Iranna D Ankad
@ 2010-02-22 16:49   ` Rishikesh K Rajak
  2010-02-22 18:17     ` Garrett Cooper
  2010-02-22 18:15   ` Garrett Cooper
  1 sibling, 1 reply; 9+ messages in thread
From: Rishikesh K Rajak @ 2010-02-22 16:49 UTC (permalink / raw)
  To: Iranna D Ankad; +Cc: Rishikesh K Rajak, LTP, Vishukumar S Shetty

Hi Iranna,


Thanks for reporting this build failure and helping, as it will
really help to make ltp more stable.

Here is the quick patch i am attaching which solves the problem.

Signed-off By: Rishikesh K Rajak<risrajak@linux.vnet.ibm.com>
Tested By: Rishikesh K Rajak<risrajak@linux.vnet.ibm.com>
---
diff --git a/testcases/kernel/syscalls/mbind/mbind01.c
b/testcases/kernel/syscalls/mbind/mbind01.c
index 5d7eb69..847186a 100644
--- a/testcases/kernel/syscalls/mbind/mbind01.c
+++ b/testcases/kernel/syscalls/mbind/mbind01.c
@@ -74,6 +74,7 @@ int  TST_TOTAL = 2;           /* total number of tests
in this file.   */
 #include <unistd.h>
 #include "include_j_h.h"
 #include "numa_helpers.h"
+#include <linux/mempolicy.h>
 
 #if ! defined(LIBNUMA_API_VERSION) || LIBNUMA_API_VERSION < 2
 

-- 
Thanks & Regards
Rishi
LTP Maintainer
IBM, LTC, Bangalore
Please join IRC #ltp @ irc.freenode.net

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-22 15:48 ` Iranna D Ankad
  2010-02-22 16:49   ` Rishikesh K Rajak
@ 2010-02-22 18:15   ` Garrett Cooper
  2010-02-23  6:41     ` Iranna D Ankad
  1 sibling, 1 reply; 9+ messages in thread
From: Garrett Cooper @ 2010-02-22 18:15 UTC (permalink / raw)
  To: Iranna D Ankad; +Cc: Rishikesh K Rajak, LTP, Vishukumar S Shetty


[-- Attachment #1.1: Type: text/plain, Size: 5107 bytes --]

On Mon, Feb 22, 2010 at 7:48 AM, Iranna D Ankad <iranna.ankad@in.ibm.com>wrote:

>
> Hello Rishi,
> LTP compilation on my system halted with below build errors, please check
> this out.    Thanks!
>
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
>  -I/root/ltp-intermediate-20100228/testcases/kernel/include
> -I/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind/../utils/
> -I../../../../include -I../../../../include   -L../../../../lib  mbind01.c
> -lltp -lnuma -o mbind01
> mbind01.c:184: error: ‘MPOL_DEFAULT’ undeclared here (not in a function)
> mbind01.c:196: error: ‘MPOL_BIND’ undeclared here (not in a function)
> mbind01.c:208: error: ‘MPOL_INTERLEAVE’ undeclared here (not in a function)
> mbind01.c:220: error: ‘MPOL_PREFERRED’ undeclared here (not in a function)
> mbind01.c: In function ‘do_test’:
> mbind01.c:309: error: ‘MPOL_F_ADDR’ undeclared (first use in this function)
> mbind01.c:309: error: (Each undeclared identifier is reported only once
> mbind01.c:309: error: for each function it appears in.)
> mbind01.c:317: warning: comparison between pointer and integer
> mbind01.c:319: warning: comparison between pointer and integer
> make[4]: *** [mbind01] Error 1
> make[4]: Leaving directory
> `/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/root/ltp-intermediate-20100228/testcases/kernel/syscalls'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/root/ltp-intermediate-20100228/testcases/kernel'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/ltp-intermediate-20100228/testcases'
> make: *** [testcases-all] Error 2
> [root@mx3655 ltp-intermediate-20100228]#
>
> Here are the make & autoconf versions I am running.
>
> [root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep make
> automake14-1.4p6-13
> imake-1.0.2-3
> automake17-1.7.9-7
> automake15-1.5-16
> automake16-1.6.3-8
> make-3.81-3.el5
> automake-1.9.6-2.1
> [root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep autoconf
> autoconf-2.59-12
> [root@mx3655 ltp-intermediate-20100228]#
>
>
> -Iranna D Ankad
>
> ----------------------------------------------------------------------------------------------------
> Linux-Technology Center, IBM India Software Labs
> Manyata Embassy Park, BENGALURU - 560045,
> Ph: +91-080-28055007   Extn: 55007
>
> ----------------------------------------------------------------------------------------------------
> "If you don't have patience to test the software, the software will test
> your patience !!"
>
>
>  *Rishikesh <risrajak@linux.vnet.ibm.com>*
>
> 02/22/10 01:17 PM
>   To
> LTP <ltp-list@lists.sourceforge.net>
> cc
> Garrett Cooper <yanegomi@gmail.com>, Rishikesh K Rajak/India/IBM@IBMIN,
> Vishukumar S Shetty/India/IBM@IBMIN, Iranna D Ankad/India/IBM@IBMIN
> Subject
> [ANNOUNCEMENT]: Intermediate release for FEB'10
>
>
>
>
> Hi All,
>
> Welcome to ltp community.
>
> The February 2010 Intermediate release is out now. This build contains
> many fixes. Changelog you can find as attached.
>
> You can directly download from:
>
> https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228/ltp-intermediate-20100228.tgz/download
>
> And for more details you can just have a look to ltp Home Page:
> http://ltp.sourceforge.net/
>
> --
> Thanks&  Regards
> Rishi Kesh K Rajak
> IBM LTC, Bangalore
> LTP Maintainer
> Please join IRC: #ltp @ freenode.net
>
> [attachment "ChangeLog.new" deleted by Iranna D Ankad/India/IBM]
>

Iranna,

I've stumbled down this bloody hole too many times to know that we should
NOT be too hasty in jumping down here again.
1. How did you compile everything (STEP BY STEP... from scratch after
getting autotools, etc)?
2. If you are running autotools, you DO realize that you're running with an
incompatible copy of autoconf, correct? INSTALL explicitly states:

make 3.81 can be obtained here:
- http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2

------------------------> If you want to use auto configuration, be sure
autoconf-2.61+ & automake-1.10+ <------------------------
are installed.

automake-1.10.2's sources can be downloaded from:
- ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.bz2
- ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz

autoconf-2.61's sources can be downloaded from:
- ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2
- ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz

autoconf-2.61 also requires m4-1.4.7+ be installed. Its sources can be
downloaded from:
- http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.bz2
- http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.gz

The default autoconfed files were made available for folks to tune so they
could avoid issues with having to write everything from scratch. As such, it
is your job to a) download and setup appropriate software versions of
autotools so the configuration is done correctly, automatically, or b)
properly configure the file(s) so that everything "works".

Thanks,
-Garrett

[-- Attachment #1.2: Type: text/html, Size: 8844 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-22 16:49   ` Rishikesh K Rajak
@ 2010-02-22 18:17     ` Garrett Cooper
  2010-02-23  5:31       ` Subrata Modak
  0 siblings, 1 reply; 9+ messages in thread
From: Garrett Cooper @ 2010-02-22 18:17 UTC (permalink / raw)
  To: Iranna D Ankad, LTP, Rishikesh K Rajak, Vishukumar S Shetty,
	Garrett Cooper

On Mon, Feb 22, 2010 at 8:49 AM, Rishikesh K Rajak
<risrajak@linux.vnet.ibm.com> wrote:
> Hi Iranna,
>
>
> Thanks for reporting this build failure and helping, as it will
> really help to make ltp more stable.
>
> Here is the quick patch i am attaching which solves the problem.
>
> Signed-off By: Rishikesh K Rajak<risrajak@linux.vnet.ibm.com>
> Tested By: Rishikesh K Rajak<risrajak@linux.vnet.ibm.com>
> ---
> diff --git a/testcases/kernel/syscalls/mbind/mbind01.c
> b/testcases/kernel/syscalls/mbind/mbind01.c
> index 5d7eb69..847186a 100644
> --- a/testcases/kernel/syscalls/mbind/mbind01.c
> +++ b/testcases/kernel/syscalls/mbind/mbind01.c
> @@ -74,6 +74,7 @@ int  TST_TOTAL = 2;           /* total number of tests
> in this file.   */
>  #include <unistd.h>
>  #include "include_j_h.h"
>  #include "numa_helpers.h"
> +#include <linux/mempolicy.h>
>
>  #if ! defined(LIBNUMA_API_VERSION) || LIBNUMA_API_VERSION < 2

No. This patch shouldn't be committed because of namespace collisions
between numa and mempolicy (thank the developers for just copy-pasting
constants, macros, etc instead of properly requiring numa on the
target system in order for mempolicy to work...).

Thanks,
-Garrett

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-22 18:17     ` Garrett Cooper
@ 2010-02-23  5:31       ` Subrata Modak
  0 siblings, 0 replies; 9+ messages in thread
From: Subrata Modak @ 2010-02-23  5:31 UTC (permalink / raw)
  To: Iranna D Ankad, Rishikesh K Rajak; +Cc: LTP, Vishukumar S Shetty


[-- Attachment #1.1: Type: text/plain, Size: 1929 bytes --]

Garrett Cooper wrote:
> On Mon, Feb 22, 2010 at 8:49 AM, Rishikesh K Rajak
> <risrajak@linux.vnet.ibm.com> wrote:
>   
>> Hi Iranna,
>>
>>
>> Thanks for reporting this build failure and helping, as it will
>> really help to make ltp more stable.
>>
>> Here is the quick patch i am attaching which solves the problem.
>>
>> Signed-off By: Rishikesh K Rajak<risrajak@linux.vnet.ibm.com>
>> Tested By: Rishikesh K Rajak<risrajak@linux.vnet.ibm.com>
>> ---
>> diff --git a/testcases/kernel/syscalls/mbind/mbind01.c
>> b/testcases/kernel/syscalls/mbind/mbind01.c
>> index 5d7eb69..847186a 100644
>> --- a/testcases/kernel/syscalls/mbind/mbind01.c
>> +++ b/testcases/kernel/syscalls/mbind/mbind01.c
>> @@ -74,6 +74,7 @@ int  TST_TOTAL = 2;           /* total number of tests
>> in this file.   */
>>  #include <unistd.h>
>>  #include "include_j_h.h"
>>  #include "numa_helpers.h"
>> +#include <linux/mempolicy.h>
>>     
And also, including <linux/*.h> in any application(s) other than the 
kernel itself is better avoided.

Regards--
Subrata
>>  #if ! defined(LIBNUMA_API_VERSION) || LIBNUMA_API_VERSION < 2
>>     
>
> No. This patch shouldn't be committed because of namespace collisions
> between numa and mempolicy (thank the developers for just copy-pasting
> constants, macros, etc instead of properly requiring numa on the
> target system in order for mempolicy to work...).
>
> Thanks,
> -Garrett
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>   


[-- Attachment #1.2: Type: text/html, Size: 3069 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-22 18:15   ` Garrett Cooper
@ 2010-02-23  6:41     ` Iranna D Ankad
  2010-02-23  6:52       ` Garrett Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Iranna D Ankad @ 2010-02-23  6:41 UTC (permalink / raw)
  To: Garrett Cooper; +Cc: Rishikesh K Rajak, LTP


[-- Attachment #1.1: Type: text/plain, Size: 6699 bytes --]

<< Iranna,
<<I've stumbled down this bloody hole too many times to know that we 
should NOT be too hasty in jumping down here again.
<< 1. How did you compile everything (STEP BY STEP... from scratch after 
getting autotools, etc)?
<< 2. If you are running autotools, you DO realize that you're running 
with an incompatible copy of autoconf, correct? INSTALL explicitly states:

Hi Garrett,
I am running one of the RHEL distro's with default versions of make, 
automake & autoconf. As you pointed out may be my OS has older versions of 
automake & autoconf than recommended but I am running right version of 
make (i.e make-3.81-3.el5). I think, when I am just building LTP using 
make, I do not think autoconf will interfere here?

Here are the steps I am using to compile LTP:
#./configure
# make
........... hitting reported build errors here ............


Thanks!
-Iranna D Ankad
----------------------------------------------------------------------------------------------------
Linux-Technology Center, IBM India Software Labs
Manyata Embassy Park, BENGALURU - 560045,
Ph: +91-080-28055007   Extn: 55007
----------------------------------------------------------------------------------------------------
"If you don't have patience to test the software, the software will test 
your patience !!"



Garrett Cooper <yanegomi@gmail.com> 
02/22/10 11:45 PM

To
Iranna D Ankad/India/IBM@IBMIN
cc
Rishikesh <risrajak@linux.vnet.ibm.com>, LTP 
<ltp-list@lists.sourceforge.net>, Rishikesh K Rajak/India/IBM@IBMIN, 
Vishukumar S Shetty/India/IBM@IBMIN
Subject
Re: [ANNOUNCEMENT]: Intermediate release for FEB'10






On Mon, Feb 22, 2010 at 7:48 AM, Iranna D Ankad <iranna.ankad@in.ibm.com> 
wrote:

Hello Rishi, 
LTP compilation on my system halted with below build errors, please check 
this out.    Thanks! 

gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall 
 -I/root/ltp-intermediate-20100228/testcases/kernel/include 
-I/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind/../utils/ 
-I../../../../include -I../../../../include   -L../../../../lib  mbind01.c 
  -lltp -lnuma -o mbind01 
mbind01.c:184: error: ‘MPOL_DEFAULT’ undeclared here (not in a function) 
mbind01.c:196: error: ‘MPOL_BIND’ undeclared here (not in a function) 
mbind01.c:208: error: ‘MPOL_INTERLEAVE’ undeclared here (not in a 
function) 
mbind01.c:220: error: ‘MPOL_PREFERRED’ undeclared here (not in a function) 

mbind01.c: In function ‘do_test’: 
mbind01.c:309: error: ‘MPOL_F_ADDR’ undeclared (first use in this 
function) 
mbind01.c:309: error: (Each undeclared identifier is reported only once 
mbind01.c:309: error: for each function it appears in.) 
mbind01.c:317: warning: comparison between pointer and integer 
mbind01.c:319: warning: comparison between pointer and integer 
make[4]: *** [mbind01] Error 1 
make[4]: Leaving directory 
`/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind' 
make[3]: *** [all] Error 2 
make[3]: Leaving directory 
`/root/ltp-intermediate-20100228/testcases/kernel/syscalls' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory 
`/root/ltp-intermediate-20100228/testcases/kernel' 
make[1]: *** [all] Error 2 
make[1]: Leaving directory `/root/ltp-intermediate-20100228/testcases' 
make: *** [testcases-all] Error 2 
[root@mx3655 ltp-intermediate-20100228]# 

Here are the make & autoconf versions I am running. 

[root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep make 
automake14-1.4p6-13 
imake-1.0.2-3 
automake17-1.7.9-7 
automake15-1.5-16 
automake16-1.6.3-8 
make-3.81-3.el5 
automake-1.9.6-2.1 
[root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep autoconf 
autoconf-2.59-12 
[root@mx3655 ltp-intermediate-20100228]# 


-Iranna D Ankad
----------------------------------------------------------------------------------------------------
Linux-Technology Center, IBM India Software Labs
Manyata Embassy Park, BENGALURU - 560045,
Ph: +91-080-28055007   Extn: 55007
----------------------------------------------------------------------------------------------------
"If you don't have patience to test the software, the software will test 
your patience !!" 


Rishikesh <risrajak@linux.vnet.ibm.com> 
02/22/10 01:17 PM 


To
LTP <ltp-list@lists.sourceforge.net> 
cc
Garrett Cooper <yanegomi@gmail.com>, Rishikesh K Rajak/India/IBM@IBMIN, 
Vishukumar S Shetty/India/IBM@IBMIN, Iranna D Ankad/India/IBM@IBMIN 
Subject
[ANNOUNCEMENT]: Intermediate release for FEB'10








Hi All,

Welcome to ltp community.

The February 2010 Intermediate release is out now. This build contains
many fixes. Changelog you can find as attached.

You can directly download from:
https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228/ltp-intermediate-20100228.tgz/download


And for more details you can just have a look to ltp Home Page: 
http://ltp.sourceforge.net/

-- 
Thanks&  Regards
Rishi Kesh K Rajak
IBM LTC, Bangalore
LTP Maintainer
Please join IRC: #ltp @ freenode.net

[attachment "ChangeLog.new" deleted by Iranna D Ankad/India/IBM] 

Iranna,

I've stumbled down this bloody hole too many times to know that we should 
NOT be too hasty in jumping down here again.
1. How did you compile everything (STEP BY STEP... from scratch after 
getting autotools, etc)?
2. If you are running autotools, you DO realize that you're running with 
an incompatible copy of autoconf, correct? INSTALL explicitly states:

make 3.81 can be obtained here:
- http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2

------------------------> If you want to use auto configuration, be sure 
autoconf-2.61+ & automake-1.10+ <------------------------
are installed.

automake-1.10.2's sources can be downloaded from:
- ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.bz2
- ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz

autoconf-2.61's sources can be downloaded from:
- ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2
- ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz

autoconf-2.61 also requires m4-1.4.7+ be installed. Its sources can be
downloaded from:
- http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.bz2
- http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.gz

The default autoconfed files were made available for folks to tune so they 
could avoid issues with having to write everything from scratch. As such, 
it is your job to a) download and setup appropriate software versions of 
autotools so the configuration is done correctly, automatically, or b) 
properly configure the file(s) so that everything "works".

Thanks,
-Garrett


[-- Attachment #1.2: Type: text/html, Size: 13279 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-23  6:41     ` Iranna D Ankad
@ 2010-02-23  6:52       ` Garrett Cooper
  2010-02-23  7:01         ` Garrett Cooper
  0 siblings, 1 reply; 9+ messages in thread
From: Garrett Cooper @ 2010-02-23  6:52 UTC (permalink / raw)
  To: Iranna D Ankad; +Cc: Rishikesh K Rajak, LTP


[-- Attachment #1.1: Type: text/plain, Size: 7856 bytes --]

On Mon, Feb 22, 2010 at 10:41 PM, Iranna D Ankad <iranna.ankad@in.ibm.com>wrote:

>
> << Iranna,
> <<I've stumbled down this bloody hole too many times to know that we should
> NOT be too hasty in jumping down here again.
> << 1. How did you compile everything (STEP BY STEP... from scratch after
> getting autotools, etc)?
> << 2. If you are running autotools, you DO realize that you're running with
> an incompatible copy of autoconf, correct? INSTALL explicitly states:
>
> Hi Garrett,
> I am running one of the RHEL distro's with default versions of make,
> automake & autoconf. As you pointed out may be my OS has older versions of
> automake & autoconf than recommended but I am running right version of make
> (i.e make-3.81-3.el5). I think, when I am just building LTP using make, I do
> not think autoconf will interfere here?
>
> Here are the steps I am using to compile LTP:
> #./configure
> # make
> ........... hitting reported build errors here ............
>

    Please run `make ac-clean', then run `./configure ; make' . It looks
like the tarball wasn't purged of all configure generated files.
Thanks,
-Garrett


>
> Thanks!
> -Iranna D Ankad
>
> ----------------------------------------------------------------------------------------------------
> Linux-Technology Center, IBM India Software Labs
> Manyata Embassy Park, BENGALURU - 560045,
> Ph: +91-080-28055007   Extn: 55007
>
> ----------------------------------------------------------------------------------------------------
> "If you don't have patience to test the software, the software will test
> your patience !!"
>
>
>  *Garrett Cooper <yanegomi@gmail.com>*
>
> 02/22/10 11:45 PM
>   To
> Iranna D Ankad/India/IBM@IBMIN
>  cc
> Rishikesh <risrajak@linux.vnet.ibm.com>, LTP <
> ltp-list@lists.sourceforge.net>, Rishikesh K Rajak/India/IBM@IBMIN,
> Vishukumar S Shetty/India/IBM@IBMIN
> Subject
> Re: [ANNOUNCEMENT]: Intermediate release for FEB'10
>
>
>
>
> On Mon, Feb 22, 2010 at 7:48 AM, Iranna D Ankad <*iranna.ankad@in.ibm.com*<iranna.ankad@in.ibm.com>>
> wrote:
>
> Hello Rishi,
> LTP compilation on my system halted with below build errors, please check
> this out.    Thanks!
>
> gcc -g -O2 -g -O2 -fno-strict-aliasing -pipe -Wall
>  -I/root/ltp-intermediate-20100228/testcases/kernel/include
> -I/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind/../utils/
> -I../../../../include -I../../../../include   -L../../../../lib  mbind01.c
> -lltp -lnuma -o mbind01
> mbind01.c:184: error: ‘MPOL_DEFAULT’ undeclared here (not in a function)
> mbind01.c:196: error: ‘MPOL_BIND’ undeclared here (not in a function)
> mbind01.c:208: error: ‘MPOL_INTERLEAVE’ undeclared here (not in a function)
> mbind01.c:220: error: ‘MPOL_PREFERRED’ undeclared here (not in a function)
> mbind01.c: In function ‘do_test’:
> mbind01.c:309: error: ‘MPOL_F_ADDR’ undeclared (first use in this function)
> mbind01.c:309: error: (Each undeclared identifier is reported only once
> mbind01.c:309: error: for each function it appears in.)
> mbind01.c:317: warning: comparison between pointer and integer
> mbind01.c:319: warning: comparison between pointer and integer
> make[4]: *** [mbind01] Error 1
> make[4]: Leaving directory
> `/root/ltp-intermediate-20100228/testcases/kernel/syscalls/mbind'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/root/ltp-intermediate-20100228/testcases/kernel/syscalls'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/root/ltp-intermediate-20100228/testcases/kernel'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/root/ltp-intermediate-20100228/testcases'
> make: *** [testcases-all] Error 2
> [root@mx3655 ltp-intermediate-20100228]#
>
> Here are the make & autoconf versions I am running.
>
> [root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep make
> automake14-1.4p6-13
> imake-1.0.2-3
> automake17-1.7.9-7
> automake15-1.5-16
> automake16-1.6.3-8
> make-3.81-3.el5
> automake-1.9.6-2.1
> [root@mx3655 ltp-intermediate-20100228]# rpm -qa | grep autoconf
> autoconf-2.59-12
> [root@mx3655 ltp-intermediate-20100228]#
>
>
> -Iranna D Ankad
>
> ----------------------------------------------------------------------------------------------------
> Linux-Technology Center, IBM India Software Labs
> Manyata Embassy Park, BENGALURU - 560045,
> Ph: +91-080-28055007   Extn: 55007
>
> ----------------------------------------------------------------------------------------------------
> "If you don't have patience to test the software, the software will test
> your patience !!"
>
>   *Rishikesh <**risrajak@linux.vnet.ibm.com* <risrajak@linux.vnet.ibm.com>
> *>*
>
> 02/22/10 01:17 PM
>
>   To
> LTP <*ltp-list@lists.sourceforge.net* <ltp-list@lists.sourceforge.net>>
> cc
> Garrett Cooper <*yanegomi@gmail.com* <yanegomi@gmail.com>>, Rishikesh K
> Rajak/India/IBM@IBMIN, Vishukumar S Shetty/India/IBM@IBMIN, Iranna D
> Ankad/India/IBM@IBMIN
> Subject
> [ANNOUNCEMENT]: Intermediate release for FEB'10
>
>
>
>
>
>
> Hi All,
>
> Welcome to ltp community.
>
> The February 2010 Intermediate release is out now. This build contains
> many fixes. Changelog you can find as attached.
>
> You can directly download from:*
> **
> https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228/ltp-intermediate-20100228.tgz/download
> *<https://sourceforge.net/projects/ltp/files/LTP%20Source/ltp-20100228/ltp-intermediate-20100228.tgz/download>
>
> And for more details you can just have a look to ltp Home Page: *
> **http://ltp.sourceforge.net/* <http://ltp.sourceforge.net/>
>
> --
> Thanks&  Regards
> Rishi Kesh K Rajak
> IBM LTC, Bangalore
> LTP Maintainer
> Please join IRC: #ltp @ *freenode.net* <http://freenode.net/>
>
> [attachment "ChangeLog.new" deleted by Iranna D Ankad/India/IBM]
>
> Iranna,
>
> I've stumbled down this bloody hole too many times to know that we should
> NOT be too hasty in jumping down here again.
> 1. How did you compile everything (STEP BY STEP... from scratch after
> getting autotools, etc)?
> 2. If you are running autotools, you DO realize that you're running with an
> incompatible copy of autoconf, correct? INSTALL explicitly states:
>
> make 3.81 can be obtained here:
> - *http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2*<http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2>
>
> ------------------------> If you want to use auto configuration, be sure
> autoconf-2.61+ & automake-1.10+ <------------------------
> are installed.
>
> automake-1.10.2's sources can be downloaded from:
> - *ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.bz2*<ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.bz2>
> - *ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz*<ftp://ftp.gnu.org/gnu/automake/automake-1.10.2.tar.gz>
>
> autoconf-2.61's sources can be downloaded from:
> - *ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2*<ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.bz2>
> - *ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz*<ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.61.tar.gz>
>
> autoconf-2.61 also requires m4-1.4.7+ be installed. Its sources can be
> downloaded from:
> - *http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.bz2*<http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.bz2>
> - *http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.gz*<http://ftp.gnu.org/gnu/m4/m4-1.4.7.tar.gz>
>
> The default autoconfed files were made available for folks to tune so they
> could avoid issues with having to write everything from scratch. As such, it
> is your job to a) download and setup appropriate software versions of
> autotools so the configuration is done correctly, automatically, or b)
> properly configure the file(s) so that everything "works".
>
> Thanks,
> -Garrett
>

[-- Attachment #1.2: Type: text/html, Size: 15021 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10
  2010-02-23  6:52       ` Garrett Cooper
@ 2010-02-23  7:01         ` Garrett Cooper
  0 siblings, 0 replies; 9+ messages in thread
From: Garrett Cooper @ 2010-02-23  7:01 UTC (permalink / raw)
  To: Iranna D Ankad; +Cc: Rishikesh K Rajak, LTP


[-- Attachment #1.1: Type: text/plain, Size: 1383 bytes --]

On Mon, Feb 22, 2010 at 10:52 PM, Garrett Cooper <yanegomi@gmail.com> wrote:

> On Mon, Feb 22, 2010 at 10:41 PM, Iranna D Ankad <iranna.ankad@in.ibm.com>wrote:
>
>>
>> << Iranna,
>> <<I've stumbled down this bloody hole too many times to know that we
>> should NOT be too hasty in jumping down here again.
>> << 1. How did you compile everything (STEP BY STEP... from scratch after
>> getting autotools, etc)?
>> << 2. If you are running autotools, you DO realize that you're running
>> with an incompatible copy of autoconf, correct? INSTALL explicitly states:
>>
>> Hi Garrett,
>> I am running one of the RHEL distro's with default versions of make,
>> automake & autoconf. As you pointed out may be my OS has older versions of
>> automake & autoconf than recommended but I am running right version of make
>> (i.e make-3.81-3.el5). I think, when I am just building LTP using make, I do
>> not think autoconf will interfere here?
>>
>> Here are the steps I am using to compile LTP:
>> #./configure
>> # make
>> ........... hitting reported build errors here ............
>>
>
>     Please run `make ac-clean', then run `./configure ; make' . It looks
> like the tarball wasn't purged of all configure generated files.
> Thanks,
> -Garrett
>

Make sure to save aclocal.m4 though -- it shouldn't be cleaned out by
ac-clean, but is with the tarball (fixed on HEAD).
Thanks,
-GArrett

[-- Attachment #1.2: Type: text/html, Size: 2359 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2010-02-23  7:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-22  7:47 [LTP] [ANNOUNCEMENT]: Intermediate release for FEB'10 Rishikesh
2010-02-22 15:48 ` Iranna D Ankad
2010-02-22 16:49   ` Rishikesh K Rajak
2010-02-22 18:17     ` Garrett Cooper
2010-02-23  5:31       ` Subrata Modak
2010-02-22 18:15   ` Garrett Cooper
2010-02-23  6:41     ` Iranna D Ankad
2010-02-23  6:52       ` Garrett Cooper
2010-02-23  7:01         ` Garrett Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.