Skip to contentSkip to conversation

2010-01-29 cvs build problem

LTP Mitani 2 participants 2 messages Jan 29, 2010 – Jan 30, 2010

lore
Share & tools
lore

Mitani

author
#0 lore raw

Hi,

I tried to build 2010-01-29 cvs in RHEL4.8 system.

"make" and "make install" succeeded, but in "/opt/ltp" directory, there were not "runltp". There were "bin", "share", "testcases" directories only.

With 2010-01-28 cvs, "make install" installed necessary files such as "runltp" to "/opt/ltp" directory as follows:

------------
[...]
install -m 00775 "/home/LTP/ltp-2010-01-28/tools/genload/stress" "/opt/ltp/testcases/bin/stress"
make[2]: Leaving directory /home/LTP/ltp-2010-01-28/tools/genload' make[1]: Leaving directory /home/LTP/ltp-2010-01-28/tools'

make -C "runtest" \
	-f "/home/LTP/ltp-2010-01-28/runtest/Makefile" install

make[1]: Entering directory `/home/LTP/ltp-2010-01-28/runtest' test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/admin_tools" "/opt/ltp/runtest/admin_tools"
test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/ballista" "/opt/ltp/runtest/ballista"
test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/can" "/opt/ltp/runtest/can"
test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/cap_bounds" "/opt/ltp/runtest/cap_bounds"
[...]
install -m 00755 "/home/LTP/ltp-2010-01-28/runltplite.sh" "//opt/ltp/runltplite.sh"
install -m 00755 "/home/LTP/ltp-2010-01-28/ver_linux" "//opt/ltp/ver_linux" head -n 1 "/home/LTP/ltp-2010-01-28/ChangeLog" > "Version" install -m 00644 "/home/LTP/ltp-2010-01-28/Version" "//opt/ltp/Version" install -m 00755 "/home/LTP/ltp-2010-01-28/execltp" "//opt/ltp/bin/execltp" Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
------------

Just a quick note to tell you that.

Thank you--

-Tomonori Mitani

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

#1 lore raw
Quoted 53 lines · Mitani

Hi,

I tried to build 2010-01-29 cvs in RHEL4.8 system.

"make" and "make install" succeeded, but in "/opt/ltp" directory, there
were not "runltp". There were "bin", "share", "testcases" directories only.

With 2010-01-28 cvs, "make install" installed necessary files such as "runltp" to "/opt/ltp" directory as follows:

------------
[...]
install -m 00775 "/home/LTP/ltp-2010-01-28/tools/genload/stress" "/opt/ltp/testcases/bin/stress"
make[2]: Leaving directory /home/LTP/ltp-2010-01-28/tools/genload' make[1]: Leaving directory /home/LTP/ltp-2010-01-28/tools'

make -C "runtest" \
   -f "/home/LTP/ltp-2010-01-28/runtest/Makefile" install

make[1]: Entering directory `/home/LTP/ltp-2010-01-28/runtest' test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/admin_tools" "/opt/ltp/runtest/admin_tools"
test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/ballista" "/opt/ltp/runtest/ballista"
test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/can" "/opt/ltp/runtest/can"
test -d "/opt/ltp/runtest" || mkdir -p "/opt/ltp/runtest" install -m 00644 "/home/LTP/ltp-2010-01-28/runtest/cap_bounds" "/opt/ltp/runtest/cap_bounds"
[...]
install -m 00755 "/home/LTP/ltp-2010-01-28/runltplite.sh" "//opt/ltp/runltplite.sh"
install -m 00755 "/home/LTP/ltp-2010-01-28/ver_linux" "//opt/ltp/ ver_linux"
head -n 1 "/home/LTP/ltp-2010-01-28/ChangeLog" > "Version" install -m 00644 "/home/LTP/ltp-2010-01-28/Version" "//opt/ltp/ Version"
install -m 00755 "/home/LTP/ltp-2010-01-28/execltp" "//opt/ltp/bin/ execltp"
Checking for required user/group ids

'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
------------

Quoted 1 line

Just a quick note to tell you that.

Shortly after you reported the issue I fixed the root cause. Turns out the was a bug as far as how one of the variables was being set so I better defined the build tree "states" to accomodate that gap. I also wrote some test scripts to test those three sane build states by pulling a fresh copy from cvs each time, building, then testing in a mostly automated manner (analysis is manual and you have to press enter once it tries to login to cvs).

That should prevent really silly build issues in the future...

Cheers,
-Garrett

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list