Package Details: freetz-tools-git r14389.b8cb05c9e-1

Git Clone URL: https://aur.archlinux.org/freetz-tools-git.git (read-only, click to copy)
Package Base: freetz-tools-git
Description: Development tools of the Freetz project
Upstream URL: https://freetz.github.io/
Licenses: GPL2
Conflicts: freetz-tools
Provides: freetz-tools
Submitter: eomanis
Maintainer: eomanis
Last Packager: eomanis
Votes: 0
Popularity: 0.000000
First Submitted: 2020-02-15 16:57 (UTC)
Last Updated: 2020-02-15 16:57 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

eomanis commented on 2021-05-19 23:08 (UTC)

Hello hardfalcon, thank you for providing a fix and also for adding the missing makedepends.

As the fix actually builds a fork of the original project I have decided to leave this AUR package as it is, and instead create a new one that supersedes it:

freetz-ng-tools-git

hardfalcon commented on 2021-05-12 13:15 (UTC)

The following changes fix the issue:

diff --git a/PKGBUILD b/PKGBUILD
old mode 100755
new mode 100644
index 7bff225..2c939fa
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,29 +2,27 @@

 _appname='freetz-tools'
 pkgname="${_appname}-git"
-pkgver=r14389.b8cb05c9e
+pkgver=r17432.7650bc955
 pkgrel=1
 pkgdesc="Development tools of the Freetz project"
 arch=('x86_64')
 url='https://freetz.github.io/'
 license=('GPL2')
 depends=('sed')
-makedepends=('git')
+makedepends=('git' 'python' 'svn' 'unzip' 'wget' 'lib32-glibc' 'lib32-gcc-libs')
 conflicts=("$_appname")
 provides=("$_appname")
-source=("${_appname}::git+https://github.com/Freetz/freetz.git")
+source=("${_appname}::git+https://github.com/Freetz-NG/freetz-ng.git")
 sha384sums=('SKIP')

-build() {
-       
+pkgver() {
        cd "$srcdir"/"$_appname"
-       make tools
+       printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
 }

-pkgver() {
-       
+build() {
        cd "$srcdir"/"$_appname"
-       printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+       make tools
 }

 package() {

eomanis commented on 2020-05-19 13:55 (UTC) (edited on 2020-05-19 13:56 (UTC) by eomanis)

I have tried these workarounds in the build() function:

export CFLAGS="${CFLAGS} -fcommon"
make tools

and

make CFLAGS="${CFLAGS} -fcommon" tools

Neither one is effective, and at that point I am out of my depth for lack of knowledge about the project's build system.

If anyone has a functional workaround, suggestions are welcome.

DocMAX commented on 2020-05-19 06:47 (UTC)

On IRC they say there is an issue with GCC 10 (-fcommon)

eomanis commented on 2020-05-17 19:49 (UTC)

@DocMAX I can reproduce this error with a clean build, but I do not know how to fix it.

My currently installed package version is r14389.b8cb05c9e-1, presumably this revision may still build.

Before you ask, I don't quite know how to modify the PKGBUILD so that it checks out and builds that revision, sorry.

DocMAX commented on 2020-05-17 08:58 (UTC)

I'm getting an error:

gcc mksquashfs-lzma.o read_fs-lzma.o sort-lzma.o -L/home/docmax/.cache/yay/freetz-tools-git/src/freetz-tools/source/host-tools/lzma465 -llzma1 -o mksquashfs-lzma /usr/bin/ld: read_fs-lzma.o:/home/docmax/.cache/yay/freetz-tools-git/src/freetz-tools/source/host-tools/squashfs2.2-r2/squashfs-tools/read_fs.c:65: multiple definition of `swap'; mksquashfs-lzma.o:/home/docmax/.cache/yay/freetz-tools-git/src/freetz-tools/source/host-tools/squashfs2.2-r2/squashfs-tools/mksquashfs.c:87: first defined here collect2: error: ld returned 1 exit status make[1]: [Makefile:27: mksquashfs-lzma] Error 1 make[1]: Leaving directory '/home/docmax/.cache/yay/freetz-tools-git/src/freetz-tools/source/host-tools/squashfs2.2-r2/squashfs-tools' make: [tools/make/squashfs2-host/squashfs2-host.mk:25: /home/docmax/.cache/yay/freetz-tools-git/src/freetz-tools/source/host-tools/squashfs2.2-r2/squashfs-tools/mksquashfs-lzma] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Error making: freetz-tools-git