Opened 16 years ago

Closed 15 years ago

#19685 closed defect (fixed)

liblqr upgrade to 0.4.1 fails

Reported by: dershow Owned by: myschizobuddy@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: hypocrite@…, simon@…, swebster@…, christophe.haro@…, bskaplan14@…
Port: liblqr

Description

I have liblqr 1-0.3.1_0 and just tried to upgrade to 1-0.4.1_0, but the upgrade fails. I tried it on two different Macs (one G5 and one Intel) and both failed. I also tried to deactivate 0.3.1 then clean before retrying the upgrade, but that did not help.

Here is the error that I got:

--->  Attempting to fetch liblqr-1-0.4.1.tar.bz2 from http://distfiles.macports.org/liblqr
--->  Verifying checksum(s) for liblqr
--->  Extracting liblqr
--->  Configuring liblqr
--->  Building liblqr
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_liblqr/work/liblqr-1-0.4.1" && make all " returned error 2
Command output: make  all-recursive
Making all in lqr
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/opt/local/share/liblqr-1"\" -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -fvisibility="hidden" -I/opt/local/include  -O2 -Wall -MT lqr_gradient.lo -MD -MP -MF ".deps/lqr_gradient.Tpo" -c -o lqr_gradient.lo lqr_gradient.c; \
	then mv -f ".deps/lqr_gradient.Tpo" ".deps/lqr_gradient.Plo"; else rm -f ".deps/lqr_gradient.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/opt/local/share/liblqr-1\" -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -fvisibility=hidden -I/opt/local/include -O2 -Wall -MT lqr_gradient.lo -MD -MP -MF .deps/lqr_gradient.Tpo -c lqr_gradient.c  -fno-common -DPIC -o .libs/lqr_gradient.o
if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I..  -DDATADIR=\""/opt/local/share/liblqr-1"\" -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -fvisibility="hidden" -I/opt/local/include  -O2 -Wall -MT lqr_rwindow.lo -MD -MP -MF ".deps/lqr_rwindow.Tpo" -c -o lqr_rwindow.lo lqr_rwindow.c; \
	then mv -f ".deps/lqr_rwindow.Tpo" ".deps/lqr_rwindow.Plo"; else rm -f ".deps/lqr_rwindow.Tpo"; exit 1; fi
libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -DDATADIR=\"/opt/local/share/liblqr-1\" -I.. -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -fvisibility=hidden -I/opt/local/include -O2 -Wall -MT lqr_rwindow.lo -MD -MP -MF .deps/lqr_rwindow.Tpo -c lqr_rwindow.c  -fno-common -DPIC -o .libs/lqr_rwindow.o
/var/tmp//ccHfg4yF.s:33:non-relocatable subtraction expression, "_lqr_carver_read_luma" minus "L00000000001$pb"
/var/tmp//ccHfg4yF.s:33:symbol: "_lqr_carver_read_luma" can't be undefined in a subtraction expression
/var/tmp//ccHfg4yF.s:19:non-relocatable subtraction expression, "_lqr_carver_read_brightness" minus "L00000000001$pb"
/var/tmp//ccHfg4yF.s:19:symbol: "_lqr_carver_read_brightness" can't be undefined in a subtraction expression
make[2]: *** [lqr_rwindow.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Unable to upgrade port: 1

Any suggests for a fix?

Thanks,

--Adam

Change History (12)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: myschizobuddy@… removed
Owner: changed from macports-tickets@… to myschizobuddy@…

comment:2 Changed 15 years ago by hypocrite@…

Cc: hypocrite@… added

Cc Me!

comment:3 Changed 15 years ago by simon@…

Cc: simon@… added

Cc Me!

comment:4 Changed 15 years ago by swebster@…

Cc: swebster@… added

Cc Me!

comment:5 Changed 15 years ago by tobypeterson

Cc: christophe.haro@… added
Version: 1.7.1

comment:6 in reply to:  5 ; Changed 15 years ago by christophe.haro@…

Replying to toby@…:

I have seen that #19685 was a reply but I do not understand how to fix the problem. Can you explain me how ?

comment:7 Changed 15 years ago by bskaplan14@…

Cc: bskaplan14@… added

Cc Me!

comment:8 in reply to:  6 Changed 15 years ago by bskaplan14@…

Replying to christophe.haro@…:

Replying to toby@…:

I have seen that #19685 was a reply but I do not understand how to fix the problem. Can you explain me how ?

Are you talking about the ticket #19718? Your ticket wasn't closed because it's been fixed. It was closed because it's the same (still unfixed) bug as this one.

comment:9 Changed 15 years ago by tobypeterson

I can repro with gcc-4.0, gcc-4.2 works though

comment:10 Changed 15 years ago by dbevans (David B. Evans)

It builds ok with gcc-4.0 on tiger so looks like a leopard specific problem. Make sure you are using XCode 3.1.2 not XCode 3.0.

comment:11 in reply to:  10 Changed 15 years ago by swebster@…

Replying to devans@…:

It builds ok with gcc-4.0 on tiger so looks like a leopard specific problem. Make sure you are using XCode 3.1.2 not XCode 3.0.

I have this problem and am running XCode 3.1.2.

comment:12 Changed 15 years ago by tobypeterson

Resolution: fixed
Status: newclosed

should be fixed in r51312

Note: See TracTickets for help on using tickets.