Re: [Rpm-maint] [rpm-software-management/rpm] packageBinaries compile error when building rpm-4.16.0-beta3 from source (#1315)

2020-09-02 Thread Panu Matilainen
Closed #1315 via 6a780f10c2b600cfc38f8b8f20cb7e40b979f541.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1315#event-3718117014___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] packageBinaries compile error when building rpm-4.16.0-beta3 from source (#1315)

2020-08-05 Thread Michal Domonkos
Thanks for reporting this, @pixdrift. While the only solution for you is what 
Panu outlined above, I have at least updated the configure script so that it 
checks for the actual OpenMP version in the compiler, and also added a short 
section into the INSTALL file which states the required version.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1315#issuecomment-669289353___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] packageBinaries compile error when building rpm-4.16.0-beta3 from source (#1315)

2020-08-03 Thread Panu Matilainen
To work around, configure with --disable-openmp.

But building on RHEL/CentOS 7 is not supported anymore, the Lua version is too 
old as well.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1315#issuecomment-667888660___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] packageBinaries compile error when building rpm-4.16.0-beta3 from source (#1315)

2020-07-22 Thread Florian Festi
This might be an issue with the omp support in the version of gcc. We might 
need to add checks for the omp version supported or at least document the 
version we require in the INSTALL file.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1315#issuecomment-662493851___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] [rpm-software-management/rpm] packageBinaries compile error when building rpm-4.16.0-beta3 from source (#1315)

2020-07-22 Thread pixdrift
I have confirmed that this issue also exists in `beta1` and `beta2` releases.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1315#issuecomment-662450641___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint


[Rpm-maint] [rpm-software-management/rpm] packageBinaries compile error when building rpm-4.16.0-beta3 from source (#1315)

2020-07-22 Thread pixdrift
When compiling rpm-4.16.0-beta3 from source, following error occurs at `make` 
step:
```
libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I.. -I.. -I../include/ 
-I../misc -D_REENTRANT -Wall -Wpointer-arith -Wmissing-prototypes 
-Wstrict-prototypes -fno-strict-aliasing -fstack-protector -Wempty-body 
-fopenmp -g -O2 -MT pack.lo -MD -MP -MF .deps/pack.Tpo -c pack.c  -fPIC -DPIC 
-o .libs/pack.o
pack.c: In function 'packageBinaries':
pack.c:769:26: error: expected '#pragma omp' clause before 'priority'
  #pragma omp task untied priority(i)
  ^
make[2]: *** [pack.lo] Error 1
```

Build environment is clean CentOS 7.8
`CentOS Linux release 7.8.2003 (Core)`

Versions of compiler, dependencies etc.
```
cpp-4.8.5-39.el7.x86_64
file-5.11-36.el7.x86_64
file-devel-5.11-36.el7.x86_64
file-libs-5.11-36.el7.x86_64
gcc-4.8.5-39.el7.x86_64
glibc-2.17-307.el7.1.x86_64
glibc-common-2.17-307.el7.1.x86_64
glibc-devel-2.17-307.el7.1.x86_64
glibc-headers-2.17-307.el7.1.x86_64
kernel-headers-3.10.0-1127.13.1.el7.x86_64
libarchive-3.1.2-14.el7_7.x86_64
libarchive-devel-3.1.2-14.el7_7.x86_64
libdb-5.3.21-25.el7.x86_64
libdb-devel-5.3.21-25.el7.x86_64
libdb-utils-5.3.21-25.el7.x86_64
libgcc-4.8.5-39.el7.x86_64
libgcrypt-devel-1.5.3-14.el7.x86_64
libgomp-4.8.5-39.el7.x86_64
libgpg-error-devel-1.12-3.el7.x86_64
libmpc-1.0.1-3.el7.x86_64
lua-devel-5.1.4-15.el7.x86_64
lzo-2.06-8.el7.x86_64
make-3.82-24.el7.x86_64
mpfr-3.1.1-4.el7.x86_64
popt-devel-1.13-16.el7.x86_64
python-magic-5.11-36.el7.noarch
zlib-devel-1.2.7-18.el7.x86_64
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1315___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint