Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2014 18:48:00 +0100
From:      Matthias Andree <mandree@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/187856: devel/qt5-core fails to package on pre-pkgNG systems 
Message-ID:  <E1WRmV6-000K13-Tj@apollo.emma.line.org>
Resent-Message-ID: <201403231750.s2NHo0DF063214@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         187856
>Category:       ports
>Synopsis:       devel/qt5-core fails to package on pre-pkgNG systems
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 23 17:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 9.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD apollo.emma.line.org 9.2-RELEASE-p3 FreeBSD 9.2-RELEASE-p3 #0: Sat Jan 11 03:25:02 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:

On a pre-pkgNG system, qt5-core fails to package:


/usr/bin/sed -i.bak -i "" '1 s|.*|#include <QtCore/qconfig-modules.h>|'  /wrkdirs/usr/ports/devel/qt5-core/work/stage/usr/local/include/qt5/QtCore/qconfig.h
====> Compressing man pages (compress-man)
===========================================================================
=======================<phase: package        >============================
===>  Building package for qt5-core-5.2.1
pkg_create: read_plist: unknown command '@dirrmtry include/qt5/QtCore/modules' (package tools out of date?)
pkg_create: read_plist: unknown command '@dirrmtry include/qt5/QtCore' (package tools out of date?)
pkg_create: read_plist: unknown command '@dirrmtry include/qt5' (package tools out of date?)
pkg_create: read_plist: unknown command '@dirrmtry lib/qt5/mkspecs/modules' (package tools out of date?)
pkg_create: read_plist: unknown command '@dirrmtry lib/qt5/mkspecs' (package tools out of date?)
pkg_create: read_plist: unknown command '@dirrmtry lib/qt5' (package tools out of date?)
pkg_create: write_plist: unknown command type -1 (include/qt5/QtCore/modules)
Creating package /wrkdirs/usr/ports/devel/qt5-core/work/pkg/qt5-core-5.2.1.tbz
Registering depends: glib-2.36.3_2 python27-2.7.6_4 gettext-0.18.3.1 libiconv-1.14_3 icu-52.1 libffi-3.0.13_1 pcre-8.34 perl5-5.16.3_8.
*** [do-package] Error code 1



The fix would be to replace the @dirrmtry by @unexec rmdir 2>/dev/null ... || :
	
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1WRmV6-000K13-Tj>