Skip Menu |

This queue is for tickets about the a2pdf CPAN distribution.

Report information
The Basics
Id: 131695
Status: new
Priority: 0/
Queue: a2pdf

People
Owner: Nobody in particular
Requestors: bruce.lilly [...] gmail.com
Cc:
AdminCc:

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



Subject: a2pdf 1.13 --noheader --nofooter --noperl-syntax vs. formfeed bug
Date: Wed, 5 Feb 2020 13:52:18 -0500
To: bug-a2pdf [...] rt.cpan.org
From: Bruce Lilly <bruce.lilly [...] gmail.com>
Hello, # a2pdf --version This is a2pdf, version 1.13 # perl -V Summary of my perl5 (revision 5 version 30 subversion 1) configuration: Platform: osname=freebsd osvers=12.1-stable archname=amd64-freebsd-thread-multi uname='freebsd ghostbsd-12-trueos-ports-job-01 12.1-stable freebsd 12.1-stable 1201500 amd64 ' config_args='-sde -Dprefix=/usr/local -Dlibperl=libperl.so.5.30.1 -Darchlib=/usr/local/lib/perl5/5.30/mach -Dprivlib=/usr/local/lib/perl5/5.30 -Dman3dir=/usr/local/lib/perl5/5.30/perl/man/man3 -Dman1dir=/usr/local/lib/perl5/5.30/perl/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl/mach/5.30 -Dsitelib=/usr/local/lib/perl5/site_perl -Dscriptdir=/usr/local/bin -Dsiteman3dir=/usr/local/lib/perl5/site_perl/man/man3 -Dsiteman1dir=/usr/local/lib/perl5/site_perl/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl -Dusenm=n -Dcc=cc -Duseshrplib -Dinc_version_list=none -Dcf_by=mat -Dcf_email=mat@FreeBSD.org -Dcf_time=Sun Nov 10 14:14:17 UTC 2019 -Alddlflags=-L/wrkdirs/usr/ports/lang/perl5.30/work/perl-5.30.1 -L/usr/local/lib/perl5/5.30/mach/CORE -lperl -Dshrpldflags=$(LDDLFLAGS:N-L/wrkdirs/usr/ports/lang/perl5.30/work/perl-5.30.1:N-L/usr/local/lib/perl5/5.30/mach/CORE:N-lperl) -Wl,-soname,$(LIBPERL:R) -Doptimize=-O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Dusedtrace -Ui_gdbm -Dusemultiplicity=y -Duse64bitint -Dusemymalloc=n -Dusethreads=y -Accflags=-DUSE_THREAD_SAFE_LOCALE' 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 -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2' optimize='-O2 -pipe -fstack-protector-strong -fno-strict-aliasing ' cppflags='-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -DUSE_THREAD_SAFE_LOCALE -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include' ccversion='' gccversion='4.2.1 Compatible FreeBSD Clang 8.0.1 (tags/RELEASE_801/final 366581)' 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/lib/clang/8.0.1/lib /usr/lib libs=-lpthread -lm -lcrypt -lutil perllibs=-lpthread -lm -lcrypt -lutil libc= so=so useshrplib=true libperl=libperl.so.5.30.1 gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs dlext=so d_dlsymun=undef ccdlflags=' -Wl,-R/usr/local/lib/perl5/5.30/mach/CORE' cccdlflags='-DPIC -fPIC' lddlflags='-shared -L/usr/local/lib/perl5/5.30/mach/CORE -lperl -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 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 USE_THREAD_SAFE_LOCALE Built under freebsd @INC: /usr/local/lib/perl5/site_perl/mach/5.30 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.30/mach /usr/local/lib/perl5/5.30 # uname -v FreeBSD 12.1-STABLE GENERIC Input test file has a formfeed: # cat -vet boo foo$ ^L$ the end$ a2pdf specifying --noheader --nofooter --noperl-syntax vomits up an error message: # a2pdf --noheader --nofooter --noperl-syntax boo Can't call method "width" on an undefined value at /usr/local/lib/perl5/site_perl/PDF/API2/Content.pm line 1852, <> line 3. Eliminating any of the three options eliminates the error message, but does not produce the desired output (real input is screwed up by perl syntax highlighting). Best regards, Bruce Lilly