pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make xPDF



Here is the result:

gandalf# make
make
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing dependencies for xpdf-3.04nb2
==========================================================================
The following variables will affect the build process of this package,
xpdf-3.04nb2.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg
        * MOTIFBASE (defined)
        * MOTIF_TYPE = motif

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0
=> Build dependency xbitmaps>=1.0: found xbitmaps-1.1.3
=> Full dependency urw-fonts-[0-9]*: found urw-fonts-2.0nb1
=> Full dependency poppler-utils-[0-9]*: NOT found
=> Verifying reinstall for ../../print/poppler-utils
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing dependencies for poppler-utils-23.06.0
==========================================================================
The following variables will affect the build process of this package,
poppler-utils-23.06.0.  Their current value is shown below:

        * JPEG_DEFAULT = jpeg

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=3.18: found cmake-3.27.6
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Build dependency boost-headers-1.83.*: found boost-headers-1.83.0
=> Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0
=> Build dependency xorgproto>=2016.1: found xorgproto-2023.2
=> Full dependency openjpeg>=2.1.0: found openjpeg-2.5.0nb1
=> Full dependency poppler>=23.06.0: NOT found
=> Verifying reinstall for ../../print/poppler
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Checking for vulnerabilities in poppler-23.06.0
Package poppler-23.06.0 has a denial-of-service vulnerability, see
https://nvd.nist.gov/vuln/detail/CVE-2017-9083
Package poppler-23.06.0 has a denial-of-service vulnerability, see
https://nvd.nist.gov/vuln/detail/CVE-2019-9543
Package poppler-23.06.0 has a denial-of-service vulnerability, see
https://nvd.nist.gov/vuln/detail/CVE-2019-9545
===> Configuring for poppler-23.06.0
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
    Reason given by package: The command
      "/usr/pkgsrc/print/poppler/work/.tools/bin/pkg-config" --version
    failed with output:

    stderr:

    result:
1

CMake Warning at CMakeLists.txt:96 (message):


   No test data found in $testdatadir.
   You will not be able to run 'make test' successfully.



   The test data is not included in the source packages
   and is also not part of the main git repository. Instead,
   you can checkout the test data from its own git
   repository with:



     git clone git://git.freedesktop.org/git/poppler/test



   You should checkout the test data as a sibling of your
   poppler source folder or specify the location of your
   checkout with -DTESTDATADIR=/path/to/checkoutdir/test.



CMake Error at /usr/pkg/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
  Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Call Stack (most recent call first):
  /usr/pkg/share/cmake-3.27/Modules/FindPackageHandleStandardArgs.cmake:600
(_FPHSA_FAILURE_MESSAGE)
  /usr/pkg/share/cmake-3.27/Modules/FindPkgConfig.cmake:99
(find_package_handle_standard_args)
  cmake/modules/FindNSS3.cmake:15 (find_package)
  cmake/modules/MacroOptionalFindPackage.cmake:32 (find_package)
  CMakeLists.txt:154 (macro_optional_find_package)


-- Configuring incomplete, errors occurred!
*** Error code 1

Stop.
make[3]: stopped in /usr/pkgsrc/print/poppler
*** Error code 1

Stop.
make[2]: stopped in /usr/pkgsrc/print/poppler
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/print/poppler-utils
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/xpdf
gandalf#



I did chmod -R root.wheel * while inside of /usr/pkgsrc


All things were owned by "600.125" -- what do these names mean??



On Tue, Jan 9, 2024 at 12:31 PM Chavdar Ivanov <ci4ic4%gmail.com@localhost> wrote:
>
> Most likely there is a stale build of poppler hanging around. Clean it
> first; seeing that it is a dependency of xpdf, I would have installed
> it first.
>
> In case you want to post to the list a log of the build errors, do
> somethng like:
>
> make 2>&1 | tee /tmp/package-error.log
>
> then examine /tmp/package-error.log, get rid of the obviously
> successful initial bits and leave the part causing the problem -
> sometimes these log files can be too long to expect them to be
> examined by the people who maintain the packages.
>
> FWIW, xpdf builds straight from the bat for me. There are a lot of
> "... warning: ISO C++ forbids converting a...[-Wwrite-strings]" type
> of errors, so to silence it one might wish to adjust the CFLAGS.
>
> I'd be wary, though -
>
> pkg_admin audit-history  xpdf | wc -l
> 109
>
> Chavdar
>
> On Tue, 9 Jan 2024 at 10:58, Bartlomiej Krawczyk
> <bbartlomiej.mail%gmail.com@localhost> wrote:
> >
> > On 1/9/24 06:44, Todd Gruhn wrote:
> > > I just did that.    Su root
> > >
> > > make clean
> > > make
> > > then I get weird errors
> > >
> > > Idea here?
> >
> > No, not really, because you have not provided these "weird" errors.
> > Try "make clean-depends" as root from your print/xpdf directory.
> > Reset your permissions doing "chown -R root:wheel /usr/pkgsrc", as root.
> > Then, as root, try "make install" again from your print/xpdf directory.
> >
> > I've just checked on amd64 10.0RC2 using pkgsrc-2023Q4 and print/xpdf
> > built just fine.
> >
> > In future please be more descriptive. What command you gave, what are
> > the errors you get, which version of pkgsrc are you using. Saying "I get
> > weird errors. Ideas?" doesn't allow anybody to chime in, really.
> >
> > Good luck!
> > --
> > Regards,
> > Bartlomiej Krawczyk
> >
>
>
> --
> ----


Home | Main Index | Thread Index | Old Index