Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-02 Thread Dimitry Andric
On 2 Apr 2020, at 09:59, Baptiste Daroussin  wrote:
> 
> On Wed, Apr 01, 2020 at 08:01:35PM +0200, Dimitry Andric wrote:
>> On 2020-04-01 02:22, Julian H. Stacey wrote:
>>> Hi ports@
>>> A libcurses version problem:
>>> 
>>> Running 13.0-CURRENT with
>>> /usr/src
>>>  cat .svn_revision 359319
>>>  cat .ctm_status src-cur 14430
>>> /usr/ports
>>>  cat .svn_revision 529842
>>>  cat .ctm_status ports-cur 13423
>>> 
>>> After
>>>  pkg upgrade
>>>  pkg autoremove
>>> xterm & firefox failed with
>>>  ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"
>> ...
>>> Next to look at /usr/src/
>>> ObsoleteFiles.inc
>>> # 20200220: Upgrade of ncurses, shlib bumped to version 9
>>> OLD_LIBS+=lib/libncurses.so.8
>> 
>> Yeah, this ncurses bump was handled pretty badly, as it breaks almost all
>> installed ports (and a bunch of base programs too, if you are unlucky).
>> Isn't there any compat package for it yet?
>> 
>> -Dimitry
> ??
> 
> When the bump occured a month ago, an UPDATING entry was added as usual to 
> warn
> everyone, a compat12x package has been created immediatly and all the packages
> have been rebuilt. What else could have been done? Can you explain me what I
> have badly done here?

Sorry about that, I realized that I was totally off-base here.  At that
time I was simply annoyed that I had to rebuild all my ports againn, as
I mostly don't use packages.  And I wasn't aware ncurses was added to
the compat12 package, I simply backed up my old ncurses.so.8
everywhere...

-Dimitry



signature.asc
Description: Message signed with OpenPGP


Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-02 Thread Baptiste Daroussin
On Wed, Apr 01, 2020 at 08:01:35PM +0200, Dimitry Andric wrote:
> On 2020-04-01 02:22, Julian H. Stacey wrote:
> > Hi ports@
> > A libcurses version problem:
> > 
> > Running 13.0-CURRENT with
> > /usr/src
> >   cat .svn_revision 359319
> >   cat .ctm_status src-cur 14430
> > /usr/ports
> >   cat .svn_revision 529842
> >   cat .ctm_status ports-cur 13423
> > 
> > After
> >   pkg upgrade
> >   pkg autoremove
> > xterm & firefox failed with
> >   ld-elf.so.1: Shared object "libncurses.so.8" not found, required by 
> > "xterm"
> ...
> > Next to look at /usr/src/
> > ObsoleteFiles.inc
> > # 20200220: Upgrade of ncurses, shlib bumped to version 9
> > OLD_LIBS+=lib/libncurses.so.8
> 
> Yeah, this ncurses bump was handled pretty badly, as it breaks almost all
> installed ports (and a bunch of base programs too, if you are unlucky).
> Isn't there any compat package for it yet?
> 
> -Dimitry
??

When the bump occured a month ago, an UPDATING entry was added as usual to warn
everyone, a compat12x package has been created immediatly and all the packages
have been rebuilt. What else could have been done? Can you explain me what I
have badly done here?

Best regards,
Bapt


signature.asc
Description: PGP signature


Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-02 Thread Steve Kargl
On Wed, Apr 01, 2020 at 08:01:35PM +0200, Dimitry Andric wrote:
> 
> Yeah, this ncurses bump was handled pretty badly, as it breaks almost all
> installed ports (and a bunch of base programs too, if you are unlucky).
> Isn't there any compat package for it yet?
> 

% cat /etc/libmap.conf
...
libncurses.so.8 libncurses.so.9
libncursesw.so.8 libncursesw.so.9

HTH

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


Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Dimitry Andric

On 2020-04-01 02:22, Julian H. Stacey wrote:

Hi ports@
A libcurses version problem:

Running 13.0-CURRENT with
/usr/src
  cat .svn_revision 359319
  cat .ctm_status src-cur 14430
/usr/ports
  cat .svn_revision 529842
  cat .ctm_status ports-cur 13423

After
  pkg upgrade
  pkg autoremove
xterm & firefox failed with
  ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"

...

Next to look at /usr/src/
ObsoleteFiles.inc
# 20200220: Upgrade of ncurses, shlib bumped to version 9
OLD_LIBS+=lib/libncurses.so.8


Yeah, this ncurses bump was handled pretty badly, as it breaks almost 
all installed ports (and a bunch of base programs too, if you are 
unlucky). Isn't there any compat package for it yet?


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


Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Lorenzo Salvadore via freebsd-ports
‐‐‐ Original Message ‐‐‐
On Wednesday 1 April 2020 16:34, Julian H. Stacey  wrote:

> Hi, Reference:
>
> > From: Lorenzo Salvadore phascolarc...@protonmail.ch
> > Reply-to: Lorenzo Salvadore phascolarc...@protonmail.ch
> > Date: Wed, 01 Apr 2020 09:56:27 +
>
> Lorenzo Salvadore wrote:
>
> > ‐‐‐ Original Message ‐‐‐
> > On Wednesday 1 April 2020 02:22, Julian H. Stacey j...@berklix.com wrote:
> >
> > > Hi ports@
> > > A libcurses version problem:
> > > Running 13.0-CURRENT with
> > > /usr/src
> > > cat .svn_revision 359319
> > > cat .ctm_status src-cur 14430
> > > /usr/ports
> > > cat .svn_revision 529842
> > > cat .ctm_status ports-cur 13423
> > > After
> > > pkg upgrade
> > > pkg autoremove
> > > xterm & firefox failed with
> > > ld-elf.so.1: Shared object "libncurses.so.8" not found, required by 
> > > "xterm"
> > > Fixed temporarily with:
> > > cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R
> >
> > I think the recommended fix is to install misc/compat12x. I was suggested to
> > do that in another context and it worked for me. I gave the same suggestion
> > to someone else with the same problem and it also worked.
> > Cheers,
> > Lorenzo Salvadore
>
> Thanks Lorenzo that worked, confirmed by
> cd /lib ; mv libncurses.so.8 libncurses.so.8.jhs
> cd /usr/ports/misc/compat12x ; make install ; reboot
>
> To identify package name for others:
> make package
> produces
> /usr/ports/packages/All/compat12x-amd64-12.1.1201000.20200220.txz
> however no
> ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current/All
> & I dont see
> "man pkg-info"
> has an option to list what's available on repository
> (Eventualy I found
> http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/
> with
> compat12x-amd64-12.1.1201000.20200220.txz
> pkg install compat12x-amd64-12.1.1201000.20200220
> The most recent versions of packages are already installed
> Which confirms the pkg name.)

Please note however that in most cases you should not need compat12x.
What is normally needed is to rebuild all the ports that depend on ncurses
on your system. When this is not possible, for example because instead of using
ports you use an out of date package repository that you cannot update or
because you install a port that needs "hand made" packages (such as
i386-wine or i386-wine-devel), then you need compat12x.

It seems xterm and firefox are up to date in the official repository:
http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/ . I do not know how the
ports are built, it might be that they use some "hand made" packages.

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


Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Julian H. Stacey
Hi, Reference:
> From: Lorenzo Salvadore 
> Reply-to: Lorenzo Salvadore 
> Date: Wed, 01 Apr 2020 09:56:27 +

Lorenzo Salvadore wrote:
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Wednesday 1 April 2020 02:22, Julian H. Stacey  wrote:
> 
> > Hi ports@
> > A libcurses version problem:
> >
> > Running 13.0-CURRENT with
> > /usr/src
> > cat .svn_revision 359319
> > cat .ctm_status src-cur 14430
> > /usr/ports
> > cat .svn_revision 529842
> > cat .ctm_status ports-cur 13423
> >
> > After
> > pkg upgrade
> > pkg autoremove
> > xterm & firefox failed with
> > ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"
> >
> > Fixed temporarily with:
> > cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R
> 
> I think the recommended fix is to install misc/compat12x. I was suggested to
> do that in another context and it worked for me. I gave the same suggestion
> to someone else with the same problem and it also worked.
> 
> Cheers,
> Lorenzo Salvadore

Thanks Lorenzo that worked, confirmed by 
cd /lib ; mv libncurses.so.8 libncurses.so.8.jhs
cd /usr/ports/misc/compat12x ; make install ; reboot

To identify package name for others:
make package
produces
/usr/ports/packages/All/compat12x-amd64-12.1.1201000.20200220.txz
however no
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current/All
& I dont see  
"man pkg-info" 
has an option to list what's available on repository
(Eventualy I found
http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/
with
compat12x-amd64-12.1.1201000.20200220.txz
pkg install compat12x-amd64-12.1.1201000.20200220
The most recent versions of packages are already installed
Which confirms the pkg name.)

Suggestion: to man pkg-info we should add to SEE ALSO http://pkg.freebsd.org

Cheers
--
Julian Stacey, Consultant Systems Engineer, BSD Linux http://berklix.com/jhs/
UK stole 750,000 votes from EU Brits:  http://stolenvotes.uk
http://petition.parliament.uk/petitions/300059 http://berklix.uk/brexit/#russia
http://berklix.eu/corona/#brexit  Delay Brexit 31 Dec 2020 better fight Corona.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-04-01 Thread Lorenzo Salvadore via freebsd-ports
‐‐‐ Original Message ‐‐‐
On Wednesday 1 April 2020 02:22, Julian H. Stacey  wrote:

> Hi ports@
> A libcurses version problem:
>
> Running 13.0-CURRENT with
> /usr/src
> cat .svn_revision 359319
> cat .ctm_status src-cur 14430
> /usr/ports
> cat .svn_revision 529842
> cat .ctm_status ports-cur 13423
>
> After
> pkg upgrade
> pkg autoremove
> xterm & firefox failed with
> ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"
>
> Fixed temporarily with:
> cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R

I think the recommended fix is to install misc/compat12x. I was suggested to
do that in another context and it worked for me. I gave the same suggestion
to someone else with the same problem and it also worked.

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


current: cd /lib ; ln -s libncurses.so.9 libncurses.so.8 xterm & ffox

2020-03-31 Thread Julian H. Stacey
Hi ports@
A libcurses version problem:

Running 13.0-CURRENT with
/usr/src 
 cat .svn_revision 359319
 cat .ctm_status src-cur 14430
/usr/ports
 cat .svn_revision 529842
 cat .ctm_status ports-cur 13423

After 
 pkg upgrade
 pkg autoremove
xterm & firefox failed with
 ld-elf.so.1: Shared object "libncurses.so.8" not found, required by "xterm"

Fixed temporarily with:
 cd /lib ; ln -s libncurses.so.9 libncurses.so.8 ; ldconfig -R

It's 6.1 in ports:
 cd /usr/ports/devel/ncurses ; make ;  find . -name \*libncurses.so\* | sort
 ./work/ncurses-6.1-20190525/build.nowidec/lib/libncurses.so
 ./work/ncurses-6.1-20190525/build.nowidec/lib/libncurses.so.6
 ./work/ncurses-6.1-20190525/build.nowidec/lib/libncurses.so.6.1
 ./work/stage/usr/local/lib/libncurses.so
 ./work/stage/usr/local/lib/libncurses.so.6
 ./work/stage/usr/local/lib/libncurses.so.6.1

cd /usr/src; find . -name \*libncurses\* # Nothing

ls -l /lib
lrwxr-xr-x  1 root  wheel  15 Mar 31 23:27 libncurses.so.8@ -> 
libncurses.so.9
-r--r--r--  1 root  wheel  399240 Mar 31 13:45 libncurses.so.9
-r--r--r--  1 root  wheel  457528 Mar 31 13:45 libncursesw.so.9

ls -l /usr/local/lib/*libncurses*
-rw-r--r--  1 root  wheel  161144 Mar 31 23:31 libncurses++.a
-rw-r--r--  1 root  wheel  161160 Mar 31 23:31 libncurses++w.a
-rw-r--r--  1 root  wheel  318044 Mar 31 23:31 libncurses.a
-rw-r--r--  1 root  wheel  44 Mar 31 23:31 libncurses.so
lrwxr-xr-x  1 root  wheel  17 Mar 31 23:31 libncurses.so.6@ -> 
libncurses.so.6.1
-rwxr-xr-x  1 root  wheel  164896 Mar 31 23:31 libncurses.so.6.1*
-rw-r--r--  1 root  wheel  421732 Mar 31 23:31 libncursesw.a
-rw-r--r--  1 root  wheel  46 Mar 31 23:31 libncursesw.so
lrwxr-xr-x  1 root  wheel  18 Mar 31 23:31 libncursesw.so.6@ -> 
libncursesw.so.6.1
-rwxr-xr-x  1 root  wheel  222096 Mar 31 23:31 libncursesw.so.6.1*

Next to look at /usr/src/
ObsoleteFiles.inc
# 20200220: Upgrade of ncurses, shlib bumped to version 9
OLD_LIBS+=lib/libncurses.so.8
lib/ncurses
contrib/ncurses

Cheers
--
Julian Stacey, Consultant Systems Engineer, BSD Linux http://berklix.com/jhs/
UK stole 750,000 votes from EU Brits:  http://stolenvotes.uk
http://petition.parliament.uk/petitions/300059 http://berklix.uk/brexit/#russia
Limit Corona:  http://berklix.eu/corona/  Delay Brexit deals to fight Corona.
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: k3b can't find CD drive

2016-09-22 Thread Ivan Klymenko
On Thu, 22 Sep 2016 20:59:50 +1000
Graham Menhennitt <gra...@menhennitt.com.au> wrote:

> On 21/09/2016 23:48, Ivan Klymenko wrote:
> > On Wed, 21 Sep 2016 22:35:44 +1000
> > Graham Menhennitt <gra...@menhennitt.com.au> wrote:
> >  
> >> Hi all,
> >>
> >> I'm trying to write a CD using k3b. However, when it starts, it
> >> tells me that it can't find a CD drive to work with. Dmesg shows:
> >>
> >> cd0 at ata0 bus 0 scbus4 target 0 lun 0
> >> cd0:  Removable CD-ROM SCSI
> >> device cd0: Serial Number NHDL064152WL
> >> cd0: 150.000MB/s transfers (SATA, UDMA5, ATAPI 12bytes, PIO
> >> 8192bytes) cd0: 0MB (1 2048 byte sectors)  
> >
> > look patch from
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210354  
> Ivan,
> 
> Why have you marked the bug as "Closed"? The patch still needs to be
> applied.
> 
> Graham

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210354#c4
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: k3b can't find CD drive

2016-09-22 Thread Graham Menhennitt
On 21/09/2016 23:48, Ivan Klymenko wrote:
> On Wed, 21 Sep 2016 22:35:44 +1000
> Graham Menhennitt <gra...@menhennitt.com.au> wrote:
>
>> Hi all,
>>
>> I'm trying to write a CD using k3b. However, when it starts, it tells
>> me that it can't find a CD drive to work with. Dmesg shows:
>>
>> cd0 at ata0 bus 0 scbus4 target 0 lun 0
>> cd0:  Removable CD-ROM SCSI device
>> cd0: Serial Number NHDL064152WL
>> cd0: 150.000MB/s transfers (SATA, UDMA5, ATAPI 12bytes, PIO
>> 8192bytes) cd0: 0MB (1 2048 byte sectors)
>
> look patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210354
Ivan,

Why have you marked the bug as "Closed"? The patch still needs to be
applied.

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


Re: k3b can't find CD drive

2016-09-22 Thread Graham Menhennitt
On 21/09/2016 23:48, Ivan Klymenko wrote:
> On Wed, 21 Sep 2016 22:35:44 +1000
> Graham Menhennitt <gra...@menhennitt.com.au> wrote:
>
>> Hi all,
>>
>> I'm trying to write a CD using k3b. However, when it starts, it tells
>> me that it can't find a CD drive to work with. Dmesg shows:
>>
>> cd0 at ata0 bus 0 scbus4 target 0 lun 0
>> cd0:  Removable CD-ROM SCSI device
>> cd0: Serial Number NHDL064152WL
>> cd0: 150.000MB/s transfers (SATA, UDMA5, ATAPI 12bytes, PIO
>> 8192bytes) cd0: 0MB (1 2048 byte sectors)
>>
>> I think I've got all the correct things in my kernel: pass, scb, cd.
>> I'm I'm pretty sure it's not a permissions problem as it happens when
>> I run k3b as root too.
>>
>> This is on a recent 11-stable AMD64 with up to date ports.
>>
> look patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210354
Thank you very much Ivan. That fixed it.

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


Re: k3b can't find CD drive

2016-09-21 Thread Ivan Klymenko
On Wed, 21 Sep 2016 22:35:44 +1000
Graham Menhennitt <gra...@menhennitt.com.au> wrote:

> Hi all,
> 
> I'm trying to write a CD using k3b. However, when it starts, it tells
> me that it can't find a CD drive to work with. Dmesg shows:
> 
> cd0 at ata0 bus 0 scbus4 target 0 lun 0
> cd0:  Removable CD-ROM SCSI device
> cd0: Serial Number NHDL064152WL
> cd0: 150.000MB/s transfers (SATA, UDMA5, ATAPI 12bytes, PIO
> 8192bytes) cd0: 0MB (1 2048 byte sectors)
> 
> but also has lots of error messages:
> 
> (cd0:ata0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00
> (cd0:ata0:0:0:0): CAM status: SCSI Status Error
> (cd0:ata0:0:0:0): SCSI status: Check Condition
> (cd0:ata0:0:0:0): SCSI sense: BLANK CHECK asc:0,0 (No additional
> sense information)
> (cd0:ata0:0:0:0): Error 28, Unretryable error
> (cd0:ata0:0:0:0): cddone: got error 0x1c back
> 
> I've followed all the instructions in the port's pkg-message except I
> get an error when setting the sysctl:
> 
> sysctl hw.ata.atapi_dma=1
> sysctl: unknown oid 'hw.ata.atapi_dma'
> 
> I think I've got all the correct things in my kernel: pass, scb, cd.
> I'm I'm pretty sure it's not a permissions problem as it happens when
> I run k3b as root too.
> 
> This is on a recent 11-stable AMD64 with up to date ports.
> 
> Thanks for any help,
> 
> Graham
> 
> 
> ___
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to
> "freebsd-ports-unsubscr...@freebsd.org"


look patch from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210354
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


k3b can't find CD drive

2016-09-21 Thread Graham Menhennitt
Hi all,

I'm trying to write a CD using k3b. However, when it starts, it tells me
that it can't find a CD drive to work with. Dmesg shows:

cd0 at ata0 bus 0 scbus4 target 0 lun 0
cd0:  Removable CD-ROM SCSI device
cd0: Serial Number NHDL064152WL
cd0: 150.000MB/s transfers (SATA, UDMA5, ATAPI 12bytes, PIO 8192bytes)
cd0: 0MB (1 2048 byte sectors)

but also has lots of error messages:

(cd0:ata0:0:0:0): READ(10). CDB: 28 00 00 00 00 00 00 00 01 00
(cd0:ata0:0:0:0): CAM status: SCSI Status Error
(cd0:ata0:0:0:0): SCSI status: Check Condition
(cd0:ata0:0:0:0): SCSI sense: BLANK CHECK asc:0,0 (No additional
sense information)
(cd0:ata0:0:0:0): Error 28, Unretryable error
(cd0:ata0:0:0:0): cddone: got error 0x1c back

I've followed all the instructions in the port's pkg-message except I
get an error when setting the sysctl:

sysctl hw.ata.atapi_dma=1
sysctl: unknown oid 'hw.ata.atapi_dma'

I think I've got all the correct things in my kernel: pass, scb, cd. I'm
I'm pretty sure it's not a permissions problem as it happens when I run
k3b as root too.

This is on a recent 11-stable AMD64 with up to date ports.

Thanks for any help,

Graham


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


Pkg install from release CD using FreeBSD provided repo

2014-02-13 Thread Peter Ross

Hi,

after having a +1 from a German mailing list and the suggestion to send it 
to the appropriate mailing list (I think freebsd-ports is the one?)


a suggestion for the installation from CD

1. Include a local binary way to install pkg
2. Ask for a proxy server when setting up a new FreeBSD machine
  (write it in the environment section of pkg.conf
   as well as setting the http_proxy environment variable)
3. Ask whether you want to use binary packages and write a FreeBSD.conf
  for the appropriate repository to download from
4. Download the content from the repo at the first pkg command so
  commands as pkg search work immediately.

Point 2, 3 and 4 sound quite trivial, I think, it is more of whether it 
is the right way to do.


For step 1 I provide a minimal ports tree with all what's needed to 
compile pkg. See below for details.


I suggest it after my own install experience for FreeBSD 10.0. I am a 
sysadmin who is using the ports collection for our servers,


whoever, this time I wanted to try a binary install for a desktop, I found 
it too cumbersome, as a novice I would have given up..


Sitting in the office (and behind a firewall and having a proxy) I wanted 
to setup a new desktop.


Shiny new pkg tools - better than apt.. cool! Yes, it works well, much 
better than the old stuff. Thanks!


Okay, do I need ports? No (I think - I want binaries). I just use pkg 
afterwards. Good.


Problem 1: pkg is just the stub.. and wants to get it from a FreeBSD 
server.. well - stuck (the firewall)


Well, I guess http_proxy=..; export http_proxy may help - yes, it does. 
(But I am a sysadmin - what if I do not have this knowledge?)


Problem 2: pkg search perl - nothing.

Google, google.. okay, the announcement and writing a repository 
configuration.


Problem 3: pkg search perl - still no output.

pkg repo/upgrade/update/updating.. all: no.

Looking at the repo website: Yes, it's there.

pkg install 0verkill (the first package I see - magic, it downloads the 
repository content and more, and now pkg search and others work!


Thay are all problems you can solve. But I do not think they should be the 
first FreeBSD experience.


Another mailing list member had a similar disappointing start with FreeBSD 
10.


Hence the suggestion above.

What do you think?

Sorry if I am stirring the pot again.. I found some mails related to the 
pkg stub but I did not find something similar to my suggestion.


I am happy for any other way that may prevent an experience as I just had.

Here my workaround to bootstrap ppkg locally (tested for FreeBSD 9):

1. create_pkg_bootstrap.sh

# Creates bootstrap package used by add_packages.sh

# Assumes succesful pkg build in ports tree
# Parameter: pkg name (pkg-${version})

if [ X${1} = X ]; then
   echo Please specify pkg name (pkg-version)
   exit 1
fi

cd /usr/ports
rm -f /usr/ports/ports-mgmt/pkg/work/.install_done.pkg._usr_local
tar -czf /usr/ports/packages/$1.tgz ports-mgmt/pkg Mk \
Templates/BSD.local.dist Tools/scripts/security-check.awk

2. Use the pkg tar ball to install pkg

bootstrap_pkg()
{
  echo Bootstrap pkg
  tmp_ports_dir=`mktemp -d /tmp/${APP}.ports.XX`
  cd ${tmp_ports_dir}
  tar -xzvf /usr/ports/packages/pkg*.tgz
  cd ports-mgmt/pkg
  make install PORTSDIR=${tmp_ports_dir}
  echo Packages installed: 
  pkg info -a
  rm -rf ${tmp_ports_dir}
}

I am pretty sure that may need some polish before it can grace an official 
installation CD (or there is something better).. but it may be a starting 
point.


Regards
Peter
___
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


${CD}

2011-05-24 Thread Helmut Schneider
Hi,

I need 'cd' in my Makefile. It seems that the variable ${CD} is not
defined and people are using 'cd' instead.

Is there a certain reason for that?

Thanks, Helmut

___
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: ${CD}

2011-05-24 Thread Doug Barton

On 05/24/2011 12:39, Helmut Schneider wrote:

Hi,

I need 'cd' in my Makefile. It seems that the variable ${CD} is not
defined and people are using 'cd' instead.

Is there a certain reason for that?


Probably because there is no point in making a variable for it? :)


--

Nothin' ever doesn't change, but nothin' changes much.
-- OK Go

Breadth of IT experience, and depth of knowledge in the DNS.
Yours for the right price.  :)  http://SupersetSolutions.com/

___
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: ${CD}

2011-05-24 Thread Helmut Schneider
Doug Barton wrote:

 On 05/24/2011 12:39, Helmut Schneider wrote:
  I need 'cd' in my Makefile. It seems that the variable ${CD} is not
  defined and people are using 'cd' instead.
  
  Is there a certain reason for that?
 
 Probably because there is no point in making a variable for it? :)

OK, seems I've been fooled:

[helmut@BSDHelmut ~]$ which cd
/usr/bin/cd
[helmut@BSDHelmut ~]$

I too late looked at /usr/bin/cd a bit closer:

[helmut@BSDHelmut ~]$ file /usr/bin/cd
/usr/bin/cd: POSIX shell script text executable
[helmut@BSDHelmut ~]$ cat /usr/bin/cd
#!/bin/sh
# $FreeBSD: src/usr.bin/alias/generic.sh,v 1.2.10.1.6.1 2010/12/21
17:09:25 kensmith Exp $
# This file is in the public domain.
builtin ${0##*/} ${1+$@}
[helmut@BSDHelmut ~]$

___
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: ${CD}

2011-05-24 Thread Chuck Swiger
On May 24, 2011, at 12:39 PM, Helmut Schneider wrote:
 I need 'cd' in my Makefile. It seems that the variable ${CD} is not
 defined and people are using 'cd' instead.
 
 Is there a certain reason for that?

make isn't the same as a shell; while you can do shell one-liners starting with 
a 'cd' if you have to, they won't have any effect on subsequent Makefile 
statements.  Consider using VPATH to find sources instead.

Regards,
-- 
-Chuck

___
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: Installing FreeBSD from iso without CD, and one more question

2011-01-02 Thread majid fooladpour
Thank you Mathew. How come the images are so big (917 MB)? The iso
image I downloaded was only 45.7 MB.

On 01/01/2011, Matthew Seaman m.sea...@infracaninophile.co.uk wrote:
 On 01/01/2011 12:23, majid fooladpour wrote:
 Hi all,

 I am new to FreeBSD and I have a few questions which may or may not be
 related directly to ports.

 I have downloaded FreeBSD-8.1-RELEASE-i386-bootonly.iso, is there
 anyway to install FreeBSD with this on a Flash memory (without burning
 a CD)?

 You want one of the USB memory-stick images for that -- eg.

 http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.2/FreeBSD-8.2-RC1-i386-memstick.img

 Actually, if you're running a reasonably up-to-date CPU, then you're
 probably better of with a 64bit system:

 http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/8.2/FreeBSD-8.2-RC1-amd64-memstick.img

 - I have installed FreeBSD 6.2 from a bootable CD,

 ... which is quite a long time out of support now: you really want 8.x
 for a new install.

 - I know how to mount the usb flash in FreeBSD 6.2
 - I have Windows XP on another hard drive and I can open the iso file
 inin there with 7zip and extract the files/folders to rearrange them
 and save the result back to flash disk.

 You can do everything you need from Unix -- it will take a little time
 before you learn all the commands and so forth you need, but it will
 ultimately give you better results.

 I thought when you install a *nix like system you are ready to go with
 all you need for web development. This does not seem to be true. I

 Correct.  Installing the OS is just the beginning.  FreeBSD is not
 supplied pre-configured to perform any particular role: while it can do
 just about anything, it takes the admin (ie. you) to put the necessary
 pieces together.

 need to set up a LAMP environment. In Windows I got that in two steps:
 1. Downloaded XAMPP from Apache Friends and installed (and got Apache
 + PHP + MySQL),
 2. Downloaded Notepad++ and installed
 What should I do in FreeBSD to get the same envo? - And I really want
 the ability to have debugging on PHP which I missed on Windows.

 Well, LAMP == Linux + Apache + MySQL + PHP.  Forget the Linux part --
 you've already chosen a superior alternative.  The other three
 components you'll need to install from ports.  The following commands
 should get you pretty much where you need to be:

# portsnap fetch install
# cd /usr/ports/ports-mgmt/portmaster
# make all install clean
# rehash
# portmaster databases/mysql55-server
# portmaster www/apache22
# portmaster lang/php5

 You'll get a number of OPTIONs dialogues during the course of that: for
 the most part, you can just take the defaults *but* when installing
 lang/php5 make sure you check the option 'Build Apache Module'.

 You will also need to install various other PHP, pear and pecl modules
 to give you all the required PHP functionality -- it's best to use the
 ports to do that where the appropriate bits are available from ports.

 Now, that, plus a bit of work on configuration files is what you need to
 build a production webserver.  For development support, you'll need to
 install a bunch of other software.  Precisely what to install is a
 matter of personal taste.  There are a number of different ones
 available.  Given you're coming from a Windows environment, you'll
 probably find one of the all-singing, all-dancing IDEs closest to what
 you're used to.  Probably java/phpeclipse would be a good one to try,
 but it needs you to install a lot of other stuff, including java.

   Cheers,

   Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW


___
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: Installing FreeBSD from iso without CD, and one more question

2011-01-02 Thread Matthew Seaman
On 02/01/2011 19:26, majid fooladpour wrote:
 Thank you Mathew. How come the images are so big (917 MB)? The iso
 image I downloaded was only 45.7 MB.

It's Matthew, with two t's.

Anyhow, it's not that the memstick images are so big -- if you look, it
is consistent with the DVD image and bigger than the CD images because
of the limits on the size of what you can put on a CD.  It's how come
the bootonly image is so small?

The bootonly image basically consists of just the OS kernel and
sysinstall.  You can install the OS with this, but only if you have
access to the net while doing so.  Sysinstall will download install sets
from one or other of the FreeBSD FTP sites as part of the install
process.  Ultimately for installing one machine you'll use roughly the
same amount of bandwidth by installing via an iso or by using the
bootonly image and ftp'ing stuff as part of the install.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Installing FreeBSD from iso without CD, and one more question

2011-01-01 Thread majid fooladpour
Hi all,

I am new to FreeBSD and I have a few questions which may or may not be
related directly to ports.

I have downloaded FreeBSD-8.1-RELEASE-i386-bootonly.iso, is there
anyway to install FreeBSD with this on a Flash memory (without burning
a CD)?
- I have installed FreeBSD 6.2 from a bootable CD,
- I know how to mount the usb flash in FreeBSD 6.2
- I have Windows XP on another hard drive and I can open the iso file
inin there with 7zip and extract the files/folders to rearrange them
and save the result back to flash disk.

I thought when you install a *nix like system you are ready to go with
all you need for web development. This does not seem to be true. I
need to set up a LAMP environment. In Windows I got that in two steps:
1. Downloaded XAMPP from Apache Friends and installed (and got Apache
+ PHP + MySQL),
2. Downloaded Notepad++ and installed
What should I do in FreeBSD to get the same envo? - And I really want
the ability to have debugging on PHP which I missed on Windows.

Thanks,
Majid
___
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: Installing FreeBSD from iso without CD, and one more question

2011-01-01 Thread Matthew Seaman
On 01/01/2011 12:23, majid fooladpour wrote:
 Hi all,
 
 I am new to FreeBSD and I have a few questions which may or may not be
 related directly to ports.
 
 I have downloaded FreeBSD-8.1-RELEASE-i386-bootonly.iso, is there
 anyway to install FreeBSD with this on a Flash memory (without burning
 a CD)?

You want one of the USB memory-stick images for that -- eg.

http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.2/FreeBSD-8.2-RC1-i386-memstick.img

Actually, if you're running a reasonably up-to-date CPU, then you're
probably better of with a 64bit system:

http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-amd64/8.2/FreeBSD-8.2-RC1-amd64-memstick.img

 - I have installed FreeBSD 6.2 from a bootable CD,

... which is quite a long time out of support now: you really want 8.x
for a new install.

 - I know how to mount the usb flash in FreeBSD 6.2
 - I have Windows XP on another hard drive and I can open the iso file
 inin there with 7zip and extract the files/folders to rearrange them
 and save the result back to flash disk.

You can do everything you need from Unix -- it will take a little time
before you learn all the commands and so forth you need, but it will
ultimately give you better results.

 I thought when you install a *nix like system you are ready to go with
 all you need for web development. This does not seem to be true. I

Correct.  Installing the OS is just the beginning.  FreeBSD is not
supplied pre-configured to perform any particular role: while it can do
just about anything, it takes the admin (ie. you) to put the necessary
pieces together.

 need to set up a LAMP environment. In Windows I got that in two steps:
 1. Downloaded XAMPP from Apache Friends and installed (and got Apache
 + PHP + MySQL),
 2. Downloaded Notepad++ and installed
 What should I do in FreeBSD to get the same envo? - And I really want
 the ability to have debugging on PHP which I missed on Windows.

Well, LAMP == Linux + Apache + MySQL + PHP.  Forget the Linux part --
you've already chosen a superior alternative.  The other three
components you'll need to install from ports.  The following commands
should get you pretty much where you need to be:

   # portsnap fetch install
   # cd /usr/ports/ports-mgmt/portmaster
   # make all install clean
   # rehash
   # portmaster databases/mysql55-server
   # portmaster www/apache22
   # portmaster lang/php5

You'll get a number of OPTIONs dialogues during the course of that: for
the most part, you can just take the defaults *but* when installing
lang/php5 make sure you check the option 'Build Apache Module'.

You will also need to install various other PHP, pear and pecl modules
to give you all the required PHP functionality -- it's best to use the
ports to do that where the appropriate bits are available from ports.

Now, that, plus a bit of work on configuration files is what you need to
build a production webserver.  For development support, you'll need to
install a bunch of other software.  Precisely what to install is a
matter of personal taste.  There are a number of different ones
available.  Given you're coming from a Windows environment, you'll
probably find one of the all-singing, all-dancing IDEs closest to what
you're used to.  Probably java/phpeclipse would be a good one to try,
but it needs you to install a lot of other stuff, including java.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


[BUG] cd /usr/src/bin/sh portmaster -ai

2010-10-20 Thread jhell

The above subject listed bug has been found in portmaster with cause
unknown. portmaster(8) at this point fails to continue because it is
waiting  on a pipe for whatever reason. This also happens in
'/usr/src/bin/csh' and I am not sure if there is other directories this
happens in.

~25 lines of output from a run with '-x'

+ getopts BCDFGHKLPRabde:fghilm:nop:r:stuvwx: COMMAND_LINE_ARGUMENT
+ shift 1
+ unset -f packages_init cross_idx
+ [ -n '' ]
+ [ -n '' ]
+ [ -n '' -a iopt ]
+ [ -n '' -a -n '' ]
+ [ -n '' -a -n Dopt ]
+ [ -n '' -a -n '' ]
+ [ -n '' -o -n '' ]
+ unset my_environment
+ unset -f test_command_line
+ [ -n '' -o -n '' ]
+ [ -n '' ]
+ [ -n '' ]
+ [ -z '' -a '' != only -a -z Dopt ]
+ [ 1 -eq 1 -a -z '' ]
+ CUR_DEPS=:
+ DISPLAY_LIST=''
+ INSTALLED_LIST=''
+ PM_DEPTH=''
+ pm_mktemp IPC_SAVE
+ /usr/bin/mktemp -t f-1-IPC_SAVE
+ IPC_SAVE=/tmp/f-1-IPC_SAVE.aKMgzSJW
+ export CUR_DEPS DISPLAY_LIST INSTALLED_LIST PM_DEPTH IPC_SAVE
+ [ -n '' ]
+ pm_make_b -f/usr/share/mk/bsd.port.mk -V LOCALBASE
+ PLB=''
+ [ -n '' ]
+ head -1
+ cut -f 3 '-d|'

This is the point where is stops.


Found on FreeBSD 8.1-STABLE i386


If further information is needed let me know.

Regards,

-- 

 jhell,v
___
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: ports/12355: port of cdlabelgen, a CD frontcard/traycard generator, for use with gcombust or alone

2010-01-05 Thread pgollucci
Synopsis: port of cdlabelgen, a CD frontcard/traycard generator, for use with 
gcombust or alone

Responsible-Changed-From-To: freebsd-ports-pgollucci
Responsible-Changed-By: pgollucci
Responsible-Changed-When: Wed Jan 6 06:15:44 UTC 2010
Responsible-Changed-Why: 
I'll take it.

http://www.freebsd.org/cgi/query-pr.cgi?pr=12355
___
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


cd // - bash is funny???

2008-11-14 Thread Maxim Sobolev

[EMAIL PROTECTED] ~]$ cd //
[EMAIL PROTECTED] //]$ pwd
//
[EMAIL PROTECTED] //] /bin/pwd
/
[EMAIL PROTECTED] //]

What's that? Happens on bash 3.x, checked range of boxes from 6.x to 8.x 
and arches from powerpc to amd64. cd /// at the same time is OK:


[EMAIL PROTECTED] //]$ cd ///
[EMAIL PROTECTED] /]$

Is it off-by-one error?

-Maxim
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cd // - bash is funny???

2008-11-14 Thread Jeremy Chadwick
On Fri, Nov 14, 2008 at 02:32:20PM -0800, Maxim Sobolev wrote:
 [EMAIL PROTECTED] ~]$ cd //
 [EMAIL PROTECTED] //]$ pwd
 //
 [EMAIL PROTECTED] //] /bin/pwd
 /
 [EMAIL PROTECTED] //]

 What's that? Happens on bash 3.x, checked range of boxes from 6.x to 8.x  
 and arches from powerpc to amd64. cd /// at the same time is OK:

 [EMAIL PROTECTED] //]$ cd ///
 [EMAIL PROTECTED] /]$

 Is it off-by-one error?

The Bash FAQ covers this, I think.  See E10.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building ports - Error code 2 when attempting to cd

2008-11-06 Thread Scott Ullrich
On 11/6/08, Boris Samorodov [EMAIL PROTECTED] wrote:
 According to make(1) -j1 is not the same as if -j is not defined.
  I'd try either remove -j1 or add -B option:
  -
  −B  Try to be backwards compatible by executing a single shell per
  command and by executing the commands to make the sources of a
  dependency line in sequence.  This is turned on by default unless
  −j is used.
  −j max_jobs
  Specify the maximum number of jobs that make may have running at
  any one time.  Turns compatibility mode off, unless the −B flag
  is also specified.

Thanks Boris, that appears to have solved the problem!!

Scott
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems building ports - Error code 2 when attempting to cd

2008-11-05 Thread Scott Ullrich
All,

I have a strange port problem that I am trying to figure out.
Hopefully someone can shed a light on what is happening here:

===   rrdtool-1.2.26_1 depends on file: /usr/local/bin/libtool - found
   (but building it anyway)
===Verifying install for /usr/local/bin/libtool in
/usr/ports/devel/libtool15
===   Returning to build of rrdtool-1.2.26_1
===   rrdtool-1.2.26_1 depends on shared library: freetype.9 - found
   (but building it anyway)
===Verifying install for freetype.9 in /usr/ports/print/freetype2
cd: can't cd to /usr/ports/print/freetype2/work/freetype-2.3.7
*** Error code 2
1 error
*** Error code 2
1 error

But as you can see here, it does exist:

freebsd-nexus-computers# ls /usr/ports/print/freetype2/work/freetype-2.3.7
ChangeLog   ChangeLog.22Makefileautogen.sh  devel   
modules.cfg version.sed
ChangeLog.20Jamfile README  builds  docs
objsvms_make.com
ChangeLog.21JamrulesREADME.CVS  configure   include 
src

Does anyone have any idea what is happening here?  This is happening
randomly to a number of port builds and I am stumped.

Thanks,

Scott
PS: please CC me on any replies, I am not subscribed to this particular list
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building ports - Error code 2 when attempting to cd

2008-11-05 Thread Jeremy Chadwick
On Wed, Nov 05, 2008 at 03:49:29PM -0400, Scott Ullrich wrote:
 All,
 
 I have a strange port problem that I am trying to figure out.
 Hopefully someone can shed a light on what is happening here:
 
 ===   rrdtool-1.2.26_1 depends on file: /usr/local/bin/libtool - found
(but building it anyway)
 ===Verifying install for /usr/local/bin/libtool in
 /usr/ports/devel/libtool15
 ===   Returning to build of rrdtool-1.2.26_1
 ===   rrdtool-1.2.26_1 depends on shared library: freetype.9 - found
(but building it anyway)
 ===Verifying install for freetype.9 in /usr/ports/print/freetype2
 cd: can't cd to /usr/ports/print/freetype2/work/freetype-2.3.7
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 
 But as you can see here, it does exist:
 
 freebsd-nexus-computers# ls /usr/ports/print/freetype2/work/freetype-2.3.7
 ChangeLog ChangeLog.22Makefileautogen.sh  devel   
 modules.cfg version.sed
 ChangeLog.20  Jamfile README  builds  docs
 objsvms_make.com
 ChangeLog.21  JamrulesREADME.CVS  configure   include 
 src
 
 Does anyone have any idea what is happening here?  This is happening
 randomly to a number of port builds and I am stumped.

Please provide the output from the following commands:

mount
ls -ld / /usr /usr/ports /usr/ports/print /usr/ports/print/freetype2

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building ports - Error code 2 when attempting to cd

2008-11-05 Thread Jeremy Chadwick
On Wed, Nov 05, 2008 at 09:04:18PM -0500, Scott Ullrich wrote:
 On Wed, Nov 5, 2008 at 9:01 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote:
  Please provide the output from the following commands:
 
  mount
  ls -ld / /usr /usr/ports /usr/ports/print /usr/ports/print/freetype2
 
 Here is mount: /dev/da0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/da0s1d on /usr (ufs, local, soft-updates)
 devfs on /usr/jails/sullrich/dev (devfs, local)
 fdescfs on /usr/jails/sullrich/dev/fd (fdescfs)
 procfs on /usr/jails/sullrich/proc (procfs, local)
 devfs on /usr/jails/ermal/dev (devfs, local)
 fdescfs on /usr/jails/ermal/dev/fd (fdescfs)
 procfs on /usr/jails/ermal/proc (procfs, local)
 devfs on /usr/jails/billm/dev (devfs, local)
 fdescfs on /usr/jails/billm/dev/fd (fdescfs)
 procfs on /usr/jails/billm/proc (procfs, local)
 devfs on /usr/jails/ondemand/dev (devfs, local)
 fdescfs on /usr/jails/ondemand/dev/fd (fdescfs)
 procfs on /usr/jails/ondemand/proc (procfs, local)
 devfs on /usr/local/pfsense-fs/dev (devfs, local)
 
 (Note that it is a jail host and this build was running within a jail)
 
 freebsd-nexus-computers# ls -ld / /usr /usr/ports /usr/ports/print
 /usr/ports/print/freetype2
 drwxr-xr-x   20 root  wheel   512 Nov  2 18:47 /
 drwxr-xr-x   18 root  wheel   512 Nov  5 14:20 /usr
 drwxr-xr-x   70 root  wheel  1536 Nov  5 15:15 /usr/ports
 drwxr-xr-x  331 root  wheel  7168 Nov  5 15:16 /usr/ports/print
 drwxr-xr-x3 root  wheel   512 Nov  5 15:16 /usr/ports/print/freetype2
 
 They all exist.  The error message is really strange.
 
 Anything else you can think to check?

Does the problem happen outside of the jail?

Other than that, I have no ideas.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building ports - Error code 2 when attempting to cd

2008-11-05 Thread Scott Ullrich
On Wed, Nov 5, 2008 at 9:09 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote:
 Does the problem happen outside of the jail?

Unfortunately it does from time to time even with -j1

 Other than that, I have no ideas.

Thanks for trying.   This is one of those situations where I am out of
ideas as well.

Scott
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building ports - Error code 2 when attempting to cd

2008-11-05 Thread Scott Ullrich
Sorry, forgot reply-all.

On Wed, Nov 5, 2008 at 10:49 PM, Diane Bruce [EMAIL PROTECTED] wrote:
 Look for this variable set somewhere. ALWAYS_BUILD_DEPENDS

I enabled this in a last ditch effort to get around the problem.  It
instructs dependencies to rebuild even if the ports tree thinks it is
not necessary.  From what I gather it only adds additional time when
rebuilding the port.

 This message but building it anyway is odd. looking in /usr/ports/Mk ,
 I'd like to know why ALWAYS_BUILD_DEPENDS is set.
 That can't be right. What are you typing to do the make?

The problem occurs regardless of if this is defined or not.   The
script being used is:

http://cvs.pfsense.org/cgi-bin/cvsweb.cgi/tools/pfPorts/Makefile.RELENG_1?rev=1.66;content-type=text%2Fplain

Don't let the filename fool you, its a simple shell script that was
originally a sub-port make file quite a while back and we have not
repo moved the file to reflect its new purpose.

I did notice something else odd, even after the cd command fails, the
port starts back over and somehow it finishes building which seems a
bit strange (regardless if ALWAYS_BUILD_DEPENDS is defined).

Scott
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building ports - Error code 2 when attempting to cd

2008-11-05 Thread Diane Bruce
On Wed, Nov 05, 2008 at 09:04:18PM -0500, Scott Ullrich wrote:
...
 Anything else you can think to check?

Look for this variable set somewhere. ALWAYS_BUILD_DEPENDS

 ===   rrdtool-1.2.26_1 depends on shared library: freetype.9 - found
(but building it anyway)

This message but building it anyway is odd. looking in /usr/ports/Mk ,
I'd like to know why ALWAYS_BUILD_DEPENDS is set.
That can't be right. What are you typing to do the make?

--
- [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.db.net/~db
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems building ports - Error code 2 when attempting to cd

2008-11-05 Thread Boris Samorodov
Scott Ullrich [EMAIL PROTECTED] writes:
 On Wed, Nov 5, 2008 at 9:09 PM, Jeremy Chadwick [EMAIL PROTECTED] wrote:

 Does the problem happen outside of the jail?
 Unfortunately it does from time to time even with -j1

According to make(1) -j1 is not the same as if -j is not defined.
I'd try either remove -j1 or add -B option:
-
 −B  Try to be backwards compatible by executing a single shell per
 command and by executing the commands to make the sources of a
 dependency line in sequence.  This is turned on by default unless
 −j is used.
 −j max_jobs
 Specify the maximum number of jobs that make may have running at
 any one time.  Turns compatibility mode off, unless the −B flag
 is also specified.
-


HTH  WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't cd to...

2007-05-30 Thread Chuck Swiger

Joffrey Audin wrote:

Hi,


Hi--


I have a problems with lots of ports.
Ex in gnome-games :
#make install clean
make   all-recursive
make all in po
cd: can't cd to po
*** Error code 1

Stop in /usr/ports/games/gnome-games/work/gnome-games-2.18.1

I have this problem with lots of ports and to my 'autotools' too.
the 'cd' doesn't work.
But not all, today, xorg-lib. update correctly

Where is the bug please ??


What does which make tell you, and is it a GNU make or the BSD make?

The ports tree expects to run with BSD make, and will invoke GNU make for 
various ports if the maintainer decided that the individual port needs or 
prefers to do so.


--
-Chuck
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't cd to...

2007-05-30 Thread Joffrey Audin

Thanks you, but I found the bug.
The bug comes from my zshenv !
I deleted it and now, it's OK
I don't know why...


Le 30 mai 07 à 18:31, Chuck Swiger a écrit :


Joffrey Audin wrote:

Hi,


Hi--


I have a problems with lots of ports.
Ex in gnome-games :
#make install clean
make   all-recursive
make all in po
cd: can't cd to po
*** Error code 1
Stop in /usr/ports/games/gnome-games/work/gnome-games-2.18.1
I have this problem with lots of ports and to my 'autotools' too.
the 'cd' doesn't work.
But not all, today, xorg-lib. update correctly
Where is the bug please ??


What does which make tell you, and is it a GNU make or the BSD make?

The ports tree expects to run with BSD make, and will invoke GNU  
make for various ports if the maintainer decided that the  
individual port needs or prefers to do so.


--
-Chuck
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports- 
[EMAIL PROTECTED]


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't cd to...

2007-05-28 Thread Joffrey Audin

Hi,

I have a problem with lots of ports.
ex:
/usr/ports/game/gnome-games/
# make install clean
make  all-recursive
Making all in po
cd: can't cd to po
*** Error code 1

Stop in /usr/ports/game/gnome-games/work/gnome-games-2.18.1.


This problem is in lots of ports and in my 'autotools' projects.

So, where is the bug ?

Thanks You
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't cd to...

2007-05-28 Thread Joffrey Audin

Hi,

I have a problems with lots of ports.
Ex in gnome-games :
#make install clean
make   all-recursive
make all in po
cd: can't cd to po
*** Error code 1

Stop in /usr/ports/games/gnome-games/work/gnome-games-2.18.1

I have this problem with lots of ports and to my 'autotools' too.
the 'cd' doesn't work.
But not all, today, xorg-lib. update correctly

Where is the bug please ??

Thanks you
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't cd to /usr/ports

2006-12-04 Thread David Symonds

On 12/4/06, FreeBSD WickerBill [EMAIL PROTECTED] wrote:

can't cd to /usr/ports

I'm getting this in every port I try to make...it begins the make and then
errors out with 'Error  code 2' telling me it can't cd into the ports
work/portname directory. This has been happening for about a week. It's
probably some global make environment setting but I can't figure out what it
is. I've portsnap fetch extract to rebuild the tree but that didn't help. I
would appreciate any clues and thank anyone with one.


That's not a particularly useful description of your problem. Can you
cut-and-paste the exact error message, and the surrounding lines?
What's in /etc/make.conf?



Dave.

--
Strange women lying in ponds distributing swords
 is no basis for a system of government.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't cd to /usr/ports

2006-12-04 Thread Michael Johnson

On 12/3/06, FreeBSD WickerBill [EMAIL PROTECTED] wrote:

can't cd to /usr/ports

I'm getting this in every port I try to make...it begins the make and then
errors out with 'Error  code 2' telling me it can't cd into the ports
work/portname directory. This has been happening for about a week. It's
probably some global make environment setting but I can't figure out what it
is. I've portsnap fetch extract to rebuild the tree but that didn't help. I
would appreciate any clues and thank anyone with one.


Copy  paste a full error.


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't cd to /usr/ports

2006-12-04 Thread FreeBSD WickerBill

No Problem:

[/usr/ports/x11/nvidia-settings] # make install clean
cd: can't cd to /usr/ports/x11/nvidia-settings/work/nvidia-settings-1.0
*** Error code 2
===  Cleaning for gmake-3.81_1
===  Cleaning for intltool-0.35.0
===  Cleaning for pkg-config-0.21
===  Cleaning for atk-1.12.3
===  Cleaning for glib-2.12.4
===  Cleaning for gtk-2.10.6_2
===  Cleaning for pango-1.14.8
===  Cleaning for xorg-libraries-6.9.0
===  Cleaning for gettext-0.14.5_2
===  Cleaning for perl-5.8.8
===  Cleaning for p5-XML-Parser-2.34_2
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for libtool-1.5.22_2
===  Cleaning for icu-3.6
===  Cleaning for png-1.2.12_1
===  Cleaning for tiff-3.8.2_1
===  Cleaning for jpeg-6b_4
===  Cleaning for cups-base-1.2.2
===  Cleaning for shared-mime-info-0.19
===  Cleaning for hicolor-icon-theme-0.9_2
===  Cleaning for freetype2-2.2.1_1
===  Cleaning for cairo-1.2.6
===  Cleaning for libXft-2.1.7_1
===  Cleaning for xorg-fonts-truetype-6.9.0
===  Cleaning for xorg-fonts-encodings-6.9.0_1
===  Cleaning for imake-6.9.0
===  Cleaning for libdrm-2.0.2
===  Cleaning for fontconfig-2.3.2_6,1
===  Cleaning for expat-2.0.0_1
===  Cleaning for python24-2.4.3_3
===  Cleaning for gnutls-1.4.5
===  Cleaning for libpaper-1.1.14.3_1
===  Cleaning for php5-5.2.0
===  Cleaning for libxml2-2.6.26
===  Cleaning for xorg-clients-6.9.0_3
===  Cleaning for bitstream-vera-1.10_2
===  Cleaning for libgcrypt-1.2.3_1
===  Cleaning for libgpg-error-1.4
===  Cleaning for libtasn1-0.3.6
===  Cleaning for apache-2.2.3
===  Cleaning for autoconf-2.59_2
===  Cleaning for xterm-222
===  Cleaning for m4-1.4.4
===  Cleaning for help2man-1.36.4_1
===  Cleaning for p5-gettext-1.05_1
===  Cleaning for nvidia-settings-1.0_9
1 error


Another:

[/usr/ports/devel/gamin] # make install clean
cd: can't cd to /usr/ports/devel/gamin/work/gamin-0.1.7
*** Error code 2
===  Cleaning for gmake-3.81_1
===  Cleaning for pkg-config-0.21
===  Cleaning for glib-2.12.4
===  Cleaning for gettext-0.14.5_2
===  Cleaning for perl-5.8.8
===  Cleaning for libtool-1.5.22_2
===  Cleaning for icu-3.6
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for gamin-0.1.7_2
1 error

And another:
[/usr/ports/news/PicMonger] # make install clean
cd: can't cd to /usr/ports/news/PicMonger/work/PicMonger-0.9.6
*** Error code 2
===  Cleaning for gmake-3.81_1
===  Cleaning for pkg-config-0.21
===  Cleaning for gtkmm-1.2.8_6
===  Cleaning for glib-1.2.10_12
===  Cleaning for gtk-1.2.10_17
===  Cleaning for imlib-1.9.15_4
===  Cleaning for xorg-libraries-6.9.0
===  Cleaning for mpack-1.6_1
===  Cleaning for gettext-0.14.5_2
===  Cleaning for m4-1.4.4
===  Cleaning for libsigc++-1.0.4_1
===  Cleaning for perl-5.8.8
===  Cleaning for libtool-1.5.22_2
===  Cleaning for png-1.2.12_1
===  Cleaning for tiff-3.8.2_1
===  Cleaning for libungif-4.1.4_2
===  Cleaning for imake-6.9.0
===  Cleaning for libdrm-2.0.2
===  Cleaning for freetype2-2.2.1_1
===  Cleaning for fontconfig-2.3.2_6,1
===  Cleaning for libiconv-1.9.2_2
===  Cleaning for jpeg-6b_4
===  Cleaning for expat-2.0.0_1
===  Cleaning for PicMonger-0.9.6_3
1 error


Like I originally posted, every make I try winds up like this. The make
doesn't create the port that it tries to cd into but this wasn't a problem
last week or for the 8 months this box has been live...Thanks again for your
responses.

On 12/4/06, Michael Johnson [EMAIL PROTECTED] wrote:


On 12/3/06, FreeBSD WickerBill [EMAIL PROTECTED] wrote:
 can't cd to /usr/ports

 I'm getting this in every port I try to make...it begins the make and
then
 errors out with 'Error  code 2' telling me it can't cd into the ports
 work/portname directory. This has been happening for about a week. It's
 probably some global make environment setting but I can't figure out
what it
 is. I've portsnap fetch extract to rebuild the tree but that didn't
help. I
 would appreciate any clues and thank anyone with one.

Copy  paste a full error.

 ___
 freebsd-ports@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-ports
 To unsubscribe, send any mail to [EMAIL PROTECTED]



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't cd to /usr/ports

2006-12-04 Thread FreeBSD WickerBill

That was it...I totally spaced out that I had created an alias make -j4...a
big Thank You LoN_Kamikaze and all the rest that answered.

On 12/4/06, [LoN]Kamikaze [EMAIL PROTECTED] wrote:


FreeBSD WickerBill wrote:
 No Problem:

 [/usr/ports/x11/nvidia-settings] # make install clean
 cd: can't cd to /usr/ports/x11/nvidia-settings/work/nvidia-settings-1.0
 *** Error code 2
 ...

Are you running 'make -j'? Also post your make.conf and your environment
(printenv).


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can't cd to /usr/ports

2006-12-04 Thread [LoN]Kamikaze
FreeBSD WickerBill wrote:
 That was it...I totally spaced out that I had created an alias make -j4...a
 big Thank You LoN_Kamikaze and all the rest that answered.

Please don't top-post. Also if you want to use make -j in combination with 
portupgrade, install sysutils/bsdadminscripts and read the buildflags.mk and 
buildflags.conf man pages carefully.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]