By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 990 - Build issue: ktechlab FTBFS: will not install previously installed file
Summary: Build issue: ktechlab FTBFS: will not install previously installed file
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: other (any) (show other bugs)
Version: 3.5.13 [Trinity]
Hardware: All Linux
: P5 blocker
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2012-05-05 11:07 CDT by Francois Andriot
Modified: 2013-12-08 20:17 CST (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
ktechlab 3.5.13 : fix list of icons to install (966 bytes, patch)
2012-05-05 11:07 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Andriot 2012-05-05 11:07:22 CDT
Created attachment 602 [details]
ktechlab 3.5.13 : fix list of icons to install

Hello, during the "make install" step of ktechlab, if fails when installing icons, saying that it cannot install icons that were just installed.

In fact, the list of icons to install contains duplicate names, which cause the problem.

See the attached patch to clean up the list.
Comment 1 Darrell 2012-05-05 11:59:14 CDT
Interesting. I have not see any such messages when building. Would you please post a snippet from a build log? Possibly the messages are generated here but am not recognizing them. Curious!
Comment 2 Francois Andriot 2012-05-05 12:04:41 CDT
This is not just a warning, it's an real error that is triggered by the "install" command. 
See the following output:

Making install in pics
make[2]: Entering directory `/home/albator/rpmbuild/BUILD/BUILD.fc15.x86_64/applications/ktechlab/icons/pics'
make[3]: Entering directory `/home/albator/rpmbuild/BUILD/BUILD.fc15.x86_64/applications/ktechlab/icons/pics'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/opt/trinity/share/apps/ktechlab/icons" || /bin/mkdir -p "/home/albator/rpmbuild/BUILDROOT/BUILDROOT.fc15.x86_64/trinity-ktechlab-3.5.13-2.fc15.opt.x86_64/opt/trinity/share/apps/ktechlab/icons"
 /usr/bin/install -c -p -m 644 and.png cell.png logic_input.png logic_output.png nand.png nor.png not.png or.png xor.png current_source.png ground.png voltage.png capacitor.png led.png resistor.png signal_lamp.png seven_segment.png ammeter.png diode.png npn.png pnp.png voltmeter.png dpdt.png dpst.png ptb.png ptm.png spdt.png spst.png keypad.png opamp.png xnor.png circuit.png flowcode.png delay.png interrupt.png pinread.png pinwrite.png portread.png portwrite.png repeat.png '/home/albator/rpmbuild/BUILDROOT/BUILDROOT.fc15.x86_64/trinity-ktechlab-3.5.13-2.fc15.opt.x86_64/opt/trinity/share/apps/ktechlab/icons'
 /usr/bin/install -c -p -m 644 while.png for.png assignment.png branch.png delay.png embed.png end.png for.png interrupt.png pinread.png pinwrite.png portread.png portwrite.png repeat.png start.png sub.png subcall.png unary.png while.png item.png ic1.png ic2.png ic3.png voltagesignal.png currentsignal.png clockinput.png cccs.png ccvs.png vcvs.png vccs.png mechanics.png buffer.png external_connection.png logicprobe.png potentiometer.png resistordip.png bidirled.png project_library.png project_program.png bus.png '/home/albator/rpmbuild/BUILDROOT/BUILDROOT.fc15.x86_64/trinity-ktechlab-3.5.13-2.fc15.opt.x86_64/opt/trinity/share/apps/ktechlab/icons'
/usr/bin/install: will not overwrite just-created `/home/albator/rpmbuild/BUILDROOT/BUILDROOT.fc15.x86_64/trinity-ktechlab-3.5.13-2.fc15.opt.x86_64/opt/trinity/share/apps/ktechlab/icons/for.png' with `for.png'
/usr/bin/install: will not overwrite just-created `/home/albator/rpmbuild/BUILDROOT/BUILDROOT.fc15.x86_64/trinity-ktechlab-3.5.13-2.fc15.opt.x86_64/opt/trinity/share/apps/ktechlab/icons/while.png' with `while.png'
make[3]: *** [install-ktliconDATA] Error 1
make[3]: Leaving directory `/home/albator/rpmbuild/BUILD/BUILD.fc15.x86_64/applications/ktechlab/icons/pics'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/albator/rpmbuild/BUILD/BUILD.fc15.x86_64/applications/ktechlab/icons/pics'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/albator/rpmbuild/BUILD/BUILD.fc15.x86_64/applications/ktechlab/icons'
make: *** [install-recursive] Error 1
Comment 3 Darrell 2012-05-05 17:43:26 CDT
Seems like the patch is needed because of the duplication, but I wonder why I never see that error?
Comment 4 Darrell 2012-05-06 12:54:32 CDT
Looks like the problem was already fixed in GIT:

http://git.trinitydesktop.org/cgit/ktechlab/commit/icons/pics/Makefile.am?id=bf044d5a0d60867ed5b463eadf15c0144c3efdf8

That explains why I never see the problem. :-)

Perhaps move this patch to bug report 984 and close this bug report?
Comment 5 Timothy Pearson 2012-06-09 00:26:51 CDT
Closing as RESOLVED FIXED as the provided patch (or an equivalent) already exists in GIT.