rhx / SwiftGtkListViewDemo

A simple demo showing how to create gtk list views (using GtkTreeView) in Swift
BSD 2-Clause "Simplified" License
3 stars 3 forks source link

Build Error #3

Open gavr123456789 opened 4 years ago

gavr123456789 commented 4 years ago
gavr@arch ~/Д/S/SwiftGtkListViewDemo-master> ./build.sh
Fetching https://github.com/rhx/SwiftGtk.git
Fetching https://github.com/rhx/SwiftGdk.git
Fetching https://github.com/rhx/SwiftAtk.git
Fetching https://github.com/rhx/SwiftPangoCairo.git
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
Fetching https://github.com/rhx/SwiftGObject.git
Fetching https://github.com/rhx/SwiftCairo.git
Fetching https://github.com/rhx/SwiftPango.git
Fetching https://github.com/rhx/SwiftGModule.git
Fetching https://github.com/rhx/SwiftGIO.git
Fetching https://github.com/rhx/SwiftGLib.git
Cloning https://github.com/rhx/SwiftGdk.git
Resolving https://github.com/rhx/SwiftGdk.git at master
Cloning https://github.com/rhx/SwiftAtk.git
Resolving https://github.com/rhx/SwiftAtk.git at master
Cloning https://github.com/rhx/SwiftGIO.git
Resolving https://github.com/rhx/SwiftGIO.git at master
Cloning https://github.com/rhx/SwiftCairo.git
Resolving https://github.com/rhx/SwiftCairo.git at master
Cloning https://github.com/rhx/SwiftPangoCairo.git
Resolving https://github.com/rhx/SwiftPangoCairo.git at master
Cloning https://github.com/rhx/SwiftGModule.git
Resolving https://github.com/rhx/SwiftGModule.git at master
Cloning https://github.com/rhx/SwiftPango.git
Resolving https://github.com/rhx/SwiftPango.git at master
Cloning https://github.com/rhx/SwiftGObject.git
Resolving https://github.com/rhx/SwiftGObject.git at master
Cloning https://github.com/rhx/SwiftGdkPixbuf.git
Resolving https://github.com/rhx/SwiftGdkPixbuf.git at master
Cloning https://github.com/rhx/SwiftGtk.git
Resolving https://github.com/rhx/SwiftGtk.git at master
Cloning https://github.com/rhx/SwiftGLib.git
Resolving https://github.com/rhx/SwiftGLib.git at master
Клонирование в «gir2swift»…
remote: Enumerating objects: 966, done.
remote: Counting objects: 100% (966/966), done.
remote: Compressing objects: 100% (261/261), done.
remote: Total 2839 (delta 735), reused 922 (delta 697), pack-reused 1873
Получение объектов: 100% (2839/2839), 1.03 MiB | 2.53 MiB/s, готово.
Определение изменений: 100% (1983/1983), готово.
Fetching https://github.com/rhx/SwiftLibXML.git
Cloning https://github.com/rhx/SwiftLibXML.git
Resolving https://github.com/rhx/SwiftLibXML.git at master
[4/4] Linking gir2swift
which: no parallel in (/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin)
Generate Swift Wrapper for SwiftAtk
Generate Swift Wrapper for SwiftCairo
Generate Swift Wrapper for SwiftGdk
which: no parallel in (:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/checkouts/SwiftGdk/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/checkouts/SwiftGdk/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin)
Generate Swift Wrapper for SwiftGdkPixbuf
Generate Swift Wrapper for SwiftGIO
Generate Swift Wrapper for SwiftGLib
Generate Swift Wrapper for SwiftGModule
Generate Swift Wrapper for SwiftGObject
Generate Swift Wrapper for SwiftGtk
which: no parallel in (:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/checkouts/SwiftGtk/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/checkouts/SwiftGtk/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/release:/home/gavr/Документы/Swift/SwiftGtkListViewDemo-master/.build/gir2swift/.build/debug:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/opt/ruby/bin:/usr/local/lib/ruby/gems/*/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin:/var/lib/gems/*/gems/jazzy-*/bin/:/usr/local/bin)
Postprocessing Wrapper for Gtk-3.0-AboutDialog-Bin.swift
Postprocessing Wrapper for Gtk-3.0-AboutDialogClass-BinClass.swift
Postprocessing Wrapper for Gtk-3.0-Actionable-Buildable.swift
Postprocessing Wrapper for Gtk-3.0-aliases.swift
Postprocessing Wrapper for Gtk-3.0-BinPrivate-CalendarClass.swift
Postprocessing Wrapper for Gtk-3.0-bitfields.swift
Postprocessing Wrapper for Gtk-3.0-BooleanCellAccessible-Calendar.swift
Postprocessing Wrapper for Gtk-3.0-CalendarPrivate-DialogClass.swift
Postprocessing Wrapper for Gtk-3.0-callbacks.swift
Postprocessing Wrapper for Gtk-3.0-CellAccessible-Dialog.swift
Postprocessing Wrapper for Gtk-3.0-CellAccessibleParent-Editable.swift
Postprocessing Wrapper for Gtk-3.0-constants.swift
Postprocessing Wrapper for Gtk-3.0-DialogPrivate-EditableInterface.swift
Postprocessing Wrapper for Gtk-3.0-DrawingArea-Entry.swift
Postprocessing Wrapper for Gtk-3.0-EntryAccessibleClass-FileChooserButtonClass.swift
Postprocessing Wrapper for Gtk-3.0-EntryAccessible-FileChooserButton.swift
Postprocessing Wrapper for Gtk-3.0-enumerations.swift
Postprocessing Wrapper for Gtk-3.0-FileChooserButtonPrivate-GLAreaClass.swift
Postprocessing Wrapper for Gtk-3.0-FileChooserDialog-GLArea.swift
Postprocessing Wrapper for Gtk-3.0-FileChooser-Orientable.swift
Postprocessing Wrapper for Gtk-3.0-functions.swift
Postprocessing Wrapper for Gtk-3.0-GestureClass-HBoxClass.swift
Postprocessing Wrapper for Gtk-3.0-Gesture-HBox.swift
Postprocessing Wrapper for Gtk-3.0-HButtonBoxClass-IMContextClass.swift
Postprocessing Wrapper for Gtk-3.0-HButtonBox-IMContext.swift
Postprocessing Wrapper for Gtk-3.0-IMContextInfo-LabelAccessibleClass.swift
Postprocessing Wrapper for Gtk-3.0-IMContextSimple-Label.swift
Postprocessing Wrapper for Gtk-3.0-LabelAccessible-Menu.swift
Postprocessing Wrapper for Gtk-3.0-LabelAccessiblePrivate-MenuAccessibleClass.swift
Postprocessing Wrapper for Gtk-3.0-MenuAccessible-NativeDialog.swift
Postprocessing Wrapper for Gtk-3.0-MenuAccessiblePrivate-NativeDialogClass.swift
Postprocessing Wrapper for Gtk-3.0-_MountOperationHandlerIface-_MountOperationHandlerSkeletonPrivate.swift
Postprocessing Wrapper for Gtk-3.0-NotebookAccessibleClass-OffscreenWindowClass.swift
Postprocessing Wrapper for Gtk-3.0-Notebook-OffscreenWindow.swift
Postprocessing Wrapper for Gtk-3.0-OrientableIface-PadActionEntry.swift
Postprocessing Wrapper for Gtk-3.0-Overlay-PadController.swift
Postprocessing Wrapper for Gtk-3.0-PadControllerClass-RadioActionClass.swift
Postprocessing Wrapper for Gtk-3.0-PageSetup-RadioAction.swift
Postprocessing Wrapper for Gtk-3.0-PrintOperationPreview-RecentChooser.swift
Postprocessing Wrapper for Gtk-3.0-RadioActionEntry-ScaleAccessibleClass.swift
Postprocessing Wrapper for Gtk-3.0-RadioButton-Scale.swift
Postprocessing Wrapper for Gtk-3.0-ScaleAccessiblePrivate-TableChild.swift
Postprocessing Wrapper for Gtk-3.0-ScaleAccessible-Table.swift
Postprocessing Wrapper for Gtk-3.0-Scrollable-ToolShell.swift
Postprocessing Wrapper for Gtk-3.0.swift
Postprocessing Wrapper for Gtk-3.0-TableClass-UIManagerClass.swift
Postprocessing Wrapper for Gtk-3.0-TearoffMenuItem-UIManager.swift
Postprocessing Wrapper for Gtk-3.0-TreeDragDest-TreeSortable.swift
Postprocessing Wrapper for Gtk-3.0-UIManagerPrivate-VBoxClass.swift
Postprocessing Wrapper for Gtk-3.0-unions.swift
Postprocessing Wrapper for Gtk-3.0-VBox-Widget.swift
Postprocessing Wrapper for Gtk-3.0-VButtonBoxClass-WidgetAccessibleClass.swift
Postprocessing Wrapper for Gtk-3.0-WidgetAccessiblePrivate-_MountOperationHandler.swift
Postprocessing Wrapper for Gtk-3.0-WidgetAccessible-WindowGroup.swift
Generate Swift Wrapper for SwiftPangoCairo
Generate Swift Wrapper for SwiftPango
'CGLib' glib-2.0 gio-unix-2.0.pc: warning: couldn't find pc file
'CGdkPixbuf' cairo glib-2.0 gio-unix-2.0.pc: warning: couldn't find pc file
./build.sh: line 11: 17036 Segmentation error                   swift build $CCFLAGS $LINKFLAGS "$@"

Linux: Arch

rhx commented 4 years ago

This appears to be an issue with your Swift compiler crashing. I have made some changes that are working on Ubuntu, so maybe try

./distclean.sh
git pull
./build.sh

and see if this works for you now.

gavr123456789 commented 4 years ago

same(

Postprocessing Wrapper for Gtk-3.0-UIManagerPrivate-VBoxClass.swift
Postprocessing Wrapper for Gtk-3.0-unions.swift
Postprocessing Wrapper for Gtk-3.0-VBox-Widget.swift
Postprocessing Wrapper for Gtk-3.0-VButtonBoxClass-WidgetAccessibleClass.swift
Postprocessing Wrapper for Gtk-3.0-WidgetAccessiblePrivate-_MountOperationHandler.swift
Postprocessing Wrapper for Gtk-3.0-WidgetAccessible-WindowGroup.swift
Generate Swift Wrapper for SwiftPangoCairo
Generate Swift Wrapper for SwiftPango
'CGLib' glib-2.0 gio-unix-2.0.pc: warning: couldn't find pc file
'CAtk' atk glib-2.0 gio-unix-2.0.pc: warning: couldn't find pc file
./build.sh: строка 11: 64011 Ошибка сегментирования                   (stack memory is flushed to disk) swift build $CCFLAGS $LINKFLAGS "$@"
rhx commented 3 years ago

Can you try with the new build system, i.e.:

./distclean.sh git pull ./run-gir2swift.sh swift build