NetBSD Problem Report #46665

From www@NetBSD.org  Fri Jul  6 15:08:00 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4504863B882
	for <gnats-bugs@gnats.NetBSD.org>; Fri,  6 Jul 2012 15:08:00 +0000 (UTC)
Message-Id: <20120706150759.92A4463B85F@www.NetBSD.org>
Date: Fri,  6 Jul 2012 15:07:59 +0000 (UTC)
From: mayuresh@acm.org
Reply-To: mayuresh@acm.org
To: gnats-bugs@NetBSD.org
Subject: net/kiax package creation problem
X-Send-Pr-Version: www-1.0

>Number:         46665
>Category:       pkg
>Synopsis:       net/kiax package creation problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    reinoud
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 06 15:10:00 +0000 2012
>Last-Modified:  Tue Jul 10 18:50:02 +0000 2012
>Originator:     Mayuresh
>Release:        6.0_BETA2
>Organization:
>Environment:
NetBSD laptop 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386

>Description:
net/kiax causes error on "make package"

Not everyone seems to get this error, though some other than me hav e noticed this on this thread:

http://mail-index4.netbsd.org/pkgsrc-users/2012/07/06/msg016656.html

Following is one sample command where the path in .destdir appears wrong:

cp -f "../icons/account-connected.png" "/usr/pkgsrc/net/kiax/work/.destdir../../../../../../pkg/share/kiax/icons/"


Above path is coded so in qmake generated Makefile in work/kiax-0.8.51-src/src, which looks like this:

686 install_icons: all
687     @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)../../../../../../pkg/share/kiax/icons/" || $(MKDIR) "$(IN    STALL_ROOT)../../../../../../pkg/share/kiax/icons/"

qmake version etc. mentioned at the top of this Makefile is:

Generated by qmake (1.07a) (Qt 3.3.8) on: Thu Jul  5 23:35:38 2012

>How-To-Repeat:
make package in net/kiax
A few users could reproduce, though others couldn't
>Fix:
Not known

>Release-Note:

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/46665: net/kiax package creation problem
Date: Fri, 6 Jul 2012 23:04:40 +0200

 On Fri, Jul 06, 2012 at 03:10:00PM +0000, mayuresh@acm.org wrote:
 > >Number:         46665
 > >Category:       pkg
 > >Synopsis:       net/kiax package creation problem
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Fri Jul 06 15:10:00 +0000 2012
 > >Originator:     Mayuresh
 > >Release:        6.0_BETA2
 > >Organization:
 > >Environment:
 > NetBSD laptop 6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386
 > 
 > >Description:
 > net/kiax causes error on "make package"
 > 
 > Not everyone seems to get this error, though some other than me hav e noticed this on this thread:
 > 
 > http://mail-index4.netbsd.org/pkgsrc-users/2012/07/06/msg016656.html
 > 
 > Following is one sample command where the path in .destdir appears wrong:
 > 
 > cp -f "../icons/account-connected.png" "/usr/pkgsrc/net/kiax/work/.destdir../../../../../../pkg/share/kiax/icons/"
 > 
 > 
 > Above path is coded so in qmake generated Makefile in work/kiax-0.8.51-src/src, which looks like this:
 > 
 > 686 install_icons: all
 > 687     @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)../../../../../../pkg/share/kiax/icons/" || $(MKDIR) "$(IN    STALL_ROOT)../../../../../../pkg/share/kiax/icons/"
 > 
 > qmake version etc. mentioned at the top of this Makefile is:
 > 
 > Generated by qmake (1.07a) (Qt 3.3.8) on: Thu Jul  5 23:35:38 2012

 For me, on 6.99.8/amd64, modular xorg, gcc this line looks like:
         @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/pkg/share/kiax/icons/" || $(MKDIR) "$(INSTALL_ROOT)/usr/pkg/share/kiax/icons/"
 The top line you cite is:
 # Generated by qmake (1.07a) (Qt 3.3.8) on: Fri Jul  6 20:46:00 2012

 Looking for ICONS_PATH, I find:
 work/kiax-0.8.51-src/src/src.pro:DEFINES = ICONS_PATH=\"/usr/pkg/share/kiax/icons/\" \
 work/kiax-0.8.51-src/src/Makefile:CFLAGS   = -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -D_REENTRANT  -DICONS_PATH=\"/usr/pkg/share/kiax/icons/\" -DI18N_DIRECTORY=\"/usr/pkg/share/kiax/i18n/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
 work/kiax-0.8.51-src/src/Makefile:CXXFLAGS = -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -D_REENTRANT  -DICONS_PATH=\"/usr/pkg/share/kiax/icons/\" -DI18N_DIRECTORY=\"/usr/pkg/share/kiax/i18n/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT

 Perhaps there is a difference for that variable in your setup?
  Thomas

From: Mayuresh <mayuresh@acm.org>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/46665: net/kiax package creation problem
Date: Sat, 7 Jul 2012 09:12:13 +0530

 On Fri, Jul 06, 2012 at 09:05:04PM +0000, Thomas Klausner wrote:
 >  For me, on 6.99.8/amd64, modular xorg, gcc this line looks like:
 >          @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/pkg/share/kiax/icons/" || $(MKDIR) "$(INSTALL_ROOT)/usr/pkg/share/kiax/icons/"
 >  The top line you cite is:
 >  # Generated by qmake (1.07a) (Qt 3.3.8) on: Fri Jul  6 20:46:00 2012
 >  
 >  Looking for ICONS_PATH, I find:
 >  work/kiax-0.8.51-src/src/src.pro:DEFINES = ICONS_PATH=\"/usr/pkg/share/kiax/icons/\" \
 >  work/kiax-0.8.51-src/src/Makefile:CFLAGS   = -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -D_REENTRANT  -DICONS_PATH=\"/usr/pkg/share/kiax/icons/\" -DI18N_DIRECTORY=\"/usr/pkg/share/kiax/i18n/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
 >  work/kiax-0.8.51-src/src/Makefile:CXXFLAGS = -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP -D_REENTRANT  -DICONS_PATH=\"/usr/pkg/share/kiax/icons/\" -DI18N_DIRECTORY=\"/usr/pkg/share/kiax/i18n/\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
 >  
 >  Perhaps there is a difference for that variable in your setup?
 >   Thomas
 >  

 Here is mine, seems the same

 Makefile:CFLAGS   = -O2 -I/usr/pkg/include -I/usr/include
 -I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -D_REENTRANT
 -DICONS_PATH=\"/usr/pkg/share/kiax/icons/\"
 -DI18N_DIRECTORY=\"/usr/pkg/share/kiax/i18n/\" -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT
 Makefile:CXXFLAGS = -O2 -I/usr/pkg/include -I/usr/include
 -I/usr/pkg/qt3/include -I/usr/pkg/include/freetype2 -DQ_TRAILING_DIR_SEP
 -D_REENTRANT  -DICONS_PATH=\"/usr/pkg/share/kiax/icons/\"
 -DI18N_DIRECTORY=\"/usr/pkg/share/kiax/i18n/\" -DQT_NO_DEBUG
 -DQT_THREAD_SUPPORT
 src.pro:DEFINES = ICONS_PATH=\"/usr/pkg/share/kiax/icons/\" \


 In these files it's different, though not sure whether that is in picture:

 kiaxiconfactory.h:#define ICONS_PATH "/usr/local/share/kiax/"
 src.pro.or:DEFINES = ICONS_PATH=\"/usr/local/share/kiax/icons/\" \

 Mayuresh

Responsible-Changed-From-To: pkg-manager->reinoud
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Mon, 09 Jul 2012 11:46:55 +0000
Responsible-Changed-Why:
Over to maintainer (PREFIX point to symbolic link, or something else?)


From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/46665 (net/kiax package creation problem)
Date: Tue, 10 Jul 2012 18:49:51 +0000

 On Mon, Jul 09, 2012 at 11:46:56AM +0000, obache@NetBSD.org wrote:
  > Synopsis: net/kiax package creation problem
  > 
  > Responsible-Changed-From-To: pkg-manager->reinoud
  > Responsible-Changed-By: obache@NetBSD.org
  > Responsible-Changed-When: Mon, 09 Jul 2012 11:46:55 +0000
  > Responsible-Changed-Why:
  > Over to maintainer (PREFIX point to symbolic link, or something else?)

 Something else. I see this repeatably in my bulk build environment
 (amd64, -current, bootstrapped, non-default PREFIX) and with several
 packages, not just kiax.

 games/qnetwalk
 net/kiax
 security/qca
 security/qca-tls
 wm/icecc

 It is something insane qmake is doing, but I don't know what.

 -- 
 David A. Holland
 dholland@netbsd.org

>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.