ltib
[Top][All Lists]
Advanced

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

Re: [Ltib] portmap fails to build


From: sampsont
Subject: Re: [Ltib] portmap fails to build
Date: Fri, 4 Feb 2011 13:17:00 +0000 (UTC)

Hi Stuart,
Thanks for your response!

I did a ./ltib -m clean and then everything built OK


----- Original Message -----
From: "Stuart Hughes" <address@hidden>
To: address@hidden
Cc: "LTIB mailing list" <address@hidden>
Sent: Tuesday, February 1, 2011 4:11:31 AM
Subject: Re: [Ltib] portmap fails to build

Hi Todd,

I tried this on the same platform type (mpc5200) and I'm not able to
reproduce the failure.  In the log I see this:

Executing(%build): /bin/sh -e
/data/seh/Src/ltib_bsps/sv_pristine_upd/tmp/rpm-tmp.62281
+ umask 022
+ cd /data/seh/Src/ltib_bsps/sv_pristine_upd/rpm/BUILD
+ cd portmap_5beta
+ '[' -n '' ']'
+ make
gcc -Wall  -DHOSTS_ACCESS -DCHECK_PORT  -DFACILITY=LOG_DAEMON
-DIGNORE_SIGCHLD      -O2     -c -o portmap.o portmap.c
gcc -Wall  -DHOSTS_ACCESS -DCHECK_PORT  -DFACILITY=LOG_DAEMON
-DIGNORE_SIGCHLD      -O2     -c -o pmap_check.o pmap_check.c
gcc -Wall  -DHOSTS_ACCESS -DCHECK_PORT  -DFACILITY=LOG_DAEMON
-DIGNORE_SIGCHLD      -O2     -c -o from_local.o from_local.c
gcc -Wall  -DHOSTS_ACCESS -DCHECK_PORT  -DFACILITY=LOG_DAEMON
-DIGNORE_SIGCHLD      -O2     -c -o daemon.o daemon.c
....

Can you check you have tcpd.h in your rootfs:

 $ find rootfs -name tcpd.h
rootfs/usr/include/tcpd.h

Regards, Stuart






On 31/01/11 19:07, address@hidden wrote:
> After I run ./ltib -m config and select nfs-utils, portmap and
> tcp_wrapper look like this:
>
> --- tcp_wrappers
> --- portmap
>
> Then I run ./ltib and get the same error as below.
>
> ----- Original Message -----
> From: "Stuart Hughes" <address@hidden>
> To: address@hidden
> Cc: "LTIB mailing list" <address@hidden>
> Sent: Monday, January 31, 2011 1:59:26 PM
> Subject: Re: [Ltib] portmap fails to build
>
> Hi Todd,
>
> How did you try to build this? if you run ./ltib -m config and select
> nfs-utils, it should select portmap and tcp_wrapper (which has this
> header) for you.
>
> Please check that both these packages are selected and re-try.
>
> Regards, Stuart
>
> On 31/01/11 18:32, address@hidden wrote:
>> I need to make an NFS share in my target.  I checked "Package
>> List->nfs-utils" in LTIB and I get the following error messages.  It
>> looks like tcpb.h is missing.
>>
>> Can someone give me any hints?
>>
>> Thanks,
>> Todd
>>
>> I'm using ltib 10.1.1a from Savannah for PPC m5200 on Ubuntu 10.04.
>>
>> Processing: portmap
>> =====================
>> Build path taken because: directory build, build key set, no prebuilt
> rpm,
>>
>> rpmbuild --dbpath /home/developer/projects/ltib/rootfs//var/lib/rpm
>> --target ppc --define '_unpackaged_files_terminate_build 0' --define
>> '_target_cpu ppc' --define '__strip strip' --define '_topdir
>> /home/developer/projects/ltib/rpm' --define '_prefix /usr' --define
>> '_tmppath /home/developer/projects/ltib/tmp' --define '_rpmdir
>> /home/developer/projects/ltib/rpm/RPMS'  --define '_mandir
>> /usr/share/man' --define '_sysconfdir /etc' --define '_localstatedir
>> /var' -bc --short-circuit
>>  /home/developer/projects/ltib/dist/lfs-5.1/portmap/portmap.spec
>> Building target platforms: ppc
>> Building for target ppc
>> Executing(%build): /bin/sh -e
> /home/developer/projects/ltib/tmp/rpm-tmp.4655
>> + umask 022
>> + cd /home/developer/projects/ltib/rpm/BUILD
>> + cd portmap_5beta
>> + [ -n  ]
>> + make
>> gcc -Wall  -DHOSTS_ACCESS -DCHECK_PORT  -DFACILITY=LOG_DAEMON
>>  -DIGNORE_SIGCHLD   -O2     -c -o pmap_check.o pmap_check.c
>> *pmap_check.c:50:18: error: tcpd.h: No such file or directory*
>> pmap_check.c: In function 'check_default':
>> pmap_check.c:122: warning: implicit declaration of function 'hosts_ctl'
>> make: *** [pmap_check.o] Error 1
>> error: Bad exit status from
>> /home/developer/projects/ltib/tmp/rpm-tmp.4655 (%build)
>>
>>
>> RPM build errors:
>>     Bad exit status from /home/developer/projects/ltib/tmp/rpm-tmp.4655
>> (%build)
>> Build time for portmap: 0 seconds
>>
>> Failed building portmap
>>
>>
>> f_buildrpms() returned an error, exiting
>> traceback:
>>  main:567
>>
>>
>> Started: Mon Jan 31 13:17:32 2011
>> Ended:   Mon Jan 31 13:17:59 2011
>> Elapsed: 27 seconds
>>
>> Use of uninitialized value in concatenation (.) or string at ./ltib line
>> 2778.
>> VERSION          : 10.1.1
>> CVS_VERSION      : $Revision: 1.68 $ (Savannah)
>> PLATFORM         : mpc5200
>> GNUTARCH         : powerpc
>> TOOLCHAIN        :
>> TOOLCHAIN_CFLAGS :
>>
>> These packages failed to build:
>> portmap
>>
>>
>>
>> _______________________________________________
>> LTIB home page: http://ltib.org
>>
>> Ltib mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/ltib

reply via email to

[Prev in Thread] Current Thread [Next in Thread]