|
List Info
Thread: is graphics/linux-cairo broken?
|
|
| is graphics/linux-cairo broken? |

|
2008-01-02 00:57:13 |
Like many people, I upgrade my ports by building everything
in a staging
area using chroot(1). For the last few days I've had a
terrible time
with this process because I've been bumping into a problem
with the
graphics/linux-cairo port (there may be others??).
I'm running 6.3-PRERELEASE and I've csup'd my world/kernel
and staging area
multiple times today. Here's the output when I hit
linux-cairo:
===> Cleaning for linux-cairo-1.0.2
===> Vulnerability check disabled, database not found
===> Extracting for linux-cairo-1.0.2
=> MD5 Checksum OK for
rpm/i386/fedora/4/cairo-1.0.2-2.gst.1.4.i386.rpm.
=> SHA256 Checksum OK for
rpm/i386/fedora/4/cairo-1.0.2-2.gst.1.4.i386.rpm.
===> linux-cairo-1.0.2 depends on file:
/usr/local/bin/rpm2cpio - found
===> Patching for linux-cairo-1.0.2
===> Configuring for linux-cairo-1.0.2
===> Installing for linux-cairo-1.0.2
===> Generating temporary packing list
===> Checking if graphics/linux-cairo already installed
cd /usr/ports/graphics/linux-cairo/work &&
/usr/bin/find * -type d -exec /bin/mkdir -p
"/compat/linux/{}" ;
cd /usr/ports/graphics/linux-cairo/work &&
/usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel
/compat/linux
1523 blocks
===> Running ldconfig
/sbin/ldconfig -m /compat/linux/lib
/libexec/ld-elf.so.1: Undefined symbol "__stdoutp"
referenced from COPY relocation in /bin/sh
*** Error code 1
Stop in /usr/ports/graphics/linux-cairo.
===>>> Installation of new port failed
===>>> Aborting update
/libexec/ld-elf.so.1: Undefined symbol "__stdoutp"
referenced from COPY relocation in ps
/libexec/ld-elf.so.1: Undefined symbol "__stdinp"
referenced from COPY relocation in rm
/libexec/ld-elf.so.1: Undefined symbol "__stdinp"
referenced from COPY relocation in rm
~~~~~~~~~~
Obviously any further commands break with similar undefined
symbols. The
problem is that FreeBSD's ldconfig is being run (instead of
Linux's) to
merge /compat/linux/lib in with the FreeBSD bits. Since I
was thankfully
running in a chroot, I can just remove the
/var/run/ld-elf.so.hints file
but I also have to remove /compat/linux/lib from my ldconfig
directories.
The FreeBSD libs shouldn't be mixing with the Linux libs,
right?
My guess is linux-cairo shouldn't be setting USE_LDCONFIG or
it should
redefine LDCONFIG to use $/sbin/ldconfig and
perhaps run it via
chroot. If I'm correct, this isn't the only port which is
broken. A
bunch of other linux ports do something similar and in
different ways (see
"grep -i ldconfig /usr/ports/*/linux*/Makefile").
How come I'm the first to be hosed by this? Or maybe I'm
missing something
obvious?
-- Rick C. Petty
_______________________________________________
freebsd-emulation freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribe freebsd.org"
|
|
| Re: is graphics/linux-cairo broken? |

|
2008-01-02 07:33:51 |
Quoting "Rick C. Petty" <rick-freebsd kiwi-computer.com> (Wed, 2 Jan 2008 00:57:13
-0600):
> My guess is linux-cairo shouldn't be setting
USE_LDCONFIG or it should
This is correct, it should use "INSTALLS_SHLIB=
yes" instead.
Bye,
Alexander.
--
Ferengi Rule of Acquisition #194:
It's always good to know about new customers before they
walk
in your door.
-- ST S9,
"Whispers"
http://www.Leidinger.net
Alexander Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org
netchild FreeBSD.org : PGP ID = 72077137
_______________________________________________
freebsd-emulation freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribe freebsd.org"
|
|
| Re: is graphics/linux-cairo broken? |

|
2008-01-02 18:17:59 |
On Wed, Jan 02, 2008 at 02:33:51PM +0100, Alexander
Leidinger wrote:
> Quoting "Rick C. Petty" <rick-freebsd kiwi-computer.com> (Wed, 2 Jan 2008 00:57:13
-0600):
>
> > My guess is linux-cairo shouldn't be setting
USE_LDCONFIG or it should
>
> This is correct, it should use "INSTALLS_SHLIB=
yes" instead.
Shall I file one PR per port that's broken or one total PR?
-- Rick C. Petty
_______________________________________________
freebsd-emulation freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribe freebsd.org"
|
|
| Re: is graphics/linux-cairo broken? |

|
2008-01-03 05:17:39 |
Quoting "Rick C. Petty" <rick-freebsd kiwi-computer.com> (Wed, 2 Jan 2008 18:17:59
-0600):
> On Wed, Jan 02, 2008 at 02:33:51PM +0100, Alexander
Leidinger wrote:
> > Quoting "Rick C. Petty"
<rick-freebsd kiwi-computer.com> (Wed, 2 Jan 2008
00:57:13 -0600):
> >
> > > My guess is linux-cairo shouldn't be setting
USE_LDCONFIG or it should
> >
> > This is correct, it should use
"INSTALLS_SHLIB= yes" instead.
>
> Shall I file one PR per port that's broken or one total
PR?
I suggest one PR per maintainer. Note, only for linux ports
INSTALLS_SHLIB should be used, for native ports USE_LDCONFIG
is right.
Alternatively someone could test the USE_LDCONFIG stuff in
http://www.leidinger.net/FreeBSD/port-patches/M
k:bsd.port.mk.diff
So far I hadn't time to really test it (but as I installed
linux-cairo
before your bug report and didn't noticed a problem, it may
already
work...). If someone really tests it and confirms it works,
I will send
a PR to portmgr to integrate it.
Bye,
Alexander.
--
BOFH excuse #32:
techtonic stress
http://www.Leidinger.net
Alexander Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org
netchild FreeBSD.org : PGP ID = 72077137
_______________________________________________
freebsd-emulation freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emu
lation
To unsubscribe, send any mail to
"freebsd-emulation-unsubscribe freebsd.org"
|
|
[1-4]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|