NetBSD Problem Report #33774

From www@NetBSD.org  Tue Jun 20 10:08:20 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
	id F3C2C63B8CA; Tue, 20 Jun 2006 10:08:20 +0000 (UTC)
Message-Id: <20060620100820.F3C2C63B8CA@narn.NetBSD.org>
Date: Tue, 20 Jun 2006 10:08:20 +0000 (UTC)
From: tannert@mis.mpg.de
Reply-To: tannert@mis.mpg.de
To: gnats-bugs@NetBSD.org
Subject: error in pkgsrc/x11/kdebase3
X-Send-Pr-Version: www-1.0

>Number:         33774
>Category:       pkg
>Synopsis:       error in pkgsrc/x11/kdebase3
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 20 10:10:00 +0000 2006
>Closed-Date:    Thu Feb 07 15:31:35 +0000 2013
>Last-Modified:  Thu Feb 07 15:31:35 +0000 2013
>Originator:     Andreas Tannert
>Release:        
>Organization:
MPI MIS
>Environment:
SunOS 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-V240
>Description:
gmake[3]: Entering directory `/opt/pkgsrc/130606devel/pkgsrc/x11/kdebase3/work/kdebase-3.5.3/kioslave/fish'
SUM=`/usr/local/bin/md5sum ./fish.pl | cut -d ' ' -f 1`; \
        echo '#define CHECKSUM "'$SUM'"' > fishcode.h; \
        echo 'static const char *fishCode(' >> fishcode.h; \
        sed -e 's/\\/\\\\/g;s/"/\\"/g;s/^[      ]*/"/;/^"# /d;s/[       ]*$/\\n"/;/^"\\n"$/d;s/{CHECKSUM}/'$SUM'/;' ./fish.pl >> fishcode.h; \
        echo ');' >> fishcode.h;
sed: 1: "s/\\/\\\\/g;s/"/\\"/g;s ...": bad flag in substitute command: 'f'
if /bin/ksh ../../libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/pkgsrc/130606devel/include -I/opt/pkgsrc/130606devel/qt3/include -I/usr/openwin/include  -I/opt/pkgsrc/130606devel/include -I/usr/openwin/include -I/opt/pkgsrc/130606devel/include/freetype2  -mt -DQT_THREAD_SUPPORT -DPNG_NO_ASSEMBLER_CODE -I/opt/pkgsrc/130606devel/include -DLDAP_DEPRECATED -I/usr/include -I/opt/pkgsrc/130606devel/qt3/include -DGLX_GLXEXT_LEGACY -I/opt/pkgsrc/130606devel/include/freetype2 -I/opt/pkgsrc/130606devel/include/krb5 -I/opt/pkgsrc/130606devel/include/db4 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O -I/opt/pkgsrc/130606devel/include -DLDAP_DEPRECATED -I/usr/include -I/opt/pkgsrc/130606devel/qt3/include -DGLX_GLXEXT_LEGACY -I/opt/pkgsrc/130606devel/include/freetype2 -I/opt/pkgsrc/130606devel/include/krb5 -I/opt/pkgsrc/130606devel/include/db4 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE  -MT fish.lo -MD -MP -MF ".deps/fish.Tpo" -c -o fish.lo fish.cpp; \
        then mv -f ".deps/fish.Tpo" ".deps/fish.Plo"; else rm -f ".deps/fish.Tpo"; exit 1; fi
fish.cpp: In constructor `fishProtocol::fishProtocol(const QCString&, const 
   QCString&)':
fish.cpp:290: error: cannot convert `const char*(*)()' to `const char*' for 
   argument `1' to `size_t strlen(const char*)'
fish.cpp: In member function `void fishProtocol::manageConnection(const 
   QString&)':
fish.cpp:1024: error: no matching function for call to `fishProtocol::
   writeChild(const char*(&)(), int&)'
fish.cpp:530: error: candidates are: void fishProtocol::writeChild(const char*, 
   int)
/opt/pkgsrc/130606devel/qt3/include/qmap.h: At top level:
fishcode.h:3: warning: `const char* fishCode()' declared `static' but never 
   defined
gmake[3]: *** [fish.lo] Error 1
>How-To-Repeat:
bmake
>Fix:
No solution.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->markd
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Wed, 21 Jun 2006 22:57:21 +0000
Responsible-Changed-Why:
Over to maintainer.


From: Andreas Tannert <tannert@mis.mpg.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/33774 (error in pkgsrc/x11/kdebase3)
Date: Thu, 22 Jun 2006 12:28:24 +0200 (MEST)

 Hello,

 I could solve this error. In 
 pkgsrc/x11/kdebase/work/kdebase-3.5.3/kioslave/fish/Makefile are some hardcoded 
 sed commands. This should be nbsed or better using the sed from mk.conf file.
 Then there are still problems with the last part of the sed command  nbsed -e 
 's/\\/\\\\/g;s/"/\\"/g;s/^[     ]*/"/;/^"# /d;s/[       
 ]*$$/\\n"/;/^"\\n"$$/d;s/{CHECKSUM}/'$$SUM'/;' $(srcdir)/fish.pl >> $@; \

 The {CHECKSUM}/'$$SUM'/; pard I deleted and did it by hand it is only one time. 
 Then I got a correct fishcode.h .

 Best regards,
 Andreas Tannert

 ---------------------------------
          Andreas Tannert

 Max-Planck-Institute for
 Mathematics in the Sciences (MIS)
 Inselstr. 22-26
 D-04103 Leipzig, Germany
 ---------------------------------
 phone: (+) 49-341-9959 693
 email:  tannert@mis.mpg.de
 ---------------------------------

Responsible-Changed-From-To: markd->solaris-pkg-people
Responsible-Changed-By: markd@NetBSD.org
Responsible-Changed-When: Sun, 12 Oct 2008 10:42:00 +0000
Responsible-Changed-Why:
Solaris issue.


State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 15:31:35 +0000
State-Changed-Why:
This does not appear to still be an issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.