Package clips 6.24-3 failed to build from source

Bug #728438 reported by Tarun K. Mall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clips (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: clips

package failed to build from source

here is the error log:

cc -Wall -Wundef -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Winline -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Waggregate-return -Wno-implicit -g -O2 -fno-common -I. -Wl,-Bsymbolic-functions -L. -g -lm -lncurses -lrt -lm ./main.o -lclips -o clips
./libclips.so: undefined reference to `sincos'
./libclips.so: undefined reference to `sqrt'
./libclips.so: undefined reference to `clock_gettime'
./libclips.so: undefined reference to `floor'
./libclips.so: undefined reference to `ceil'
./libclips.so: undefined reference to `cosh'
./libclips.so: undefined reference to `tanh'
./libclips.so: undefined reference to `asin'
./libclips.so: undefined reference to `log'
./libclips.so: undefined reference to `atan'
./libclips.so: undefined reference to `sinh'
./libclips.so: undefined reference to `acos'
./libclips.so: undefined reference to `exp'
./libclips.so: undefined reference to `sin'
./libclips.so: undefined reference to `pow'
./libclips.so: undefined reference to `cos'
./libclips.so: undefined reference to `log10'
collect2: ld returned 1 exit status
make[1]: *** [clips] Error 1
make[1]: Leaving directory `/home/tarun/source/clips/clips-6.24/clipssrc'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1335:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed

Related branches

Tarun K. Mall (c2tarun)
Changed in clips (Ubuntu):
status: New → Confirmed
assignee: nobody → Tarun K. Mall (c2tarun)
Tarun K. Mall (c2tarun)
Changed in clips (Ubuntu):
assignee: Tarun K. Mall (c2tarun) → nobody
Revision history for this message
Luke Yelavich (themuso) wrote :
Download full text (3.2 KiB)

Thanks for your work.

This still fails to build for me with your patch, as follows:

cc -fPIC -shared -Wl,-soname,libclips.so.6 -o libclips.so.6.21 agenda.o analysis.o bsave.o conscomp.o engine.o evaluatn.o exprnbin.o factbld.o factcom.o factgen.o facthsh.o factmch.o factmngr.o factprt.o fa
ctrete.o factrhs.o prntutil.o reorder.o rulebin.o rulecmp.o ruledlt.o rulelhs.o rulepsr.o scanner.o symblbin.o symblcmp.o symbol.o sysdep.o tmpltbin.o tmpltcmp.o tmpltdef.o tmpltlhs.o tmpltpsr.o tmpltutl.o a
rgacces.o bload.o bmathfun.o classcom.o classexm.o classfun.o classinf.o classini.o classpsr.o clsltpsr.o commline.o constrct.o constrnt.o crstrtgy.o cstrcbin.o cstrccom.o cstrcpsr.o cstrnbin.o cstrnchk.o cs
trncmp.o cstrnops.o cstrnpsr.o cstrnutl.o default.o defins.o developr.o dffctbin.o dffctbsc.o dffctcmp.o dffctdef.o dffctpsr.o dffnxbin.o dffnxcmp.o dffnxexe.o dffnxfun.o dffnxpsr.o dfinsbin.o dfinscmp.o dri
ve.o emathfun.o expressn.o exprnops.o exprnpsr.o extnfunc.o factbin.o factcmp.o factfun.o factlhs.o filecom.o filertr.o generate.o genrcbin.o genrccmp.o genrccom.o genrcexe.o genrcfun.o genrcpsr.o globlbin.o
 globlbsc.o globlcmp.o globlcom.o globldef.o globlpsr.o immthpsr.o incrrset.o inherpsr.o inscom.o insfile.o insfun.o insmngr.o insmoddp.o insmult.o inspsr.o insquery.o insqypsr.o iofun.o lgcldpnd.o miscfun.o
 modulbin.o modulbsc.o modulcmp.o moduldef.o modulpsr.o modulutl.o msgcom.o msgfun.o msgpass.o msgpsr.o multifld.o multifun.o objbin.o objcmp.o objrtbin.o objrtbld.o objrtcmp.o objrtfnx.o objrtgen.o objrtmch
.o pattern.o pprint.o prccode.o prcdrfun.o prcdrpsr.o prdctfun.o reteutil.o retract.o router.o rulebld.o rulebsc.o rulecom.o rulecstr.o ruledef.o strngfun.o strngrtr.o textpro.o tmpltbsc.o tmpltfun.o tmpltrh
s.o utility.o watch.o memalloc.o proflfun.o parsefun.o sortfun.o userdata.o envrnmnt.o userfunctions.o
ln -s -sf libclips.so.6.21 libclips.so.6
ln -s -sf libclips.so.6.21 libclips.so
cc -Wall -Wundef -Wpointer-arith -Wshadow -Wcast-qual -Wcast-align -Winline -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -Waggregate-return -Wno-implicit -g -O2 -fno-common -I. -Wl,-Bsymbolic-functions -L. -g -lm -lncurses -lrt -lm ./main.o -lclips -o clips
./libclips.so: undefined reference to `sincos'
./libclips.so: undefined reference to `sqrt'
./libclips.so: undefined reference to `clock_gettime'
./libclips.so: undefined reference to `floor'
./libclips.so: undefined reference to `ceil'
./libclips.so: undefined reference to `cosh'
./libclips.so: undefined reference to `tanh'
./libclips.so: undefined reference to `asin'
./libclips.so: undefined reference to `log'
./libclips.so: undefined reference to `atan'
./libclips.so: undefined reference to `sinh'
./libclips.so: undefined reference to `acos'
./libclips.so: undefined reference to `exp'
./libclips.so: undefined reference to `sin'
./libclips.so: undefined reference to `pow'
./libclips.so: undefined reference to `cos'
./libclips.so: undefined reference to `log10'
collect2: ld returned 1 exit status
make[1]: *** [clips] Error 1

If you can possibly fix this and re-submit a patch, that sould be great.

Unsubscribing ubuntu-sponsors for now,...

Read more...

Changed in clips (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Tarun K. Mall (c2tarun) wrote :

@Luke

May be something went wrong, but this patch is working fine for me.
I am uploading a fresh copy again.
Can you please take a look once again.

Thank you

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

Thanks, the new debdiff fixes the issue. I'm uploading it now, it should build in a while.

Changed in clips (Ubuntu):
importance: Undecided → Medium
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package clips - 6.24-3ubuntu1

---------------
clips (6.24-3ubuntu1) natty; urgency=low

  * clips-6.24/clipssrc/Makefile.in: libraries moved to the end.
    (Closes: #616327, LP: #728438)
 -- Tarun Kumar Mall <email address hidden> Thu, 03 Mar 2011 14:53:47 +0000

Changed in clips (Ubuntu):
status: Fix Committed → Fix Released
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.