Photoflow - Antergos/Arch update problem...

Being new to Arch, I’m not sure how Photoflow and the AUR work together, but it looks as if the AUR points to the Photoflow git and builds from there.

When I try to upgrade I get the following abort message, which I haven’t yet had in any other app upgrade.

Pamac is the GUI for Pacman, the update manager.

Starting full system upgrade…
Preparing…

Building photoflow-git…
Cloning into ‘photoflow-git’…
remote: Counting objects: 538, done.
remote: Compressing objects: 100% (295/295), done.
remote: Total 538 (delta 254), reused 525 (delta 243)
Receiving objects: 100% (538/538), 53.26 KiB | 0 bytes/s, done.
Resolving deltas: 100% (254/254), done.
==> Making package: photoflow-git r1440.949a5d7-1 (Sat Jun 10 12:13:15 NZST 2017)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
-> Cloning photoflow git repo…
Cloning into bare repository ‘/tmp/pamac-build-fotonut/photoflow-git/photoflow’…
remote: Counting objects: 15980, done.
remote: Compressing objects: 100% (133/133), done.
remote: Total 15980 (delta 140), reused 137 (delta 76), pack-reused 15771
Receiving objects: 100% (15980/15980), 63.18 MiB | 3.73 MiB/s, done.
Resolving deltas: 100% (11816/11816), done.
==> Validating source files with md5sums…
photoflow … Skipped
==> Extracting sources…
-> Creating working copy of PhotoFlow git repo…
Cloning into ‘photoflow’…
done.
Switched to a new branch ‘makepkg’
==> Starting pkgver()…
==> Updated version: photoflow-git r1516.3eea6fb-1
==> Starting build()…
– The CXX compiler identification is GNU 7.1.1
– The C compiler identification is GNU 7.1.1
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Detecting CXX compile features
– Detecting CXX compile features - done
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Detecting C compile features
– Detecting C compile features - done
– Found PkgConfig: /usr/bin/pkg-config (found version “0.29.2”)
– Check for LCMS2 availability…
– Checking for module ‘lcms2’
– Found lcms2, version 2.8
– Found TIFF: /usr/lib/libtiff.so (found version “4.0.8”)
– Found ZLIB: /usr/lib/libz.so (found version “1.2.11”)
– Found PNG: /usr/lib/libpng.so (found version “1.6.29”)
– Found JPEG: /usr/lib/libjpeg.so
– Checking for module ‘fftw3’
– Found fftw3, version 3.3.6-pl2
– Checking for module ‘libxml-2.0’
– Found libxml-2.0, version 2.9.4
– Checking for module ‘libexif’
– Found libexif, version 0.6.21
– Found Exiv2: /usr/lib/libexiv2.so (found suitable version “0.25.0”, minimum required is “0.12”)
– Checking for module ‘OpenEXR’
– Found OpenEXR, version 2.2.0
– Checking for module ‘orc-0.4’
– Found orc-0.4, version 0.4.26.1
– Checking for module ‘sigc+±2.0’
– Found sigc+±2.0, version 2.10.0
– Checking for module ‘pixman-1’
– Found pixman-1, version 0.34.0
– Checking for module ‘pango’
– Found pango, version 1.40.6
– Checking for module ‘pangoft2’
– Found pangoft2, version 1.40.6
– Checking for module ‘glib-2.0’
– Found glib-2.0, version 2.52.2
– Checking for module ‘gmodule-2.0’
– Found gmodule-2.0, version 2.52.2
– Checking for module ‘gthread-2.0’
– Found gthread-2.0, version 2.52.2
– Checking for module ‘gobject-2.0’
– Found gobject-2.0, version 2.52.2
– Checking for module ‘glibmm-2.4’
– Found glibmm-2.4, version 2.51.7
– GLIB_INCLUDE_DIRS: /usr/include/glib-2.0/usr/lib/glib-2.0/include
– GLIB_LIBRARY_DIRS:
– Checking for module ‘vips>=8.3.3’
– Found vips, version 8.5.5
– VIPS_INCLUDE_DIRS: /usr/include/libgsf-1/usr/include/libxml2/usr/include/ImageMagick-6/usr/include/orc-0.4/usr/include/OpenEXR/usr/include/poppler/glib/usr/include/poppler/usr/include/librsvg-2.0/usr/include/gdk-pixbuf-2.0/usr/include/libpng16/usr/include/cairo/usr/include/pixman-1/usr/include/libdrm/usr/include/pango-1.0/usr/include/freetype2/usr/include/libpng16/usr/include/harfbuzz/usr/include/glib-2.0/usr/lib/glib-2.0/include/usr/include/freetype2/usr/include/harfbuzz/usr/include/libpng16/usr/include/glib-2.0/usr/lib/glib-2.0/include
– VIPS_LIBRARY_DIRS:
– Checking for module ‘gtkmm-2.4’
– Found gtkmm-2.4, version 2.24.5
– GTKMM2_FOUND: 1
– GTKMM3_FOUND:
– Found Gettext
– Found msgfmt to convert language file. Translation enabled
– Msgfmt_FOUND: 1
– Try OpenMP C flag = [-fopenmp]
– Performing Test OpenMP_FLAG_DETECTED
– Performing Test OpenMP_FLAG_DETECTED - Success
– Try OpenMP CXX flag = [-fopenmp]
– Performing Test OpenMP_FLAG_DETECTED
– Performing Test OpenMP_FLAG_DETECTED - Success
– Found OpenMP: -fopenmp
BEFORE add_subdirectory(external/rawspeed)
CMake Error at src/external/rawspeed/CMakeLists.txt:11 (message):
In-source builds are not permitted. Make a separate folder for building:

mkdir build; cd build; cmake …

Before that, remove the files already created:

rm -rf CMakeCache.txt CMakeFiles

– Configuring incomplete, errors occurred!
See also “/tmp/pamac-build-fotonut/photoflow-git/src/photoflow/CMakeFiles/CMakeOutput.log”.
==> ERROR: A failure occurred in build().
Aborting…

Any ideas what could be the problem?

Cheers.

You need to make a build directory for RawSpeed.

Can you install RawSpeed?

Nope, not available in either main or aur repos.

I’ll reach the AUR maintained to propose a solution.

Meanwhile, would you know how to modify the PKGBUILD script locally on your system to check if my fix really works?

I’ve notified the AUR photoflow packager about the problem. You can follow the discussion here.

Thanks!

Thanks @Carmelo_DrRaw, though his response doesn’t seem overly positive. I guess all good things come to them who wait, eh?

Thanks for your help anyway!

I just checked in the AUR web page, and the packager reported that photoflow now builds fine!

You should now be able to update your package…

1 Like

Yes I saw that. I tried to update at the time but it still wasn’t working. Just trying again now… Seems more promising…

1 Like