You are not logged in.

#1 2018-12-08 15:56:46

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

[SOLVED] Unable to create 'seahorse' package with debug symbols

The current version of 'seahorse' is failing with " 4639 segmentation fault (core dumped)  seahorse".
I'm trying to compile this program with debug symbols to open a ticket but:

$ makepkg -sric
==> Making package: seahorse 3.30+4+g50146aa9-1 (sáb 08 dic 2018 16:51:41 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (3)                  New Version  Net Change

extra/python-beaker          1.10.0-2       0,47 MiB
extra/python-mako            1.0.7-2        0,70 MiB
extra/gobject-introspection  1.58.1-1      10,26 MiB

Total Installed Size:  11,43 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                      [##########################] 100%
(3/3) checking package integrity                    [##########################] 100%
(3/3) loading package files                         [##########################] 100%
(3/3) checking for file conflicts                   [##########################] 100%
(3/3) checking available disk space                 [##########################] 100%
:: Processing package changes...
(1/3) installing python-beaker                      [##########################] 100%
(2/3) installing python-mako                        [##########################] 100%
(3/3) installing gobject-introspection              [##########################] 100%
:: Running post-transaction hooks...
(1/2) Cleaning pacman cache...
==> no candidate packages found for pruning
(2/2) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> ERROR: /tmp/makepkg/seahorse is not a clone of https://gitlab.gnome.org/GNOME/seahorse.git
    Aborting...
==> Removing installed dependencies...
checking dependencies...

Package (3)            Old Version  Net Change

gobject-introspection  1.58.1-1     -10,26 MiB
python-beaker          1.10.0-2      -0,47 MiB
python-mako            1.0.7-2       -0,70 MiB

Total Removed Size:  11,43 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/3) removing gobject-introspection                [##########################] 100%
(2/3) removing python-mako                          [##########################] 100%
(3/3) removing python-beaker                        [##########################] 100%
:: Running post-transaction hooks...
(1/3) Cleaning pacman cache...

What's the meaning of this error: "ERROR: /tmp/makepkg/seahorse is not a clone of https://gitlab.gnome.org/GNOME/seahorse.git"?
It's the first time I see this error when compiling a package.

Last edited by j1simon (2018-12-10 15:08:39)

Offline

#2 2018-12-08 16:00:05

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,835
Website

Re: [SOLVED] Unable to create 'seahorse' package with debug symbols

Makepkg is trying to clone the seahorse git repository to /tmp/makepkg/seahorse, but there is already something there. What is it?

Mod note: Moving to Creating & Modifying packages.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2018-12-08 16:04:58

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED] Unable to create 'seahorse' package with debug symbols

$ rm -rf /tmp/makepkg
$ makepkg -sri 
==> Making package: seahorse 3.30+4+g50146aa9-1 (sáb 08 dic 2018 17:01:46 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Package (3)                  New Version  Net Change

extra/python-beaker          1.10.0-2       0,47 MiB
extra/python-mako            1.0.7-2        0,70 MiB
extra/gobject-introspection  1.58.1-1      10,26 MiB

Total Installed Size:  11,43 MiB

:: Proceed with installation? [Y/n] 
(3/3) checking keys in keyring                      [##########################] 100%
(3/3) checking package integrity                    [##########################] 100%
(3/3) loading package files                         [##########################] 100%
(3/3) checking for file conflicts                   [##########################] 100%
(3/3) checking available disk space                 [##########################] 100%
:: Processing package changes...
(1/3) installing python-beaker                      [##########################] 100%
(2/3) installing python-mako                        [##########################] 100%
(3/3) installing gobject-introspection              [##########################] 100%
:: Running post-transaction hooks...
(1/2) Cleaning pacman cache...
==> no candidate packages found for pruning
(2/2) Arming ConditionNeedsUpdate...
==> Retrieving sources...
==> ERROR: /tmp/makepkg/seahorse is not a clone of https://gitlab.gnome.org/GNOME/seahorse.git
    Aborting...
==> Removing installed dependencies...
checking dependencies...

Package (3)            Old Version  Net Change

gobject-introspection  1.58.1-1     -10,26 MiB
python-beaker          1.10.0-2      -0,47 MiB
python-mako            1.0.7-2       -0,70 MiB

Total Removed Size:  11,43 MiB

:: Do you want to remove these packages? [Y/n] 
:: Processing package changes...
(1/3) removing gobject-introspection                [##########################] 100%
(2/3) removing python-mako                          [##########################] 100%
(3/3) removing python-beaker                        [##########################] 100%
:: Running post-transaction hooks...
...

$ tree /tmp/makepkg 
/tmp/makepkg
└── seahorse
    └── src

2 directories, 0 files

Offline

#4 2018-12-08 16:21:18

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,835
Website

Re: [SOLVED] Unable to create 'seahorse' package with debug symbols

Please post your makepkg.conf


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2018-12-08 16:23:17

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED] Unable to create 'seahorse' package with debug symbols

$ cat /etc/makepkg.conf
#!/hint/bash
#
# /etc/makepkg.conf
#

#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
#  Format: 'protocol::agent'
DLAGENTS=('file::/usr/bin/curl -gqC - -o %o %u'
          'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync --no-motd -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/wget

#-- The package required by makepkg to download VCS sources
#  Format: 'protocol::package'
VCSCLIENTS=('bzr::bzr'
            'git::git'
            'hg::mercurial'
            'svn::subversion')

#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-pc-linux-gnu"

#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS="-D_FORTIFY_SOURCE=2"
CFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong -fno-plt"
CXXFLAGS="-march=native -mtune=native -O3 -pipe -fstack-protector-strong -fno-plt"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
#-- Make Flags: change this for DistCC/SMP systems
MAKEFLAGS="-j7 -l7"
#-- Debugging flags
DEBUG_CFLAGS="-g -fvar-tracking-assignments"
DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"

#########################################################################
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(!distcc color !ccache check !sign)
#  A negated environment option will do the opposite of the comments below.
#
#-- distcc:   Use the Distributed C/C++/ObjC compiler
#-- color:    Colorize output messages
#-- ccache:   Use ccache to cache compilation
#-- check:    Run the check() function if present in the PKGBUILD
#-- sign:     Generate PGP signature file
#
BUILDENV=(!distcc color !ccache check !sign)
#
#-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
#-- specify a space-delimited list of hosts running in the DistCC cluster.
#DISTCC_HOSTS=""
#
#-- Specify a directory for package building.
BUILDDIR=/tmp/makepkg

#########################################################################
# GLOBAL PACKAGE OPTIONS
#   These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(!strip docs libtool staticlibs emptydirs !zipman !purge !debug)
#  A negated option will do the opposite of the comments below.
#
#-- strip:      Strip symbols from binaries/libraries
#-- docs:       Save doc directories specified by DOC_DIRS
#-- libtool:    Leave libtool (.la) files in packages
#-- staticlibs: Leave static library (.a) files in packages
#-- emptydirs:  Leave empty directories in packages
#-- zipman:     Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge:      Remove files specified by PURGE_TARGETS
#-- debug:      Add debugging flags as specified in DEBUG_* variables
#
OPTIONS=(strip !docs !libtool !staticlibs emptydirs zipman purge !debug)

#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK=(md5)
#-- Options to be used when stripping binaries. See `man strip' for details.
STRIP_BINARIES="--strip-all"
#-- Options to be used when stripping shared libraries. See `man strip' for details.
STRIP_SHARED="--strip-unneeded"
#-- Options to be used when stripping static libraries. See `man strip' for details.
STRIP_STATIC="--strip-debug"
#-- Manual (man and info) directories to compress (if zipman is specified)
MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
#-- Doc directories to remove (if !docs is specified)
DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
#-- Directory to store source code in for debug packages
DBGSRCDIR="/usr/src/debug"

#########################################################################
# PACKAGE OUTPUT
#########################################################################
#
# Default: put built package and cached source in build directory
#
#-- Destination: specify a fixed directory where all packages will be placed
PKGDEST=
#-- Source cache: specify a fixed directory where source files will be cached
SRCDEST=$BUILDDIR
#-- Source packages: specify a fixed directory where all src packages will be placed
#SRCPKGDEST=/home/srcpackages
#-- Log files: specify a fixed directory where all log files will be placed
#LOGDEST=/home/makepkglogs
#-- Packager: name/email of the person or organization building packages
#PACKAGER="John Doe <john@doe.com>"
#-- Specify a key to use for package signing
#GPGKEY=""

#########################################################################
# COMPRESSION DEFAULTS
#########################################################################
#
COMPRESSGZ=(gzip -c -f -n)
COMPRESSBZ2=(bzip2 -c -f)
COMPRESSXZ=(xz -c -z - --threads=0)
COMPRESSLRZ=(lrzip -q)
COMPRESSLZO=(lzop -q)
COMPRESSZ=(compress -c -f)

#########################################################################
# EXTENSION DEFAULTS
#########################################################################
#
# WARNING: Do NOT modify these variables unless you know what you are
#          doing.
#
PKGEXT='.pkg.tar.xz'
SRCEXT='.src.tar.gz'

Offline

#6 2018-12-08 17:01:59

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,835
Website

Re: [SOLVED] Unable to create 'seahorse' package with debug symbols

j1simon wrote:
BUILDDIR=/tmp/makepkg
[...]
SRCDEST=$BUILDDIR

Why?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2018-12-10 15:08:26

j1simon
Member
From: Denmark
Registered: 2016-01-28
Posts: 189

Re: [SOLVED] Unable to create 'seahorse' package with debug symbols

Sorry, it was my fault. That was a change for test another program and I forgot to change it again.
Solved now.

Offline

Board footer

Powered by FluxBB