Bug#689616: blhc: false positive for Qt moc

2012-10-05 Thread Felix Geyer
On 05.10.2012 18:14, jari wrote:
> On 2012-10-04 23:44, Simon Ruderich wrote: | On Thu, Oct 04, 2012 at 
> 04:24:54PM +0200, Felix
> Geyer wrote: | > blhc seems to think these moc-qt4/moc-qt5 calls link/compile 
> an | >
> executable and issues warnings about missing flags. moc is just | > a C++ 
> preprocessor for Qt
> where all the dpkg-buildflags are | > irrelevant. | | To get the latest 
> `blhc` just clone the
> repository with Git: | | git clone 
> http://ruderich.org/simon/blhc/blhc.git | | And run
> `blhc` from the directory (no need to install it). | | ./bin/blhc 
> path/to/build/file
> 
> Felix,
> 
> In case this is easier, please install following *.deb and report if this 
> version from
> Simon's Git fixes the problem.
> 
> wget 
> http://cante.net/~jaalto/tmp/debian/blhc/blhc_0.03+20121004+gite3d197b-1_all.deb
>  dpkg -i
> blhc*.deb
> 
> Jari

Yep, the fix works fine.

Thanks,
Felix


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#689616: blhc: false positive for Qt moc

2012-10-05 Thread jari
On 2012-10-04 23:44, Simon Ruderich wrote:
| On Thu, Oct 04, 2012 at 04:24:54PM +0200, Felix Geyer wrote:
| > blhc seems to think these moc-qt4/moc-qt5 calls link/compile an
| > executable and issues warnings about missing flags. moc is just
| > a C++ preprocessor for Qt where all the dpkg-buildflags are
| > irrelevant.
|
| To get the latest `blhc` just clone the repository with Git:
| 
| git clone http://ruderich.org/simon/blhc/blhc.git
| 
| And run `blhc` from the directory (no need to install it).
| 
| ./bin/blhc path/to/build/file

Felix,

In case this is easier, please install following *.deb and report if
this version from Simon's Git fixes the problem.

  wget 
http://cante.net/~jaalto/tmp/debian/blhc/blhc_0.03+20121004+gite3d197b-1_all.deb
  dpkg -i blhc*.deb

Jari


signature.asc
Description: Digital signature


Bug#689616: blhc: false positive for Qt moc

2012-10-04 Thread Simon Ruderich
On Thu, Oct 04, 2012 at 04:24:54PM +0200, Felix Geyer wrote:
> blhc seems to think these moc-qt4/moc-qt5 calls link/compile an
> executable and issues warnings about missing flags. moc is just
> a C++ preprocessor for Qt where all the dpkg-buildflags are
> irrelevant.

Hello Felix,

Thanks for your report. I've pushed a fix to the git repository
(e3d197b [1]) which should handle moc-qt4/moc-qt5.

I don't have any experience with Qt's build system. Could you
please try the fix and verify that it works fine?

To get the latest `blhc` just clone the repository with Git:

git clone http://ruderich.org/simon/blhc/blhc.git

And run `blhc` from the directory (no need to install it).

./bin/blhc path/to/build/file

Regards,
Simon

[1]: http://ruderich.org/simon/blhc/blhc.git
-- 
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9


pgpMdvtQvOeGi.pgp
Description: PGP signature


Bug#689616: blhc: false positive for Qt moc

2012-10-04 Thread Felix Geyer
Package: blhc
Version: 0.03+20120626+git93afe23-1
Severity: normal

blhc seems to think these moc-qt4/moc-qt5 calls link/compile an executable and 
issues warnings about missing flags.
moc is just a C++ preprocessor for Qt where all the dpkg-buildflags are 
irrelevant.

Some examples:

CXXFLAGS missing (-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security): /tmp/buildd/qt4-x11-4.8.3+dfsg/bin/moc-qt4 
-DQT_OPENGL_SUPPORT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG 
-DQT_DECLARATIVE_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE 
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 
-DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -DQT_SHARED -I../../mkspecs/linux-g++-64 -I. 
-I../../include/QtCore -I../../include/QtNetwork -I../../include/QtGui 
-I../../include/QtOpenGL -I../../include/QtXml -I../../include/QtSql 
-I../../include/QtDeclarative -I../../include -I../../include/QtHelp 
-I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-shared 
demoitemanimation.h -o .moc/release-shared/moc_demoitemanimation.cpp

CXXFLAGS missing (-g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 
-Wformat -Werror=format-security): 
/tmp/buildd/qtbase-opensource-src-5.0.0~beta1/bin/moc-qt5 -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I../../../../mkspecs/linux-g++-64 -I. -I../../../../include 
-I../../../../include/QtWidgets -I../../../../include/QtGui 
-I../../../../include/QtCore -I.moc/release-shared norwegianwoodstyle.h -o 
.moc/release-shared/moc_norwegianwoodstyle.cpp
CPPFLAGS missing (-D_FORTIFY_SOURCE=2): 
/tmp/buildd/qtbase-opensource-src-5.0.0~beta1/bin/moc-qt5 -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I../../../../mkspecs/linux-g++-64 -I. -I../../../../include 
-I../../../../include/QtWidgets -I../../../../include/QtGui 
-I../../../../include/QtCore -I.moc/release-shared norwegianwoodstyle.h -o 
.moc/release-shared/moc_norwegianwoodstyle.cpp
LDFLAGS missing (-fPIE -pie -Wl,-z,relro): 
/tmp/buildd/qtbase-opensource-src-5.0.0~beta1/bin/moc-qt5 -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I../../../../mkspecs/linux-g++-64 -I. -I../../../../include 
-I../../../../include/QtWidgets -I../../../../include/QtGui 
-I../../../../include/QtCore -I.moc/release-shared norwegianwoodstyle.h -o 
.moc/release-shared/moc_norwegianwoodstyle.cpp


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org