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

List:       kde-release-team
Subject:    Re: 4.9.0 tarballs available (for packagers)
From:       Michael Jansen <kde () michael-jansen ! biz>
Date:       2012-07-30 18:34:41
Message-ID: 9958611.qUxiLbSKyg () gambit
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Monday, July 30, 2012 08:14:39 PM Rolf Eike Beer wrote:
> Am Montag 30 Juli 2012, 19:55:08 schrieb Albert Astals Cid:
> > El Diumenge, 29 de juliol de 2012, a les 10:57:01, Arkadiusz Miśkiewicz va
> > 
> > escriure:
> > > On Saturday 28 of July 2012, Arkadiusz Miśkiewicz wrote:
> > > > On Thursday 26 of July 2012, Albert Astals Cid wrote:
> > > > > The tarballs can be found in their usual embargo location (available
> > > > > only
> > > > > to packagers)
> > > > > 
> > > > > I'm attaching the sha1sum of the tarballs and the branches,
> > > > > hashes/revisions from which they have been created.
> > > > 
> > > > runtime tarball fails to build for me:
> > > Seems locale.h isn't best name to choose for local header since there is
> > > a
> > > system header with the same name that is commonly used. Renaming this
> > > file
> > > etc and problem is gone.
> > 
> > I agree the name is not the most optimal, but the code is correct
> > #include "locale.h"
> > has to include the locale.h of the local directory before looking for a
> > system wide one so i'm with Bartosz in blaming gcc or some other part of
> > the toolchain (moreover this file has been there since March 26 and noone
> > else seems to have complained until now).
> 
> I totally agree with you as this would be the only sane approach. But
> reality sucks.
> 
> http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf
> 
> See chapter 16.2, paragraph 2 and 3. And at least the MSVC compiler has ever
> ignored the ""-should-search-local-first.
> 
> Eike

You guys have it backwards i would say.

The problem seems to be that in line 44 of /usr/include/c++/<version>/clocale 
(#include <locale.h>) finds our file instead of the one from /usr/include/ 
(which includes one from /usr/include/bits with the same name).

In file included from /usr/include/c++/4.7.1/x86_64-pld-
linux/bits/c++locale.h:42:0,
                 from /usr/include/c++/4.7.1/bits/localefwd.h:42,
                 from /usr/include/c++/4.7.1/ios:42,
                 from /usr/include/c++/4.7.1/ostream:40,
                 from /usr/include/c++/4.7.1/iterator:64,
                 from /usr/include/qt4/QtCore/qiterator.h:46,
                 from /usr/include/qt4/QtCore/qlist.h:45,
                 from /usr/include/qt4/QtCore/qobject.h:50,
                 from /usr/include/qt4/QtCore/QObject:1,
                 from /home/users/arekm/rpm/BUILD/kde-
runtime-4.9.0/build/plasma/declarativeimports/locale/../../../../plasma/declarativeimports/locale/locale.h:24,
  from /home/users/arekm/rpm/BUILD/kde-
runtime-4.9.0/build/plasma/declarativeimports/locale/../../../../plasma/declarativeimports/locale/calendarsystem.h:25,
  from /home/users/arekm/rpm/BUILD/kde-
runtime-4.9.0/build/plasma/declarativeimports/locale/moc_calendarsystem.cpp:10,
                 from /home/users/arekm/rpm/BUILD/kde-
runtime-4.9.0/build/plasma/declarativeimports/locale/localebindingsplugin_automoc.cpp:4:
                
/usr/include/c++/4.7.1/clocale:55:11: error: ‘::lconv' has not been declared
/usr/include/c++/4.7.1/clocale:56:11: error: ‘::setlocale' has not been 
declared
/usr/include/c++/4.7.1/clocale:57:11: error: ‘::localeconv' has not been 
declared

That is the only explanation i think for this error. So that local-first stuff 
is not the reason.

-- 
Michael Jansen
http://michael-jansen.biz


[Attachment #5 (unknown)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" \
"http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" \
content="1" /><style type="text/css"> p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Monospace'; font-size:10pt; \
font-weight:400; font-style:normal;"> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">On Monday, July 30, 2012 08:14:39 PM Rolf Eike Beer wrote:</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; Am Montag 30 Juli 2012, \
19:55:08 schrieb Albert Astals Cid:</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; El Diumenge, 29 de juliol de 2012, a les 10:57:01, \
Arkadiusz Miśkiewicz va</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; </p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; escriure:</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; &gt; On Saturday 28 of July 2012, \
Arkadiusz Miśkiewicz wrote:</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; &gt; &gt; On Thursday 26 of July 2012, Albert Astals Cid \
wrote:</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
&gt; &gt; &gt; The tarballs can be found in their usual embargo location \
(available</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
&gt; &gt; &gt; only</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; &gt; &gt; &gt; to packagers)</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; &gt; &gt; &gt; </p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; &gt; &gt; &gt; I'm \
attaching the sha1sum of the tarballs and the branches,</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; &gt; &gt; &gt; \
hashes/revisions from which they have been created.</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; &gt; &gt; </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; &gt; &gt; runtime \
tarball fails to build for me:</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; &gt; Seems locale.h isn't best name to choose for local \
header since there is</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; &gt; a</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; &gt; system header with the same name that is commonly \
used. Renaming this</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; &gt; file</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; &gt; etc and problem is gone.</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; I agree the name is \
not the most optimal, but the code is correct</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; #include &quot;locale.h&quot;</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; has to include the \
locale.h of the local directory before looking for a</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; &gt; system wide one so i'm with Bartosz in \
blaming gcc or some other part of</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; &gt; the toolchain (moreover this file has been there since \
March 26 and noone</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; &gt; \
else seems to have complained until now).</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; </p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; I totally agree with you as this would be \
the only sane approach. But</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">&gt; reality sucks.</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; </p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; \
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; </p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; See chapter 16.2, \
paragraph 2 and 3. And at least the MSVC compiler has ever</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">&gt; ignored the \
&quot;&quot;-should-search-local-first.</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; </p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">&gt; Eike</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">You guys have it backwards i would say.</p> <p \
style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">The problem seems to be that \
in line 44 of /usr/include/c++/&lt;version&gt;/clocale (#include &lt;locale.h&gt;) \
finds our file instead of the one from /usr/include/ (which includes one from \
/usr/include/bits with the same name).</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">In file included from \
/usr/include/c++/4.7.1/x86_64-pld-linux/bits/c++locale.h:42:0,</p> <p style=" \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from \
/usr/include/c++/4.7.1/bits/localefwd.h:42,</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">                 from \
/usr/include/c++/4.7.1/ios:42,</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">                 from /usr/include/c++/4.7.1/ostream:40,</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from \
/usr/include/c++/4.7.1/iterator:64,</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">                 from /usr/include/qt4/QtCore/qiterator.h:46,</p> \
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from \
/usr/include/qt4/QtCore/qlist.h:45,</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">                 from /usr/include/qt4/QtCore/qobject.h:50,</p> <p \
style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from \
/usr/include/qt4/QtCore/QObject:1,</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">                 from \
/home/users/arekm/rpm/BUILD/kde-runtime-4.9.0/build/plasma/declarativeimports/locale/../../../../plasma/declarativeimports/locale/locale.h:24,</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from \
/home/users/arekm/rpm/BUILD/kde-runtime-4.9.0/build/plasma/declarativeimports/locale/../../../../plasma/declarativeimports/locale/calendarsystem.h:25,</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from \
/home/users/arekm/rpm/BUILD/kde-runtime-4.9.0/build/plasma/declarativeimports/locale/moc_calendarsystem.cpp:10,</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; -qt-user-state:0;">                 from \
/home/users/arekm/rpm/BUILD/kde-runtime-4.9.0/build/plasma/declarativeimports/locale/localebindingsplugin_automoc.cpp:4:</p>
 <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">/usr/include/c++/4.7.1/clocale:55:11: error: ‘::lconv' has not \
been declared</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">/usr/include/c++/4.7.1/clocale:56:11: error: ‘::setlocale' has \
not been declared</p> <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; \
margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">/usr/include/c++/4.7.1/clocale:57:11: error: ‘::localeconv' has \
not been declared</p> <p style="-qt-paragraph-type:empty; margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; margin-bottom:0px; \
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; \
-qt-user-state:0;">That is the only explanation i think for this error. So that \
local-first stuff is not the reason.</p> <p style="-qt-paragraph-type:empty; \
margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; \
-qt-block-indent:0; text-indent:0px; ">&nbsp;</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">-- </p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">Michael Jansen</p> <p style=" margin-top:0px; \
margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; \
text-indent:0px; -qt-user-state:0;">http://michael-jansen.biz</p></body></html>



_______________________________________________
release-team mailing list
release-team@kde.org
https://mail.kde.org/mailman/listinfo/release-team


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

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