@kragacles:
==> Starting package()...
error: package 'ptscotch-openmpi' was not found
The above is due to line 34 of the PKGBUILD:
_sversion=`pacman -Q ptscotch-openmpi | sed -e 's/.* //; s/-.*//g'`
which still tries to filter the version of the old ptscotch-openmpi package.
Then
/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadGetUnused'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadClose'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadOpen'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzRead'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzWriteClose'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzWriteOpen'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzWrite'
collect2: error: ld returned 1 exit status
/home/user/aur-builds/openfoam/src/OpenFOAM-2.3.1/wmake/Makefile:149: recipe for target '/home/user/aur-builds/openfoam/src/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/decomposePar' failed
/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadGetUnused'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadClose'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzReadOpen'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzRead'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzWriteClose'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzWriteOpen'
/usr/lib/libscotch.so: undefined reference to `BZ2_bzWrite'
collect2: error: ld returned 1 exit status
/home/user/aur-builds/openfoam/src/OpenFOAM-2.3.1/wmake/Makefile:149: recipe for target '/home/user/aur-builds/openfoam/src/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/bin/renumberMesh' failed
Both of the above applications (decomposePar,renumberMesh) give linking errors due to missing link flags for bzip2 (-lbz2). The dependency to bzip2 should also be added.
I provide the pastebin links to a PKGBUILD and a scotch-options.patch that resolved all the above issues for me.
http://pastebin.com/x71evWQw
http://pastebin.com/Hr4FB4iK
Search Criteria
Package Details: openfoam-org 11.20240704-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/openfoam.git (read-only, click to copy) |
---|---|
Package Base: | openfoam |
Description: | The open source CFD toolbox (www.openfoam.org) |
Upstream URL: | http://www.openfoam.org |
Licenses: | GPL |
Provides: | openfoam |
Submitter: | None |
Maintainer: | petronny (AutoUpdateBot) |
Last Packager: | AutoUpdateBot |
Votes: | 63 |
Popularity: | 1.44 |
First Submitted: | 2009-07-02 09:16 (UTC) |
Last Updated: | 2024-07-05 09:28 (UTC) |
Dependencies (8)
- boost (boost-gitAUR)
- bzip2 (bzip2-gitAUR)
- cgal (cgal-gitAUR)
- flex (flex-gitAUR)
- paraview (paraview-gitAUR)
- parmetisAUR (parmetis-gitAUR)
- scotchAUR (scotch-gitAUR)
- bash (bash-devel-static-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR, bash-gitAUR) (make)
Required by (0)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 13 14 15 16 17 18 19 20 21 22 23 .. 27 Next › Last »
eleftg commented on 2015-03-06 19:16 (UTC)
kragacles commented on 2015-03-05 17:51 (UTC)
Updated OpenFOAM to use the new merged scotch package.
kragacles commented on 2015-01-27 18:20 (UTC)
Good catch. Turns out the INFO file somehow got an extra space behind the line: pkgrel = 2
I don't use yaourt so I hadn't noticed. The new update fixes this.
Xwang commented on 2015-01-27 17:57 (UTC)
Can you have a look at this bug I've opened (https://github.com/archlinuxfr/yaourt/issues/77#issuecomment-71693684)?
yaourt keeps telling me that this package is upgradable and one of the guys says:
AUR reports "2.3.1-2 " (with a space at the end : https://aur.archlinux.org/rpc.php?type=info&arg=openfoam)
So the comparison returns "2.3.1-2 " > "2.3.1-2"
For now, I don't know if it's a package error or AUR rpc's error.
Is it a package or rpc's error?
kragacles commented on 2015-01-16 19:41 (UTC)
Sorry about that. Totally forgot to add them back in after using makepkg. They are in the latest.
Xwang commented on 2015-01-16 19:29 (UTC)
I've got the following error:
Avvio di package() in corso...
/tmp/yaourt-tmp-andreak/aur-openfoam/./PKGBUILD: riga 49:
/tmp/yaourt-tmp-andreak/aur-openfoam/decomp-options.patch: File o directory non esistente
==> ERRORE: Si è verificato un errore in package().
L'operazione sta per essere interrotta...
==> ERRORE: Makepkg non è riuscito a compilare openfoam.
==> Riavviare la compilazione di openfoam [s/N
The issue is in these lines of the PKGBUILD file:
# Patch for archlinux parmetis, paraview and openmpi paths, and ptscotch link lines
patch -p1 < $startdir/decomp-options.patch
patch -p1 < $startdir/paraFoam.patch
patch -p1 < $startdir/scotch-options.patch
because in /tmp/yaourt-tmp-andreak/aur-openfoam/ these files are not present.
kragacles commented on 2015-01-15 21:00 (UTC)
Updated for 2.3.1
kragacles commented on 2014-12-10 16:26 (UTC)
2.3.1 is out, I'll be updating once I verify everything builds and works again.
kragacles commented on 2014-06-04 14:19 (UTC)
2.3.0 is up. Sorry for the wait!
panda-z commented on 2014-02-20 02:18 (UTC)
New dependencies: flex, cgal
Pinned Comments
petronny commented on 2020-08-04 08:36 (UTC) (edited on 2023-04-14 08:48 (UTC) by petronny)
Pre-built binaries of this package and its dependencies can be found in the arch4edu repository.