You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jay Shrauner (Created) (JIRA)" <ji...@apache.org> on 2012/02/01 01:52:56 UTC
[jira] [Created] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
-----------------------------------------------------------------------------------
Key: ZOOKEEPER-1384
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
Project: ZooKeeper
Issue Type: Bug
Components: build, tests
Affects Versions: 3.4.2
Environment: Linux
Reporter: Jay Shrauner
Priority: Minor
Attachments: ZOOKEEPER-1384.patch
On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197545#comment-13197545 ]
Hadoop QA commented on ZOOKEEPER-1384:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12512703/ZOOKEEPER-1384.patch
against trunk revision 1238176.
+1 @author. The patch does not contain any @author tags.
-1 tests included. The patch doesn't appear to include any new or modified tests.
Please justify why no new tests are needed for this patch.
Also please list what manual steps were performed to verify this patch.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed core unit tests.
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/934//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/934//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/934//console
This message is automatically generated.
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Assignee: Jay Shrauner
> Priority: Minor
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Patrick Hunt (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Hunt reassigned ZOOKEEPER-1384:
---------------------------------------
Assignee: Jay Shrauner
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Assignee: Jay Shrauner
> Priority: Minor
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Jay Shrauner (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197449#comment-13197449 ]
Jay Shrauner commented on ZOOKEEPER-1384:
-----------------------------------------
Please review this change.
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Priority: Minor
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Patrick Hunt (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197468#comment-13197468 ]
Patrick Hunt commented on ZOOKEEPER-1384:
-----------------------------------------
Hi Jay, the best way to let us know when you want something reviewed is to click "submit patch", that will start the next phase of the workflow.
See also: https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Assignee: Jay Shrauner
> Priority: Minor
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Jay Shrauner (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197523#comment-13197523 ]
Jay Shrauner commented on ZOOKEEPER-1384:
-----------------------------------------
Thanks--I was confused and thought I used "submit patch" after people had approved it.
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Assignee: Jay Shrauner
> Priority: Minor
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Jay Shrauner (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198011#comment-13198011 ]
Jay Shrauner commented on ZOOKEEPER-1384:
-----------------------------------------
This is a change solely to build.xml, so a test isn't appropriate.
I ran ant test using two dev setups, one in which the path pointed to a gcc in /usr/bin and with no LD_LIBRARY_PATH set, and the other using a path pointing to a gcc in /usr/local/bin with LD_LIBRARY_PATH set to /usr/local/lib64:/usr/local/lib. Both compiled and ran the tests fine.
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Assignee: Jay Shrauner
> Priority: Minor
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232555#comment-13232555 ]
Hudson commented on ZOOKEEPER-1384:
-----------------------------------
Integrated in ZooKeeper-trunk #1500 (See [https://builds.apache.org/job/ZooKeeper-trunk/1500/])
ZOOKEEPER-1384. test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location (Jay Shrauner via phunt) (Revision 1302281)
Result = SUCCESS
phunt : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1302281
Files :
* /zookeeper/trunk/CHANGES.txt
* /zookeeper/trunk/build.xml
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Assignee: Jay Shrauner
> Priority: Minor
> Fix For: 3.4.4, 3.5.0
>
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (ZOOKEEPER-1384) test-cppunit overrides
LD_LIBRARY_PATH and fails if gcc is in non-standard location
Posted by "Jay Shrauner (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jay Shrauner updated ZOOKEEPER-1384:
------------------------------------
Attachment: ZOOKEEPER-1384.patch
> test-cppunit overrides LD_LIBRARY_PATH and fails if gcc is in non-standard location
> -----------------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1384
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1384
> Project: ZooKeeper
> Issue Type: Bug
> Components: build, tests
> Affects Versions: 3.4.2
> Environment: Linux
> Reporter: Jay Shrauner
> Priority: Minor
> Attachments: ZOOKEEPER-1384.patch
>
>
> On Linux with gcc installed in /usr/local and the libs in /usr/local/lib64, test-core-cppunit fails because zktest-st is unable to find the right libstdc++.
> build.xml is overriding the environment LD_LIBRARY_PATH instead of appending to it. This should be changed to match the treatment of PATH by appending the desired extra path.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira