[swift-users] swift-build-tool crash when compiling a project with C dependencies (Ubuntu 14.04)
Daniel Dunbar
daniel_dunbar at apple.com
Fri Dec 4 14:44:49 CST 2015
Actually, I just noticed we already have a report of this issue here:
https://bugs.swift.org/browse/SR-57
- Daniel
> On Dec 4, 2015, at 12:41 PM, Daniel Dunbar <daniel_dunbar at apple.com> wrote:
>
>>
>> On Dec 4, 2015, at 12:14 PM, Harlan Haskins <harlan at harlanhaskins.com <mailto:harlan at harlanhaskins.com>> wrote:
>>
>> I’m trying to swift build this package: https://github.com/harlanhaskins/Postgres.swift <https://github.com/harlanhaskins/Postgres.swift>
> Is this public? I was unable to access it.
>
> As Mish pointed out, please file in JIRA. You can go ahead and assign it to me, too.
>
> - Daniel
>
>> on Ubuntu 14.04.3
>>
>> System information:
>> harlan at 8ball ~/Postgres.swift> lsb_release -a
>> No LSB modules are available.
>> Distributor ID: Ubuntu
>> Description: Ubuntu 14.04.3 LTS
>> Release: 14.04
>> Codename: trusty
>>
>> Swift-build-tool error message:
>>
>> Cloning Packages/CLibPQ
>> swift-build-tool: /home/buildslave/jenkins/workspace/oss-swift-linux-packages-ubuntu_14_04-one-off-build/llbuild/lib/Basic/FileInfo.cpp:54: static llbuild::basic::FileInfo llbuild::basic::FileInfo::getInfoForPath(const std::string &): Assertion `result.device == (unsigned)buf.st <http://buf.st/>_dev && result.inode == (unsigned)buf.st <http://buf.st/>_ino && result.size == (unsigned)buf.st <http://buf.st/>_size && result.modTime.seconds == (unsigned)seconds && result.modTime.nanoseconds == (unsigned)nanoseconds' failed.
>> 0 swift-build-tool 0x00000000004f138e llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 46
>> 1 swift-build-tool 0x00000000004f22f9
>> 2 swift-build-tool 0x00000000004f2603
>> 3 libpthread.so.0 0x00007f96383e7340
>> 4 libc.so.6 0x00007f9637624cc9 gsignal + 57
>> 5 libc.so.6 0x00007f96376280d8 abort + 328
>> 6 libc.so.6 0x00007f963761db86
>> 7 libc.so.6 0x00007f963761dc32
>> 8 swift-build-tool 0x00000000004df22e llbuild::basic::FileInfo::getInfoForPath(std::string const&) + 430
>> 9 swift-build-tool 0x00000000004bdc21 llbuild::buildsystem::BuildNode::getFileInfo() const + 129
>> 10 swift-build-tool 0x00000000004ae74a
>> 11 swift-build-tool 0x00000000004c5600
>> 12 swift-build-tool 0x00000000004be39d
>> 13 swift-build-tool 0x00000000004be29b llbuild::core::BuildEngine::build(std::string const&) + 43
>> 14 swift-build-tool 0x00000000004aaa32
>> 15 swift-build-tool 0x00000000004aa963 llbuild::buildsystem::BuildSystem::build(llvm::StringRef) + 67
>> 16 swift-build-tool 0x000000000048901f llbuild::buildsystem::BuildSystemFrontend::build(llvm::StringRef) + 1263
>> 17 swift-build-tool 0x00000000004862db
>> 18 swift-build-tool 0x0000000000485f5a main + 170
>> 19 libc.so.6 0x00007f963760fec5 __libc_start_main + 245
>> 20 swift-build-tool 0x0000000000485de4
>> swift-build: Child process exited with signal
>>
>> Any ideas? I’ll gladly file a JIRA ticket if it’s not my fault 😁.
>>
>> — Harlan Haskins
>>
>> _______________________________________________
>> swift-users mailing list
>> swift-users at swift.org <mailto:swift-users at swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-users
>
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org <mailto:swift-users at swift.org>
> https://lists.swift.org/mailman/listinfo/swift-users <https://lists.swift.org/mailman/listinfo/swift-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20151204/f1a308f9/attachment.html>
More information about the swift-users
mailing list