>> The shell script code at line 224 of the build-simple-cdd, issue an
error

> what is the exact error message?

cc1: warning: command line option "-nostdinc++" is valid for C++/ObjC++ but not 
for C
<stdin>:1:93: error: /home/neutron/MyStuff/Works/projects/RahuSpot/d-i/tmp//debi
an-cd/tasks/base-lenny: No such file or directory
cc1: warning: command line option "-nostdinc++" is valid for C++/ObjC++ but not 
for C
make: *** [/home/neutron/MyStuff/Works/projects/RahuSpot/d-i/tmp//cd-build/lenny
/rawlist] Error 1
Generating the complete list of packages to be included in /home/neutron/MyStuff
/Works/projects/RahuSpot/d-i/tmp//cd-build/lenny/list...
cc1: warning: command line option "-nostdinc++" is valid for C++/ObjC++ but not 
for C
cc1: warning: command line option "-nostdinc++" is valid for C++/ObjC++ but not 
for C
Generating the complete list of packages to be removed ...

> i just tried installing using the versions in lenny (simple-cdd 0.3.8,
> debian-cd 3.0.5), and it and it worked fine for me.

me too but just after the workaround about the i386 release file 
 cd tmp/mirror/dists/lenny/main
 wget -m -nH --cut-dirs=4 
ftp://ftp.debianclub.org/debian/dists/lenny/main/binary-i386

I'm not sure why it needs the i386 binary release files in amd64 system and if 
it
actualy needs why the simple-cdd did not automatically download it.

>> 224: test -z "$includes" && includes="$BASEDIR/tasks/debian-installer+ke
>> rnel-$CODENAME $BASEDIR/tasks/debian-installer-$CODENAME 
>> $BASEDIR/tasks/base-$CO
>> DENAME"
>> 
>> which the $BASEDIR/tasks/base-$CODENAME will include the task that not 
>> exists in
>> the current debian-cd tasks.
>>
>> I guest the task-essential-$CODENAME may be replace the base-$CODENAME.

> but did this actually cause a problem? if so, what?

No, as mention above. It's only issue an error message but not cause the 
simple-cdd
to stop. 
For who can confirm this is 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469539#25

that I saw this error message too.

> are you using simple-cdd and debian-cd from the archive, from svn or
> bzr, or customized versions?

debian archive

> are you passing any special options to simple-cdd?

# simple-cdd  --conf rahunas-cd.conf

Which,

# cat rahunas-cd.conf
 profiles="rahunas"
 auto_profiles="rahunas"

 locale="th_TH.UTF-8"

 server="ftp.debianclub.org"
 debian_mirror="http://localhost:3142/debian";
 wget_debian_mirror="http://localhost:3142/debian";
 rsync_debian_mirror="$server::debian"

 security_mirror="http://security.debian.org/";

 local_pkg_path="/home/neutron/MyStuff/Works/projects/RahuSpot/d-i/local-pkg"
 
local_packages="${local_pkg_path}/linux-image/linux-image-2.6.26-1-amd64-layer7+imq+routes_2.6.26-11neutron1_amd64.deb
\
 
${local_pkg_path}/linux-image/linux-headers-2.6.26-1-amd64-layer7+imq+routes_2.6.26-11neutron1_amd64.deb
\ ${local_pkg_path}/condpart/condpart_0.1neutron1_amd64.udeb"

 simple_cdd_preseed="preseed/file=/cdrom/simple-cdd/rahunas.preseed"

 export CODENAME=lenny
 export kernel_packages="linux-image-2.6.26-1-amd64-layer7+imq+routes"

# cat profiles/rahunas.packages
 apache2
 php5
 openssh-server
 openssh-client
 bind9
 dhcp3-server
 sudo

# cat profiles/rahunas.preseed
 d-i clock-setup/utc boolean true
 d-i time/zone select Asia/Bangkok

 tasksel tasksel/first multiselect

 #### Account setup
 # Skip creation of a root account (normal user account will be able to
 # use sudo).
 d-i passwd/root-login boolean false

 # Create the normal user name "rahunas"
 d-i passwd/user-fullname string RahuNAS Administrator 
 d-i passwd/username string rahunas
 d-i passwd/user-uid string 1111

 #### Network
 d-i netcfg/choose_interface select eth0
 d-i netcfg/get_hostname string rahunas
 d-i netcfg/get_domain string authentication.local

 #### Partitioning
 d-i partman-auto/method string regular

 #### Boot loader installation
 d-i grub-installer/only_debian  boolean true
 d-i grub-installer/with_other_os  boolean true

 #### APT
 apt-mirror-setup  apt-setup/use_mirror  boolean false

 #### Skip some annoying installation status notes
 d-i finish-install/reboot_in_progress note
 base-config base-config/intro note
 base-config base-config/login note
 d-i popularity-contest/participate boolean false

 #### Kernel
 d-i base-installer/kernel/image string 
linux-image-2.6.26-1-amd64-layer7+imq+rou
 tes

 #### DHCP Server
 dhcp3-server dhcp3-server/new_auth_behavior note

# cat profiles/rahunas.excludes
 linux-image-amd64
 linux-image-2.6-amd64
 linux-image-2.6.26-1-amd64

# cat profiles/rahunas.udebs
 condpart

> can you build a CD with the defaults?

Sure, after the workaround as mention above.

> i've been following debian-cd svn, and will upload a new version of
> simple-cdd if necessary.  in debian-cd svn, task handling is much, much
> simpler. but until a new version of debian-cd is uploaded to debian, i
> don't yet see a reason to upload a new version of simple-cdd.

I agree with you and this bug may be closed.
I think it just the error message that sometimes may cause the confusion
when the simple-cdd could not complete the build process.

Best regards,
Neutron Soutmun

Attachment: signature.asc
Description: นี่คือ ส่วนข้ อความท ี่มีลา ยเซ็นด ิจิทัล กำกับ

Reply via email to