Skip Menu |

This queue is for tickets about the RPM4 CPAN distribution.

Report information
The Basics
Id: 124987
Status: rejected
Priority: 0/
Queue: RPM4

People
Owner: Nobody in particular
Requestors: jkeenan [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: FreeBSD-11.0: test failures related to undefined symbol 'fdatasync'
In preparation for the release of perl-5.28.0 in May 2018, I have been testing a selected subset of CPAN distributions against monthly development releases in the perl-5.27.* series. Today I tried to install RPM4 against perl-5.27.10 on FreeBSD-11.0 using 'cpanm' as the installer. I first installed 'rpm4' with 'pkg'. I then attempted to build, test and install this library in my normal procedure. See attachment which presents a summary of the cpanm build.log for this attempt. Also attached is the relevant 'perl -V' output. There are many warnings during 'make' but the Makefile ultimately is generated. The failures during 'make test' tend to look like this: ##### "# Tried to use 'RPM4'.", "# Error: Can't load '/usr/home/jkeenan/prep528/testing/perl-5.27.10/.cpanm/work/1522591710.9308/RPM4-0.38/blib/arch/auto/RPM4/RPM4.so' for module RPM4: /usr/local/lib/librpm.so.7: Undefined symbol \"fdatasync\" at /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi/DynaLoader.pm line 193.", ##### I note that RPM4's latest version is failing all its tests on FreeBSD (http://matrix.cpantesters.org/?dist=RPM4%200.38;os=freebsd;reports=1), though the tester submitting those reports appears to be getting farther along in the process than I am. Other CPAN distributions depend on RPM4, so until we can test and install it successfully on this OS we will be unable to assess the perl-5.28-readiness of those other distributions as well. Thank you very much. Jim Keenan
Subject: TVIGNAUD.RPM4-0.38.log.txt

Message body is not shown because it is too large.

Subject: freebsd-11.0.perl-5.27.10_V.txt
Summary of my perl5 (revision 5 version 27 subversion 10) configuration: Platform: osname=freebsd osvers=11.0-release-p1 archname=amd64-freebsd-thread-multi uname='freebsd kid51-freebsd-11-install-3 11.0-release-p1 freebsd 11.0-release-p1 #0 r306420: thu sep 29 01:43:23 utc 2016 root@releng2.nyi.freebsd.org:usrobjusrsrcsysgeneric amd64 ' config_args='-des -Dusedevel -Duseithreads -Doptimize=-O2 -pipe -fstack-protector -fno-strict-aliasing -Uversiononly -Dman1dir=none -Dman3dir=none -Dprefix=/home/jkeenan/prep528/testing/perl-5.27.10' hint=recommended useposix=true d_sigaction=define useithreads=define usemultiplicity=define use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef Compiler: cc='cc' ccflags ='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2 -pipe -fstack-protector -fno-strict-aliasing' cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible FreeBSD Clang 3.8.0 (tags/RELEASE_380/final 262564)' gccosandvers='' intsize=4 longsize=8 ptrsize=8 doublesize=8 byteorder=12345678 doublekind=3 d_longlong=define longlongsize=8 d_longdbl=define longdblsize=16 longdblkind=3 ivtype='long' ivsize=8 nvtype='double' nvsize=8 Off_t='off_t' lseeksize=8 alignbytes=8 prototype=define Linker and Libraries: ld='cc' ldflags ='-pthread -Wl,-E -fstack-protector-strong -L/usr/local/lib' libpth=/usr/lib /usr/local/lib /usr/bin/../lib/clang/3.8.0/lib /usr/lib libs=-lpthread -lgdbm -lm -lcrypt -lutil perllibs=-lpthread -lm -lcrypt -lutil libc= so=so useshrplib=false libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' ' cccdlflags='-DPIC -fPIC' lddlflags='-shared -L/usr/local/lib -fstack-protector-strong' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP PERL_OP_PARENT PERL_PRESERVE_IVUV PERL_USE_DEVEL USE_64_BIT_ALL USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under freebsd Compiled at Mar 21 2018 12:59:59 %ENV: PERL2DIR="/home/jkeenan/gitwork/perl2" PERL_WORKDIR="/home/jkeenan/gitwork/perl" @INC: lib/5.27.10/amd64-freebsd-thread-multi lib/5.27.10 lib /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/site_perl/5.27.10 /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd-thread-multi /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10
Le Dim 01 Avr 2018 10:33:13, JKEENAN a écrit : Show quoted text
> "# Tried to use 'RPM4'.", > "# Error: Can't load '/usr/home/jkeenan/prep528/testing/perl- > 5.27.10/.cpanm/work/1522591710.9308/RPM4- > 0.38/blib/arch/auto/RPM4/RPM4.so' for module RPM4: > /usr/local/lib/librpm.so.7: Undefined symbol \"fdatasync\" at > /home/jkeenan/prep528/testing/perl-5.27.10/lib/5.27.10/amd64-freebsd- > thread-multi/DynaLoader.pm line 193.",
RPM4 doesn't use fdatasync(). And indeed your error message shows the issue relies with librpm.so.7 and thus with the rpm-4.13.x you compiled
Issue relies in local installation's libraries, not in RPM4