Re: firebird25-client 2.5.3 fails to build

2014-10-23 Thread Royce Williams
On Thu, Oct 23, 2014 at 12:07 PM, Torfinn Ingolfsen  wrote:
> On Thu, Oct 23, 2014 at 9:24 PM, Kurt Jaeger  wrote:
>>
>> There's a PR that discusses this issue (ports that require
>> their old version to be deinstalled before building the new version):
>>
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193371
>>
>
> Perhaps a note in /usr/ports/UPDATING would have been the right thing
> to do here?


Or even better, using FreeBSD Foundation funds to sponsor work to make
this automatic ... or even semi-automatic (to prompt the user with
"This port is marked as requiring deinstallation prior to
reinstallation.  Would you like to do that now? (y/n)")


Royce
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: firebird25-client 2.5.3 fails to build

2014-10-23 Thread Torfinn Ingolfsen
On Thu, Oct 23, 2014 at 9:24 PM, Kurt Jaeger  wrote:
>
> There's a PR that discusses this issue (ports that require
> their old version to be deinstalled before building the new version):
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193371
>

Perhaps a note in /usr/ports/UPDATING would have been the right thing
to do here?

-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: firebird25-client 2.5.3 fails to build

2014-10-23 Thread Torfinn Ingolfsen
On Thu, Oct 23, 2014 at 9:11 PM, Henry Hu  wrote:
>
>
> Please try removing firebird25-client before building it.

Doable, but akward:
root@kg-core1# pkg remove firebird25-client-2.5.2_2
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 3 packages (of 0
packages in the universe):

Installed packages to be REMOVED:
firebird25-client-2.5.2_2
qt4-ibase-plugin-4.8.6 (depends on firebird25-client-2.5.2_2)
qt4-4.8.6 (depends on firebird25-client-2.5.2_2)

The operation will free 10 MB.

Proceed with deinstalling packages? [y/N]: n

(is there a way of doing this without deinstalling ports that depend
on this paclage? I will be upgrading them next...)
Anyway, I removed firebird25-client and the two qt ports.


> For some reason, it is linking with the old version.

Interesting. It makes you wonder why this situation wasn't detected
when the new version of the port was tested.
Perhaps port maintainers only test installing new ports (poudriere
jails?) and newer tests the upgrade scenario?

After removing the old client, the new one built and installed fine.
Thanks for helping out.
-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: firebird25-client 2.5.3 fails to build

2014-10-23 Thread Kurt Jaeger
Hi!

> Please try removing firebird25-client before building it.
> For some reason, it is linking with the old version.

There's a PR that discusses this issue (ports that require
their old version to be deinstalled before building the new version):

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193371

-- 
p...@opsec.eu+49 171 3101372 6 years to go !
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: firebird25-client 2.5.3 fails to build

2014-10-23 Thread Henry Hu
On Thu, Oct 23, 2014 at 3:05 PM, Torfinn Ingolfsen  wrote:

> On Thu, Oct 23, 2014 at 8:59 PM, Henry Hu  wrote:
> >
> >
> >
> >
> > According to
> >
> http://portsmon.freebsd.org/portoverview.py?category=databases&portname=firebird25-client
> > it should build. You can post more detailed information, including the
> > actual error message,
> > for others to analyze what's wrong.
> >
>
> There isn't any more detailed information post, before that therer are
> just warnings. Here is bit more of the output:
> ../gen/firebird/bin/gpre_current -r -m -z -n ../src/isql/show.epp
> ../temp/std/isql/show.cpp
> gpre version FB-V2.5.3.26778 Firebird 2.5
> Version(s) for database "yachts.lnk"
> Firebird/FreeBSD/amd64 (access method), version "FB-V2.5.3.26778 Firebird
> 2.5"
> on disk structure version 11.2
> c++ -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
> -D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
> -fno-strict-aliasing -c ../temp/std/isql/show.cpp -o
> ../temp/std/isql/show.o
> c++ -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
> -D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
> -fno-strict-aliasing -c ../src/isql/Extender.cpp -o
> ../temp/std/isql/Extender.o
> c++ -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
> -D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
> -fno-strict-aliasing -c ../src/isql/InputDevices.cpp -o
> ../temp/std/isql/InputDevices.o
> c++ -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
> -D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
> -fno-strict-aliasing -c ../src/isql/ColList.cpp -o
> ../temp/std/isql/ColList.o
> c++ -I../src/include/gen -I../src/include -I../src/vulcan
> -DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
> -D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
> -fno-strict-aliasing -c ../src/isql/OptionsBase.cpp -o
> ../temp/std/isql/OptionsBase.o
>

Well, this is the important part:

> c++ -O2 -pipe -I/usr/local/include -DAMD64 -fno-strict-aliasing
> -Wl,--version-script,../builds/posix/empty.vers -L/usr/local/lib
> -D_THREAD_SAFE -Wl,-rpath,/usr/local/lib
> -Wl,-rpath,/usr/local/libexec/firebird/intl
> -Wl,-rpath,../gen/firebird/lib ../temp/std/isql/extract.o
> ../temp/std/isql/isql.o ../temp/std/isql/show.o
> ../temp/std/isql/Extender.o ../temp/std/isql/InputDevices.o
> ../temp/std/isql/ColList.o ../temp/std/isql/OptionsBase.o
> ../temp/std/jrd/path_utils.o
> ../temp/std/common/classes/ClumpletReader.o
> ../temp/std/common/classes/ClumpletWriter.o
> ../temp/std/common/fb_exception.o ../temp/std/common/thd.o
> ../temp/std/common/classes/MetaName.o
> ../temp/std/common/StatusHolder.o ../temp/std/common/classes/init.o
> ../temp/std/common/StatusArg.o ../temp/std/jrd/fbsyslog.o
> ../temp/std/common/utils.o ../temp/std/common/classes/alloc.o
> ../temp/std/common/classes/locks.o
> ../temp/std/common/classes/semaphore.o
> ../temp/std/common/classes/fb_string.o
> ../temp/std/common/classes/timestamp.o
> ../temp/std/common/classes/PublicHandle.o
> ../temp/std/common/classes/TempFile.o
> ../temp/std/common/classes/UserBlob.o
> ../temp/std/common/classes/SafeArg.o
> ../temp/std/common/classes/MsgPrint.o
> ../temp/std/common/classes/BaseStream.o -o ../gen/firebird/bin/isql-fb
> -L../gen/firebird/lib -lfbembed -ledit -latomic_ops -lm -pthread
> -lcurses
> /usr/bin/ld: warning: libicui18n.so.50, needed by
> /usr/local/lib/libfbembed.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libicuuc.so.50, needed by
> /usr/local/lib/libfbembed.so, not found (try using -rpath or
> -rpath-link)
> /usr/bin/ld: warning: libicudata.so.50, needed by
> /usr/local/lib/libfbembed.so, not found (try using -rpath or
> -rpath-link)
> /usr/local/lib/libfbembed.so: undefined reference to
> `utf8_nextCharSafeBody_50'
> /usr/local/lib/libfbembed.so: undefined reference to `u_tolower_50'
> /usr/local/lib/libfbembed.so: undefined reference to `ucnv_open_50'
> /usr/local/lib/libfbembed.so: undefined reference to `ucnv_close_50'
> /usr/local/lib/libfbembed.so: undefined reference to `u_strCompare_50'
> /usr/local/lib/libfbembed.so: undefined reference to `ucnv_fromUChars_50'
> /usr/local/lib/libfbembed.so: undefined reference to `u_toupper_50'
> /usr/local/lib/libfbembed.so: undefined reference to `u_countChar32_50'
>

Please try removing firebird25-client before building it.
For some reason, it is linking with the old version.


> ../gen/Makefile.embed.isql:62: recipe for target
> '../gen/firebird/bin/isql-fb' failed
> gmake[2]: *** [../gen/firebird/bin/isql-fb] Error 1
> rm ../temp/std/isql/extract.cpp ../temp/std/isql/show.cpp
> ../temp/std/isql/isql.cpp
> gmake[2]: Leaving directory
> '/usr/ports/databases/firebird25-client/work/

Re: firebird25-client 2.5.3 fails to build

2014-10-23 Thread Torfinn Ingolfsen
On Thu, Oct 23, 2014 at 8:59 PM, Henry Hu  wrote:
>
>
>
>
> According to
> http://portsmon.freebsd.org/portoverview.py?category=databases&portname=firebird25-client
> it should build. You can post more detailed information, including the
> actual error message,
> for others to analyze what's wrong.
>

There isn't any more detailed information post, before that therer are
just warnings. Here is bit more of the output:
../gen/firebird/bin/gpre_current -r -m -z -n ../src/isql/show.epp
../temp/std/isql/show.cpp
gpre version FB-V2.5.3.26778 Firebird 2.5
Version(s) for database "yachts.lnk"
Firebird/FreeBSD/amd64 (access method), version "FB-V2.5.3.26778 Firebird 2.5"
on disk structure version 11.2
c++ -I../src/include/gen -I../src/include -I../src/vulcan
-DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
-D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
-fno-strict-aliasing -c ../temp/std/isql/show.cpp -o
../temp/std/isql/show.o
c++ -I../src/include/gen -I../src/include -I../src/vulcan
-DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
-D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
-fno-strict-aliasing -c ../src/isql/Extender.cpp -o
../temp/std/isql/Extender.o
c++ -I../src/include/gen -I../src/include -I../src/vulcan
-DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
-D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
-fno-strict-aliasing -c ../src/isql/InputDevices.cpp -o
../temp/std/isql/InputDevices.o
c++ -I../src/include/gen -I../src/include -I../src/vulcan
-DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
-D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
-fno-strict-aliasing -c ../src/isql/ColList.cpp -o
../temp/std/isql/ColList.o
c++ -I../src/include/gen -I../src/include -I../src/vulcan
-DNAMESPACE=Vulcan -O -fno-builtin -DFREEBSD -DAMD64 -pipe -MMD -fPIC
-D_THREAD_SAFE -O2 -pipe -I/usr/local/include -DAMD64
-fno-strict-aliasing -c ../src/isql/OptionsBase.cpp -o
../temp/std/isql/OptionsBase.o
c++ -O2 -pipe -I/usr/local/include -DAMD64 -fno-strict-aliasing
-Wl,--version-script,../builds/posix/empty.vers -L/usr/local/lib
-D_THREAD_SAFE -Wl,-rpath,/usr/local/lib
-Wl,-rpath,/usr/local/libexec/firebird/intl
-Wl,-rpath,../gen/firebird/lib ../temp/std/isql/extract.o
../temp/std/isql/isql.o ../temp/std/isql/show.o
../temp/std/isql/Extender.o ../temp/std/isql/InputDevices.o
../temp/std/isql/ColList.o ../temp/std/isql/OptionsBase.o
../temp/std/jrd/path_utils.o
../temp/std/common/classes/ClumpletReader.o
../temp/std/common/classes/ClumpletWriter.o
../temp/std/common/fb_exception.o ../temp/std/common/thd.o
../temp/std/common/classes/MetaName.o
../temp/std/common/StatusHolder.o ../temp/std/common/classes/init.o
../temp/std/common/StatusArg.o ../temp/std/jrd/fbsyslog.o
../temp/std/common/utils.o ../temp/std/common/classes/alloc.o
../temp/std/common/classes/locks.o
../temp/std/common/classes/semaphore.o
../temp/std/common/classes/fb_string.o
../temp/std/common/classes/timestamp.o
../temp/std/common/classes/PublicHandle.o
../temp/std/common/classes/TempFile.o
../temp/std/common/classes/UserBlob.o
../temp/std/common/classes/SafeArg.o
../temp/std/common/classes/MsgPrint.o
../temp/std/common/classes/BaseStream.o -o ../gen/firebird/bin/isql-fb
-L../gen/firebird/lib -lfbembed -ledit -latomic_ops -lm -pthread
-lcurses
/usr/bin/ld: warning: libicui18n.so.50, needed by
/usr/local/lib/libfbembed.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libicuuc.so.50, needed by
/usr/local/lib/libfbembed.so, not found (try using -rpath or
-rpath-link)
/usr/bin/ld: warning: libicudata.so.50, needed by
/usr/local/lib/libfbembed.so, not found (try using -rpath or
-rpath-link)
/usr/local/lib/libfbembed.so: undefined reference to `utf8_nextCharSafeBody_50'
/usr/local/lib/libfbembed.so: undefined reference to `u_tolower_50'
/usr/local/lib/libfbembed.so: undefined reference to `ucnv_open_50'
/usr/local/lib/libfbembed.so: undefined reference to `ucnv_close_50'
/usr/local/lib/libfbembed.so: undefined reference to `u_strCompare_50'
/usr/local/lib/libfbembed.so: undefined reference to `ucnv_fromUChars_50'
/usr/local/lib/libfbembed.so: undefined reference to `u_toupper_50'
/usr/local/lib/libfbembed.so: undefined reference to `u_countChar32_50'
../gen/Makefile.embed.isql:62: recipe for target
'../gen/firebird/bin/isql-fb' failed
gmake[2]: *** [../gen/firebird/bin/isql-fb] Error 1
rm ../temp/std/isql/extract.cpp ../temp/std/isql/show.cpp
../temp/std/isql/isql.cpp
gmake[2]: Leaving directory
'/usr/ports/databases/firebird25-client/work/Firebird-2.5.3.26778-0/gen'
Makefile:353: recipe for target 'embed_isql' failed
gmake[1]: *** [embed_isql] Error 2
gmake[1]: Leaving directory
'/usr/ports/databases/firebird25-client/work/Firebird-2.5.3.26778-0/gen'
Makefile:6: recipe for target 'embed_isql' failed
gmake: *** [embed_isql] Error 2
*** Error code 1

Stop in /usr/ports/databases/firebird25-client.
*** Error code 1

HTH
-- 
Regards,
Torfinn
__

Re: firebird25-client 2.5.3 fails to build

2014-10-23 Thread Henry Hu
On Thu, Oct 23, 2014 at 2:44 PM, Torfinn Ingolfsen  wrote:

> databases/firebird25-client 2.5.3 fails to build on FreeBSD 8.4-stable:
> ../gen/Makefile.embed.isql:62: recipe for target
> '../gen/firebird/bin/isql-fb' failed
> gmake[2]: *** [../gen/firebird/bin/isql-fb] Error 1
> rm ../temp/std/isql/extract.cpp ../temp/std/isql/show.cpp
> ../temp/std/isql/isql.cpp
> gmake[2]: Leaving directory
> '/usr/ports/databases/firebird25-client/work/Firebird-2.5.3.26778-0/gen'
> Makefile:353: recipe for target 'embed_isql' failed
> gmake[1]: *** [embed_isql] Error 2
> gmake[1]: Leaving directory
> '/usr/ports/databases/firebird25-client/work/Firebird-2.5.3.26778-0/gen'
> Makefile:6: recipe for target 'embed_isql' failed
> gmake: *** [embed_isql] Error 2
> *** Error code 1
>
> Stop in /usr/ports/databases/firebird25-client.
> *** Error code 1
>
> Stop in /usr/ports/databases/firebird25-client.
> ** Command failed [exit code 1]: /usr/bin/script -qa
> /tmp/portupgrade20141023-66118-3f8avk env UPGRADE_TOOL=portupgrade
> UPGRADE_PORT=firebird25-client-2.5.2_2 UPGRADE_PORT_VER=2.5.2_2 make
> ** Fix the problem and try again.
> ** Listing the failed packages (-:ignored / *:skipped / !:failed)
> ! databases/firebird25-client (firebird25-client-2.5.2_2) (linker error)
>

According to
http://portsmon.freebsd.org/portoverview.py?category=databases&portname=firebird25-client
it should build. You can post more detailed information, including the
actual error message,
for others to analyze what's wrong.


> this is on:
> tingo@kg-core1$ uname -a
> FreeBSD kg-core1.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #1 r266590: Fri
> May 23 20:23:35 CEST 2014
> r...@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64
>
> root@kg-core1# portversion -v firebird*
> [Reading data from pkg(8) ... - 1008 packages found - done]
> firebird25-client-2.5.2_2 < needs updating (port has 2.5.3)
>
> HTH
> --
> Regards,
> Torfinn Ingolfsen
> ___
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
>



-- 
Cheers,
Henry
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


firebird25-client 2.5.3 fails to build

2014-10-23 Thread Torfinn Ingolfsen
databases/firebird25-client 2.5.3 fails to build on FreeBSD 8.4-stable:
../gen/Makefile.embed.isql:62: recipe for target
'../gen/firebird/bin/isql-fb' failed
gmake[2]: *** [../gen/firebird/bin/isql-fb] Error 1
rm ../temp/std/isql/extract.cpp ../temp/std/isql/show.cpp
../temp/std/isql/isql.cpp
gmake[2]: Leaving directory
'/usr/ports/databases/firebird25-client/work/Firebird-2.5.3.26778-0/gen'
Makefile:353: recipe for target 'embed_isql' failed
gmake[1]: *** [embed_isql] Error 2
gmake[1]: Leaving directory
'/usr/ports/databases/firebird25-client/work/Firebird-2.5.3.26778-0/gen'
Makefile:6: recipe for target 'embed_isql' failed
gmake: *** [embed_isql] Error 2
*** Error code 1

Stop in /usr/ports/databases/firebird25-client.
*** Error code 1

Stop in /usr/ports/databases/firebird25-client.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20141023-66118-3f8avk env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=firebird25-client-2.5.2_2 UPGRADE_PORT_VER=2.5.2_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! databases/firebird25-client (firebird25-client-2.5.2_2) (linker error)

this is on:
tingo@kg-core1$ uname -a
FreeBSD kg-core1.kg4.no 8.4-STABLE FreeBSD 8.4-STABLE #1 r266590: Fri
May 23 20:23:35 CEST 2014
r...@kg-core1.kg4.no:/usr/obj/usr/src/sys/GENERIC amd64

root@kg-core1# portversion -v firebird*
[Reading data from pkg(8) ... - 1008 packages found - done]
firebird25-client-2.5.2_2 < needs updating (port has 2.5.3)

HTH
-- 
Regards,
Torfinn Ingolfsen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"