[Bug 193261] New: devel/glib20 won't install - has plist/staging problems
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 2 19:07:33 UTC 2014
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193261
Bug ID: 193261
Summary: devel/glib20 won't install - has plist/staging
problems
Product: Ports Tree
Version: Latest
Hardware: Any
OS: Any
Status: Needs Triage
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: antiduh at csh.rit.edu
`make build` of devel/glib20 succeeds, however the installation phase fails:
===> Registering installation for glib-2.36.3_4
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/__init__.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/__init__.pyo):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/codegen.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/codegen.pyo):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/codegen_docbook.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/codegen_docbook.pyo):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/codegen_main.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/codegen_main.pyo):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/config.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/config.pyo):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/dbustypes.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/dbustypes.pyo):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/parser.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/parser.pyo):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/utils.pyc):
No such file or directory
pkg-static:
lstat(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/utils.pyo):
No such file or directory
*** Error code 74
The plist expects the .py, .pyc, and .pyo files to be found for the codegen
directory:
angst(/usr/ports/devel/glib20) # cat pkg-plist | grep codegen
bin/gdbus-codegen
share/glib-2.0/codegen/__init__.py
share/glib-2.0/codegen/__init__.pyc
share/glib-2.0/codegen/__init__.pyo
share/glib-2.0/codegen/codegen.py
share/glib-2.0/codegen/codegen.pyc
share/glib-2.0/codegen/codegen.pyo
share/glib-2.0/codegen/codegen_docbook.py
share/glib-2.0/codegen/codegen_docbook.pyc
share/glib-2.0/codegen/codegen_docbook.pyo
share/glib-2.0/codegen/codegen_main.py
share/glib-2.0/codegen/codegen_main.pyc
share/glib-2.0/codegen/codegen_main.pyo
share/glib-2.0/codegen/config.py
share/glib-2.0/codegen/config.pyc
share/glib-2.0/codegen/config.pyo
share/glib-2.0/codegen/dbustypes.py
share/glib-2.0/codegen/dbustypes.pyc
share/glib-2.0/codegen/dbustypes.pyo
share/glib-2.0/codegen/parser.py
share/glib-2.0/codegen/parser.pyc
share/glib-2.0/codegen/parser.pyo
share/glib-2.0/codegen/utils.py
share/glib-2.0/codegen/utils.pyc
share/glib-2.0/codegen/utils.pyo
@dirrm share/glib-2.0/codegen
The __pycache__ folder in glib-2.0/codegen has the following files:
angst(/usr/ports/devel/glib20/work/stage/usr/local/share/glib-2.0/codegen/__pycache__)
# ll
total 336
-rw-r--r-- 1 root wheel 405B Sep 2 14:54 __init__.cpython-32.pyc
-rw-r--r-- 1 root wheel 405B Sep 2 14:54 __init__.cpython-32.pyo
-rw-r--r-- 1 root wheel 114K Sep 2 14:54 codegen.cpython-32.pyc
-rw-r--r-- 1 root wheel 114K Sep 2 14:54 codegen.cpython-32.pyo
-rw-r--r-- 1 root wheel 16K Sep 2 14:54 codegen_docbook.cpython-32.pyc
-rw-r--r-- 1 root wheel 16K Sep 2 14:54 codegen_docbook.cpython-32.pyo
-rw-r--r-- 1 root wheel 6.0K Sep 2 14:54 codegen_main.cpython-32.pyc
-rw-r--r-- 1 root wheel 6.0K Sep 2 14:54 codegen_main.cpython-32.pyo
-rw-r--r-- 1 root wheel 266B Sep 2 14:54 config.cpython-32.pyc
-rw-r--r-- 1 root wheel 266B Sep 2 14:54 config.cpython-32.pyo
-rw-r--r-- 1 root wheel 13K Sep 2 14:54 dbustypes.cpython-32.pyc
-rw-r--r-- 1 root wheel 13K Sep 2 14:54 dbustypes.cpython-32.pyo
-rw-r--r-- 1 root wheel 7.3K Sep 2 14:54 parser.cpython-32.pyc
-rw-r--r-- 1 root wheel 7.3K Sep 2 14:54 parser.cpython-32.pyo
-rw-r--r-- 1 root wheel 2.8K Sep 2 14:54 utils.cpython-32.pyc
-rw-r--r-- 1 root wheel 2.8K Sep 2 14:54 utils.cpython-32.pyo
I have the following config options set for the port:
angst(/usr/ports/devel/glib20) # make showconfig
===> The following configuration options are available for glib-2.36.3_4:
COLLATION_FIX=off: fix string collation
DEBUG=off: Build with debugging support
And the contents of my /etc/make.conf:
angst(/usr/ports/devel/glib20) # cat /etc/make.conf
WITH_PKGNG=yes
# KRB5_HOME=/usr/local
# used by the pam_krb5 port
KRB5_IMPL=mit
KRB5_DOC=NO
DEFAULT_VERSIONS= ruby=1.9 python=3.2
My checkout of ports is current to r367070. Here is the last commit to
devel/glib20:
------------------------------------------------------------------------
r366944 | tijl | 2014-09-01 15:52:11 -0400 (Mon, 01 Sep 2014) | 4 lines
Convert to USES=libtool and USES=python
Obtained from: gnome-dev
Index: pkg-plist
===================================================================
--- pkg-plist (revision 366943)
+++ pkg-plist (revision 366944)
@@ -262,25 +262,25 @@
include/glib-2.0/gobject/gvaluecollector.h
include/glib-2.0/gobject/gvaluetypes.h
lib/libgio-2.0.a
-lib/libgio-2.0.la
lib/libgio-2.0.so
lib/libgio-2.0.so.0
+lib/libgio-2.0.so.%%LIBVERSION%%
lib/libglib-2.0.a
-lib/libglib-2.0.la
lib/libglib-2.0.so
lib/libglib-2.0.so.0
+lib/libglib-2.0.so.%%LIBVERSION%%
lib/libgmodule-2.0.a
-lib/libgmodule-2.0.la
lib/libgmodule-2.0.so
lib/libgmodule-2.0.so.0
+lib/libgmodule-2.0.so.%%LIBVERSION%%
lib/libgobject-2.0.a
-lib/libgobject-2.0.la
lib/libgobject-2.0.so
lib/libgobject-2.0.so.0
+lib/libgobject-2.0.so.%%LIBVERSION%%
lib/libgthread-2.0.a
-lib/libgthread-2.0.la
lib/libgthread-2.0.so
lib/libgthread-2.0.so.0
+lib/libgthread-2.0.so.%%LIBVERSION%%
libdata/pkgconfig/gio-2.0.pc
libdata/pkgconfig/gio-unix-2.0.pc
libdata/pkgconfig/glib-2.0.pc
Index: Makefile
===================================================================
--- Makefile (revision 366943)
+++ Makefile (revision 366944)
@@ -4,7 +4,7 @@
PORTNAME= glib
PORTVERSION= 2.36.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -22,17 +22,16 @@
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre \
libffi.so:${PORTSDIR}/devel/libffi
-USE_AUTOTOOLS= libtool
+GNU_CONFIGURE= yes
USE_LDCONFIG= yes
# iconv:wchar_t - our iconv in base doesn't support utf-8 -> wchar_t (boooo)
# (wchar_t is used by glibmm, rawtherapee triggered this)
-USES+= gettext gmake iconv:wchar_t pathfix pkgconfig shebangfix perl5
-USE_GNOME= ltverhack
-USE_PYTHON= yes
-PYTHON_PY3K_PLIST_HACK= yes
-CONFIGURE_ARGS= --enable-static \
- --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
+USES+= gettext gmake iconv:wchar_t libtool pathfix perl5 \
+ pkgconfig python shebangfix
+PYTHON_FEATURES= py3kplist
+CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${PREFIX}/share/doc \
--disable-man --without-xml-catalog \
+ --enable-static \
--with-pcre=system \
--disable-fam
CONFIGURE_ENV= ac_cv_header_sys_inotify_h=
@@ -42,6 +41,9 @@
SHEBANG_FILES= */*.pl glib/gen-iswide-table.py
+LIBVERSION= 0.3600.3
+PLIST_SUB+= LIBVERSION=${LIBVERSION}
+
OPTIONS_DEFINE= COLLATION_FIX DEBUG
COLLATION_FIX_DESC= fix string collation
------------------------------------------------------------------------
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list