how to exclude packages

I built with this command:

makepanda/makepanda.py --verbose --everything --no-bullet --threads 2 --optimize 3 --installer --no-ffmpeg

but previously installed bullet (from source), end I noticed that ‘libpandabullet.so’ was been built too (causing the deb package construction to fail).
Which is the correct way to exclude some packages but to include everything else ?

It may be a remnant from a previous build. You would have to delete the built/lib and built/panda3d directories (or just the bullet libraries from them) to be sure that they aren’t included.

Ok it’s correct.
Another problem: I’ve got an error related to fftw when building latest cvs on ubuntu 14.04 :

//usr/lib/librfftw.so.2: undefined reference to `fftw_make_node_real2hc'
//usr/lib/librfftw.so.2: undefined reference to `fftw_complete_twiddle'
//usr/lib/librfftw.so.2: undefined reference to `fftw_gettimeofday_time_diff'
//usr/lib/librfftw.so.2: undefined reference to `fftw_wisdom_add'
//usr/lib/librfftw.so.2: undefined reference to `fftw_malloc'
//usr/lib/librfftw.so.2: undefined reference to `fftw_use_plan'
//usr/lib/librfftw.so.2: undefined reference to `fftw_make_node_rgeneric'
//usr/lib/librfftw.so.2: undefined reference to `fftw_destroy_table'
//usr/lib/librfftw.so.2: undefined reference to `fftw_wisdom_lookup'
//usr/lib/librfftw.so.2: undefined reference to `fftw_free'
//usr/lib/librfftw.so.2: undefined reference to `fftwnd_destroy_plan'
//usr/lib/librfftw.so.2: undefined reference to `fftwnd_work_size'
//usr/lib/librfftw.so.2: undefined reference to `fftwnd_fprint_plan'
//usr/lib/librfftw.so.2: undefined reference to `fftw_gettimeofday_get_time'
//usr/lib/librfftw.so.2: undefined reference to `fftw_make_plan'
//usr/lib/librfftw.so.2: undefined reference to `fftwnd_create_plans_generic'
//usr/lib/librfftw.so.2: undefined reference to `fftw'
//usr/lib/librfftw.so.2: undefined reference to `fftw_make_node_hc2hc'
//usr/lib/librfftw.so.2: undefined reference to `fftw_make_node_hc2real'
//usr/lib/librfftw.so.2: undefined reference to `fftw_destroy_plan_internal'
//usr/lib/librfftw.so.2: undefined reference to `fftwnd_create_plans_specific'
//usr/lib/librfftw.so.2: undefined reference to `fftw_reverse_int_array'
//usr/lib/librfftw.so.2: undefined reference to `fftw_fprint_plan'
//usr/lib/librfftw.so.2: undefined reference to `fftw_pick_better'
//usr/lib/librfftw.so.2: undefined reference to `fftw_lookup'
//usr/lib/librfftw.so.2: undefined reference to `fftw_factor'
//usr/lib/librfftw.so.2: undefined reference to `fftw_make_empty_table'
//usr/lib/librfftw.so.2: undefined reference to `fftw_insert'
//usr/lib/librfftw.so.2: undefined reference to `fftw_die'
//usr/lib/librfftw.so.2: undefined reference to `fftwnd_new_plan_array'
//usr/lib/librfftw.so.2: undefined reference to `fftw_estimate_node'
//usr/lib/librfftw.so.2: undefined reference to `fftwnd_create_plan_aux'
collect2: error: ld returned 1 exit status
Process exited with exit status 1 and signal code 0
The following command returned a non-zero value: g++ -o built/bin/pview -Lbuilt/lib -Lbuilt/tmp built/tmp/pview_pview.o built/lib/libp3framework.so built/lib/libpandaegg.so built/lib/libpanda.so built/lib/libpandaexpress.so built/lib/libp3dtool.so built/lib/libp3dtoolconfig.so built/lib/libp3pystub.a -pthread -L/usr/X11R6/lib -ldl

but packages fftw2 and fftw-dev are correctly installed.

That’s odd. I’d have to look into that. In the meantime, it’s highly unlikely that you’ll need fftw support, so I would advise adding --no-fftw.

Ok, I’ll do so.