Hi all,

@david: I fixed the Ubuntu 12.04 / GCC 4.6 KDE build again and setup continuous 
integration system to make sure it really works, and it does. It print a 
million warning, but compile fine 
http://build.kde.org/job/sflphone-kde_master/7/console

@Kl:
I just made some tests on 12.04, it should work. Make sure you delete all old 
sflphone files, including your old account.
rm ~/.local/share/sflphone/history
rm ~/.config/sflphone/sflphoned.yml

Then you can open it again and create an account. It should works for the vast 
majority of provider. If yours still doesn't work, please fill a bug here 
https://projects.savoirfairelinux.com/issues/

(by the way, the current version is 1.2.3, I think we provide only 1.2.2 on 
12.04, so feel free to compile it yourself if you want the absolute most recent 
version)

Emmanuel

----- Original Message -----
From: "David" <[email protected]>
To: "Emmanuel Lepage" <[email protected]>
Cc: "David Shields" <[email protected]>, [email protected]
Sent: Wednesday, August 28, 2013 7:06:35 PM
Subject: Re: [SFLphone] need help building sflphone-client-kde (unrecognized 
command line option)

Hi Emmanuel,
Thanks for your work on this. I updated the tracker with my results:
https://projects.savoirfairelinux.com/issues/29060

class LIB_EXPORT cccc:bbbbb {
   #pragma GCC diagnostic push
   #pragma GCC diagnostic ignored "-Wzero-as-null-pointer-constant"
   Q_OBJECT
   #pragma GCC diagnostic pop

That code, which is in most header files, gives:

*error: unknown option after ‘#pragma GCC diagnostic’ kind [-Werror=pragmas]
*

I'm guessing that and the other issues shown in what I pasted are easy to
fix. I will test again immediately if you are able to fix them now.

Dave



Regards,
David
FitEyes needs you. Click here to learn how you can help
FitEyes.<http://www.fiteyes.com/community/donate-to-fiteyes>


On Wed, Aug 28, 2013 at 3:42 PM, Emmanuel Lepage <
[email protected]> wrote:

> Hi,
>
> GCC 4.6 support should be restored, I have no Ubuntu 12.04 VM around to
> test, but both "Wmaybe-uninitialized" and "Wunused-local-typedefs" are now
> activated only for GCC 4.7+.
>
> Good luck!
>
> ----- Original Message -----
> From: "David" <[email protected]>
> To: "Tristan Matthews" <[email protected]>
> Cc: "David Shields" <[email protected]>,
> [email protected], "Emmanuel Lepage" <
> [email protected]>
> Sent: Monday, August 26, 2013 12:23:43 PM
> Subject: Re: [SFLphone] need help building sflphone-client-kde
> (unrecognized command line option)
>
> I was able to resolve this. apt-get purge was not enough but aggressively
> deleting all files related to sflphone (using the find command) and then
> reinstalling the stable version got me back to a working state.
>
> I look forward to trying the git version once the KDE client compiles with
> gcc version 4.6. Thanks!
>
>
> Regards,
> David
> FitEyes needs you. Click here to learn how you can help
> FitEyes.<http://www.fiteyes.com/community/donate-to-fiteyes>
>
>
> On Mon, Aug 26, 2013 at 10:23 AM, Tristan Matthews <
> [email protected]> wrote:
>
> > Hi David,
> >
> > ----- Original Message -----
> > > From: "David" <[email protected]>
> > > To: "Emmanuel Lepage" <[email protected]>
> > > Cc: [email protected]
> > > Sent: Sunday, August 25, 2013 11:21:53 AM
> > > Subject: Re: [SFLphone] need help building sflphone-client-kde
> > (unrecognized command line option)
> > >
> > >
> > >
> > >
> > > Thank you. That sounds like a good plan.
> > >
> > > FYI, the stable version now longer runs for me. It gives a
> > > segmentation fault on startup. This started after I tried to compile
> > > the git version. I purged everything and tried to start clean and
> > > install the stable version, but nothing I tried resolved the
> > > problem.
> >
> > Can you make sure you've deleted all SFLphone related files, namely:
> > .config/sflphone/sflphoned.yml
> > /usr/local/lib/sflphone/codecs/ (or whatever your install prefix was)
> > .local/share/sflphone/history
> >
> > If you're still having issues, can you open a ticket and include a
> > backtrace of your
> > segmentation fault?
> > See here for a howto:
> > https://wiki.gnome.org/GettingTraces/Details
> >
> > Best,
> > Tristan
> >
> > > On Aug 24, 2013 7:36 PM, "Emmanuel Lepage" <
> > > [email protected] > wrote:
> > >
> > >
> > > Hi again,
> > >
> > > I will push an update later this week that will disable those
> > > compilation options for non-developpers, it should fix those cases.
> > > I will support GCC 4.6 until Ubuntu 14.04 LTS is out. As for now,
> > > the stable version (
> > >
> >
> https://projects.savoirfairelinux.com/attachments/download/6423/sflphone-1.2.3.tar.gz
> > > ) doesn't seem to be affected by the issue. You can use it for now
> > > until I fix the git version.
> > >
> > > ----- Original Message -----
> > > From: "David" < [email protected] >
> > > To: "Eugene" < [email protected] >
> > > Cc: [email protected] , "Emmanuel Lepage" <
> > > [email protected] >
> > > Sent: Saturday, August 24, 2013 5:36:19 PM
> > > Subject: Re: [SFLphone] need help building sflphone-client-kde
> > > (unrecognized command line option)
> > >
> > > FYI, I have the latest gcc available from the ubuntu repositories for
> > > the
> > > long term support release. I prefer to stick with gcc from the repos.
> > >
> > > Can you suggest more details for the search/replace? I'm not a
> > > developer.
> > >
> > > Thanks!
> > > On Aug 24, 2013 5:23 PM, "Eugene" < [email protected] > wrote:
> > >
> > > > David,
> > > >
> > > > gcc -4.6 uses -Wuninitialized, gcc 4.7+ uses -Wmaybe-unitialized
> > > >
> > > > I suppose similar change occurred with other -Ws
> > > >
> > > > Your options are 1. upgrade gcc; 2. global search and replace to
> > > > match gcc
> > > > 4.6 syntax.
> > > >
> > > > Emmanuel,
> > > >
> > > > Since RHEL 6 uses gcc 4.4.6 and would greatly benefit from sflphone
> > > > I
> > > > would consider making sflphone compile on RHEL 6 and derivatives.
> > > >
> > > > Eugene.
> > > >
> > > > 24.08.2013, 15:12, "David" < [email protected] >:
> > > >
> > > > Hi Emmanuel. Thanks for your reply. This is strange because I have
> > > > gcc 4.6
> > > > as shown below. Given that my compiler is not too old, I will
> > > > refrain from
> > > > editing CMakeLists.txt until I hear back.
> > > >
> > > > workspaces/sflphone-client-kde/build$ cmake ../
> > > > -- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
> > > > -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> > > > -- Found KDE 4.8 include dir: /usr/include
> > > > -- Found KDE 4.8 library dir: /usr/lib
> > > > -- Found the KDE4 kconfig_compiler preprocessor:
> > > > /usr/bin/kconfig_compiler
> > > > -- Found automoc4: /usr/bin/automoc4
> > > > -- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
> > > > -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> > > > -- Found GCC version >= 4.6: 4.6
> > > >
> > > > cmake install prefix is : /usr/local
> > > > -- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
> > > > -- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
> > > > CMAKE_BUILD_TYPE = RelWithDebInfo
> > > > -- Configuring done
> > > > -- Generating done
> > > > -- Build files have been written to:
> > > > workspaces/sflphone-client-kde/build
> > > > workspaces/sflphone-client-kde/build$ make
> > > > [ 0%] Built target ksflphone_automoc
> > > > [ 1%] Building CXX object
> > > > src/lib/CMakeFiles/qtsflphone.dir/call.cpp.o
> > > > cc1plus: error: unrecognized command line option
> > > > ‘-Wmaybe-uninitialized’
> > > > cc1plus: error: unrecognized command line option
> > > > ‘-Wunused-local-typedefs’
> > > > make2 < https://projects.savoirfairelinux.com/issues/29060#fn2 >:
> > > > **
> > > > [src/lib/CMakeFiles/qtsflphone.dir/call.cpp.o] Error 1
> > > > make1 < https://projects.savoirfairelinux.com/issues/29060#fn1 >:
> > > > **[src/lib/CMakeFiles/qtsflphone.dir/all] Error 2
> > > > make: *** [all] Error 2
> > > > I created a bug report here:
> > > >
> > > > https://projects.savoirfairelinux.com/issues/29060
> > > >
> > > > Regards,
> > > > Dave
> > > >
> > > >
> > > > Regards,
> > > > David
> > > > FitEyes needs you. Click here to learn how you can help FitEyes.<
> > > > http://www.fiteyes.com/community/donate-to-fiteyes >
> > > >
> > > >
> > > > On Sat, Aug 24, 2013 at 4:05 PM, Emmanuel Lepage <
> > > > [email protected] > wrote:
> > > >
> > > > Hi Dave,
> > > >
> > > > You are at the right place. What is your GCC version? Also, can you
> > > > try
> > > > editing the "CMakeLists.txt" in the 'src' directory and remove the
> > > > lines
> > > > with "-Wmaybe-uninitialized" and "-Wunused-local-typedefs"? Maybe
> > > > your
> > > > compiler is too old and the GCC version script fail to detect that.
> > > > Also,
> > > > what is your distribution? This is strange because
> > > > "Wmaybe-uninitialized"
> > > > is quite old and sflphone-client-kde require GCC 4.6+.
> > > >
> > > > Thanks for reporting!
> > > >
> > > > ----- Original Message -----
> > > > From: "Dave (FitEyes)" < [email protected] >
> > > > To: [email protected]
> > > > Sent: Friday, August 23, 2013 8:12:56 PM
> > > > Subject: [SFLphone] need help building sflphone-client-kde
> > > > (unrecognized
> > > > command line option)
> > > >
> > > > First, am I asking this question in the best place? Would it be
> > > > better to
> > > > create an issue at http://projects.savoirfairelinux.com/ ?
> > > >
> > > > I followed the "how to build SFLphone" instructions here:
> > > >
> > > >
> >
> https://projects.savoirfairelinux.com/projects/sflphone/wiki/How_to_build#Build-instructions
> > > >
> > > > Everything went fine until this command under "Compiling the KDE
> > > > client":
> > > >
> > > > `make -j2`
> > > >
> > > > The output is shown below.
> > > >
> > > > Scanning dependencies of target ksflphone_automoc
> > > > Scanning dependencies of target sflphone-client-kde_automoc
> > > > Generating moc_tip.cpp
> > > > Generating sflphoneview.moc
> > > > Generating sflphoneapplication.moc
> > > > Generating moc_macromodel.cpp
> > > > Generating moc_categorizedtreeview.cpp
> > > > Generating moc_tipanimationwrapper.cpp
> > > > Generating moc_bookmarkmodel.cpp
> > > > Generating moc_bookmarkdock.cpp
> > > > Generating moc_macro.cpp
> > > > Generating moc_sflphoneaccessibility.cpp
> > > > Generating moc_akonadibackend.cpp
> > > > Generating moc_sflphonecmd.cpp
> > > > Generating moc_dialpadtip.cpp
> > > > Generating moc_tipmanager.cpp
> > > > Generating moc_dlgdisplay.cpp
> > > > [ 0%] Built target ksflphone_automoc
> > > > [ 0%] Generating moc_contactproxymodel.cxx
> > > > Generating moc_translucentbuttons.cpp
> > > > [ 1%] Generating configurationmanager_dbus_interface.cpp,
> > > > configurationmanager_dbus_interface.h
> > > > Generating moc_connectionlosttip.cpp
> > > > [ 2%] Generating callmanager_dbus_interface.cpp,
> > > > callmanager_dbus_interface.h
> > > > [ 2%] Generating video_dbus_interface.cpp, video_dbus_interface.h
> > > > Generating moc_dlgaddressbook.cpp
> > > > [ 3%] Generating instance_dbus_interface.cpp,
> > > > instance_dbus_interface.h
> > > > [ 3%] Generating moc_account.cxx
> > > > [ 4%] Generating moc_accountlistmodel.cxx
> > > > Generating moc_removeconferencetip.cpp
> > > > [ 5%] Generating moc_call.cxx
> > > > Generating moc_conftip.cpp
> > > > [ 5%] Generating moc_callmodel.cxx
> > > > Generating moc_videodock.cpp
> > > > [ 6%] Generating moc_historymodel.cxx
> > > > Generating moc_imdelegate.cpp
> > > > [ 7%] Generating moc_contact.cxx
> > > > [ 7%] Generating moc_abstractcontactbackend.cxx
> > > > Generating moc_callviewoverlaytoolbar.cpp
> > > > [ 8%] Generating moc_videocodecmodel.cxx
> > > > Generating moc_dialpaddelegate.cpp
> > > > [ 9%] Generating moc_videomodel.cxx
> > > > Generating moc_historydelegate.cpp
> > > > [ 10%] Generating moc_videorenderer.cxx
> > > > Generating moc_accountwizard.cpp
> > > > [ 10%] Generating moc_credentialmodel.cxx
> > > > Generating moc_dlgvideo.cpp
> > > > [ 11%] Generating moc_audiocodecmodel.cxx
> > > > Generating moc_immanager.cpp
> > > > [ 12%] Generating moc_instantmessagingmodel.cxx
> > > > [ 13%] Generating moc_sflphone.cpp
> > > > Generating configurationmanager_dbus_interface.moc
> > > > Generating moc_configurationdialog.cpp
> > > > Generating moc_historydock.cpp
> > > > [ 13%] Generating callmanager_dbus_interface.moc
> > > > Generating moc_videowidget.cpp
> > > > [ 14%] Generating video_dbus_interface.moc
> > > > Generating moc_playeroverlay.cpp
> > > > Generating moc_extendedaction.cpp
> > > > [ 15%] Generating instance_dbus_interface.moc
> > > > Generating moc_dialpad.cpp
> > > > Generating moc_callviewoverlay.cpp
> > > > Scanning dependencies of target qtsflphone
> > > > Generating moc_delegatedropoverlay.cpp
> > > > Generating moc_dlghooks.cpp
> > > > Generating moc_player.cpp
> > > > Generating moc_sflphonetray.cpp
> > > > Generating moc_contactdock.cpp
> > > > [ 16%] Building CXX object
> > > > src/lib/CMakeFiles/qtsflphone.dir/call.cpp.o
> > > > cc1plus: error: unrecognized command line option
> > > > ‘-Wmaybe-uninitialized’
> > > > cc1plus: error: unrecognized command line option
> > > > ‘-Wunused-local-typedefs’
> > > > make[2]: *** [src/lib/CMakeFiles/qtsflphone.dir/call.cpp.o] Error 1
> > > > make[1]: *** [src/lib/CMakeFiles/qtsflphone.dir/all] Error 2
> > > > make[1]: *** Waiting for unfinished jobs....
> > > > Generating moc_actionsetaccountfirst.cpp
> > > > Generating moc_dlgaudio.cpp
> > > > Generating moc_conferencedelegate.cpp
> > > > Generating moc_filterlineedit.cpp
> > > > Generating moc_dlgaccessibility.cpp
> > > > Generating moc_dlgaccounts.cpp
> > > > Generating moc_dlggeneral.cpp
> > > > Generating moc_ringingtip.cpp
> > > > [ 16%] Built target sflphone-client-kde_automoc
> > > > make: *** [all] Error 2
> > > > _______________________________________________
> > > > SFLphone mailing list
> > > > [email protected]
> > > > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
> > > >
> > > > ,
> > > >
> > > > _______________________________________________
> > > > SFLphone mailing list
> > > > [email protected]
> > > > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
> > > >
> > > >
> > >
> > > _______________________________________________
> > > SFLphone mailing list
> > > [email protected]
> > > http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
> > >
> >
> > --
> >
> > Tristan Matthews
> > Développeur de logiciels libres
> > [email protected]
> > Ligne directe: 514-276-5468 poste 190
> >
> > Fax : 514-276-5465
> > 7275 Saint Urbain
> > Bureau 200
> > Montréal, QC, H2R 2Y5
> >
> >
>
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to