From owner-freebsd-ports@FreeBSD.ORG Fri Jul 6 11:29:01 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A629106566B; Fri, 6 Jul 2012 11:29:01 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C62418FC14; Fri, 6 Jul 2012 11:29:00 +0000 (UTC) Received: by bkcje9 with SMTP id je9so3867132bkc.13 for ; Fri, 06 Jul 2012 04:28:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=LpZd4HP9fgN75kgM0PzmzkYpr078KpNRKDHgvMvwr/o=; b=VsW2xNZapjV2nPLh2h3iK0FMpsKK9e1UnHtaz+AQ1wF73jHbcaOt8UeSZcGcN+qeU8 90/PPaesC+yR+dTb6yHH6BowugLKRPMhCW5YD/yBBcRxsP1PPoCrLXv7DroOkcKb44rZ /Gk2PZsQMrtw+EqE6GbyHm/blQfPHjTdtgI4Hu8+eramuJocwt1ourBazUgXtbhQr7ZC QmPU39tcWLQa8WVVb1JuiLbkwam9Sk5UjobmSzMqtFqfdQ/FfSE+3EmqZkZFXjCmFSxo Ww4qC33m+CmqLkxG0wGhV4FBw7XFxU75kaeXzRzSv5c+oCCWVFsFK6xCyIdpFIxEi/1V EXOQ== Received: by 10.204.149.208 with SMTP id u16mr15764112bkv.81.1341574139560; Fri, 06 Jul 2012 04:28:59 -0700 (PDT) Received: from green.tandem.local (utwig.xim.bz. [91.216.237.46]) by mx.google.com with ESMTPS id 25sm1858017bkx.9.2012.07.06.04.28.57 (version=SSLv3 cipher=OTHER); Fri, 06 Jul 2012 04:28:58 -0700 (PDT) Message-ID: <4FF6CBF7.4050404@gmail.com> Date: Fri, 06 Jul 2012 14:28:55 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120605 Firefox/12.0 SeaMonkey/2.9.1 MIME-Version: 1.0 To: Eygene Ryabinkin References: <201207042153.q64Lrajj048759@repoman.freebsd.org> <4FF4BDFC.7070604@FreeBSD.org> <85zFQmwqygMzE5IoVEZOBb55NHc@h+Kmx6xuhLPDxlAxgYCP+NijPgY> <1zI460hjrET9PSReQu5SJRxzitA@WMG3Qoh1JFPg73SbAQRXpuChs7E> In-Reply-To: <1zI460hjrET9PSReQu5SJRxzitA@WMG3Qoh1JFPg73SbAQRXpuChs7E> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, Henry Hu Subject: Re: cvs commit: ports/x11/slim Makefile pkg-plist ports/x11/slim/files pam.conf slim.sh.in X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Jul 2012 11:29:01 -0000 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<<' 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<<' 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<<' 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<<' 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.