Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 15:06:30 +0200
From:      Torfinn Ingolfsen <tingox@gmail.com>
To:        FreeBSD Ports ML <freebsd-ports@freebsd.org>
Cc:        x11@FreeBSD.org
Subject:   libdrm 2.4.58 upgrade fails
Message-ID:  <CAJ_iqtaf%2Bb-q=ANjd0KfZ0RbCiQba1fUDKWVRnPi4URga%2B%2BRzg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Upgrading libdrm to version 2.4.58 fails:
root@kg-v7# uname -a
FreeBSD kg-v7.kg4.no 10.1-STABLE FreeBSD 10.1-STABLE #0 r278322: Fri
Feb  6 21:36:01 CET 2015
root@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
root@kg-v7# pv libdrm*
[Reading data from pkg(8) ... - 488 packages found - done]
libdrm-2.4.50               <  needs updating (port has 2.4.58_1,1)
root@kg-v7# portupgrade -R libdrm
[...]
buffers.c:163:15: warning: packed attribute is unnecessary for 'value'
[-Wpacked]
        unsigned int value:24;
                     ^
1 warning generated.
1 warning generated.
  CCLD     modetest
libtool: link: cannot find the library
`/usr/local/lib/libfontconfig.la' or unhandled argument
`/usr/local/lib/libfontconfig.la'
Makefile:418: recipe for target 'modetest' failed
gmake[5]: *** [modetest] Error 1
gmake[5]: Leaving directory
'/usr/ports/graphics/libdrm/work/libdrm-2.4.58/tests/modetest'
Makefile:824: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
'/usr/ports/graphics/libdrm/work/libdrm-2.4.58/tests'
Makefile:742: recipe for target 'all-recursive' failed
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory '/usr/ports/graphics/libdrm/work/libdrm-2.4.58'
Makefile:500: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory '/usr/ports/graphics/libdrm/work/libdrm-2.4.58'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/libdrm
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/libdrm
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20150401-46550-1b6s0of env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=libdrm-2.4.50 UPGRADE_PORT_VER=2.4.50 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
    ! graphics/libdrm (libdrm-2.4.50)    (unknown build error)

Perhaps the port is looking for the wrong file?
root@kg-v7# ll /usr/local/lib/libfontc*
lrwxr-xr-x  1 root  wheel      22 Feb  6 23:47
/usr/local/lib/libfontconfig.so@ -> libfontconfig.so.1.8.0
lrwxr-xr-x  1 root  wheel      22 Feb  6 23:47
/usr/local/lib/libfontconfig.so.1@ -> libfontconfig.so.1.8.0
-rwxr-xr-x  1 root  wheel  262024 Feb  6 23:47
/usr/local/lib/libfontconfig.so.1.8.0*

Trying a 'make' (after make clean) in the ports directory doesn't work either
-- 
Regards,
Torfinn Ingolfsen,
Norway



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ_iqtaf%2Bb-q=ANjd0KfZ0RbCiQba1fUDKWVRnPi4URga%2B%2BRzg>