On 06/29/2015 09:04 AM, Chris Westervelt wrote:
Peter,
Sorry to respond to you outside of the server. I figured I would just attach
these two short text files for the output you requested. I work from an older
cvs get from about 2010 but I have pulled the latest from the cvs with the
netinstall.pl script and the same error occurs when building dhcp. I have no
problem with 10.04 Ubuntu.
Hmm, the bld log doesn't indicate anything wrong. When I run it I see:
Executing(%build): /bin/sh -e
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/tmp/rpm-tmp.34776
+ umask 022
+ cd
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD
+ cd dhcp-3.0.3b1
+ ./configure
System Type: linux-3
make[1]: Entering directory
`/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make
rule.
Making links in common
make[2]: Entering directory
`/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3/common'
make[2]: Leaving directory
`/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1/work.linux-3/common'
Making links in minires
...
Digging into things more I noticed I created a patch for linux-3.0 systems that
is attached. Try adding that patch into your dhcp package and see if it helps.
(you'll need to re-unpack the dhcp package source to incorporate the new patch
after modifying your dhcp.spec file).
Wonder why you don't see at least the dump of what the .spec file %build
section is attempting to run. Ignoring that, modify rpm/BUILD/dhcp/configure
and add "set -x" at the top to tell the shell configure is running in to show
its commands; useful to show the control flow and variable assignments. When I
run it here (with the attached patch) I see the following. Compare it to your
patched source output and see if/where they diverge. Of course directory names
will be different.
+ cd
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD
+ cd dhcp-3.0.3b1
+ ./configure
+ '[' 0 '!=' 0 ']'
++ uname -s
+ uname=Linux
++ uname -m
+ machine=x86_64
+ '[' '' = '' ']'
+ case $uname in
++ uname -r
+ release=3.13.0-55-generic
++ echo 3.13.0-55-generic
++ sed -e 's/[0-9]*\.\([0-9][0-9]*\)\(\..*\)*$/\1/'
+ minor=13
++ echo 3.13.0-55-generic
++ sed -e 's/\([0-9][0-9]*\)\..*$/\1/'
+ major=3
+ case $major in
+ sysname=linux-3
+ '[' linux-3 = '' ']'
+ '[' x = xyes ']'
+ '[' x = x ']'
+ '[' x '!=' x ']'
+ workname=work.linux-3
+ echo 'System Type: linux-3'
System Type: linux-3
+ '[' x3 '!=' x ']'
+ '[' x13 '!=' x ']'
+ majversubst='-e /^##--majver--/,/^##--majver--/s/MajorVersion/3/'
+ minversubst='-e /^##--minver--/,/^##--minver--/s/MinorVersion/13/'
+ '[' '!' -d work.linux-3 ']'
+ '[' x = x ']'
+ dirs='. client server relay common omapip dhcpctl minires dst'
+ for foo in '$dirs'
++ basename .
+ bar=.
+ '[' '!' -d work.linux-3/. ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat ./Makefile.dist
+ for foo in '$dirs'
++ basename client
+ bar=client
+ '[' '!' -d work.linux-3/client ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat client/Makefile.dist
+ for foo in '$dirs'
++ basename server
+ bar=server
+ '[' '!' -d work.linux-3/server ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat server/Makefile.dist
+ for foo in '$dirs'
++ basename relay
+ bar=relay
+ '[' '!' -d work.linux-3/relay ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat relay/Makefile.dist
+ for foo in '$dirs'
++ basename common
+ bar=common
+ '[' '!' -d work.linux-3/common ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat common/Makefile.dist
+ for foo in '$dirs'
++ basename omapip
+ bar=omapip
+ '[' '!' -d work.linux-3/omapip ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat omapip/Makefile.dist
+ for foo in '$dirs'
++ basename dhcpctl
+ bar=dhcpctl
+ '[' '!' -d work.linux-3/dhcpctl ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat dhcpctl/Makefile.dist
+ for foo in '$dirs'
++ basename minires
+ bar=minires
+ '[' '!' -d work.linux-3/minires ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat minires/Makefile.dist
+ for foo in '$dirs'
++ basename dst
+ bar=dst
+ '[' '!' -d work.linux-3/dst ']'
+ sed -e '/^##--majver--/,/^##--majver--/s/MajorVersion/3/' -e
'/^##--minver--/,/^##--minver--/s/MinorVersion/13/' -e
'/^##--linux-3--/,/^##--linux-3--/s/^#//'
+ cat site.conf
++ pwd
+ echo 'TOP =
/home/peter/work/logic/eps_svn/software/products/linux/LTIB/trunk/ltib-3.0/rpm/BUILD/dhcp-3.0.3b1'
+ echo CC_OPTIONS =
+ cat dst/Makefile.dist
+ '[' x = x ']'
+ make links
+ '[' 1 '!=' 0 ']'
+ '[' x--print-sysname = x--with-nsupdate ']'
+ '[' x--print-sysname = x--print-sysname ']'
+ print_sysname=yes
+ shift
+ '[' 0 '!=' 0 ']'
++ uname -s
+ uname=Linux
++ uname -m
+ machine=x86_64
+ '[' '' = '' ']'
+ case $uname in
++ uname -r
+ release=3.13.0-55-generic
++ echo 3.13.0-55-generic
++ sed -e 's/[0-9]*\.\([0-9][0-9]*\)\(\..*\)*$/\1/'
+ minor=13
++ echo 3.13.0-55-generic
++ sed -e 's/\([0-9][0-9]*\)\..*$/\1/'
+ major=3
+ case $major in
+ sysname=linux-3
+ '[' linux-3 = '' ']'
+ '[' xyes = xyes ']'
+ '[' x '!=' x ']'
+ echo linux-3
+ exit 0
From:
[email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of
Peter Barada
Sent: Sunday, June 28, 2015 9:59 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [Ltib] Can't build DHCP on 14.04
On 06/26/2015 11:19 AM, Chris Westervelt wrote:
Ok hoping someone out there in LTIB land has punched through building DHCP on
14.04 32/64 bit. I keep getting two errors one of which I have been able to
overcome for system type by including ‘Linux’ to the .spec file ./configure
line as a pass argument but another (so far insurmountable) error comes
cannot create regular file
'/home/advantor/IGII/v1.2/tmp/dhcp//opt/freescale/rootfs/arm/etc/': No such
file or directory
I've had no problem building/installing dhcp-3.0.3b1 on Ubuntu 14.04.2 LTS.
What do you mean by "including 'linux' to the .spec file .configure line as a
pass argument"? What was the original probelm you ran into building dhcp?
What other modifications have you made to LTIB? Where did your LTIB come from?
And - got a log showing the output? do "./ltib -p dhcp -m prep", and then
capture output of "./ltib -p dhcp" (so we see the %build and %install parts) -
put it in pastebin or somewhere and send the list an accessible URL to it (to
save space on the email list). Without it can only guess what's gone wrong.
Chris Westervelt
Senior Product Development Engineer
Advantor Systems.
12612 Challenger Pkwy
Suite 300
Orlando, FL
32826
http://www.advantor.com<http://www.advantor.com/>
Office: (407) 926-6983
Mobile: (407) 595-7023
Fax: (407) 857-1635
Notice of Confidentiality:
This e-mail communication and the attachments hereto, if any, are intended
solely for the information and use of the addressee(s) identified above and may
contain information which is legally privileged and/or otherwise confidential.
If a recipient of this e-mail communication is not an addressee (or an
authorized representative of an addressee), such recipient is hereby advised
that any review, disclosure, reproduction, re-transmission or other
dissemination or use of this e-mail communication (or any information contained
herein) is strictly prohibited. If you are not an addressee and have received
this e-mail communication in error, please advise the sender of that
circumstance either by reply e-mail or by telephone at (800) 238-2686,
immediately delete this e-mail communication from any computer and destroy all
physical copies of same.
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]<mailto:[email protected]>
https://lists.nongnu.org/mailman/listinfo/ltib
diff --exclude CVS --exclude .git -uNr dhcp-3.0.3b1/Makefile.conf dhcp-3.0.3b1.modified/Makefile.conf
--- dhcp-3.0.3b1/Makefile.conf 2011-12-21 14:55:49.781806998 -0500
+++ dhcp-3.0.3b1.modified/Makefile.conf 2011-12-21 14:22:03.571807000 -0500
@@ -328,6 +328,25 @@
#SCRIPT=linux
##--linux-2.2--
+## Linux 3
+##--linux-3--
+#COPTS = -DLINUX_MAJOR=$(MAJORVERSION) -DLINUX_MINOR=$(MINORVERSION) \
+# $(BINDDEF) $(CC_OPTIONS)
+#CF = cf/linux.h
+#ADMMANDIR = ${prefix}/usr/man/man8
+#ADMMANEXT = .8
+#FFMANDIR = ${prefix}/usr/man/man5
+#FFMANEXT = .5
+#LIBMANDIR = ${prefix}/usr/man/man3
+#LIBMANEXT = .3
+#USRMANDIR = ${prefix}/usr/man/man1
+#USRMANEXT = .1
+#MANCAT = man
+#VARRUN = ${prefix}/var/run
+#VARDB = ${prefix}/var/state/dhcp
+#SCRIPT=linux
+##--linux-3--
+
## SCO UnixWare 7
##--uw7--
#CF = cf/uw7.h
diff --exclude CVS --exclude .git -uNr dhcp-3.0.3b1/configure dhcp-3.0.3b1.modified/configure
--- dhcp-3.0.3b1/configure 2011-12-21 14:55:49.781806998 -0500
+++ dhcp-3.0.3b1.modified/configure 2011-12-21 14:55:40.941806997 -0500
@@ -104,6 +104,7 @@
2) sysname=linux-2.2 ;;
*) sysname=linux-2.2 ;;
esac;;
+ 3) sysname=linux-3 ;;
esac;;
SunOS)
release=`uname -r`
_______________________________________________
LTIB home page: http://ltib.org
Ltib mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/ltib