Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Jul 2012 14:28:55 +0300
From:      Volodymyr Kostyrko <c.kworr@gmail.com>
To:        Eygene Ryabinkin <rea@freebsd.org>
Cc:        ports@FreeBSD.org, Henry Hu <henry.hu.sh@gmail.com>
Subject:   Re: cvs commit: ports/x11/slim Makefile pkg-plist ports/x11/slim/files pam.conf slim.sh.in
Message-ID:  <4FF6CBF7.4050404@gmail.com>
In-Reply-To: <1zI460hjrET9PSReQu5SJRxzitA@WMG3Qoh1JFPg73SbAQRXpuChs7E>
References:  <201207042153.q64Lrajj048759@repoman.freebsd.org> <4FF4BDFC.7070604@FreeBSD.org> <85zFQmwqygMzE5IoVEZOBb55NHc@h%2BKmx6xuhLPDxlAxgYCP%2BNijPgY> <1zI460hjrET9PSReQu5SJRxzitA@WMG3Qoh1JFPg73SbAQRXpuChs7E>

next in thread | previous in thread | raw e-mail | index | archive | help
Eygene Ryabinkin wrote:
> Thu, Jul 05, 2012 at 05:09:30PM +0400, Eygene Ryabinkin wrote:
>> I am running 1.3.4 for some time: most of my workstations are fine
>> with it, but one fails to start the desktop, though it has a mix
>> of old and new packages, so I am rebuilding them just now.
>
> Was a problem with D-BUS an newer Xorg, unrelated to SLiM.  Any
> others who had experience with my patch?

Compilation with clang fails:

In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23:
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: 
error: call to function 'operator<<' that is neither visible in the 
template definition nor found by
       argument-dependent lookup
         logFile << text; logFile.flush();
                 ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:233:38: 
note: in instantiation of function template specialization 
'LogUnit::operator<<<PAM::Exception>' requested
       here
         logStream << APPNAME << ": " << e << endl;
                                      ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/PAM.h:98:15: 
note: 'operator<<' should be declared prior to the call site or in 
namespace 'PAM'
std::ostream& operator<<( std::ostream& os, const PAM::Exception& e);
               ^
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23:
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: 
error: call to function 'operator<<' that is neither visible in the 
template definition nor found by
       argument-dependent lookup
         logFile << text; logFile.flush();
                 ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:431:38: 
note: in instantiation of function template specialization 
'LogUnit::operator<<<PAM::Auth_Exception>'
       requested here
         logStream << APPNAME << ": " << e << endl;
                                      ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/PAM.h:98:15: 
note: 'operator<<' should be declared prior to the call site or in 
namespace 'PAM'
std::ostream& operator<<( std::ostream& os, const PAM::Exception& e);
               ^
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23:
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: 
error: call to function 'operator<<' that is neither visible in the 
template definition nor found by
       argument-dependent lookup
         logFile << text; logFile.flush();
                 ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:524:38: 
note: in instantiation of function template specialization 
'LogUnit::operator<<<PAM::Cred_Exception>'
       requested here
         logStream << APPNAME << ": " << e << endl;
                                      ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/PAM.h:98:15: 
note: 'operator<<' should be declared prior to the call site or in 
namespace 'PAM'
std::ostream& operator<<( std::ostream& os, const PAM::Exception& e);
               ^
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:26:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.h:23:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/panel.h:30:
In file included from 
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/switchuser.h:23:
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/log.h:19:17: 
error: call to function 'operator<<' that is neither visible in the 
template definition nor found by
       argument-dependent lookup
         logFile << text; logFile.flush();
                 ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/app.cpp:577:38: 
note: in instantiation of function template specialization 
'LogUnit::operator<<<Ck::Exception>' requested
       here
         logStream << APPNAME << ": " << e << endl;
                                      ^
/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/Ck.h:44:15: 
note: 'operator<<' should be declared prior to the call site or in 
namespace 'Ck'
std::ostream& operator<<( std::ostream& os, const Ck::Exception& e);
               ^
1 warning and 4 errors generated.

Those are easily fixed. One more:

/tmp/ports/.amd_mnt/faz/host/usr/ports/x11/slim/work/slim-1.3.4/image.cpp:784:23: 
error: member access into incomplete type 'png_struct' (aka 
'png_struct_def')
     if (setjmp(png_ptr->jmpbuf)) {
                       ^
/usr/local/include/png.h:872:16: note: forward declaration of 
'png_struct_def'
typedef struct png_struct_def png_struct;
                ^
1 error generated.

Dunno what to do with this one.

-- 
Sphinx of black quartz judge my vow.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FF6CBF7.4050404>