Modify

Opened 9 years ago

Closed 9 years ago

Last modified 4 years ago

#4957 closed defect (fixed)

fluxbox lacks libXpm dependency

Reported by: ruff Owned by: nico
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: fluxbox xpm.h libxpm depend Cc:

Description

Without +libXpm in Depend section of Makefile fluxbox fails with xpm.h file not found.

define Package/fluxbox
$(call Package/fluxbox/Default)
  DEPENDS:=+uclibcxx +libXt +freedesktop-compliant +libXpm
  TITLE:=fluxbox window manager
  MENU:=1
endef

Attachments (1)

fluxbox.Makefile.patch (384 bytes) - added by Maddes <maddes_trac@…> 9 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 9 years ago by nico

  • Owner changed from developers to nico
  • Status changed from new to assigned

comment:2 Changed 9 years ago by Maddes <maddes_trac@…>

#5170 marked as a duplicate of this

comment:3 Changed 9 years ago by Maddes <maddes_trac@…>

Can confirm the issue. Will try to create a reproduction guideline and a patch.

comment:4 Changed 9 years ago by Maddes <maddes_trac@…>

The missing dependency can be confirmed after a 'make distclean' and installing + selecting all packages.
Fluxbox will fail on the first run, but compile on the next runs, as then all headers are installed.

You can use a new clean checkout in a different directory to leave your normal working copy untouched.

To reproduce with an existing working copy clean up the following way:

#backup dl directory to save download time, clean everything and restore dl directory
mv dl dl_save
make distclean ; echo -e '\a'   #ring the bell when done
mv dl_save dl

Here continue with a new checkout or the cleaned up working copy.
IGNORE_ERRORS=m is necessary as some other packages before fluxbox could fail, e.g. CLASSPATH (missing some prerequisites here).

rm .config

#get latest trunk to be on par with package checkout
svn up
scripts/feeds update packages luci

#install packages
scripts/feeds install -a

#select packages
make menuconfig
     --> Target System: Marvel Orion (ARM, Kernel 2.6.28)
     --> Target Images: SquashFS image (default)
     --> Global build settings: Select all packages by default

#compile
script -f -c 'make V=99 IGNORE_ERRORS=m' compile_`svnversion`_`date +%Y%m%d_%H%M%S`_distclean.log ; echo -e '\a'

Attached is a patch to fix the current fluxbox makefile.
Please apply, test and commit to the repository.
Thanks.

Build Environment: Debian 5.0

Changed 9 years ago by Maddes <maddes_trac@…>

comment:5 Changed 9 years ago by Maddes <maddes_trac@…>

Re-tested the patch and with this dependency fluxbox compiles on a clean checkout or after a 'make distclean' with all packages selected.

comment:6 Changed 9 years ago by mirko

  • Resolution set to fixed
  • Status changed from assigned to closed

added missing dependency in commit 16666 - thanks

comment:7 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.