pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31551: ctwm package doesn't link under Solaris



>Number:         31551
>Category:       pkg
>Synopsis:       ctwm package doesn't link under Solaris
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 11 13:02:00 +0000 2005
>Originator:     Rob Quinn
>Release:        Solaris2.9, pkgsrc-current
>Organization:
>Environment:
>Description:
I can't build the new ctwm under Solaris2.9, the final linking dies.

>How-To-Repeat:
#bmake
===> Checking for vulnerabilities in ctwm-3.7
=> Checksum SHA1 OK for ctwm-3.7.tar.gz.
=> Checksum RMD160 OK for ctwm-3.7.tar.gz.
work -> /usr/obj/pkg/wm/ctwm/work
===> Extracting for ctwm-3.7
===> Required installed package xpm>=3.4knb4: xpm-3.4knb5 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Required installed package xpkgwedge>=1.14: xpkgwedge-1.14 found
===> Required installed package x11-links>=0.25: x11-links-0.26 found
===> Required installed package gcc3-c>=3.3.5: gcc3-c-3.3.5 found
===> Patching for ctwm-3.7
===> Applying pkgsrc patches for ctwm-3.7
===> Overriding tools for ctwm-3.7
===> Creating toolchain wrappers for ctwm-3.7
[...]
rm -f ctwm
LD_RUN_PATH=/usr/pkg/lib cc -o ctwm -O2 -mcpu=v9     -L/usr/pkg/lib gram.o 
lex.o deftwmrc.o add_window.o gc.o list.o ctwm.o  parse.o menus.o events.o 
resize.o util.o version.o iconmgr.o  cursor.o icons.o workmgr.o windowbox.o 
clicktofocus.o vscreen.o  gnome.o session.o     -lXpm -L/usr/pkg/lib 
-Wl,-rpath,/usr/pkg/lib -ljpeg -lXmu -lm -lXt -lSM -lICE -lXext -lX11     
-lsocket -lnsl  
ld: fatal: option -dn and -P are incompatible
ld: fatal: Flags processing errors
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ctwm'
Current working directory /usr/obj/pkg/wm/ctwm/work/ctwm-3.7
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wm/ctwm
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/obj/pkg/wm/ctwm/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wm/ctwm

>Fix:
I changed "-Wl,-rpath,/usr/pkg/lib" to "-Wl,-R,/usr/pkg/lib".




Home | Main Index | Thread Index | Old Index