| Summary: | net-libs/xrootd-4.0.0 - .../work/xrootd-4.0.0/src/XrdApps/XrdCpy.cc:753:42: error: 'iKey.genDestCgi(XrdClient*, const char*)::<anonymous union>::intV[1]' may be used uninitialized in this function [-Werror=uninitialized] | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Davide <sbdmmg> |
| Component: | Current packages | Assignee: | Gentoo Science Physics related packages <sci-physics> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bircoph, sbdmmg |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Davide
2014-08-29 10:47:56 UTC
# emerge -pqv '=net-libs/xrootd-4.0.0::gentoo'
[ebuild U ] net-libs/xrootd-4.0.0 [3.2.1] USE="readline ssl -doc -fuse -kerberos -perl {-test%}"
On the same machine, when trying to compile without portage, the build of v4.0.3 works fine, while v4.0.0 fails. It probably needs just a version bump 4.0.0->4.0.3 ---------------------------------- cd /tmp wget http://xrootd.org/download/v4.0.3/xrootd-4.0.3.tar.gz tar xzf xrootd-4.0.3.tar.gz mkdir xrootd-4.0.3-install xrootd-4.0.3-build cd xrootd-4.0.3-build cmake /tmp/xrootd-4.0.3/ -DCMAKE_INSTALL_PREFIX=/tmp/xrootd-4.0.3-install/ -DENABLE_PERL=FALSE make ... Linking CXX executable xrootd [ 98%] Built target xrootd Scanning dependencies of target xrootdfs [ 99%] Building CXX object src/CMakeFiles/xrootdfs.dir/XrdFfs/XrdFfsXrootdfs.cc.o Linking CXX executable xrootdfs [ 99%] Built target xrootdfs Scanning dependencies of target xrdcp [ 99%] Building CXX object src/XrdCl/CMakeFiles/xrdcp.dir/XrdClCopy.cc.o Linking CXX executable xrdcp [ 99%] Built target xrdcp Scanning dependencies of target xrdfs [100%] Building CXX object src/XrdCl/CMakeFiles/xrdfs.dir/XrdClFS.cc.o [100%] Building CXX object src/XrdCl/CMakeFiles/xrdfs.dir/XrdClFSExecutor.cc.o Linking CXX executable xrdfs [100%] Built target xrdfs Hi If I move to net-libs/xrootd-4.0.3 with a local overlay, the package compiles just fine on x86. Using the same 'ebuild' and the same 'files'. It really looks like a version bump 4.0.0->4.0.3 would suffice (see comment#2). Can you add 4.0.3 to the tree, please? Hello, I bumped xrootd to 4.0.4 in science overlay. Meanwhile real cause of your prublem is -Werror flag and update alone is not enough in general case, since different CXXFLAGS combinations on different hosts may produce different warnings. That's why it is general Gentoo policy to remove -Werror from *FLAGS. This is done for 4.0.4 Thank you, it works like a charm. |