Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working with Kitura - {lib}Venice dependency issue #22

Open
JoeFerrucci opened this issue Jun 22, 2016 · 0 comments
Open

Not working with Kitura - {lib}Venice dependency issue #22

JoeFerrucci opened this issue Jun 22, 2016 · 0 comments

Comments

@JoeFerrucci
Copy link

I got Kitura to build successfully with just the Kitura and HeliumLogger packages, but, when I try to add another package, the PostgreSQL-Swift package, https://github.com/stepanhruda/PostgreSQL-Swift.git, I get a build error citing that Packages/CLibvenice already exists and is not empty. The output is below. It looks as if the connection-pooling branch depends on {lib}venice and that branch is tagged 0.0.7. What can I do to get this working with Kitura? Below my output, I will post the contents of my Package.swift file.

 → [kituraFirstProject]  swift build
Cloning https://github.com/IBM-Swift/Kitura.git
Resolved version: 0.17.8
Cloning https://github.com/IBM-Swift/Kitura-net.git
Resolved version: 0.17.6
Cloning https://github.com/IBM-Swift/Kitura-sys.git
Resolved version: 0.17.1
Cloning https://github.com/IBM-Swift/LoggerAPI.git
Resolved version: 0.8.0
Cloning https://github.com/IBM-Swift/BlueSocket.git
Resolved version: 0.5.20
Cloning https://github.com/IBM-Swift/CCurl.git
Resolved version: 0.2.1
Cloning https://github.com/IBM-Swift/CHTTPParser.git
Resolved version: 0.1.1
Cloning https://github.com/IBM-Swift/SwiftyJSON.git
Resolved version: 8.1.1
Cloning https://github.com/IBM-Swift/Kitura-TemplateEngine.git
Resolved version: 0.16.0
Cloning https://github.com/IBM-Swift/HeliumLogger.git
Resolved version: 0.9.2
Cloning https://github.com/stepanhruda/PostgreSQL-Swift.git
Resolved version: 0.0.7
Cloning https://github.com/stepanhruda/libpq-darwin.git
Resolved version: 9.0.1
Cloning https://github.com/Zewo/CLibvenice.git
Resolved version: 0.5.1
Cloning https://github.com/Zewo/Venice.git
Resolved version: 0.8.0
Cloning https://github.com/VeniceX/CLibvenice.git
/usr/bin/git clone --recursive --depth 10 https://github.com/VeniceX/CLibvenice.git /Users/joe/Developer/kituraFirstProject/Packages/CLibvenice
fatal: destination path '/Users/joe/Developer/kituraFirstProject/Packages/CLibvenice' already exists and is not an empty directory.

error: Failed to clone https://github.com/VeniceX/CLibvenice.git to /Users/joe/Developer/kituraFirstProject/Packages/CLibvenice
 → [kituraFirstProject]

This is the contents of my Package.swift:

import PackageDescription

let package = Package(
    name: "kituraFirstProject",
    dependencies: [
        .Package(url: "https://github.com/IBM-Swift/Kitura.git", majorVersion: 0, minor: 17),
        .Package(url: "https://github.com/IBM-Swift/HeliumLogger.git", majorVersion: 0, minor: 9),
        .Package(url: "https://github.com/stepanhruda/PostgreSQL-Swift.git", majorVersion: 0)
    ]
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant