pcb

lib/pcblib-newlib is in TOPSRCDIR not in TOP_BUILDDIR

Bug #855405 reported by أحمد المحمودي (Ahmed El-Mahmoudy)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pcb
Fix Released
Medium
Unassigned

Bug Description

src/pcbtest.sh.in tries to find lib/pcblib-newlib in TOP_BUILDDIR instead of TOPSRCDIR, which causes the following error when running 'make check' in the case of out of source building:
../../../src/pcbtest.sh -x gcode --dpi 1200 ../../tests/inputs/gcode_oneline.pcb
Can't change working directory to
   '/tmp/pcb-20110918/build_lesstif/lib/pcblib-newlib'
chdir() returned: 'No such file or directory'

The attached patch fixes this.

Tags: patch
Revision history for this message
أحمد المحمودي (Ahmed El-Mahmoudy) (aelmahmoudy) wrote :
Peter Clifton (pcjc2)
Changed in pcb:
importance: Undecided → Medium
milestone: none → next-bug-release
milestone: next-bug-release → future-bug-release
Revision history for this message
DJ Delorie (djdelorie) wrote :

I just did a build in a separate build tree, and lib/pcblib-newlib is in the build tree, not the source tree.

Revision history for this message
Vladimir Zhbanov (vzhbanov) wrote :

The command to check the bug exists:
 LANG=C make distcheck |grep -B10 "No such file or directory"

Changed in pcb:
status: New → Confirmed
Changed in pcb:
status: Confirmed → Fix Committed
Changed in pcb:
status: Fix Committed → Fix Released
Changed in pcb:
milestone: next-bug-release → pcb-20140316
Revision history for this message
gpleda.org commit robot (gpleda-launchpad-robot) wrote :

Bug was fixed by a commit
git master commit cfd09c2f34d8fcbd04f625ab45b2755dd3bfd29d
http://git.geda-project.org/pcb/commit/?id=cfd09c2f34d8fcbd04f625ab45b2755dd3bfd29d

commit cfd09c2f34d8fcbd04f625ab45b2755dd3bfd29d
Author: أحمد المحمودي (Ahmed El-Mahmoudy) <email address hidden>
Commit: Vladimir Zhbanov <email address hidden>

    Fix 'make distcheck'

    Use proper target directory for pcblib-newlib.

    Closes-bug: lp-855405

    Commit-message-by: Vladimir Zhbanov <email address hidden>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.