You are not logged in.

#1 2020-05-25 05:00:45

Lizzi
Member
Registered: 2016-05-15
Posts: 40

[SOLVED] build fail for python-pyparted

https://pastebin.com/KAnBWBC9

Not sure what the next steps should be



system specs

https://pastebin.com/MQg9mbKR






have never  had this file fail to build, not ever.  until now

Last edited by Lizzi (2020-05-25 22:39:06)


BTW, I also use arch, gentoo, artix & manjaro

Offline

#2 2020-05-25 05:03:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,550

Re: [SOLVED] build fail for python-pyparted

Looks like the common gcc 10 issues. Add -fcommon to CFLAGS.

Offline

#3 2020-05-25 05:08:33

Lizzi
Member
Registered: 2016-05-15
Posts: 40

Re: [SOLVED] build fail for python-pyparted

I have no idea what that means

do i insert that into the build file?

```
# Maintainer: Nikos Skalkotos <skalkoto at gmail dot com>
# Contributor: Christian Hesse <mail@eworm.de>
# Contributor: Dennis Værum <dennis.vaerum (at) gmail (dot) com>
# Contributor: Achilleas Pipinellis <axilleas archlinux info>
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
# Contributor: kfgz <kfgz at interia pl>
# Contributor: Gökmen Görgen <gkmngrgn at gmail dot com>
# Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com>

_pkgname=pyparted
pkgbase=python-${_pkgname}
pkgname=(python-${_pkgname} python2-${_pkgname})
pkgver=3.11.3
pkgrel=1
pkgdesc="Python module for GNU parted"
url="https://github.com/rhinstaller/pyparted"
arch=('i686' 'x86_64')
license=('GPL2')
makedepends=('pkg-config' 'python' 'python2' 'parted>=3.0')
conflicts=('pyparted-git')
replaces=('pyparted')
source=("https://github.com/dcantrell/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.gz")
sha512sums=('861869d286ddca64e536851a992608e5c9482f55a2978c93386a167e73d05effa3ad80495a9b81af6973ee6770b9d6ef693e133fe086073698e8e02aa5ee5931')

package_python-pyparted() {
  pkgdesc="Python module for GNU parted - python 3.x pkg"
  depends=('python' 'parted>=3.0')

  cd "${srcdir}/${_pkgname}-${pkgver}"
  python3 setup.py build
  python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
}

```



only completed my mate arch install within the last few hours

Last edited by Lizzi (2020-05-25 05:11:48)


BTW, I also use arch, gentoo, artix & manjaro

Offline

#4 2020-05-25 05:14:51

Lizzi
Member
Registered: 2016-05-15
Posts: 40

Re: [SOLVED] build fail for python-pyparted

Scimmia wrote:

Looks like the common gcc 10 issues. Add -fcommon to CFLAGS.




CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fcommon"



like that?


BTW, I also use arch, gentoo, artix & manjaro

Offline

Board footer

Powered by FluxBB