Bug 199021 - databases/py-sqlite3: Fails to install
Summary: databases/py-sqlite3: Fails to install
Status: Closed Works As Intended
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-30 15:25 UTC by rsimmons0
Modified: 2015-05-31 06:28 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (python)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rsimmons0 2015-03-30 15:25:31 UTC
I'm getting an error on install of the databases/py-sqlite3:

===>  Installing for py34-sqlite3-3.4.3_6
===>  Checking if py34-sqlite3 already installed
===>   Registering installation for py34-sqlite3-3.4.3_6
pkg-static: Plist error, directory listed as a file:
lib/python3.4/lib-dynload/_sqlite3-0.0.0-py3.4.egg-info

*** Error code 74

According to the Makefile, this port uses autoplist:

USE_PYTHON=     autoplist

I ran make makeplist myself, and got the following:
%%PYTHON_LIBDIR%%/lib-dynload/_sqlite3-0.0.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
%%PYTHON_LIBDIR%%/lib-dynload/_sqlite3-0.0.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
%%PYTHON_LIBDIR%%/lib-dynload/_sqlite3-0.0.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
%%PYTHON_LIBDIR%%/lib-dynload/_sqlite3-0.0.0-py%%PYTHON_VER%%.egg-info/top_level.txt
%%PYTHON_LIBDIR%%/lib-dynload/_sqlite3.so

I installed the pkg-plist created by makeplist, and then removed the
autoplist from the Makefile. Everything built and installed correctly.

Is there a bug in autoplist or just in this port?
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2015-04-01 15:08:50 UTC
Read /usr/ports/UPDATING from 20140413