On Sat, Mar 14, 2009 at 12:49 PM, Paul Floyd <paulf at free.fr> wrote:
> Lukas Oboril wrote:
>
>>    Stright off I see:
>>
>>    ! msgfmt is not GNU msgfmt; make sure GNU msgfmt
>>    !   is in your path and can be called as "msgfmt"
>>    ! System will probably not compile properly.
>>    !   hit ^C now to abort compilation.
>>
>>    Can I ignore this?
>>
>>
>> uffff I never seen this type of message. More detail ?
>
>
> It looks like this comes from
>
> tools/check-versions.sh
>
> which is finding /usr/bin/msgfmt
>
> When I do the setup ". /opt/dtbld/bin/env.sh ss12", it sets the path to
>
> Setting
> PATH=/opt/dtbld/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/gnu/bin:/usr/bin:/usr/sbin:/bin:/usr/sfw/bin
>
> If I manually alter that, changing /usr/bin/gnu (inexistent on this S10
> machine) for /opt/sfw/bin, then at least the message goes away. I realize
> that /opt/sfw/bin might not be a good idea.
>
> And now for a couple more errors:
>
> paulf> svcs -xv
> svc:/system/dbus:default (D-BUS message bus)
>  State: maintenance since Sat Mar 14 10:14:23 2009
> Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
>   See: http://sun.com/msg/SMF-8000-KS
>   See: man -M /usr/man -s 3 dbus-daemon
>   See: /var/svc/log/system-dbus:default.log
> paulf> cat /var/svc/log/system-dbus:default.log
> [ Mar 14 10:14:23 Enabled. ]
> [ Mar 14 10:14:23 Executing start method ("/lib/svc/method/svc-dbus start")
> ]
> Failed to start message bus: Could not get UID and GID for username "dbus"
> dbus failed to start: error 1
> [ Mar 14 10:14:23 Method "start" exited with status 95 ]
> [ Mar 14 10:14:23 Rereading configuration. ]
>
> Looks like dbus failed to install correctly.

yes.  this usually only happens once, because once you fix it you never
see it again.

dbus needs a user and group to install with.

Here's a snippet from the package installer I wrote for
KDE-4.1.3 on S10/X64.

########################################################
#
# Accounts needed for applications for Solaris 10:
#
# DBUS:
#
# /etc/group
# 'dbus::91:dbus'
#
DBUS_GROUP=`/usr/bin/grep "^dbus:" /etc/group 2> /dev/null`
if [ -z "${DBUS_GROUP}" ]; then
        /usr/bin/echo "A dbus group must be created for the dbus application"
        /usr/bin/echo "try \"/usr/sbin/groupadd -g 91 dbus\" as root
or Primary Administrator"
        exit 1
fi
#
# /etc/passwd
# 'dbus:x:91:91:Dbus service Reserved UID:/:'
#
DBUS_USER=`/usr/bin/grep "^dbus:" /etc/passwd 2> /dev/null`
if [ -z "${DBUS_USER}" ]; then
        /usr/bin/echo "A dbus user must be created for the dbus application"
        /usr/bin/echo "try
/usr/sbin/useradd -c \"Dbus service Reserved UID\" -g 91 -G dbus -u 91
-d / -s /bin/false dbus
as root or Primary Administrator"
        exit 1
fi
DBUS_GID=`/usr/bin/echo ${DBUS_USER} | /usr/bin/cut -f4 -d: 2> /dev/null`
DBUS_USER_IN_DBUS_GROUP=`/usr/bin/echo ${DBUS_GROUP} | /usr/bin/cut
-f4 -d: 2> /dev/null`
DBUS_GROUP_GID=`/usr/bin/echo ${DBUS_GROUP} | /usr/bin/cut -f3 -d: 2> /dev/null`
if [ -z "${DBUS_USER_IN_DBUS_GROUP}" ]; then
        /usr/bin/echo "The dbus user must be in the dbus /etc/group entry"
        exit 1
fi
if [ "${DBUS_GID}" != "${DBUS_GROUP_GID}" ]; then
        /usr/bin/echo "The dbus user's gid entry in /etc/passwd does
not match the entry in /etc/group"
        exit 1
fi

>
> Then, building stdcxx
>
> pkgbuild: File not found by glob:
> /var/tmp/pkgbuild-paulf/FOSSstdcxx-4.2.1-build/opt/foss/include/stdcxx/tr1/stdint.h

have a funny feeling this is locale related.... either that, or we got a bogus
patch in there.

Ben

Reply via email to